/* ============================================
   VoiceLingua — MVP Landing v2
   i18n + Dark/Light + Navbar + Footer
   ============================================ */

:root {
    --bg: #f8f9fb;
    --surface: #ffffff;
    --surface-alt: #f1f3f6;
    --text: #0b1220;
    --text-muted: #5a6578;
    --accent: #6366f1;
    --accent-light: #4f46e5;
    --accent-glow: rgba(99, 102, 241, 0.18);
    --border: #e2e6ed;
    --radius: 18px;
    --radius-sm: 12px;
    --max-width: 840px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --shadow-sm: 0 2px 8px rgba(11,18,32,0.06);
    --shadow-md: 0 8px 30px rgba(11,18,32,0.08);
    --shadow-lg: 0 20px 60px rgba(11,18,32,0.12);
    --transition: 0.25s ease;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.35);
}

html.dark {
    --bg: #0a0c10;
    --surface: #14161e;
    --surface-alt: #1a1d28;
    --text: #e8eaf0;
    --text-muted: #8b92a8;
    --accent: #818cf8;
    --accent-light: #a5b4fc;
    --accent-glow: rgba(129, 140, 248, 0.18);
    --border: #232736;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.35);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
    --glass-bg: rgba(20, 22, 34, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html { scroll-behavior: smooth; }

/* Z-index stacking */
main, footer { position: relative; z-index: 1; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    transition: background var(--transition), color var(--transition);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- UTILITAIRES --- */
.tag {
    display: inline-block;
    background: var(--surface-alt);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    transition: all var(--transition);
    cursor: default;
}

.tag:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px var(--accent-glow);
}

.accent { color: var(--accent); }

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(248,249,251,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

html.dark .navbar {
    background: rgba(10,12,16,0.85);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    padding: 0 32px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.nav-links {
    display: none;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
    padding: 4px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Theme toggle */
.theme-toggle, .mobile-theme-toggle {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.theme-toggle:hover, .mobile-theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.theme-toggle svg, .mobile-theme-toggle svg {
    width: 18px; height: 18px;
}

.icon-sun { display: none; }

html.dark .icon-moon { display: none; }
html.dark .icon-sun { display: block; }

/* Lang switcher */
.lang-switcher { position: relative; }

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.lang-switcher-btn:hover {
    border-color: var(--accent);
    color: var(--text);
}

.lang-switcher-btn svg {
    width: 16px; height: 16px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    overflow: hidden;
    z-index: 100;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
}

.lang-dropdown a:hover, .lang-dropdown a.active {
    background: var(--accent-glow);
    color: var(--accent);
}

.lang-switcher.open .lang-dropdown { display: block; }

/* Nav CTA */
.nav-cta {
    display: none;
    padding: 7px 18px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 4px 14px var(--accent-glow);
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; max-width: 360px;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--border);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.open { right: 0; }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.mobile-close {
    width: 36px; height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.mobile-menu-links a {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.mobile-menu-links a:hover {
    background: var(--surface-alt);
    color: var(--accent);
    border-color: var(--accent);
    transform: translateX(4px);
}

.mobile-menu-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-theme-toggle {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.mobile-lang-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-lang-switcher-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.mobile-lang-options {
    display: flex;
    gap: 8px;
}

.mobile-lang-option {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

.mobile-lang-option.active, .mobile-lang-option:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.mobile-cta {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px var(--accent-glow);
}

/* --- HERO --- */
.hero {
    padding: 120px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.8rem, 5.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.subtitle strong {
    color: var(--text);
    font-weight: 500;
}

/* --- USE CASES --- */
.usecase {
    padding: 60px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.usecase-alt { background: var(--bg); }

.usecase-header {
    margin-bottom: 28px;
}

.usecase-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: var(--surface-alt);
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    margin-bottom: 12px;
    transition: all var(--transition);
    cursor: default;
}

.usecase-tag:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px var(--accent-glow);
}

.usecase h2 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    max-width: 600px;
}

.usecase-body {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.video-usecase {
    display: flex;
    align-items: center;
    justify-content: center;
}

.usecase-text p {
    color: var(--text-muted);
    font-size: 0.97rem;
    margin-bottom: 14px;
    line-height: 1.7;
}

.usecase-text strong {
    color: var(--text);
    font-weight: 600;
}

.usecase-list {
    list-style: none;
    margin-top: 16px;
}

.usecase-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 10px;
    line-height: 1.55;
}

.usecase-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* --- FEATURE LEARN --- */
.feature-learn {
    padding: 60px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.feature-learn-header {
    text-align: center;
    margin-bottom: 44px;
}

.feature-learn-header h2 {
    font-size: clamp(1.4rem, 4.5vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    margin-top: 12px;
}

.feature-learn-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.feature-learn-step {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 28px;
}

.step-content {
    flex: 1;
}

.feature-learn-step h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 12px;
}

.feature-learn-step p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

.step-number {
    width: 36px; height: 36px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- PLACEHOLDERS --- */
.video-usecase, .video-feature, .testimonial-video {
    margin-top: 8px;
}

.demo-video {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    display: block;
    background: #000;
    transition: transform 0.3s ease, border-color 0.2s ease, box-shadow 0.3s ease;
    transform-origin: center;
}

.demo-video:hover {
    border-color: var(--accent);
    transform: scale(1.04);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 2;
}

.video-usecase--vertical {
    justify-content: center;
    max-width: 340px;
    margin: 0 auto;
}

.demo-video--vertical {
    width: 100%;
    height: auto;
    max-width: 340px;
    aspect-ratio: 9/16;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.video-usecase--square {
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
}

.demo-video--square {
    width: 100%;
    height: auto;
    max-width: 480px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.video-feature--vertical {
    display: flex;
    justify-content: center;
    max-width: 380px;
    margin: 40px auto 0;
}

/* --- ROADMAP --- */
.roadmap {
    padding: 80px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.roadmap-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.roadmap-header h2 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 18px 0 14px;
    line-height: 1.1;
}

.roadmap-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.roadmap-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md, 18px);
    padding: 32px 28px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.roadmap-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    border-radius: var(--radius-md, 18px) var(--radius-md, 18px) 0 0;
}

.roadmap-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.18);
}

.roadmap-status {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    margin-bottom: 22px;
}

.roadmap-status--planned {
    background: rgba(168, 85, 247, 0.15);
    color: #c4b5fd;
    border-color: rgba(168, 85, 247, 0.3);
}

.roadmap-icon {
    font-size: 2.6rem;
    margin-bottom: 16px;
    line-height: 1;
}

.roadmap-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.roadmap-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.demo-video--portrait {
    width: 100%;
    height: auto;
    max-width: 380px;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.video-placeholder, .screenshot-placeholder {
    background: var(--bg);
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 36px 24px;
    text-align: center;
    color: var(--text-muted);
    transition: border-color 0.2s;
}

.video-placeholder:hover, .screenshot-placeholder:hover {
    border-color: var(--accent);
}

.video-placeholder.large {
    padding: 44px 28px;
}

.video-placeholder .play-btn {
    width: 56px; height: 56px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 16px;
    box-shadow: 0 0 28px var(--accent-glow);
    cursor: default;
}

.video-placeholder p {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.video-note {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}

.screenshot-placeholder {
    margin-top: 18px;
    padding: 24px;
    font-size: 0.88rem;
}

.step-screenshot {
    width: 100%;
    max-width: 360px;
    height: auto;
    margin-top: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: block;
    background: var(--bg);
    align-self: center;
    cursor: zoom-in;
    transition: transform 0.3s ease, border-color 0.2s ease, box-shadow 0.3s ease;
    transform-origin: center;
}

.step-screenshot:hover {
    border-color: var(--accent);
    transform: scale(1.08);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.25);
    z-index: 2;
    position: relative;
}

/* --- IMAGE LIGHTBOX --- */
.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 18, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 40px;
    cursor: zoom-out;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.image-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.image-lightbox img {
    max-width: min(1200px, 90vw);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.image-lightbox.active img {
    transform: scale(1);
}

.image-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
    z-index: 1;
}

.image-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.screenshot-placeholder span {
    color: var(--text-muted);
}

/* --- KBD --- */
kbd {
    display: inline-block;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px 8px;
    font-family: var(--font);
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 2px 0 var(--border);
}

/* --- TESTIMONIAL --- */
.testimonial {
    padding: 50px 0 60px;
    background: var(--surface-alt);
    text-align: center;
}

.testimonial h2 {
    font-size: 1.5rem;
    font-weight: 700;
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.35;
    font-style: italic;
    color: var(--text-muted);
}

/* --- FAQ --- */
.faq-section {
    padding: 60px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 22px;
    font-weight: 600;
    font-size: 0.97rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

.faq-item summary:hover {
    background: var(--surface-alt);
    border-left-color: var(--accent);
    padding-left: 26px;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 22px 18px;
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 10px;
}

/* --- DOWNLOAD --- */
.download {
    padding: 70px 0;
    text-align: center;
}

.download h2 {
    font-size: clamp(1.5rem, 5vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.download-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
    width: 100%;
    max-width: 320px;
    justify-content: center;
}

.cta-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.cta-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--accent-glow);
}

.cta-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.cta-secondary:hover {
    background: var(--surface-alt);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.download-note {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* --- FOOTER --- */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 48px 0 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand p {
    margin-top: 10px;
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.footer-column h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 14px;
}

.footer-column a {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: all var(--transition);
    position: relative;
    padding-bottom: 2px;
    white-space: nowrap;
    width: fit-content;
}

.footer-column a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    border-radius: 1px;
    transition: width var(--transition);
}

.footer-column a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-column a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* --- RESPONSIVE --- */
@media (min-width: 640px) {
    .desktop-only { display: flex; }
    .hamburger { display: none; }
    .nav-cta { display: inline-block; }

    .logo {
        margin-right: 36px;
    }

    .nav-links {
        margin-right: 36px;
    }

    .usecase-body {
        flex-direction: row;
        align-items: stretch;
        gap: 40px;
    }

    .usecase-text { flex: 1; }
    .video-usecase { flex: 1; min-width: 300px; }

    .feature-learn-step {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 40px;
        padding: 36px 40px;
    }

    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .roadmap-card {
        padding: 36px 32px;
    }

    .feature-learn-step:nth-child(even) {
        flex-direction: row-reverse;
    }

    .step-screenshot {
        max-width: 320px;
        margin-top: 0;
        flex-shrink: 0;
    }

    .download-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .cta-primary, .cta-secondary {
        width: auto;
        max-width: none;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}


/* ============================================
   GRADIENT AURA — Effects
   ============================================ */

/* --- CURSOR HALO --- */
.cursor-halo {
    position: fixed;
    top: 0; left: 0;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.11) 0%, transparent 65%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: transform;
}

@media (pointer: fine) {
    .cursor-halo { opacity: 1; }
}

/* --- FLOATING BLOBS --- */
.blobs-container {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(90px);
    opacity: 0.06;
    animation: blobFloat 28s ease-in-out infinite;
    will-change: transform;
}

html.dark .blob {
    opacity: 0.14;
}

.blob-1 {
    width: 520px; height: 520px;
    background: #6366f1;
    top: -8%; left: -12%;
    animation-delay: 0s;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.blob-2 {
    width: 420px; height: 420px;
    background: #8b5cf6;
    top: 25%; right: -8%;
    animation-delay: -10s;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.blob-3 {
    width: 380px; height: 380px;
    background: #06b6d4;
    bottom: -8%; left: 15%;
    animation-delay: -18s;
    border-radius: 50% 50% 40% 60% / 50% 40% 60% 50%;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(40px, -35px) rotate(6deg) scale(1.06);
    }
    50% {
        transform: translate(-25px, 25px) rotate(-4deg) scale(0.94);
    }
    75% {
        transform: translate(20px, 18px) rotate(3deg) scale(1.03);
    }
}

/* --- HERO GLOW --- */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 45%; left: 50%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 65%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: heroPulse 7s ease-in-out infinite;
    z-index: 0;
}

html.dark .hero::before {
    background: radial-gradient(circle, rgba(99,102,241,0.28) 0%, transparent 65%);
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.12); }
}

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

/* --- GLASSMORPHISM SECTIONS --- */
.usecase,
.feature-learn,
.testimonial,
.faq-section,
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.usecase-alt {
    background: var(--glass-bg);
}

/* --- USE CASE TAG GLOW --- */
/* --- ENHANCED VIDEO PLACEHOLDERS --- */
.video-placeholder {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.screenshot-placeholder {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* --- ENHANCED CARDS --- */
.feature-learn-step {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-learn-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* --- ENHANCED DOWNLOAD BUTTONS --- */
.cta-primary {
    position: relative;
    overflow: hidden;
}

.cta-primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.cta-primary:hover::after {
    opacity: 1;
}

/* --- SMOOTH SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    padding: 70px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.pricing-header {
    margin-bottom: 28px;
}

.pricing-header h2 {
    font-size: clamp(1.5rem, 5vw, 2.1rem);
    font-weight: 800;
    line-height: 1.2;
    margin-top: 10px;
}

.pricing-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}

.pricing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
}

.pricing-toggle-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition);
}

.pricing-toggle-btn:hover {
    color: var(--text);
}

.pricing-toggle-btn.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.pricing-save-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.3);
    padding: 4px 10px;
    border-radius: 999px;
    margin-left: 6px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: left;
}

.pricing-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

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

.pricing-card--popular {
    border-color: var(--accent);
    box-shadow: 0 12px 36px var(--accent-glow);
}

.pricing-card--coming {
    opacity: 0.72;
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: var(--accent);
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.pricing-badge--coming {
    background: var(--text-muted);
    box-shadow: none;
}

.pricing-card-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.pricing-card--coming .pricing-amount,
.pricing-card--coming .pricing-period,
.pricing-card--coming .pricing-equiv,
.pricing-card--coming .pricing-save-badge {
    color: var(--text-muted);
}

.pricing-period {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-equiv {
    font-size: 0.82rem;
    color: var(--text-muted);
    min-height: 1.1em;
    margin-bottom: 10px;
}

.pricing-tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.55;
}

.pricing-features {
    list-style: none;
    margin: 0 0 24px;
    flex: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 26px;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 11px;
    line-height: 1.5;
}

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

.pricing-features li.no {
    color: var(--text-muted);
}

.pricing-features li.no::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--text-muted);
    font-weight: 700;
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 13px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--font);
    transition: all var(--transition);
    border: 1px solid transparent;
    width: 100%;
}

.pricing-cta--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 18px var(--accent-glow);
}

.pricing-cta--primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.pricing-cta--secondary {
    background: var(--surface-alt);
    color: var(--text);
    border-color: var(--border);
}

.pricing-cta--secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pricing-disclosure {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

.pricing-disclosure-global {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 32px auto 0;
    line-height: 1.7;
    text-align: center;
}

.pricing-disclosure-global a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (min-width: 760px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        align-items: stretch;
    }
    .pricing-controls {
        flex-direction: row;
        justify-content: center;
        gap: 28px;
    }
}

/* ============================================
   NOTIFY MODAL
   ============================================ */
.notify-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

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

.notify-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 18, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.notify-modal-box {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 420px;
    width: 100%;
    padding: 32px 28px;
}

.notify-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition);
}

.notify-modal-close:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.notify-modal-box h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-right: 24px;
}

.notify-modal-box label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.notify-modal-box input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.notify-modal-box input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.notify-disclaimer {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
    line-height: 1.55;
}

.notify-result {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-top: 4px;
    color: var(--text);
}

.notify-result.is-error {
    color: #dc2626;
}

.notify-result.is-success {
    color: #16a34a;
}

/* ============================================
   FOOTER ENRICHED — link button + entity line
   ============================================ */
.footer-column .footer-link-btn {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted);
    background: none;
    border: none;
    padding: 0 0 2px;
    margin-bottom: 10px;
    font-family: var(--font);
    text-align: left;
    cursor: pointer;
    position: relative;
    width: fit-content;
    transition: all var(--transition);
}

.footer-column .footer-link-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    border-radius: 1px;
    transition: width var(--transition);
}

.footer-column .footer-link-btn:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-column .footer-link-btn:hover::after {
    width: 100%;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .footer-entity {
    margin-top: 6px;
    opacity: 0.8;
    font-size: 0.78rem;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 4000;
    max-width: 760px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-banner-actions button {
    flex: 1;
    min-width: 150px;
    padding: 11px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.cookie-banner-actions .cookie-accept {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 14px var(--accent-glow);
}

.cookie-banner-actions .cookie-accept:hover {
    background: var(--accent-light);
}

.cookie-banner-actions .cookie-reject {
    background: var(--surface-alt);
    color: var(--text);
}

.cookie-banner-actions .cookie-reject:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media (min-width: 640px) {
    .cookie-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .cookie-banner-actions {
        flex-wrap: nowrap;
    }
    .cookie-banner-actions button {
        flex: 0 0 auto;
        min-width: 0;
    }
}
