/* Home Page Styles for Cher's LLC German Tutor */

/* Clippie-Style Navigation - MOBILE AND TABLET ONLY */
/* Hide Clippie navbar on desktop */
.clippie-navbar {
    display: none;
}

/* Ensure clippie navbar doesn't inherit base navbar styles */
.clippie-navbar.navbar {
    position: fixed;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 0;
    padding: 0;
}

/* Show Clippie navbar only on mobile and tablet */
@media (max-width: 1024px) {
    /* Hide desktop navbar on mobile/tablet */
    .desktop-navbar {
        display: none !important;
    }
    
    /* Clippie-Style Navigation Bar */
    .clippie-navbar {
        display: block !important;
        position: fixed !important;
        top: 1.5rem !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 3rem) !important;
        max-width: 600px !important;
        z-index: 1000 !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }
    
    .clippie-nav-container {
        padding: 0;
        max-width: 100%;
        margin: 0;
        width: 100%;
    }
    
    .clippie-nav-bar {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 999px;
        padding: 0.875rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        width: 100%;
        margin: 0;
    }
    
    .clippie-nav-logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    .clippie-logo-link {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #1e293b;
        font-weight: 600;
        font-size: 1.25rem;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
        transition: opacity 0.2s ease;
        cursor: pointer;
        pointer-events: auto;
        z-index: 10;
        position: relative;
        transform: none;
        scale: 1;
    }
    
    .clippie-logo-link:hover {
        opacity: 0.8;
        transform: none;
        scale: 1;
    }
    
    .clippie-logo-link:active {
        opacity: 0.6;
        transform: none;
        scale: 1;
    }
    
    .clippie-logo-link:focus {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
        border-radius: 4px;
        transform: none;
        scale: 1;
    }
    
    .clippie-logo-img {
        height: 32px;
        width: auto;
        object-fit: contain;
        margin-right: 0.75rem;
        pointer-events: none;
        display: block;
        transform: none;
        scale: 1;
        transition: none;
    }
    
    .clippie-logo-text {
        font-size: 1.25rem;
        font-weight: 600;
        color: #1e293b;
        pointer-events: none;
    }
    
    .clippie-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        width: 2.5rem;
        height: 2.5rem;
        cursor: pointer;
        border: none;
        background: transparent;
        padding: 0;
    }
    
    .clippie-menu-toggle span {
        width: 20px;
        height: 2px;
        background: #1e293b;
        border-radius: 999px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .clippie-menu-toggle:hover span {
        background: #2563eb;
    }
    
    .clippie-menu-toggle.active span {
        background: #1e293b;
    }
    
    .clippie-menu-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .clippie-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .clippie-menu-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

/* Clippie-Style Mobile Menu Overlay - Light Theme */
.clippie-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
}

.clippie-menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.clippie-menu-panel {
    width: min(90vw, 400px);
    max-width: 400px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.clippie-menu-overlay.open .clippie-menu-panel {
    transform: scale(1);
}

.clippie-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.clippie-menu-logo {
    display: flex;
    align-items: center;
}

.clippie-menu-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.clippie-menu-close {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #1e293b;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 1.25rem;
}

.clippie-menu-close:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: rotate(90deg);
    color: #2563eb;
}

.clippie-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.clippie-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    color: #1e293b;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
    transition: color 0.2s ease;
    width: 100%;
}

.clippie-menu-link:hover {
    color: #2563eb;
}

.clippie-menu-link i {
    font-size: 0.875rem;
    opacity: 0.6;
    color: #64748b;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.clippie-menu-link:hover i {
    transform: translateX(4px);
    opacity: 1;
    color: #2563eb;
}

.clippie-menu-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0.5rem 0;
}

.clippie-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    width: 100%;
}

.clippie-action-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #f8fafc;
    color: #1e293b;
    text-decoration: none;
    text-align: center;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.clippie-action-btn:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.15);
}

.clippie-action-btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.clippie-action-btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
    border-color: transparent;
}

/* Background pattern for menu overlay - subtle light theme */
.clippie-menu-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.3;
}

