/* OrdoSync Landing Page - Premium SaaS Design System */
:root {
    /* Colors */
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #eef2ff;
    --secondary: #6366f1;
    --success: #10b981;
    --success-dark: #059669;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --danger: #ef4444;
    
    /* Grays */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px; /* Standardized to 20px as per request */
    --radius-xl: 32px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 80px 0; /* Reduced padding for shorter page */
    position: relative;
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* Components */
.section-tag {
    display: inline-block;
    padding: 8px 18px;
    background: #eef2ff;
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 16px; /* Slightly more rounded for premium feel */
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white !important;
    box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -6px rgba(79, 70, 229, 0.5);
}

.btn-success {
    background-color: var(--success);
    color: white;
    box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    background-color: var(--success-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -6px rgba(16, 185, 129, 0.5);
}

.btn-outline {
    background-color: white;
    border: 1px solid var(--border);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-lg {
    height: 56px;
    padding: 0 32px;
    font-size: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.navbar .btn-primary {
    padding: 0 24px;
    height: 44px;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px -4px rgba(79, 70, 229, 0.4);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

@media (max-width: 992px) {
    .nav-links { display: none; }
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    background: radial-gradient(circle at top right, #eef2ff, transparent),
                radial-gradient(circle at bottom left, #f0fdf4, transparent);
    background-color: var(--bg-body);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    text-align: left;
    max-width: 100%;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    max-width: 680px;
    background: linear-gradient(135deg, #0f172a 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Hero Visual Composition */
.hero-visual {
    position: relative;
    height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium Glow behind mockups */
.hero-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.dashboard-mockup {
    position: absolute;
    left: -10%;
    top: 12%;
    width: 100%;
    z-index: 1;
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
    transition: var(--transition);
    filter: brightness(1.02) contrast(1.02) drop-shadow(0 20px 50px rgba(0,0,0,0.1));
}

.phone-mockup {
    position: absolute;
    right: 20%;
    bottom: 10%;
    width: 165px;
    z-index: 2;
    transform: rotate(3deg);
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.15));
}

.model-image {
    position: absolute;
    right: -20%;
    bottom: -140px;
    max-height: 520px;
    width: auto;
    z-index: 3;
    object-fit: contain;
    pointer-events: none;
    /* Soft bottom fade */
    -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
}

@media (max-width: 1200px) {
    .hero h1 { font-size: 56px; }
    .model-image { right: -15%; max-height: 480px; }
    .dashboard-mockup { width: 105%; }
    .phone-mockup { right: 15%; }
}

@media (max-width: 992px) {
    .navbar { padding: 12px 0; }
    .navbar .btn-primary { display: none; }
    .nav-links { display: none; }
    
    .hero { padding-top: 100px; min-height: auto; padding-bottom: 60px; }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0; /* Removing gap to control spacing manually */
    }
    
    .hero-content { 
        text-align: center; 
        padding: 0 1.5rem;
        position: relative;
        z-index: 20;
        margin-bottom: 80px; /* Strong separation from the visual block */
    }
    
    .hero h1 { 
        font-size: 38px; 
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero p { 
        font-size: 18px; 
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-actions { 
        flex-direction: column; 
        gap: 0.85rem; 
        margin-bottom: 1.5rem;
    }
    
    .hero .btn { 
        width: 100%; 
        height: 54px; 
        border-radius: 14px;
    }
    
    .hero-media {
        position: relative;
        z-index: 10;
        width: 100%;
        margin-top: 20px;
    }
    
    .hero-visual { 
        height: 320px; 
        max-width: 400px; 
        margin: 0 auto; 
        position: relative;
    }
    
    .model-image { display: none; }
    
    .dashboard-mockup { 
        width: 100%; 
        left: 0; 
        top: 0; 
        position: absolute;
        transform: scale(0.8); 
        opacity: 0.3; 
        filter: blur(1px);
        z-index: 1;
    }
    
    .phone-mockup { 
        position: absolute;
        left: 50%;
        bottom: -40px; /* Pushing it slightly out of the container bottom */
        transform: translateX(-50%);
        width: 150px; 
        z-index: 10;
        filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
        /* Reset desktop properties */
        right: auto;
        top: auto;
    }
    
    #mobile-trust { display: block; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 17px; }
    .hero-visual { height: 380px; }
    .phone-mockup { width: 145px; }
    .trust-card { padding: 2.5rem 1rem; }
    .trust-image { width: 180px; }
    .trust-content h2 { font-size: 1.5rem; }
}

/* Trust Section (Mobile Only) */
#mobile-trust {
    display: none;
    padding: 60px 0;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.trust-card {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    max-width: 500px;
    margin: 0 auto;
}

.trust-image {
    width: 220px;
    margin-bottom: 2rem;
    position: relative;
}

.trust-image img {
    width: 100%;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.12));
    -webkit-mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
}

.trust-content h2 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    line-height: 1.2;
}

.trust-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Mockups & Frames */
.product-mockup {
    position: relative;
    padding: 15px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.screen-frame {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.screen-header {
    height: 28px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 5px;
    border-bottom: 1px solid var(--border);
}

.dot { width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; }

/* Mobile Frame */
.mobile-frame {
    width: 240px;
    height: 500px;
    background: #111;
    border-radius: 32px;
    padding: 8px;
    border: 4px solid #222;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.mobile-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
}

/* Solution Grid - 4 Cards */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solution-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

.solution-card i {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.solution-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.solution-bullets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: auto;
}

.solution-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.solution-bullets li i {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: #f0fdf4;
    color: #22c55e;
    font-size: 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* Section CTA */
.section-cta {
    margin: 56px auto;
    padding: 48px 40px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.06);
    max-width: 940px;
    position: relative;
    z-index: 10;
}

.section-cta h3 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--text-main);
}

.section-cta p {
    font-size: 20px;
    color: #64748b; /* Blue-gray color */
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

@media (max-width: 1200px) {
    .section-cta h3 { font-size: 38px; }
}

@media (max-width: 992px) {
    .section-cta { 
        padding: 32px 24px; 
        margin: 40px 1rem;
        max-width: none;
    }
    .section-cta h3 { font-size: 34px; }
    .section-cta p { font-size: 18px; margin-bottom: 2rem; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }

    .solution-grid { 
        grid-template-columns: 1fr !important; 
        gap: 1.25rem;
    }
    .solution-card { padding: 2.5rem 1.5rem; }
}

@media (max-width: 576px) {
    .section-cta { margin: 32px 1rem; }
    .section-cta h3 { font-size: 28px; }
    .section-cta p { font-size: 17px; }
}

/* Showcase Section */
.showcase-section {
    padding: 80px 0;
}

.showcase-section .section-tag {
    background: #f5f3ff; /* Very light lilac */
    color: #6366f1; /* Indigo/Purple */
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: inline-block;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.showcase-card {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1);
}

.showcase-card.large {
    grid-column: span 2;
}

.showcase-card .product-mockup {
    margin-bottom: 1.5rem;
    box-shadow: none;
    background: #f8fafc;
    border: none;
    padding: 10px;
    border-radius: 16px;
    cursor: pointer;
}

.showcase-card .screen-header {
    background: #e2e8f0;
}

.showcase-info h4 {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.showcase-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .showcase-grid { grid-template-columns: 1fr; }
    .showcase-card.large { grid-column: span 1; }
}

/* App Columns Section */
#apps {
    padding: 60px 0;
    background: #fff;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.app-column {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    height: 100%;
}

.app-column:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

.app-column i {
    width: 64px;
    height: 64px;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-sm);
}

.app-column h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.app-column p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .app-grid { grid-template-columns: 1fr; }
    .app-column { padding: 2.5rem 1.5rem; }
}

/* Simple Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .showcase-grid { grid-template-columns: 1fr; }
}

/* Section Spacing Refinement */
#pains { padding-bottom: 40px; }
#features { padding-top: 40px; }

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Pain Cards */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.pain-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    transition: var(--transition);
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--warning-light);
}

.pain-card i {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #fff7ed;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
}

.pain-card-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.pain-card-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

/* Bridge Transition */
.bridge-section {
    padding: 60px 0;
    text-align: center;
    background: #f8fafc;
}

.bridge-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .pain-grid { grid-template-columns: 1fr; }
    .bridge-text { font-size: 1.25rem; }
}

/* App Columns */
.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.app-column {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.app-column i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .app-grid { grid-template-columns: 1fr; }
}

/* Ideal For Grid (Público-alvo) */
#ideal-para { padding-bottom: 40px; }

.ideal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.target-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 20px -10px rgba(0,0,0,0.05);
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.target-card i {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.target-card:hover i {
    background: var(--primary);
    color: white;
}

.target-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.target-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .ideal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .ideal-grid { grid-template-columns: 1fr; }
    .target-card { padding: 2rem 1.5rem; }
}

/* FAQ */
#faq { padding: 60px 0; }

.faq-container { max-width: 800px; margin: 0 auto; }

.faq-item { 
    background: white; 
    border-radius: 16px; 
    margin-bottom: 0.75rem; 
    border: 1px solid var(--border-light); 
    overflow: hidden; 
    transition: var(--transition);
    box-shadow: 0 4px 15px -10px rgba(0,0,0,0.05);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 10px 25px -15px rgba(0,0,0,0.08);
}

.faq-question { 
    padding: 1.25rem 2rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer; 
    font-weight: 700; 
    font-size: 1.05rem;
    color: var(--text-main);
}

.faq-question i {
    font-size: 0.85rem;
    transition: transform 0.4s ease;
    color: var(--primary);
}

.faq-answer { 
    padding: 0 2rem; 
    max-height: 0; 
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    color: #64748b; /* More refined gray */
}

.faq-answer p {
    padding-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer { 
    max-height: 400px; 
}

.faq-item.active {
    border-color: var(--primary-light);
    background: #fcfcfd;
}

.faq-item.active .faq-question i { 
    transform: rotate(180deg); 
}

/* FAQ Support CTA */
.faq-support-cta {
    margin-top: 3.5rem;
    text-align: center;
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-support-cta h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.faq-support-cta p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.comparison-card {
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1);
}

.comparison-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comparison-card.before {
    background: #fffafa; /* Very soft pink */
    border: 1px solid #fee2e2;
}

.comparison-card.before h3 {
    color: #991b1b;
}

.comparison-card.after {
    background: #f0fdf4; /* Very soft green */
    border: 1px solid #dcfce7;
}

.comparison-card.after h3 {
    color: #166534;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
}

.comparison-list li i {
    font-size: 1.15rem;
}

.comparison-card.before .comparison-list li i {
    color: #ef4444;
}

.comparison-card.after .comparison-list li i {
    color: #22c55e;
}

@media (max-width: 768px) {
    .comparison-grid { 
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }
    .comparison-card { padding: 2rem 1.5rem; }
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: #fff;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    padding: 3.5rem 2.5rem;
    border-radius: 32px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.05);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 20px 50px -20px rgba(79, 70, 229, 0.15);
}

.pricing-card.featured::after {
    content: "RECOMENDADO";
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.price {
    margin-bottom: 2.5rem;
}

.price h4 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.price .subtext {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.pricing-features li i {
    color: var(--success);
    font-size: 1rem;
}

.pricing-card .btn {
    width: 100%;
}

@media (max-width: 768px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    .pricing-card {
        padding: 3rem 2rem;
    }
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    border-radius: var(--radius-xl);
    margin: 40px auto;
    padding: 60px 40px;
}
.cta-final h2 { color: white; font-size: 2.5rem; margin-bottom: 1rem; }
.cta-final p { color: rgba(255, 255, 255, 0.9); font-size: 1.15rem; margin-bottom: 2rem; }

/* Visual Effects */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Footer */
footer { padding: 60px 0; background: white; border-top: 1px solid var(--border-light); text-align: center; }
.text-muted { color: var(--text-muted); }

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
}

.legal-header {
    max-width: 760px;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.legal-updated {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.legal-content {
    max-width: 760px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.legal-content section {
    padding: 0;
    margin-top: 2rem;
}

.legal-content h2 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-top: 0.75rem;
}

.legal-content li + li {
    margin-top: 0.5rem;
}

.legal-content a {
    color: var(--primary);
    font-weight: 600;
}

.legal-content a:hover {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-content {
        padding: 1.5rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner--hidden {
    transform: translateY(100%);
    opacity: 0;
}

.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-banner p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-banner a {
    color: var(--primary);
    font-weight: 600;
}

.cookie-banner a:hover {
    color: var(--primary-dark);
}

.cookie-banner .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner .btn {
        width: 100%;
    }
}
