/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --border-radius: 10px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    cursor: pointer;
}

.nav-brand .logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.brand-tagline {
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Reducir tagline en mobile */
@media (max-width: 768px) {
    .brand-tagline {
        font-size: 9px;
        font-weight: 400;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 16px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 64px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1920&q=80');
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 24px;
    color: white;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* App Preview */
.app-preview {
    position: relative;
}

.app-window {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.app-header {
    background: #f8fafc;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
}

.app-controls {
    display: flex;
    gap: 8px;
}

.app-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
}

.app-controls span:nth-child(1) { background: #ef4444; }
.app-controls span:nth-child(2) { background: #f59e0b; }
.app-controls span:nth-child(3) { background: #10b981; }

.app-content {
    padding: 32px;
}

.pdf-upload {
    background: #f3f4f6;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
}

.pdf-upload i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.generation-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.option.active {
    border-color: var(--primary-color);
    background: #f0f7ff;
}

.option i {
    font-size: 20px;
    color: var(--primary-color);
}

/* Video Container */
.video-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #000;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
}

/* Social Proof Section */
.social-proof {
    padding: 48px 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.social-proof-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.badge-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.badge-icon {
    font-size: 32px;
    min-width: 48px;
    text-align: center;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.badge-text strong {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.badge-text span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.university-logos {
    text-align: center;
}

.logos-title {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.7;
    transition: var(--transition);
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.university-abbr {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    padding: 8px 16px;
    background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    min-width: 70px;
    text-align: center;
}

.logo-item small {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 768px) {
    .social-proof {
        padding: 32px 0;
    }

    .social-proof-badges {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .badge-item {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .badge-icon {
        font-size: 28px;
    }

    .badge-text strong {
        font-size: 20px;
    }

    .logos-grid {
        gap: 16px;
    }

    .university-abbr {
        font-size: 16px;
        padding: 6px 12px;
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .social-proof-badges {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto 32px;
    }
}

/* For Who Section */
.for-who {
    padding: 64px 0;
    background: var(--bg-primary);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.audience-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.audience-card.featured-audience {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
}

.audience-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.audience-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
}

.audience-card h3 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.audience-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.audience-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: start;
    gap: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.audience-list li:last-child {
    border-bottom: none;
}

.audience-list i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .for-who {
        padding: 60px 0;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .audience-card {
        padding: 24px;
    }

    .audience-icon {
        font-size: 40px;
    }
}

/* Mission Section */
.mission {
    padding: 48px 0;
    background: var(--bg-secondary);
}

@media (min-width: 768px) {
    .mission {
        padding: 64px 0;
    }
}

.mission-content {
    text-align: center;
}

.mission-header {
    margin-bottom: 48px;
}

.mission-header h2 {
    margin-bottom: 16px;
}

.mission-beliefs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.belief-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.belief-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.belief-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.belief-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.mission-tagline {
    font-size: 20px;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 48px 0;
    background: var(--bg-primary);
}

@media (min-width: 768px) {
    .features {
        padding: 64px 0;
    }
}

/* Featured Feature Card */
.feature-card.featured {
    background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
    border: 2px solid var(--primary-color);
    position: relative;
}

.feature-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--secondary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.feature-details {
    list-style: none;
    margin-top: 16px;
    text-align: left;
}

.feature-details li {
    padding: 8px 0;
    color: var(--text-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-card h3 {
    margin-bottom: 16px;
}

/* Benefits Section */
.benefits {
    padding: 64px 0;
    background: var(--bg-secondary);
}

.benefits-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    background: white;
    padding: 8px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.benefit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.benefit-list {
    list-style: none;
    margin-bottom: 32px;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
}

.benefit-list i {
    color: var(--primary-color);
    font-size: 16px;
}

.benefit-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.price-hint {
    color: var(--text-light);
    font-size: 14px;
}

.student-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.student-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.student-avatar i {
    font-size: 24px;
    color: white;
}

.rating {
    color: var(--secondary-color);
    margin-top: 16px;
}

/* How Elaia Works */
.how-elaia-works {
    padding: 64px 0;
    background: var(--bg-primary);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin: 64px 0;
    justify-content: center;
}

.process-step {
    text-align: center;
    max-width: 200px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.process-arrow {
    font-size: 32px;
    color: var(--primary-color);
    display: none;
}

@media (min-width: 768px) {
    .process-arrow {
        display: block;
    }
}

.process-cta {
    text-align: center;
    margin-top: 48px;
}

.process-tagline {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.process-tagline i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* How it Works */
.how-it-works {
    padding: 64px 0;
    background: var(--bg-primary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 64px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0 auto 24px;
}

/* Commitment Pact Section */
.commitment-pact {
    background: white;
    padding: 48px 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 64px;
}

.commitment-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 32px;
}

.your-commitment,
.our-commitment {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
}

.commitment-arrow {
    transform: rotate(0deg);
}

@media (max-width: 768px) {
    .commitment-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .commitment-arrow {
        transform: rotate(90deg);
        justify-content: center;
        font-size: 28px;
    }

    .pact-timeline > div {
        gap: 12px !important;
    }

    .pact-timeline > div > div {
        min-width: 80px !important;
        font-size: 12px !important;
        padding: 6px 12px !important;
    }

    .pact-timeline > div > p {
        font-size: 14px !important;
    }
}

/* Pricing */
.pricing {
    padding: 48px 0;
    background: var(--bg-secondary);
}

@media (min-width: 768px) {
    .pricing {
        padding: 64px 0;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 64px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.pricing-header {
    margin-bottom: 32px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
}

.currency {
    font-size: 20px;
    color: var(--text-secondary);
}

.amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 16px;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pricing-features i.fa-check,
.pricing-features .icon-check {
    color: var(--primary-color);
}

.pricing-features i.fa-times,
.pricing-features .icon-times {
    color: var(--text-light);
}

.pricing-features svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Beta Interest Cards */
.beta-interest-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.interest-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.interest-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.interest-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.interest-item {
    text-align: center;
}

.interest-item .number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.interest-item .label {
    font-size: 14px;
    color: var(--text-light);
}

.interest-quote {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: var(--border-radius);
    font-style: italic;
}

.interest-quote small {
    color: var(--text-light);
    margin-top: 8px;
    display: block;
}

/* Beta Badge */
.beta-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #f59e0b);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Early Adopter Perks */
.early-adopter-perks {
    background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 32px;
    border-left: 4px solid var(--primary-color);
}

.early-adopter-perks p {
    margin: 0;
    color: var(--text-primary);
}

.early-adopter-perks i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Beta Urgency */
.beta-urgency {
    background: #fef3c7;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 32px;
    text-align: center;
    border: 2px solid var(--secondary-color);
}

.beta-urgency p {
    margin: 0;
    color: #92400e;
}

.beta-urgency i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Problem Validation */
.problem-validation {
    padding: 64px 0;
    background: var(--bg-secondary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.problem-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.problem-icon i {
    font-size: 24px;
    color: white;
}

.solution-preview {
    text-align: center;
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.solution-preview h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
}

/* Problem Solution Comparison */
.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}

.problems-column,
.solutions-column {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.problems-column {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #ef4444;
}

.solutions-column {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 2px solid #10b981;
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
}

.problem-list,
.solution-list {
    list-style: none;
    margin-top: 20px;
}

.problem-list li,
.solution-list li {
    padding: 12px 0;
    display: flex;
    align-items: start;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.problem-emoji,
.solution-emoji {
    font-size: 20px;
    min-width: 24px;
}

.solution-cta {
    text-align: center;
    margin-top: 48px;
}

.solution-cta h3 {
    color: var(--primary-color);
    margin-bottom: 24px;
}

/* Founder Vision */
.founder-vision {
    padding: 64px 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vision-header {
    margin-bottom: 32px;
}

.vision-message {
    background: white;
    padding: 48px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 48px;
}

.vision-quote {
    font-size: 20px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.vision-promise {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.vision-signature {
    color: var(--primary-color);
    font-weight: 500;
}

.vision-values h3 {
    margin-bottom: 24px;
}

.value-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.value-item i {
    color: var(--primary-color);
    font-size: 20px;
}

/* Radical Transparency Section */
.radical-transparency {
    padding: 48px 0;
    background: var(--bg-secondary);
}

@media (min-width: 768px) {
    .radical-transparency {
        padding: 64px 0;
    }
}

/* Visual Comparison Cards */
.visual-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 48px 0;
}

.comparison-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.comparison-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    position: relative;
}

.comparison-card.traditional .comparison-image {
    background-image: url('https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?w=800&q=80');
}

.comparison-card.elaia .comparison-image {
    background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=800&q=80');
}

.comparison-content {
    padding: 24px;
}

.comparison-content h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.truth-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    margin-bottom: 48px;
    align-items: start;
}

.lies-column,
.truth-column {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.lies-column {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #ef4444;
}

.truth-column {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 2px solid #10b981;
}

.truth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    background: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.lies-list,
.truth-list {
    list-style: none;
    margin-top: 20px;
}

.lies-list li,
.truth-list li {
    margin-bottom: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.lie {
    display: block;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 4px;
}

.reality {
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}

.truth {
    display: block;
    font-weight: 600;
    color: #059669;
    margin-bottom: 4px;
}

.explanation {
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}

/* Transparency Calculator */
.transparency-calculator {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-top: 48px;
}

.calculator-interface {
    margin: 24px 0;
}

#pdf-pages {
    width: 100%;
    max-width: 400px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    margin-bottom: 24px;
}

.calculator-results {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 24px 0;
}

.calculator-results ul {
    list-style: none;
    margin: 16px 0;
}

.calculator-results li {
    padding: 8px 0;
    font-size: 18px;
    font-weight: 500;
}

.honesty-note {
    background: #fef3c7;
    padding: 16px;
    border-radius: var(--border-radius);
    margin-top: 24px;
    color: #92400e;
    border-left: 4px solid var(--secondary-color);
}

/* User Evolution Section */
.user-evolution {
    padding: 64px 0;
    background: var(--bg-primary);
}

.evolution-timeline {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    align-items: center;
    gap: 24px;
    margin: 48px 0;
    justify-content: center;
}

.timeline-item {
    text-align: center;
    background: white;
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 200px;
}

.timeline-date {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.timeline-arrow {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
}

/* Public Roadmap */
.public-roadmap {
    margin-top: 48px;
}

.roadmap-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.roadmap-done,
.roadmap-progress,
.roadmap-next {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.roadmap-done {
    border-top: 4px solid #10b981;
}

.roadmap-progress {
    border-top: 4px solid var(--secondary-color);
}

.roadmap-next {
    border-top: 4px solid var(--primary-color);
}

.roadmap-columns ul {
    list-style: none;
    margin-top: 16px;
}

.roadmap-columns li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.progress-bar {
    background: #e5e7eb;
    height: 8px;
    border-radius: 4px;
    margin: 8px 0;
    overflow: hidden;
}

.progress {
    background: var(--secondary-color);
    height: 100%;
    transition: width 0.3s ease;
}

.vote-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    cursor: pointer;
}

/* Pricing Transparency */
.pricing-transparency {
    margin-bottom: 48px;
}

.cost-breakdown {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.cost-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.cost-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.cost-amount {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    min-width: 60px;
}

.cost-desc {
    flex: 1;
    text-align: left;
    color: var(--text-secondary);
}

.total-value {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 16px;
    border-radius: var(--border-radius);
    margin-top: 24px;
}

/* Spots Progress */
.spots-left {
    margin-top: 16px;
}

.spots-bar {
    background: #e5e7eb;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.spots-filled {
    background: linear-gradient(135deg, var(--secondary-color), #f59e0b);
    height: 100%;
    transition: width 0.3s ease;
}

/* Honest FAQs */
.pricing-honesty {
    margin-top: 48px;
}

.honest-faqs {
    margin-top: 24px;
}

.honest-faqs details {
    background: white;
    margin-bottom: 16px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.honest-faqs summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
}

.honest-faqs summary:hover {
    background: var(--bg-secondary);
}

.honest-faqs p {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Personalization Section */
.personalization-first {
    padding: 64px 0;
    background: var(--bg-secondary);
}

.personalization-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    margin-bottom: 48px;
    align-items: start;
}

.generic-apps,
.personal-elaia {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.generic-apps {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border: 2px solid #9ca3af;
}

.personal-elaia {
    background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
    border: 2px solid var(--primary-color);
}

.generic-list,
.personal-list {
    list-style: none;
    margin-top: 20px;
}

.generic-list li,
.personal-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* AI Learning Progress */
.ai-learning-progress {
    margin: 48px 0;
}

.learning-timeline {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    align-items: center;
    gap: 24px;
    justify-content: center;
    margin-top: 32px;
}

.learning-stage {
    text-align: center;
    background: white;
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 200px;
}

.stage-day {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    display: inline-block;
}

.learning-arrow {
    font-size: 32px;
    color: var(--primary-color);
}

/* Personalization Examples */
.personalization-examples {
    margin-top: 48px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.example-card {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.example-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

/* Updated CTA */
.cta-proposal {
    margin: 32px 0;
}

.proposal-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
}

.proposal-item i {
    font-size: 20px;
    color: var(--secondary-color);
}

.cta-truth {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 32px;
    border-left: 4px solid #10b981;
}

.cta-truth p {
    margin: 0;
    font-size: 16px;
}

.cta-truth i {
    color: #10b981;
    margin-right: 8px;
}

/* CTA Section */
.cta {
    padding: 48px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

@media (min-width: 768px) {
    .cta {
        padding: 64px 0;
    }
}

.cta h2 {
    color: white;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.cta-guarantee {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: var(--border-radius);
    max-width: 500px;
    margin: 0 auto;
}

.cta-guarantee p {
    margin: 0;
    font-size: 14px;
}

.cta-guarantee i {
    color: #10b981;
    margin-right: 8px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 48px 0 24px;
}

.footer-simple {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-simple {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-brand .nav-brand {
    color: white;
}

.footer-brand .logo {
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.footer-links-inline,
.footer-legal-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-links-inline,
    .footer-legal-inline {
        justify-content: flex-start;
    }
}

.footer-links-inline a,
.footer-legal-inline a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-links-inline a:hover,
.footer-legal-inline a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

/* Mobile Responsive Updates for Transparency Sections */
@media (max-width: 768px) {
    .truth-comparison {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .truth-divider {
        transform: rotate(90deg);
        margin: 16px auto;
    }

    .personalization-comparison {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .evolution-timeline {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .timeline-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
    }

    .learning-timeline {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .learning-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
    }

    .roadmap-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cost-items {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .examples-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Additional Mobile Styles for Small Screens */
@media (max-width: 480px) {
    .transparency-calculator {
        padding: 24px 16px;
    }

    #pdf-pages {
        font-size: 14px;
        padding: 12px;
    }

    .calculator-results {
        padding: 16px;
    }

    .cost-breakdown {
        padding: 24px 16px;
    }

    .timeline-item,
    .learning-stage {
        padding: 16px;
    }

    .honest-faqs summary {
        padding: 16px;
    }

    .honest-faqs p {
        padding: 0 16px 16px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile Menu Active States */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 20px;
        gap: 16px;
        border-top: 1px solid var(--border-color);
    }

    .nav-actions.active {
        display: flex;
        position: absolute;
        top: calc(100% + 200px);
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
    }

    /* Hamburger Animation */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 0 40px;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        display: flex;
        flex-direction: column;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .benefit-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .feature-card.featured {
        grid-column: span 1;
    }

    .mission-beliefs {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .process-steps {
        flex-direction: column;
        gap: 32px;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .problem-solution-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vs-divider {
        transform: rotate(90deg);
        font-size: 20px;
    }

    .vision-message {
        padding: 32px 24px;
    }

    .value-items {
        grid-template-columns: 1fr;
    }

    .cta-benefits {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .tab-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }

    .app-content {
        padding: 16px;
    }

    .generation-options {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .pricing-card {
        padding: 24px 16px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.pricing-card,
.step {
    animation: fadeInUp 0.6s ease-out;
}

/* Email Capture Modal */
.email-modal {
    border: none;
    border-radius: var(--border-radius-lg);
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    background: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    /* Safari fix: Force GPU acceleration and prevent layout shifts */
    -webkit-transform: translate(-50%, -50%) translateZ(0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Safari fix: Ensure modal is on top of stacking context */
    isolation: isolate;
}

.email-modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    padding: 40px 32px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h2 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.75rem;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}

.beta-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.beta-form input,
.beta-form select,
.beta-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: 'Lexend', sans-serif;
    transition: var(--transition);
    /* Safari fix: Force hardware acceleration for inputs */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Safari fix: Ensure proper layering */
    position: relative;
    z-index: 1;
}

.beta-form input:focus,
.beta-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.beta-form button {
    width: 100%;
    margin-top: 8px;
}

.privacy-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 12px;
}

.modal-benefits {
    background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 24px;
}

.modal-benefits h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 16px;
}

.modal-benefits ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.modal-benefits li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Exit Intent Popup */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.exit-popup-content {
    background: white;
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    position: relative;
    text-align: center;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.exit-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.exit-popup-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.exit-popup h3 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.exit-form {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exit-form input {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: 'Lexend', sans-serif;
}

.exit-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States */
.btn:focus,
.tab-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Additional Mobile Styles for Testimonials and Scientific Evidence */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .scientific-evidence, .testimonials {
        padding: 40px 0 !important;
    }
}