/* Responsive adjustments for Clippie navbar */
@media (max-width: 768px) {
    .clippie-navbar {
        top: 1rem !important;
        width: calc(100% - 2rem) !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        margin: 0 auto !important;
    }
    
    .clippie-nav-bar {
        padding: 0.75rem 1.25rem;
        width: 100%;
        margin: 0;
    }
    
    .clippie-logo-img {
        height: 28px;
    }
    
    .clippie-menu-panel {
        width: min(95vw, 380px);
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .clippie-navbar {
        top: 0.75rem !important;
        width: calc(100% - 1.5rem) !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        margin: 0 auto !important;
    }
    
    .clippie-nav-bar {
        padding: 0.625rem 1rem;
        border-radius: 16px;
        width: 100%;
        margin: 0;
    }
    
    .clippie-logo-img {
        height: 24px;
        margin-right: 0.5rem;
    }
    
    .clippie-menu-panel {
        width: calc(100vw - 2rem);
        padding: 1.25rem;
        border-radius: 12px;
    }
}

/* Show desktop navbar on desktop */
@media (min-width: 1025px) {
    .desktop-navbar {
        display: block !important;
    }
    
    .clippie-navbar {
        display: none !important;
    }
}

.navbar.scrolled,
.desktop-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 0.1rem 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(0) scale(1) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* More specific selectors to ensure they override other styles */
body .navbar.scrolled,
body .desktop-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 0.1rem 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.navbar.scrolled .nav-logo .logo-img,
.desktop-navbar.scrolled .nav-logo .logo-img {
    width: 120px !important;
    height: 120px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.navbar.scrolled .nav-menu,
.desktop-navbar.scrolled .nav-menu {
    gap: 1.5rem !important;
}

.navbar.scrolled .nav-link,
.desktop-navbar.scrolled .nav-link {
    font-size: 0.9rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.navbar.scrolled .btn,
.desktop-navbar.scrolled .btn {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.85rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.navbar.scrolled .btn-outline,
.desktop-navbar.scrolled .btn-outline {
    color: #2563eb;
    border-color: #2563eb;
    background: transparent;
}

.navbar.scrolled .btn-outline:hover,
.desktop-navbar.scrolled .btn-outline:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Ensure desktop navbar is always visible and fixed on desktop */
@media (min-width: 1025px) {
    .desktop-navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo .logo-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled .nav-logo .logo-img,
.desktop-navbar.scrolled .nav-logo .logo-img {
    width: 120px !important;
    height: 120px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

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

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-auth {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    border: none;
    background: transparent;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #0f172a;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.nav-toggle:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 4px;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle.active {
    background: rgba(15, 23, 42, 0.92);
    border-color: transparent;
}

.nav-toggle.active span {
    background: #ffffff;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-panel {
    width: min(90vw, 400px);
    max-width: 400px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.mobile-menu-overlay.open .mobile-menu-panel {
    transform: scale(1);
}

.mobile-menu-panel:focus {
    outline: none;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #1e293b;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 1.25rem;
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: rotate(90deg);
    color: #2563eb;
}

.mobile-menu-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    color: #1e293b;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
    transition: color 0.2s ease;
    width: 100%;
}

.mobile-menu-link:hover {
    color: #2563eb;
}

.mobile-menu-link i {
    font-size: 0.875rem;
    opacity: 0.6;
    color: #64748b;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.mobile-menu-link:hover i {
    transform: translateX(4px);
    opacity: 1;
    color: #2563eb;
}

body.mobile-menu-open {
    overflow: hidden;
}

@media (min-width: 1025px) {
    .mobile-menu-overlay {
        display: none;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        justify-content: flex-end;
    }

    .nav-logo {
        display: none;
    }

    .nav-menu {
        display: none !important;
    }

    .nav-toggle {
        display: inline-flex;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(148, 163, 184, 0.4);
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    }

    .nav-toggle:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.18);
    }

    .mobile-menu-overlay {
        display: flex;
    }
}

/* Hero Section */

.hero {
    padding: clamp(10rem, 15vw, 12rem) 0 clamp(2rem, 4vw, 3rem) 0;
    background: linear-gradient(145deg, #eef2ff 0%, #f8fafc 50%, #e0f2fe 100%);
    color: #0f172a;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.hero-modern-container {
    align-items: stretch;
}

.hero-modern-text {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #2563eb;
}

.hero-highlight {
    background: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    transition: opacity 0.35s ease, transform 0.35s ease;
    display: inline-block;
}

.hero-highlight.is-transitioning {
    opacity: 0;
    transform: translateY(8px);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 32rem;
    color: #475569;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-note {
    color: #4b5563;
    font-size: 0.95rem;
    margin: 1.5rem 0 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: #111827;
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.25);
}

.btn-outline {
    background: transparent;
    color: #0f172a;
    border: 2px solid rgba(15, 23, 42, 0.18);
}

.btn-outline:hover {
    background: #0f172a;
    color: #ffffff;
}

.notify-btn {
    color: #2563eb;
    border-color: #2563eb;
}

.notify-btn:hover {
    background: #2563eb;
    color: #fff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

.stat-label {
    font-size: 0.95rem;
    color: #475569;
}

.hero-image-columns {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: 600px; /* Fixed height to contain the moving images */
    overflow: hidden; /* Hide images that go beyond boundaries */
}

.image-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 200px; /* TikTok-like width */
    position: relative;
    height: 100%; /* Ensure full height */
}

.image-column.column-up {
    animation: moveUp 15s linear infinite;
    transform: translateY(0); /* Start at the top */
}

.image-column.column-down {
    animation: moveDown 15s linear infinite;
    margin-top: 2rem;
    transform: translateY(0); /* Start at the top */
}

.image-card {
    position: relative;
    width: 100%;
    height: 300px; /* TikTok-like height (9:16 aspect ratio) */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent cards from shrinking */
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-strip {
    display: none;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-image-strip-wrapper {
    display: flex;
    gap: 1rem;
    width: fit-content;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.hero-strip-card {
    flex: 0 0 200px;
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
    background: #0f172a;
    position: relative;
    scroll-snap-align: center;
}

.hero-strip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pause animation on hover over the entire image columns container */
.hero-image-columns:hover .image-column.column-up {
    animation-play-state: paused;
}

.hero-image-columns:hover .image-column.column-down {
    animation-play-state: paused;
}


@keyframes moveUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes moveDown {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Continuous scrolling animation for mobile/tablet images */
@keyframes scrollImages {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.hero-image {
    display: flex;
    justify-content: center;
}

/* Sections */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
}

/* Languages Section */
.languages {
    padding: 6rem 0;
    background: #ffffff;
}

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

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.language-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.25rem;
    padding: 2.25rem;
    text-align: center;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
    transition: all 0.35s ease;
    border: 1px solid rgba(15, 23, 42, 0.06);
    position: relative;
    backdrop-filter: blur(12px);
}

.language-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.language-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 65px rgba(15, 23, 42, 0.18);
}

.language-card.available {
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(160deg, rgba(16, 185, 129, 0.12), rgba(255, 255, 255, 0.95));
}

.language-card.coming-soon {
    border-color: rgba(148, 163, 184, 0.4);
    opacity: 0.85;
}

.language-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.language-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.language-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.language-plan-copy {
    color: #047857;
    font-weight: 600;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.tutors-list {
    margin-bottom: 1.5rem;
}

.tutor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.tutor-item:last-child {
    border-bottom: none;
}

.tutor-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}

.tutor-specialty {
    color: #6b7280;
    font-size: 0.8rem;
    font-style: italic;
}

.language-status {
    margin-bottom: 1.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.available {
    background: #10b981;
    color: white;
}

.status-badge.coming-soon {
    background: #f3f4f6;
    color: #6b7280;
}

.language-card.coming-soon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,255,255,0.35));
    border-radius: 1.25rem;
    pointer-events: none;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(140deg, #eef2ff 0%, #fdfbff 45%, #e0f2fe 100%);
    color: #0f172a;
    position: relative;
}

.features .section-header h2 {
    color: #0f172a;
}

.features .section-header p {
    color: #4b5563;
    max-width: 640px;
    margin-inline: auto;
}

.features-carousel {
    margin-top: 3rem;
    position: relative;
    overflow: visible;
    /* Prevent vertical scrolling within carousel area */
    touch-action: pan-x pinch-zoom;
}

.features-track {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.75rem 0 1.5rem;
    scrollbar-width: none;
    touch-action: pan-x pinch-zoom;
}

.features-track::-webkit-scrollbar {
    display: none;
}

.feature-slide {
    flex: 0 0 min(360px, 82vw);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    scroll-snap-align: start;
    backdrop-filter: blur(8px);
    position: relative;
    opacity: 0;
    transform: translate3d(0, 45px, 0) scale(0.98);
    transition:
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.8s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
    transition-delay: var(--slide-delay, 0ms);
}

.feature-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.45);
    pointer-events: none;
    opacity: 0.9;
}

.feature-slide.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

@media (hover: hover) and (pointer: fine) {
    .feature-slide.is-visible:hover,
    .feature-slide.is-visible:focus-within {
        transform: translate3d(0, -8px, 0) scale(1.008);
        border-color: rgba(37, 99, 235, 0.25);
        background: linear-gradient(160deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.98));
    }
}

.feature-slide.is-visible:active {
    transform: translate3d(0, -4px, 0) scale(1.004);
}

.feature-slide.is-visible:not(:hover):not(:focus-within):not(:active) {
    box-shadow: none;
}

.feature-slide-visual {
    padding: 1.5rem;
    padding-bottom: 2.25rem;
    min-height: 200px;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.feature-visual-pill {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: rgba(99, 102, 241, 0.12);
    color: #1d4ed8;
}

.feature-visual-card {
    background: #ffffff;
    color: #0f172a;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
    max-width: 78%;
    border: 1px solid rgba(15, 23, 42, 0.07);
}

.feature-visual-card span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #64748b;
}

.feature-visual-chip {
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.35);
}

.feature-slide-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-slide-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6366f1;
    margin: 0;
}

