/* Core variables - Updated to match Studdy AI aesthetic */
:root {
    --primary: #25D366;
    --primary-dark: #075E54;
    --dark: #075E54;
    --light: #DCF8C6;
    --white: #ffffff;
    --gray: #F8F9FC;
    --text: #333333;
    --text-secondary: #6B7280;
    --accent: #ff4444;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(37, 211, 102, 0.1);
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 120px;
}

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

body {
    font-family: 'Mont', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

main {
    padding: 0 50px;
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(40px, 6vw, 72px);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    font-size: 18px;
}

a {
    text-decoration: none;
    color: inherit;
}

img, video {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-md) 0;
    }
}

/* Header - UPDATED */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    padding: 5px 0;
    height: 60px;
    display: flex;
    align-items: stretch;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

header .container {
    max-width: 100%;
    padding: 0 15px;
}

.logo {
    font-size: 35px;
    font-weight: 900;
    color: var(--dark);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-btn-container {
    margin-left: 32px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cta-button-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-button-secondary:hover {
    background-color: var(--light);
}

/* Hero section - UPDATED */
.hero {
    background-color: var(--white);
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.hero-title {
    font-size: clamp(40px, 5vw, 64px);
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    font-weight: 500;
    max-width: 550px;
}

.cta-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

/* App stats section */
.app-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.app-rating {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.rating {
    display: flex;
    gap: 4px;
    color: #FFB800;
    font-size: 24px;
}

.rating-score {
    font-weight: 700;
    font-size: 20px;
    margin-left: var(--spacing-sm);
    color: var(--dark);
}

.stats-row {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.stat-block {
    display: flex;
    flex-direction: column;
    margin-right: var(--spacing-md);
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

/* How it works - UPDATED WITH PARALLAX */
.how-it-works {
    background-color: var(--white);
    position: relative;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.how-it-works::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, var(--gray) 0%, var(--white) 100%);
    z-index: 0;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Chat Journey */
.chat-journey {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
}

.journey-progress {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: var(--light);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.1);
}

.journey-circle {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #7efcac);
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
    border: 3px solid white;
}

.journey-start {
    top: -12px;
}

.journey-end {
    bottom: -12px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.journey-end.visible {
    opacity: 1;
}

.journey-progress-bar {
    position: absolute;
    width: 100%;
    background: linear-gradient(to bottom, #25D366, #7efcac);
    top: 0;
    transition: height 1.5s ease;
    height: 0%;
    z-index: 2;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.chat-step {
    display: flex;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.chat-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.chat-step:nth-child(odd) {
    flex-direction: row;
}

.chat-step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.chat-step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #1ca350);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    z-index: 4;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    border: 3px solid white;
    transition: all 0.3s ease;
}

.chat-step.visible .chat-step-number {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.chat-content {
    flex: 1;
    max-width: 48%;
    position: relative;
}

.chat-bubble {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    margin-bottom: var(--spacing-sm);
    border: 1px solid var(--light);
    transition: all 0.3s ease;
    width: calc(100% - var(--spacing-sm));
    margin-right: var(--spacing-sm);
}

.chat-step.visible .chat-bubble {
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.15);
}

.chat-step:nth-child(odd) .chat-bubble::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 15px;
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent var(--white);
}

.chat-step:nth-child(even) .chat-bubble::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 15px;
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent var(--white) transparent transparent;
}

.chat-reaction {
    font-size: 36px;
    margin-top: var(--spacing-sm);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.chat-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.chat-step:nth-child(even) .chat-user-info {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.chat-username {
    font-weight: 700;
    color: var(--dark);
    font-size: 16px;
}

.chat-time {
    font-size: 13px;
    color: var(--text-secondary);
}

.student-message {
    background-color: var(--light);
}

.student-message::after {
    border-color: transparent transparent transparent var(--light) !important;
}

.chat-step:nth-child(even) .student-message::after {
    border-color: transparent var(--light) transparent transparent !important;
}

.aldous-message {
    background-color: var(--white);
}

/* Formatted chat content */
.aldous-message h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 16px;
}

.aldous-message .step-explanation {
    margin-bottom: 16px;
}

.aldous-message .step {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.aldous-message .step-number {
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--primary);
}

.aldous-message .formula {
    font-family: monospace;
    padding: 8px 12px;
    background-color: var(--light);
    border-radius: 6px;
    margin: 12px 0;
    display: inline-block;
    font-size: 14px;
    max-width: 100%;
    overflow-x: auto;
}

.aldous-message .highlight {
    color: var(--primary);
    font-weight: 700;
}

.aldous-message .conclusion {
    margin-top: 16px;
    font-weight: 700;
}

.chat-image {
    max-width: 100%;
    border-radius: var(--radius);
    margin-top: var(--spacing-sm);
}

/* Testimonials - UPDATED SCROLLING TRACK */
.testimonials {
    background-color: var(--white);
    padding: var(--spacing-xl) 0;
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    animation: scroll 80s linear infinite;
    width: max-content;
    padding: 20px 0;
    will-change: transform;
    transform: translateZ(0);
}

.testimonial-card {
    width: 350px;
    flex-shrink: 0;
    background-color: var(--white);
    border-radius: var(--radius);
    padding: var(--spacing-md);
    box-shadow: var(--shadow);
    border: 1px solid var(--light);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-rating {
    display: flex;
    color: #FFB800;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    color: var(--text);
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}

.author-info h4 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

/* Remove old carousel controls */
.carousel-controls, .carousel-arrows {
    display: none;
}

/* Pricing */
.pricing {
    background-color: var(--gray);
    position: relative;
    overflow: hidden;
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.pricing::after {
    content: "";
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: var(--light);
    opacity: 0.6;
    z-index: 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: var(--spacing-lg) var(--spacing-md);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 24px;
    background-color: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-title {
    font-size: 24px;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: flex-start;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 12px;
    margin-left: 4px;
}

.pricing-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.pricing-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 28px;
    font-size: 16px;
    color: var(--text);
}

.pricing-features li:before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* CTA section - UPDATED */
.cta-section {
    background-color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
    position: relative;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.cta-description {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    color: var(--text-secondary);
}

.cta-button-large {
    font-size: 20px;
    padding: 18px 48px;
    border-radius: var(--radius);
    background-color: var(--primary);
    color: var(--white);
    display: inline-block;
    font-weight: 700;
    transition: var(--transition);
    margin-bottom: var(--spacing-lg);
}

.cta-button-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.social-proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-proof-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.social-proof-label {
    font-size: 16px;
    color: var(--text-secondary);
}

.trusted-by {
    margin-top: var(--spacing-lg);
}

.trusted-by-title {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trusted-by-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.trusted-by-logo {
    height: 50px;
    width: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trusted-by-logo:hover {
    opacity: 1;
}

/* Footer */
footer {
    background-color: var(--gray);
    color: var(--text);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-column {
    flex: 1;
}

.footer-title {
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-secondary);
    font-size: 14px;
}

/* Mobile styles */
@media (max-width: 768px) {
    /* Global mobile adjustments */
    main {
        padding: 0;
    }

    section {
        padding: var(--spacing-md) 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: var(--spacing-sm);
        text-align: left;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: var(--spacing-md);
        text-align: left;
    }
    
    /* Header and navigation */
    .header-container {
        padding: 0 15px;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* Hero section */
    .hero {
        min-height: auto;
        padding: var(--spacing-md) 0;
        height: auto;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: left;
        padding: 0 var(--spacing-sm);
        gap: var(--spacing-md);
    }

    .hero-content {
        width: 100%;
        text-align: left;
        padding: 0 10px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: var(--spacing-sm);
        text-align: left;
    }
    
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
        font-size: 16px;
        line-height: 1.5;
        text-align: left;
    }

    .cta-group {
        justify-content: flex-start;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        margin: var(--spacing-md) 0 0;
        display: flex !important; /* Ensure CTAs are displayed */
    }
    
    .cta-group .cta-button {
        width: 100%;
        padding: 14px;
        font-size: 16px;
        margin-bottom: 0;
    }

    .app-stats {
        margin-top: var(--spacing-md);
        gap: 0px;
    }
    
    .app-rating {
        justify-content: flex-start;
        margin-bottom: var(--spacing-sm);
    }
    
    .rating {
        font-size: 20px;
    }
    
    .rating-score {
        font-size: 16px;
    }
    
    .stats-row {
        justify-content: flex-start;
        gap: 10px;
    }
    
    .stat-block {
        margin-right: 15px;
        text-align: left;
        min-width: 90px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .hero-image {
        margin-top: 10px;
        padding: 0 10px;
        width: 100%;
        max-width: 300px;
        align-self: center;
    }
    
    /* Reduce the size of the phone in the hero section */
    .phone-container {
        width: 280px;
        height: 550px;
        transform: scale(0.9);
    }
    
    /* How it works section */
    .chat-journey {
        padding: var(--spacing-md) 0 var(--spacing-md) var(--spacing-sm);
        max-width: 100%;
    }
    
    .chat-step {
        flex-direction: column !important;
        align-items: flex-start;
        margin-bottom: var(--spacing-xl);
        padding: 0;
        text-align: left;
        width: 100%;
        opacity: 1;
        transform: translateY(0);
    }
    
    .chat-step:nth-child(even) {
        text-align: left;
    }
    
    .chat-step-number {
        left: 0;
        transform: none;
        margin-left: 0;
    }
    
    .chat-step.visible .chat-step-number {
        transform: scale(1.1);
    }

    .chat-content {
        max-width: 100%;
        width: 100%;
        margin-top: var(--spacing-md);
        padding-right: var(--spacing-sm);
    }
    
    .chat-step .chat-content {
        margin-left: 38px;
        margin-right: 0;
    }

    .chat-user-info,
    .chat-step:nth-child(even) .chat-user-info {
        flex-direction: row;
        justify-content: flex-start;
    }

    .chat-step:nth-child(odd) .chat-bubble::after,
    .chat-step:nth-child(even) .chat-bubble::after {
        display: none;
    }

    .chat-reaction {
        text-align: left;
    }
    
    .chat-description {
        text-align: left;
    }
    
    .journey-progress {
        left: 25px;
        transform: none;
    }
    
    .journey-circle {
        left: 25px;
        transform: none;
    }
    
    .chat-bubble {
        width: calc(100% - var(--spacing-sm));
        margin-right: var(--spacing-sm);
    }
    
    /* Formatted chat content for mobile */
    .aldous-message h4 {
        font-size: 16px;
    }
    
    .aldous-message .step {
        padding-left: 20px;
    }
    
    .aldous-message .formula {
        font-size: 14px;
        max-width: 100%;
        overflow-x: auto;
    }

    /* Testimonials section */
    .testimonials {
        padding: var(--spacing-lg) 0;
    }
    
    .testimonials-track {
        padding: var(--spacing-sm);
    }
    
    .testimonial-card {
        width: 250px;
        min-width: 250px;
        max-width: 80vw;
        padding: var(--spacing-sm);
        margin: 0 8px;
    }
    
    .testimonial-text {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: var(--spacing-sm);
    }
    
    .testimonial-rating {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .author-avatar {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .author-info h4 {
        font-size: 14px;
    }
    
    .author-info p {
        font-size: 12px;
    }

    /* Pricing section */
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: 0 var(--spacing-sm);
    }
    
    .pricing-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .pricing-card.popular {
        transform: none;
        order: -1;
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
    
    .pricing-title {
        font-size: 22px;
    }
    
    .pricing-price {
        font-size: 40px;
    }
    
    .pricing-features li {
        font-size: 15px;
    }

    /* CTA section */
    .cta-section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .cta-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: var(--spacing-sm);
    }
    
    .cta-description {
        font-size: 18px;
        margin-bottom: var(--spacing-md);
    }
    
    .cta-button-large {
        width: 100%;
        max-width: 300px;
        padding: 16px;
        font-size: 18px;
    }

    .social-proof {
        flex-direction: column;
        gap: var(--spacing-md);
        margin-top: var(--spacing-md);
    }
    
    .social-proof-item {
        width: 100%;
    }

    .trusted-by-logos {
        gap: var(--spacing-md);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .trusted-by-logo {
        height: 30px;
        width: 30px;
        margin: 5px 10px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
        margin-right: 16px;
    }
    
    /* Video container */
    .video-container {
        width: 240px;
        height: 480px;
        border-radius: 30px;
        padding: 10px;
    }
    
    .phone-screen {
        border-radius: 24px;
    }
    
    .phone-notch {
        width: 120px;
        height: 20px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Video container - Now with 3D angle */
.phone-container {
    width: 300px;
    height: 600px;
    position: relative;
    margin: 0 auto;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.video-container {
    width: 300px;
    height: 600px;
    border-radius: 40px;
    background-color: var(--dark);
    padding: 15px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
    overflow: hidden;
    transform: rotateY(-8deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.video-container:hover {
    transform: rotateY(-5deg) rotateX(3deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--light);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: var(--dark);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 5;
}

/* WhatsApp Chat Demo */
.whatsapp-demo {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #E5DDD5;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABoSURBVDiNY/z//z8DtQETC4vS9+/fD1CqmfHbt28HLC0td1CimZeXl4GRkZGBh4eHgZeXl1wDGUE2//v3D67gw4cPFLv63bt3pBkIcikTEzZXkaAZ7GVqGfj+/XuqxjLJXv769SvVYxkAOJ43bX0UjQMAAAAASUVORK5CYII=');
    background-repeat: repeat;
    position: relative;
}

.whatsapp-header {
    height: 60px;
    background-color: var(--primary-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 15px;
    z-index: 2;
}

.whatsapp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.whatsapp-chat-info {
    display: flex;
    flex-direction: column;
}

.whatsapp-chat-name {
    font-weight: 700;
    font-size: 16px;
}

.whatsapp-chat-status {
    font-size: 12px;
    opacity: 0.8;
}

.whatsapp-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.whatsapp-message-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    text-align: left;
    line-height: 1.5;
    font-size: 14px;
}

.whatsapp-message-time {
    font-size: 11px;
    opacity: 0.7;
    text-align: right;
    margin-top: 3px;
}

.whatsapp-message.incoming {
    align-self: flex-start;
    background-color: var(--white);
}

.whatsapp-message.incoming::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    border-width: 0 10px 10px 0;
    border-style: solid;
    border-color: transparent var(--white) transparent transparent;
}

.whatsapp-message.outgoing {
    align-self: flex-end;
    background-color: #DCF8C6;
}

.whatsapp-message.outgoing::before {
    content: "";
    position: absolute;
    top: 0;
    right: -10px;
    border-width: 0 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent #DCF8C6;
}

.whatsapp-message strong {
    font-weight: 700;
}

.whatsapp-message em {
    font-style: italic;
}

.whatsapp-message code {
    font-family: monospace;
    background-color: rgba(0,0,0,0.05);
    padding: 0 4px;
    border-radius: 3px;
}

.whatsapp-message .math-formula {
    font-family: monospace;
    font-size: 13px;
    display: inline-block;
    margin: 2px 0;
    background-color: rgba(240, 240, 240, 0.7);
    padding: 4px 6px;
    border-radius: 4px;
    white-space: nowrap;
    overflow-x: auto;
    max-width: 100%;
    line-height: 1.3;
    border-left: 2px solid var(--primary);
}

.whatsapp-message .emoji {
    font-size: 16px;
}

.whatsapp-message .step {
    margin-bottom: 5px;
}

.whatsapp-message ul, .whatsapp-message ol {
    margin-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.whatsapp-message li {
    margin-bottom: 3px;
}

.whatsapp-footer {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 10px;
    background-color: var(--white);
    z-index: 2;
}

.whatsapp-input {
    flex: 1;
    height: 40px;
    border-radius: 20px;
    background-color: var(--white);
    border: 1px solid #E1E1E1;
    padding: 0 15px;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.whatsapp-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Remove animations for WhatsApp chat */
.message-animate-1,
.message-animate-2,
.message-animate-3,
.message-animate-4 {
    animation: none;
    opacity: 1;
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
}

/* Language Switcher Dropdown */
.language-switcher {
    position: relative;
    margin-left: 20px;
}

.language-dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius);
    background-color: var(--white);
    border: 1px solid var(--light);
    transition: var(--transition);
}

.language-dropdown-toggle:hover {
    background-color: var(--light);
}

.current-language {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-flag {
    font-size: 20px;
}

.current-language-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.dropdown-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.language-dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid var(--light);
}

.language-dropdown-toggle.active + .language-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    transition: var(--transition);
    color: var(--text);
    font-weight: 500;
}

.language-link:hover {
    background-color: var(--light);
}

.language-link:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
}

.language-link:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
}

.language-flag {
    font-size: 20px;
}

.language-name {
    font-size: 14px;
}

/* Mobile adjustments for language dropdown */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 10px;
    }
    
    .current-language-name {
        display: none;
    }
    
    .language-dropdown-menu {
        right: -10px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.survey-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.survey-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.survey-option:hover {
    border-color: #4a6cf7;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.1);
}

.option-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.option-text {
    font-weight: 500;
}

/* Phone Popup Styles - Enhanced */
.phone-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.phone-popup-content {
    background-color: #fff;
    border-radius: 16px;
    padding: 35px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.3s ease;
    border: 1px solid rgba(74, 108, 247, 0.1);
}

.phone-popup h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.phone-popup p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.warning-text {
    color: var(--primary);
    font-weight: 500;
    margin: 15px 0;
    padding: 10px 15px;
    background-color: rgb(242, 241, 241);
    border-radius: 8px;
    border-left: 4px solid var(--primary-dark);
}

.checkbox-container {
    margin: 25px 0;
    text-align: left;
}

.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    color: #444;
    transition: color 0.3s;
}

.custom-checkbox:hover {
    color: var(--primary);
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #f5f5f5;
    border-radius: 6px;
    border: 2px solid #ddd;
    transition: all 0.3s;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--primary);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.terms-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s;
}

.terms-link:hover {
    color: var(--primary-dark);
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    margin-top: 10px;
}

.whatsapp-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    box-shadow: none;
}

.whatsapp-btn:not(:disabled):hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-button:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}