.feature-slide-body h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin: 0;
}

.feature-slide-body p {
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

.features-carousel-nav {
    position: absolute;
    top: -4rem;
    right: 0;
    display: flex;
    gap: 0.75rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.carousel-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border-color: rgba(37, 99, 235, 0.6);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.gradient-aurora .feature-slide-visual {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(16, 185, 129, 0.35));
}

.gradient-violet .feature-slide-visual {
    background: linear-gradient(135deg, rgba(196, 181, 253, 0.35), rgba(147, 51, 234, 0.4));
}

.gradient-mint .feature-slide-visual {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.25), rgba(14, 165, 233, 0.3));
}

.gradient-sunset .feature-slide-visual {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(236, 72, 153, 0.3));
}

.gradient-gold .feature-slide-visual {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.32), rgba(249, 115, 22, 0.28));
}

.gradient-sapphire .feature-slide-visual {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(15, 118, 110, 0.4));
}

@media (max-width: 768px) {
    .features-carousel-nav {
        position: static;
        justify-content: flex-end;
        margin-top: 1.5rem;
    }
}

@media (max-width: 640px) {
    .feature-slide {
        flex: 0 0 88vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-slide {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* Interactive Demo Section */
.interactive-demo {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.demo-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.demo-nav-btn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.demo-nav-btn:hover {
    background: #2563eb;
    transform: scale(1.1);
}

.demo-feature-display {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.demo-feature-display .feature-icon {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.demo-feature-display h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #1f2937;
}

.demo-feature-display p {
    color: #64748b;
    margin: 0;
    max-width: 300px;
    line-height: 1.6;
}

/* Video Demo Section */
.video-demo {
    padding: 6rem 0;
    background: #ffffff;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.video-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: #000;
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
}

/* Video controls styling */
.demo-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.7);
}

.demo-video::-webkit-media-controls-play-button,
.demo-video::-webkit-media-controls-volume-slider,
.demo-video::-webkit-media-controls-fullscreen-button {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
}

.video-info {
    padding: 2rem 0;
}

.video-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.video-info p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.video-cta .btn {
    background: #3b82f6;
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.video-cta .btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-info {
        text-align: center;
    }
}

/* Demo Section */
.demo {
    padding: 6rem 0;
    background: #f9fafb;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3rem;
}

.demo-chat {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 500px;
    display: flex;
    flex-direction: column;
}

.demo-header {
    background: #2563eb;
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.demo-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.demo-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.demo-info span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.demo-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.demo-messages {
    flex: 1;
    padding: 1rem 1.5rem;
    overflow-y: auto;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-message {
    display: flex;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
}

.demo-message.user {
    justify-content: flex-end;
}

.demo-message-content {
    background: #f3f4f6;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    max-width: 80%;
    font-size: 0.95rem;
    line-height: 1.4;
    position: relative;
}

.demo-message.user .demo-message-content {
    background: #2563eb;
    color: white;
}

.demo-message.bot .demo-message-content {
    background: #f3f4f6;
    color: #374151;
}

.demo-message.correction .demo-message-content {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.demo-input {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.75rem;
}

.demo-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.demo-input input:focus {
    border-color: #2563eb;
}

.demo-input button {
    padding: 0.75rem 1rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.demo-input button:hover {
    background: #1d4ed8;
}

.demo-input button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demo-feature {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.demo-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.demo-feature.active {
    border-color: #2563eb;
    background: #eff6ff;
}

.demo-feature .feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.25rem;
}

.demo-feature.active .feature-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.demo-feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.demo-feature p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

.demo-cta {
    text-align: center;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-style: italic;
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: #6b7280;
    border-radius: 50%;
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingDot {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: #ffffff;
}

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

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.25rem;
}

.step {
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 32px 60px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(12px);
    position: relative;
}

.step::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.step.animate {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(130deg, #fbbf24, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f2937;
    box-shadow: 0 14px 25px rgba(251, 191, 36, 0.45);
}

.step-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: #ffffff;
}

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

.trial-note {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #4b5563;
}

.payment-note {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
}

.payment-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: #0f172a;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(15, 118, 110, 0.18);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.payment-pill i {
    color: #0f766e;
    font-size: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 1.25rem;
    overflow: visible;
}

.pricing-hold {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.75rem 2rem;
    box-shadow: var(--shadow);
}

.pricing-hold p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 35px 65px rgba(15, 23, 42, 0.15);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
    overflow: visible;
    margin-top: 0;
}

.pricing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.65), rgba(14, 165, 233, 0.65));
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 45px 90px rgba(15, 23, 42, 0.18);
}

.pricing-card:not(.featured) {
    margin-top: 1rem;
}

.pricing-card.featured {
    border: 1.5px solid rgba(37, 99, 235, 0.45);
    background: linear-gradient(150deg, rgba(59, 130, 246, 0.12), rgba(14, 165, 233, 0.08)), rgba(255, 255, 255, 0.95);
    margin-top: 0;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(120deg, #1d4ed8, #3b82f6);
    color: white;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 18px 28px rgba(59, 130, 246, 0.35);
    z-index: 3;
    min-width: 120px;
}

@media (max-width: 768px) {
    .pricing-card {
        padding-top: 4.1rem;
        align-items: center;
        text-align: center;
    }
    .pricing-badge {
        top: -4px;
        min-width: 140px;
    }
    .pricing-header {
        padding-top: 1.8rem;
    }
    .pricing-header h3 {
        margin-top: 0.65rem;
    }
}

.trial-tag {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 1rem;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    display: inline-flex;
    justify-content: center;
}

.pricing-header h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: #6b7280;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
}

.period {
    font-size: 1rem;
    color: #6b7280;
}

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

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
}

.pricing-features li.unavailable {
    color: #9ca3af;
}

.pricing-features i {
    color: #10b981;
}

.pricing-features li.unavailable i {
    color: #d1d5db;
}

.plan-note {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.btn-full {
    width: 100%;
    margin-top: auto;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.author-info h4 {
    margin: 0;
    color: #1f2937;
}

.author-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 3.25rem 0;
    position: relative;
    background:
        radial-gradient(circle at 18% 18%, rgba(59, 130, 246, 0.35), transparent 60%),
        radial-gradient(circle at 85% 12%, rgba(14, 165, 233, 0.28), transparent 65%),
        linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 45%, #0f172a 100%);
    color: #f8fafc;
    text-align: center;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    inset: -40% -10% 55% -10%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15), transparent 60%);
    opacity: 0.65;
    filter: blur(0.5rem);
    z-index: 0;
    pointer-events: none;
}

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

.cta-content h2 {
    font-size: 2.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-content p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.25), transparent 60%),
        radial-gradient(circle at 80% 5%, rgba(14, 165, 233, 0.2), transparent 62%),
        linear-gradient(135deg, #0f172a 0%, #111827 45%, #1f2937 100%);
    color: #f8fafc;
    padding: 2.5rem 0 2.25rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.footer-links li a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links li a:hover {
    color: #ffffff;
}

.footer-section .nav-auth {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-section .nav-auth .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}


.footer-section h4 {
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Notify Modal */
.notify-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
    z-index: 9998;
    opacity: 1;
    visibility: visible;
}

.notify-backdrop[hidden] {
    display: none !important;
}

.notify-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.97);
    border-radius: 1.5rem;
    box-shadow: 0 35px 75px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 2.75rem 2.25rem 2.25rem;
    width: min(560px, 90vw);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(18px);
}

.notify-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.22), transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(236, 72, 153, 0.16), transparent 55%);
    opacity: 0.45;
    pointer-events: none;
}

.notify-modal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(120deg, #1d4ed8, #3b82f6);
    opacity: 0.65;
}

.notify-modal > * {
    position: relative;
    z-index: 1;
}

.notify-modal[hidden] {
    display: none !important;
}

.notify-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.notify-close:hover {
    color: #111827;
}

.notify-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notify-header p {
    margin: 0;
    color: #4b5563;
    line-height: 1.5;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notify-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notify-form label {
    font-weight: 600;
    color: #1f2937;
}

.notify-form input {
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background: #f8fafc;
}

.notify-form input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
    background: #ffffff;
}

.notify-form .btn {
    justify-content: center;
}

body.modal-open {
    overflow: hidden;
}

/* Tablet view - also enable moving images */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-image-columns {
        display: none;
    }

    .hero-image-strip {
        display: block;
        gap: 1rem;
        width: 100%;
        overflow: hidden;
        padding: 0.5rem 0 0.75rem;
        position: relative;
    }

    .hero-image-strip-wrapper {
        display: flex;
        gap: 1rem;
        animation: scrollImages 12s linear infinite;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .hero-image-strip-wrapper:hover {
        animation-play-state: paused;
    }

    .hero-strip-card {
        flex: 0 0 240px;
        height: 360px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem 2rem;
        gap: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-modern-text {
        align-items: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-columns {
        display: none;
    }

    .hero-image-strip {
        display: flex;
        gap: 1rem;
        width: 100%;
        overflow: hidden;
        padding: 0.5rem 0 0.75rem;
        position: relative;
    }

    .hero-image-strip-wrapper {
        display: flex;
        gap: 1rem;
        animation: scrollImages 12s linear infinite;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .hero-image-strip-wrapper:hover {
        animation-play-state: paused;
    }

    .hero-image-strip::-webkit-scrollbar {
        display: none;
    }

    .hero-strip-card {
        flex: 0 0 220px;
        height: 340px;
        scroll-snap-align: center;
    }

    .image-column,
    .image-column.column-up,
    .image-column.column-down {
        animation: none;
    }
    
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2.3rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo-icon {
        width: 1.35rem;
        height: 1.35rem;
    }
    
    .demo-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .demo-chat {
        max-height: 400px;
    }
    
    .demo-features {
        gap: 1rem;
    }

    .languages-grid {
        grid-template-columns: 1fr;
    }

    .notify-modal {
        width: min(460px, 92vw);
        padding: 2rem 1.75rem 1.75rem;
    }

    .notify-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 8rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-monitor-wrapper {
        perspective: none;
    }

    .hero-monitor {
        width: 100%;
    }

    .monitor-frame {
        padding: 0.6rem;
    }

    .monitor-screen {
        height: 320px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .notify-modal {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .notify-form input {
        padding: 0.65rem 0.85rem;
    }

    .hero-image-strip {
        gap: 0.75rem;
    }

    .hero-image-strip-wrapper {
        gap: 0.75rem;
    }

    .hero-strip-card {
        flex: 0 0 170px;
        height: 260px;
    }
}
