/* ========================================================================== */
/*  BlackVoice SaaS - Premium Futuristic Design System                        */
/*  Theme: Dark (#050505), Accent (#dfb15b / #dfb15b)                         */
/* ========================================================================== */

:root {
    --bg-dark: #050505;
    --bg-secondary: #0c0c0c;
    --bg-card: #121212;
    --bg-input: #1a1a1a;
    
    --border-color: rgba(223, 177, 91, 0.08);
    --border-hover: rgba(223, 177, 91, 0.18);
    
    --text-main: #FFFFFF;
    --text-muted: #a3a3a3;
    --text-dim: #737373;
    
    --primary-neon: #dfb15b;      /* MaskAI Gold/Bronze */
    --secondary-neon: #dfb15b;    /* Neon Indigo/Purple */
    --accent: #EAD2B2;            /* Cream Gold Accent */
    --error: #ef4444;             /* Red Alert */
    --warning: #f59e0b;           /* Amber */
    --success: #10b981;           /* Emerald Green */
    
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.85);
    --shadow-glow-cyan: 0 0 24px rgba(223, 177, 91, 0.2);
    --shadow-glow-purple: 0 0 24px rgba(163, 131, 91, 0.15);
}

/* Light Theme Variable Overrides */
body.light-theme {
    --bg-dark: #fbfbfb;
    --bg-secondary: #f4f4f5;
    --bg-card: #ffffff;
    --bg-input: #eef0f3;
    
    --border-color: rgba(223, 177, 91, 0.15);
    --border-hover: rgba(223, 177, 91, 0.25);
    
    --text-main: #0f172a;
    --text-muted: #4b5563;
    --text-dim: #9ca3af;
    
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-glow-cyan: 0 0 24px rgba(223, 177, 91, 0.1);
    --shadow-glow-purple: 0 0 24px rgba(163, 131, 91, 0.08);
}

/* Reset & Base Rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark) !important;
    color: var(--text-main) !important;
    font-family: var(--font-body) !important;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Background Grid & Ambient Light */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.006) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.006) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 60%, transparent 100%);
    pointer-events: none;
    z-index: -2;
}

body.light-theme::before {
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
}

body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: 
        radial-gradient(circle at 10% 10%, rgba(223, 177, 91, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(163, 131, 91, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 50% 40%, rgba(5, 5, 5, 0.6) 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

body.light-theme::after {
    background: 
        radial-gradient(circle at 10% 10%, rgba(223, 177, 91, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(163, 131, 91, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 40%, rgba(251, 251, 251, 0.8) 0%, transparent 100%);
}

.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.012'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #262626;
    border-radius: 3px;
}
body.light-theme ::-webkit-scrollbar-thumb {
    background: #d4d4d8;
}
::-webkit-scrollbar-thumb:hover {
    background: #404040;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1060;
    background: rgba(10, 10, 10, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 16px 0;
    transition: var(--transition), background-color 0.4s ease;
}

body.light-theme .navbar {
    background: rgba(251, 251, 251, 0.8) !important;
}

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

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

.logo-wordmark {
    font-family: var(--font-heading);
    font-size: 22px;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
}
.logo-black {
    font-weight: 900;
    color: var(--text-main);
}
.logo-voice {
    font-weight: 300;
    color: var(--primary-neon) !important;
    margin-left: 1px;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main) !important;
    background: rgba(255, 255, 255, 0.03);
}
body.light-theme .nav-links a:hover {
    background: rgba(0, 0, 0, 0.04);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}
body.light-theme .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Language Selector Dropdown */
.lang-selector {
    position: relative;
}

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

.lang-btn:hover {
    color: var(--text-main);
    border-color: var(--primary-neon);
}

.lang-btn .arrow {
    font-size: 8px;
    color: var(--text-dim);
    margin-left: 2px;
}

.flag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 140px;
    box-shadow: var(--shadow-premium);
    z-index: 100;
}

.lang-dropdown.active {
    display: flex;
    animation: tabFadeIn 0.2s ease-out forwards;
}

.lang-option {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: var(--transition);
}

.lang-option:hover {
    background: var(--bg-secondary);
    color: var(--text-main);
}

.badge {
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.02) !important;
    color: var(--text-muted) !important;
    padding: 6px 12px !important;
    font-family: var(--font-mono);
}
body.light-theme .badge {
    background: rgba(0, 0, 0, 0.02) !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid transparent;
    gap: 8px;
}

.btn:active {
    transform: scale(0.97) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-neon), var(--accent)) !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: 0 4px 18px rgba(223, 177, 91, 0.25) !important;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 24px rgba(223, 177, 91, 0.4), var(--shadow-glow-cyan) !important;
    background: linear-gradient(135deg, var(--accent), var(--primary-neon)) !important;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.01) !important;
    color: var(--text-main) !important;
    border-color: var(--border-color) !important;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: var(--primary-neon) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-glow-cyan) !important;
}
body.light-theme .btn-outline:hover {
    background: rgba(0, 0, 0, 0.02) !important;
}

.btn-secondary {
    background: var(--bg-card) !important;
    color: var(--text-main) !important;
    border-color: var(--border-color) !important;
}

.btn-secondary:hover {
    background: var(--bg-secondary) !important;
    border-color: var(--primary-neon) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-glow-cyan) !important;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(223, 177, 91, 0.2) !important;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 8px !important;
}

.nav-cta-register {
    background: var(--primary-neon) !important;
    color: #0a0a0f !important;
    border-color: var(--primary-neon) !important;
    font-weight: 700 !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    box-shadow: 0 0 14px rgba(223, 177, 91, 0.25) !important;
    transition: all 0.25s ease !important;
}
.nav-cta-register:hover {
    background: #EAD2B2 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 24px rgba(223, 177, 91, 0.45) !important;
}

.btn-full {
    width: 100%;
}

.btn:disabled, .btn.disabled {
    background: var(--bg-secondary) !important;
    color: var(--text-dim) !important;
    border-color: var(--border-color) !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 1200px; height: 100%;
    background: radial-gradient(ellipse 60% 45% at 50% 0%, rgba(223, 177, 91, 0.08) 0%, transparent 65%) !important;
    pointer-events: none;
    z-index: 0;
}

.hero-badge-bv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(223, 177, 91, 0.06) !important;
    border: 1px solid rgba(223, 177, 91, 0.2) !important;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-neon);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px !important;
    line-height: 1.1 !important;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text-main) 50%, var(--primary-neon) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.hero-subtext {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 36px auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.trusted-text {
    font-size: 10px;
    font-family: var(--font-mono);
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.trusted-logos {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 60px;
}

.trusted-logo {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dim);
    opacity: 0.8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border-color);
    padding-top: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--border-color);
}

.metric:last-child {
    border-right: none;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
}

.metric-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Two Layers Section */
.two-layers-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    background: rgba(255, 255, 255, 0.003);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 36px !important;
    margin-top: 12px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 40px;
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.05;
    line-height: 1;
}

.layer-footer {
    font-family: var(--font-heading);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
    margin-top: auto;
}

.human-footer {
    color: var(--primary-neon);
    opacity: 0.7;
}

.ai-footer {
    color: #dfb15b;
    opacity: 0.7;
}

.result-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 0 auto;
    width: fit-content;
    padding: 10px 24px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 30px;
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
}

/* Como Funciona Section */
.features-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

/* Sound demo component */
.demo-player-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 40px auto 0 auto;
    box-shadow: var(--shadow-premium);
}

.demo-header {
    text-align: center;
    margin-bottom: 32px;
}

.demo-header h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.demo-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.demo-controls {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.demo-column {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.demo-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.status-green {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-red {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.sound-wave-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 40px;
    width: 100%;
}

.sound-wave-container .bar {
    width: 3px;
    height: 100%;
    background: var(--primary-neon);
    border-radius: 3px;
    animation: bounce 0.8s infinite alternate;
}

.sound-wave-container .bar:nth-child(2) { animation-delay: 0.1s; height: 60%; }
.sound-wave-container .bar:nth-child(3) { animation-delay: 0.2s; height: 30%; }
.sound-wave-container .bar:nth-child(4) { animation-delay: 0.15s; height: 75%; }
.sound-wave-container .bar:nth-child(5) { animation-delay: 0.3s; height: 50%; }
.sound-wave-container .bar:nth-child(6) { animation-delay: 0.05s; height: 90%; }
.sound-wave-container .bar:nth-child(7) { animation-delay: 0.25s; height: 40%; }
.sound-wave-container .bar:nth-child(8) { animation-delay: 0.18s; height: 65%; }
.sound-wave-container .bar:nth-child(9) { animation-delay: 0.12s; height: 80%; }
.sound-wave-container .bar:nth-child(10) { animation-delay: 0.22s; height: 35%; }

@keyframes bounce {
    from { transform: scaleY(0.1); }
    to { transform: scaleY(1); }
}
.sound-wave-container.paused .bar {
    animation-play-state: paused;
    height: 15% !important;
    background: var(--text-dim) !important;
}

.sound-wave-container.flat {
    height: 40px;
}

.bar-flat {
    width: 70%;
    height: 2px;
    background: var(--text-dim);
}

.demo-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* Curved Timeline Steps */
.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.timeline-svg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

.timeline-step {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.step-left {
    justify-content: flex-start;
}

.step-right {
    justify-content: flex-end;
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}

.step-icon-wrapper:hover {
    transform: scale(1.05);
}

.step-icon {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow-gold {
    box-shadow: 0 0 24px rgba(223, 177, 91, 0.15), inset 0 0 12px rgba(223, 177, 91, 0.08) !important;
    border-color: rgba(223, 177, 91, 0.3) !important;
}
.glow-gold .step-icon {
    color: var(--primary-neon) !important;
}

.glow-gold-chip {
    box-shadow: 0 0 24px rgba(163, 131, 91, 0.15), inset 0 0 12px rgba(163, 131, 91, 0.08) !important;
    border-color: rgba(163, 131, 91, 0.3) !important;
}
.glow-gold-chip .step-icon {
    color: var(--secondary-neon) !important;
}

.glow-green {
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.2), inset 0 0 12px rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
}
.glow-green .step-icon {
    color: var(--success) !important;
}

.step-glow-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    z-index: 3;
}

.glow-gold .step-glow-dot {
    background: var(--primary-neon);
    box-shadow: 0 0 10px var(--primary-neon);
    top: 8px; right: 8px;
}

.glow-gold-chip .step-glow-dot {
    background: var(--secondary-neon);
    box-shadow: 0 0 10px var(--secondary-neon);
    top: 8px; right: 8px;
}

.glow-green .step-glow-dot {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
    top: 8px; right: 8px;
}

.step-content {
    max-width: 450px;
    padding: 0 40px;
}

.step-left .step-content {
    margin-left: 20px;
}

.step-right .step-content {
    margin-right: 20px;
    text-align: right;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-right .step-number {
    justify-content: flex-end;
}

.num-mono {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-neon);
}

.green-step .num-mono {
    color: var(--success);
}

.step-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================================================== */
/*  Technical Spectral Details Section (Waveforms & Ticker)                    */
/* ========================================================================== */
.technical-panels {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tech-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.tech-row.reverse {
    flex-direction: row-reverse;
}

.tech-info {
    flex: 1;
}

.tech-step-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary-neon);
    display: inline-block;
    margin-bottom: 12px;
}
.tech-step-badge.blue {
    color: #3b82f6 !important;
}
.tech-step-badge.purple {
    color: var(--primary-neon);
}

/* Tech card dot indicators */
.tech-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}
.blue-dot {
    background-color: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
}
.gold-dot {
    background-color: var(--primary-neon);
    box-shadow: 0 0 8px rgba(223, 177, 91, 0.8);
}

.tech-info h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.tech-info p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tech-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.tech-visual-card {
    width: 480px;
    height: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}
.tech-visual-card.blue-bg {
    background: #060e1d !important;
    border-color: rgba(59, 130, 246, 0.15) !important;
}
.tech-visual-card.brown-bg {
    background: #18100a !important;
    border-color: rgba(223, 177, 91, 0.15) !important;
}

.waveform-canvas {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wave-svg {
    width: 90%;
    height: 70%;
}

.wave-path {
    stroke-linecap: round;
    transform-origin: center;
}

.blue-wave-1 {
    stroke: #3b82f6 !important;
    animation: waveFloat 3s ease-in-out infinite alternate;
}

.blue-wave-2 {
    stroke: #60a5fa !important;
    animation: waveFloat 4s ease-in-out infinite alternate-reverse;
}

.purple-wave-1 {
    stroke: #dfb15b !important;
    animation: waveFloat 3.2s ease-in-out infinite alternate;
}

.purple-wave-2 {
    stroke: #b45309 !important;
    animation: waveFloat 3.8s ease-in-out infinite alternate-reverse;
}

@keyframes waveFloat {
    0% { transform: scaleY(0.7) translateY(-3px); }
    100% { transform: scaleY(1.3) translateY(3px); }
}

.tech-card-label {
    position: absolute;
    bottom: 16px; left: 20px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

/* Infinite Marquee Ticker (Optimized to span full screen view natively) */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin: 60px 0;
    position: relative;

    /* Webkit and standard mask-image gradients for fading sides */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.ticker-wrap::before,
.ticker-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 2;
    pointer-events: none;
}

.ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.ticker-content {
    display: inline-flex;
    white-space: nowrap;
    gap: 30px;
    animation: tickerLoop 30s linear infinite;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.ticker-content span {
    display: inline-block;
}

.ticker-content span:nth-child(even) {
    color: var(--primary-neon);
    opacity: 0.7;
}

@keyframes tickerLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Performance Rendering optimization for below-the-fold elements */
.testimonials-section, .faq-section, .mockup-section, .professionals-section {
    content-visibility: auto;
    contain-intrinsic-size: 400px;
}

/* For Professionals Section */
.professionals-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.professionals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.prof-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.prof-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-neon);
}

.prof-icon {
    color: var(--primary-neon);
    margin-bottom: 20px;
}

.prof-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.prof-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* App / Dashboard Section styling */
.app-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.app-bg-glow {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(223, 177, 91, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.dashboard-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: var(--shadow-premium), 0 0 60px rgba(163, 131, 91, 0.02) !important;
    position: relative;
    z-index: 1;
}

.dashboard-layout {
    display: flex;
    min-height: 600px;
}

.dashboard-sidebar {
    width: 240px;
    background: var(--bg-secondary) !important;
    border-right: 1px solid var(--border-color);
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-logo {
    margin-bottom: 40px;
    padding-left: 10px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    outline: none;
}

.sidebar-item svg {
    stroke: var(--text-dim);
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
}
body.light-theme .sidebar-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.sidebar-item:hover svg {
    stroke: var(--text-muted);
}

.sidebar-item.active {
    background: rgba(223, 177, 91, 0.06) !important;
    color: var(--primary-neon) !important;
    font-weight: 600;
}

.sidebar-item.active svg {
    stroke: var(--primary-neon) !important;
    filter: drop-shadow(0 0 4px var(--primary-neon));
}

.sidebar-footer {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.badge-premium {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(223, 177, 91, 0.05);
    border: 1px solid rgba(223, 177, 91, 0.15);
    border-radius: 20px;
    color: var(--primary-neon);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    font-family: var(--font-mono);
}

.dashboard-content {
    flex: 1;
    padding: 40px;
    background: var(--bg-dark);
}

.dashboard-tab-panel {
    display: none;
    height: 100%;
}

.dashboard-tab-panel.active {
    display: block;
    animation: tabFadeIn 0.3s ease-out forwards;
}

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

/* Drag Zone */
.drop-zone {
    border: 2px dashed var(--border-color) !important;
    border-radius: 16px !important;
    padding: 48px 20px !important;
    text-align: center;
    cursor: pointer;
    background: var(--bg-secondary) !important;
    transition: var(--transition);
}

.drop-zone:hover, .drop-zone.active {
    border-color: var(--primary-neon) !important;
    background: var(--bg-card) !important;
    box-shadow: var(--shadow-glow-cyan) !important;
}

.drop-icon svg {
    stroke: var(--primary-neon) !important;
    filter: drop-shadow(0 0 6px rgba(223, 177, 91, 0.4));
}

.drop-zone h3 {
    font-size: 16px;
    margin-top: 16px;
    margin-bottom: 6px;
}

.browse-link {
    color: var(--primary-neon);
    font-weight: 600;
}

.file-limits {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-dim);
}

textarea, input[type="text"], input[type="email"], input[type="password"] {
    background: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-main) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    font-family: var(--font-body) !important;
    outline: none !important;
    transition: var(--transition) !important;
}

textarea:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
    border-color: var(--primary-neon) !important;
    box-shadow: 0 0 0 1px var(--primary-neon), var(--shadow-glow-cyan) !important;
}

#image-dropzone {
    border: 1px dashed var(--border-color) !important;
    background: var(--bg-secondary) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    transition: var(--transition) !important;
}

#image-dropzone:hover {
    border-color: var(--secondary-neon) !important;
    box-shadow: var(--shadow-glow-purple) !important;
}

.file-details-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.file-info h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.file-info span {
    font-size: 12px;
    color: var(--text-dim);
}

.btn-clear {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    transition: var(--transition);
}

.btn-clear:hover {
    color: var(--error);
}

.card-action-bar {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Processing View */
.processing-container {
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.progress-ring-container {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__circle-bg {
    stroke: rgba(255, 255, 255, 0.04);
}
body.light-theme .progress-ring__circle-bg {
    stroke: rgba(0, 0, 0, 0.04);
}

.progress-ring__circle {
    stroke: var(--primary-neon) !important;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.35s;
    transform-origin: 50% 50%;
    filter: drop-shadow(0 0 6px var(--primary-neon));
}

.progress-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-neon);
}

.status-info h4 {
    font-size: 15px;
    margin-bottom: 8px;
}

.logger-console {
    background: #000000;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    height: 80px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #e2e8f0;
}

.log-line {
    margin-bottom: 4px;
}

.completed-container {
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 24px;
}

.success-checkmark {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    border: 2px solid var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 28px;
    font-weight: bold;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.success-checkmark::before {
    content: '✓';
}

.completed-container h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.completed-container p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Quota page */
.quota-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.quota-title {
    font-size: 18px;
}

.quota-bar-wrapper {
    background: var(--bg-input);
    border-radius: 8px;
    height: 8px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.quota-bar {
    background: linear-gradient(90deg, var(--secondary-neon), var(--primary-neon));
    height: 100%;
    border-radius: 8px;
    width: 100%;
}

.quota-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quota-stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
}

.quota-stat-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.quota-stat-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}

/* MaskAI Dashboard Mockup Section styling */
.mockup-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.mockup-grid {
    max-width: 800px;
    margin: 0 auto;
}

.mockup-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.mockup-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    display: flex;
    align-items: center;
}

.mockup-url {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
}

.mockup-body {
    padding: 32px;
}

.mockup-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.m-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m-stat-label {
    font-size: 11px;
    color: var(--text-muted);
}

.m-stat-val {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}

.m-stat-val small {
    font-size: 12px;
    font-weight: 500;
    margin-left: 4px;
}

.text-green {
    color: var(--success);
}

.mockup-files-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.m-table-header {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.m-table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 13px;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.status-badge.processing {
    background: rgba(223, 177, 91, 0.08);
    color: var(--primary-neon);
    border: 1px solid rgba(223, 177, 91, 0.15);
}

/* Pricing Grid */
.pricing-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary-neon);
}

.pricing-card.featured {
    border: 1.5px solid var(--primary-neon);
    box-shadow: var(--shadow-premium), 0 0 32px rgba(223, 177, 91, 0.05);
}

.popular-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-neon), var(--accent));
    color: #000000;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
}

.plan-name {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin: 16px 0;
    color: var(--text-main);
}

.price-period {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-dim);
}

.plan-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    min-height: 40px;
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    flex: 1;
}

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

.pricing-btn {
    width: 100%;
}

/* Testimonials section */
.testimonials-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-premium);
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-neon);
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.author-role {
    font-size: 11px;
    color: var(--text-dim);
}

/* FAQ Accordion */
.faq-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

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

.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    overflow: hidden;
}

.accordion-header {
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    user-select: none;
    color: var(--text-main);
}

.accordion-item[open] .accordion-header {
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-neon);
}

.accordion-content {
    padding: 20px 24px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ... (rest of CSS unchanged) */

/* ==========================================
   AUTH TERMINAL MODAL (maskai-inspired)
   ========================================== */

.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    animation: fadeInOverlay 0.3s ease;
}
@keyframes fadeInOverlay {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.auth-terminal {
    position: relative;
    background: #0e0e14;
    border: 1px solid rgba(223, 177, 91, 0.15);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    padding: 40px 36px 32px;
    box-shadow: 0 0 60px rgba(223, 177, 91, 0.08), 0 30px 80px rgba(0,0,0,0.6);
    animation: slideUpModal 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes slideUpModal {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* Logo */
.auth-terminal-logo {
    text-align: center;
    margin-bottom: 28px;
}
.auth-terminal-logo svg {
    margin-bottom: 12px;
    filter: drop-shadow(0 0 12px rgba(223, 177, 91, 0.4));
}
.auth-terminal-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 6px;
}
.auth-brand-white { color: #ffffff; }
.auth-brand-gold  { color: #dfb15b; }
.auth-terminal-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(223, 177, 91, 0.5);
    margin-top: 4px;
}

/* Tabs */
.auth-terminal-tabs {
    display: flex;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}
.auth-terminal-tab {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(255,255,255,0.4);
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.auth-terminal-tab.active {
    background: #dfb15b;
    color: #0a0a0f;
    box-shadow: 0 0 16px rgba(223, 177, 91, 0.3);
}
.auth-terminal-tab:not(.active):hover {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.06);
}

/* Panels */
.auth-terminal-panel { display: none; }
.auth-terminal-panel.active { display: block; }

/* Google Button */
.btn-google-terminal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 16px;
}
.btn-google-terminal:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

/* Divider */
.auth-terminal-divider {
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.25);
    margin: 16px 0;
    position: relative;
}
.auth-terminal-divider::before,
.auth-terminal-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 28%;
    height: 1px;
    background: rgba(255,255,255,0.1);
}
.auth-terminal-divider::before { left: 0; }
.auth-terminal-divider::after  { right: 0; }

/* Fields */
.auth-terminal-field {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 0 14px;
    transition: border-color 0.2s;
}
.auth-terminal-field:focus-within {
    border-color: rgba(223, 177, 91, 0.5);
    background: rgba(223, 177, 91, 0.04);
}
.auth-field-icon {
    font-size: 14px;
    opacity: 0.45;
    flex-shrink: 0;
    margin-right: 10px;
}
.auth-terminal-field input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: rgba(255,255,255,0.85);
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    padding: 14px 0;
}
.auth-terminal-field input::placeholder {
    color: rgba(255,255,255,0.2);
    letter-spacing: 2px;
}
.auth-toggle-pass {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    opacity: 0.4;
    padding: 0;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.auth-toggle-pass:hover { opacity: 0.8; }

/* Submit Button */
.btn-auth-terminal {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #dfb15b, #785b34);
    color: #0a0a0f;
    border: none;
    border-radius: 10px;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 16px;
    transition: all 0.25s ease;
    box-shadow: 0 0 20px rgba(223, 177, 91, 0.25);
}
.btn-auth-terminal:hover {
    background: linear-gradient(135deg, #EAD2B2, #dfb15b);
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(223, 177, 91, 0.45);
}
.btn-auth-terminal:active {
    transform: translateY(0);
}

/* Switch link */
.auth-terminal-switch {
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.25);
    margin: 0 0 20px;
}
.auth-terminal-switch a {
    color: #dfb15b;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}
.auth-terminal-switch a:hover { color: #EAD2B2; text-decoration: underline; }

/* Security footer */
.auth-terminal-security {
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.15);
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Close button */
.auth-terminal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: rgba(255,255,255,0.4);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}
.auth-terminal-close:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

/* Error message */
.auth-error:not(:empty) {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #f87171;
    font-size: 12px;
    padding: 10px 14px;
    margin-bottom: 12px;
    text-align: center;
}

/* Light theme overrides */
body.light-theme .auth-terminal {
    background: #f5f4f0;
    border-color: rgba(223, 177, 91, 0.3);
}
body.light-theme .auth-terminal-field {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.12);
}
body.light-theme .auth-terminal-field input {
    color: #1a1a2e;
}
body.light-theme .auth-terminal-tabs {
    background: rgba(0,0,0,0.05);
}
body.light-theme .btn-google-terminal {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.1);
    color: #1a1a2e;
}
body.light-theme .auth-modal-overlay {
    background: rgba(0,0,0,0.7);
}

/* ==========================================
   CHECKOUT MODAL STYLES (Fixed Footer bug)
   ========================================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none; /* Oculto por padrão */
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
    padding: 20px;
    animation: fadeInOverlay 0.3s ease;
}
.modal.active, .modal.show {
    display: flex; /* Exibe como Flexbox centralizado */
}
.modal-content.glass {
    background: #0e0e14;
    border: 1px solid rgba(223, 177, 91, 0.15);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    padding: 32px;
    position: relative;
    box-shadow: 0 0 60px rgba(223, 177, 91, 0.08), 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: slideUpModal 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
body.light-theme .modal-content.glass {
    background: #f5f4f0;
    border-color: rgba(223, 177, 91, 0.3);
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.4);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
body.light-theme .modal-close {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.6);
}
.payment-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
}
body.light-theme .payment-summary {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}
.mock-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.mock-form label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}
.mock-form input {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    cursor: not-allowed;
}
body.light-theme .mock-form input {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: rgba(0, 0, 0, 0.5) !important;
}
.mock-form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ========================================================================== */
/*  CTA Bottom Section (Premium Dark Mode)                                    */
/* ========================================================================== */
.cta-bottom {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(223, 177, 91, 0.04) 0%, transparent 60%);
    border-top: 1px solid var(--border-color);
}
.cta-bottom .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
.cta-bottom h2 {
    font-size: 42px !important;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--text-main) 50%, var(--primary-neon) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
.cta-bottom p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin-bottom: 12px;
}

/* ========================================================================== */
/*  Footer Section (Premium Layout)                                            */
/* ========================================================================== */
footer {
    border-top: 1px solid var(--border-color) !important;
    background: var(--bg-dark);
    padding: 80px 0 40px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 320px;
}
.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
}
.footer-links-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.footer-links-col a:hover {
    color: var(--primary-neon);
}
.footer-status-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-status-col h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
}
.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 16px;
    width: fit-content;
    white-space: nowrap;
}
body.light-theme .status-indicator {
    background: rgba(0, 0, 0, 0.02);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}
.status-indicator span:last-child {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--text-dim);
}

/* ========================================================================== */
/*  Interactive Split Tree Demonstration Styles (Dual-Layer action)          */
/* ========================================================================== */
.interactive-tree-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 30px;
    margin-bottom: 10px;
    width: 100%;
}
.tree-node-top {
    background: rgba(18, 18, 18, 0.6) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 12px 28px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}
.tree-node-top:hover {
    transform: translateY(-2px);
    border-color: var(--primary-neon) !important;
}
.audio-node-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.tree-node-top:hover .audio-node-icon {
    color: var(--primary-neon);
    border-color: rgba(223, 177, 91, 0.3);
    background: rgba(223, 177, 91, 0.08);
}
.tree-node-label {
    text-align: left;
}
.tree-node-label h4 {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}
.tree-node-label span {
    font-size: 10px;
    color: var(--text-dim);
}

/* Carousel Indicator Dots */
.carousel-dots-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.dot-pill {
    width: 24px;
    height: 6px;
    background: var(--primary-neon);
    border-radius: 3px;
    display: inline-block;
}
.dot-circle {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: inline-block;
}

/* Tech Row First Margin */
.tech-row-first {
    margin-top: 140px;
}

.tree-svg-container {
    width: 100%;
    max-width: 900px;
    height: 80px;
    margin: -10px 0 -5px 0;
    position: relative;
    z-index: 1;
}
.tree-svg-container svg {
    display: block;
}

/* Layers Grid layout limited max-width */
.layers-grid {
    width: 100%;
    max-width: 900px !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    z-index: 2;
    margin: 0 auto;
}

/* Layer Cards (Premium glassmorphism) */
.layers-grid .layer-card {
    position: relative;
    background: rgba(18, 18, 18, 0.6) !important;
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    transition: var(--transition);
}
.layers-grid .layer-card:first-child {
    border: 1px solid rgba(223, 177, 91, 0.15) !important;
    box-shadow: 0 10px 30px rgba(223, 177, 91, 0.02);
}
.layers-grid .layer-card:last-child {
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.02);
}
.layers-grid .layer-card:hover {
    transform: translateY(-4px);
}
.layers-grid .layer-card:first-child:hover {
    border-color: rgba(223, 177, 91, 0.3) !important;
    box-shadow: 0 15px 35px rgba(223, 177, 91, 0.05);
}
.layers-grid .layer-card:last-child:hover {
    border-color: rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.05);
}

/* Floating Top-Border Badges */
.layer-badge-top {
    position: absolute;
    top: 0;
    left: 24px;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    background: #0d0d0d !important;
    z-index: 10;
}
.layer-card:first-child .layer-badge-top {
    color: var(--primary-neon);
    border: 1px solid rgba(223, 177, 91, 0.3) !important;
}
.layer-card:last-child .layer-badge-top {
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

/* Card Header elements */
.layer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.badge-status-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}
.layer-card:first-child .badge-status-check {
    background: var(--primary-neon);
    color: #000;
}
.layer-card:last-child .badge-status-check {
    background: #3b82f6;
    color: #000;
}

/* Card Info Row */
.layer-card-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.layer-icon-wrapper {
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.layer-card:first-child .layer-icon-wrapper {
    background: rgba(223, 177, 91, 0.05);
    border: 1px solid rgba(223, 177, 91, 0.2);
    color: var(--primary-neon);
}
.layer-card:last-child .layer-icon-wrapper {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.layer-card-info h3 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 2px 0;
    line-height: 1.2;
}
.layer-card-info span {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
    line-height: 1.2;
}

.layer-card:first-child .badge-status-check {
    background: var(--primary-neon) !important;
    color: #0c0c0c !important;
}
.layer-card:last-child .badge-status-check {
    background: #3b82f6 !important;
    color: #0c0c0c !important;
}

/* Content bubble block */
.audio-bubble {
    border-radius: 12px;
    padding: 14px 18px;
    text-align: left;
    margin-bottom: 16px;
}
.layer-card:first-child .audio-bubble {
    background: rgba(223, 177, 91, 0.02) !important;
    border: 1px solid rgba(223, 177, 91, 0.08) !important;
}
.layer-card:last-child .audio-bubble {
    background: rgba(59, 130, 246, 0.02) !important;
    border: 1px solid rgba(59, 130, 246, 0.08) !important;
}
.audio-bubble p {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
}
.layer-card:first-child .audio-bubble p {
    color: rgba(223, 177, 91, 0.95);
}
.layer-card:last-child .audio-bubble p {
    color: rgba(59, 130, 246, 0.9);
}

/* Footer layout */
.layer-footer {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
}
.layer-card:first-child .layer-footer {
    color: rgba(223, 177, 91, 0.5);
}
.layer-card:last-child .layer-footer {
    color: rgba(59, 130, 246, 0.5);
}

@media (max-width: 900px) {
    .layers-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 16px;
    }
    .tree-svg-container {
        display: block !important;
        height: 60px;
        margin: -5px 0;
    }
    .interactive-tree-wrapper {
        gap: 24px;
    }
}

/* ========================================================================== */
/*  Billing Switcher                                                          */
/* ========================================================================== */
.billing-switcher {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 40px auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: 30px;
    width: fit-content;
    z-index: 10;
    position: relative;
}
.switch-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.switch-btn:hover {
    color: #fff;
}
.switch-btn.active {
    background: var(--primary-neon);
    color: #0c0c0c !important;
    font-weight: 600;
}
.switch-btn .discount-badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-neon);
    opacity: 0.85;
    font-family: var(--font-mono);
}
.switch-btn.active .discount-badge {
    color: #0c0c0c !important;
}
.intensity-switch-btn {
    transition: var(--transition);
}
.intensity-switch-btn.active {
    background: var(--primary-neon) !important;
    color: #0c0c0c !important;
    border-color: var(--primary-neon) !important;
    font-weight: 600;
}
.price-val {
    transition: opacity 0.15s ease, transform 0.15s ease;
    display: inline-block;
}

/* ========================================================================== */
/*  Pricing – Responsividade Mobile / Tablet                                  */
/* ========================================================================== */

/* Tablet (até 1024px): 3 colunas → 2 colunas centralizadas */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
        margin: 0 auto;
    }

    /* Card destaque (Pro) fica em linha própria centralizado */
    .pricing-card.featured {
        grid-column: 1 / -1;
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (até 680px): coluna única */
@media (max-width: 680px) {
    .pricing-section {
        padding: 64px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100%;
        padding: 0 4px;
    }

    .pricing-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .pricing-card.featured {
        grid-column: auto;
        max-width: 100%;
    }

    .plan-price {
        font-size: 28px;
        margin: 12px 0;
    }

    .plan-desc {
        min-height: unset;
        margin-bottom: 16px;
    }

    .plan-features {
        gap: 10px;
        margin-bottom: 20px;
    }

    /* Billing switcher compacto em mobile */
    .billing-switcher {
        flex-wrap: wrap;
        justify-content: center;
        width: calc(100% - 32px);
        max-width: 340px;
        gap: 4px;
        padding: 4px;
        margin-bottom: 28px;
    }

    .switch-btn {
        font-size: 12px;
        padding: 7px 14px;
        flex: 1;
        justify-content: center;
        min-width: 90px;
    }

    /* Testimonials em coluna única */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }
}

/* Smartphones muito pequenos (até 400px) — Pricing */
@media (max-width: 400px) {
    .switch-btn { font-size: 11px; padding: 6px 10px; }
    .billing-switcher { max-width: 300px; }
    .plan-price { font-size: 24px; }
}

/* ========================================================================== */
/*  RESPONSIVIDADE GLOBAL — Tablet (≤1024px)                                  */
/* ========================================================================== */
@media (max-width: 1024px) {

    /* Container padding */
    .container { padding: 0 20px; }

    /* Hero */
    .hero { padding: 130px 0 80px 0; }
    .hero h1 { font-size: 44px !important; }
    .hero-subtext { font-size: 16px; }

    /* Metrics grid: 4 → 2 colunas */
    .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .metric { border-right: none; border-bottom: 1px solid var(--border-color); padding: 20px 0; }
    .metric:nth-child(odd) { border-right: 1px solid var(--border-color); }
    .metric:last-child { border-bottom: none; }
    .metric:nth-child(3) { border-bottom: none; }

    /* Tech rows */
    .tech-row { flex-direction: column; gap: 32px; }
    .tech-row.reverse { flex-direction: column-reverse; gap: 32px; }
    .tech-visual-card { width: 100%; max-width: 560px; margin: 0 auto; }

    /* Upload panel */
    .upload-panel { padding: 28px; }
}

/* ========================================================================== */
/*  RESPONSIVIDADE GLOBAL — Mobile (≤768px)                                   */
/* ========================================================================== */
@media (max-width: 768px) {

    /* Navbar: esconde links do meio, mantém logo + ações */
    .nav-links { display: none; }
    .nav-actions { gap: 8px; }
    .nav-cta-register { padding: 7px 14px !important; font-size: 12px !important; }
    .lang-btn { padding: 5px 8px; font-size: 11px; }

    /* Hero */
    .hero { padding: 110px 0 64px 0; }
    .hero h1 { font-size: 32px !important; line-height: 1.15 !important; }
    .hero-subtext { font-size: 15px; margin-bottom: 28px; }
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 40px;
    }
    .hero-actions .btn { width: 100%; max-width: 320px; }
    .trusted-logos { gap: 18px; flex-wrap: wrap; }
    .hero-metrics { max-width: 100%; padding-top: 32px; }
    .metric-val { font-size: 24px; }

    /* Section headers */
    .section-header { margin-bottom: 36px; }
    .section-header h2 { font-size: 26px !important; }
    .section-desc { font-size: 14px; }

    /* Two layers section / demo */
    .two-layers-section { padding: 64px 0; }
    .features-section { padding: 64px 0; }

    /* Demo player */
    .demo-player-box { padding: 24px 16px; border-radius: 14px; }
    .demo-controls { flex-direction: column; gap: 16px; }
    .demo-column { padding: 18px; }

    /* Timeline steps: zigzag → coluna linear */
    .timeline-wrapper { gap: 40px; margin: 40px auto; }
    .timeline-svg { display: none; }
    .timeline-step,
    .step-left,
    .step-right { flex-direction: row; align-items: flex-start; justify-content: flex-start; }
    .step-icon-wrapper { width: 64px; height: 64px; flex-shrink: 0; }
    .step-content { max-width: 100%; padding: 0 0 0 16px; margin: 0 !important; text-align: left !important; }
    .step-right .step-number { justify-content: flex-start; }
    .step-right .step-content { text-align: left; margin-right: 0; }
    .step-number { font-size: 18px; }

    /* Tech panels */
    .tech-row-first { margin-top: 60px !important; }
    .technical-panels { margin-top: 48px; gap: 32px; }
    .tech-visual-card { width: 100%; height: 160px; }
    .tech-info h3 { font-size: 20px; }

    /* Upload section */
    .upload-section { padding: 64px 0; }
    .upload-panel { padding: 20px 16px; border-radius: 14px; }

    /* Professionals section → 1 column */
    .professionals-section { padding: 64px 0; }
    .professionals-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .prof-card {
        padding: 28px 24px;
        text-align: center;
    }
    .prof-icon {
        display: block;
        margin: 0 auto 16px auto;
        width: 48px;
        height: 48px;
        padding: 12px;
        background: rgba(223, 177, 91, 0.06);
        border: 1px solid rgba(223, 177, 91, 0.15);
        border-radius: 14px;
    }

    /* Mockup section */
    .mockup-section { padding: 64px 0; }
    .mockup-body { padding: 20px 16px !important; }
    .mockup-stats-row {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .m-stat {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border-color);
    }
    .m-stat:last-child { border-bottom: none; padding-bottom: 0; }
    .m-stat-val { font-size: 20px; }

    /* Pricing */
    .pricing-section { padding: 64px 0; }
    .pricing-grid { grid-template-columns: 1fr; gap: 16px; max-width: 100%; }
    .pricing-card { padding: 24px 20px; border-radius: 14px; }
    .pricing-card.featured { grid-column: auto; max-width: 100%; }
    .billing-switcher {
        flex-wrap: wrap;
        width: calc(100% - 32px);
        max-width: 340px;
        gap: 4px;
        margin-bottom: 28px;
    }
    .switch-btn { font-size: 12px; padding: 7px 14px; flex: 1; min-width: 90px; justify-content: center; }
    .plan-price { font-size: 28px; margin: 12px 0; }
    .plan-desc { min-height: unset; margin-bottom: 16px; }
    .plan-features { gap: 10px; margin-bottom: 20px; }

    /* Testimonials */
    .testimonials-section { padding: 64px 0; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .testimonial-card { padding: 24px 20px; }

    /* FAQ */
    .faq-section { padding: 64px 0; }
    .accordion-header { font-size: 14px; padding: 16px 0; }

    /* Interactive tree demo */
    .layers-grid { grid-template-columns: 1fr !important; gap: 20px !important; padding: 0 !important; }
    .tree-svg-container { display: block !important; height: 60px; margin: -5px 0; }
    .interactive-tree-wrapper { margin-top: 24px; }

    /* CTA Bottom */
    .cta-bottom { padding: 64px 0; }
    .cta-bottom h2 { font-size: 26px !important; }
    .cta-bottom p { font-size: 14px; }

    /* Result badge */
    .result-badge { font-size: 13px; padding: 10px 20px; }

    /* Footer */
    footer { padding: 56px 0 32px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
    .footer-brand { max-width: 100%; }
}

/* ========================================================================== */
/*  RESPONSIVIDADE GLOBAL — Mobile Pequeno (≤480px)                           */
/* ========================================================================== */
@media (max-width: 480px) {
    .hero h1 { font-size: 26px !important; }
    .hero-subtext { font-size: 13px; }
    .metric-val { font-size: 20px; }
    .section-header h2 { font-size: 22px !important; }
    .plan-price { font-size: 24px; }
    .switch-btn { font-size: 11px; padding: 6px 10px; }
    .billing-switcher { max-width: 300px; }
    .result-badge { font-size: 12px; padding: 8px 16px; flex-wrap: wrap; text-align: center; }
    .hero-badge-bv { font-size: 11px; }
    .trusted-logo { font-size: 13px; }
    .cta-bottom h2 { font-size: 22px !important; }
    .step-number { font-size: 16px; }
    .step-content p { font-size: 13px; }
    .prof-card h3 { font-size: 16px; }
    .prof-card p { font-size: 12px; }
    .m-stat-val { font-size: 18px; }
    .hero-metrics { grid-template-columns: 1fr !important; }
    .metric { border-right: none !important; border-bottom: 1px solid var(--border-color); padding: 16px 0; }
    .metric:last-child { border-bottom: none; }
}

/* ========================================================================== */
/*  MOBILE HAMBURGER MENU DRAWER & TOUCH TARGET STYLING                       */
/* ========================================================================== */

/* Hamburger Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1100;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}
.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

/* Navigation Drawer Overlay */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1050;
    padding: 96px 24px 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 36px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}
body.light-theme .mobile-menu-drawer {
    background: rgba(251, 251, 251, 0.98);
}
.mobile-menu-drawer.active {
    transform: translateX(0);
}

/* Background Overlay for mobile drawer */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Morph to X for Hamburger Button */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary-neon);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary-neon);
}

.mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mobile-drawer-links a {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
}
body.light-theme .mobile-drawer-links a {
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.mobile-drawer-links a:hover {
    color: var(--primary-neon);
    padding-left: 6px;
}

.mobile-drawer-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
}

/* Responsiveness overrides for Mobile (≤768px) */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    .nav-actions .nav-cta,
    .nav-actions .nav-cta-register {
        display: none !important;
    }
    /* Touch target scaling */
    .btn-sm {
        padding: 12px 20px !important;
        font-size: 13px !important;
        min-height: 44px;
    }
    .lang-btn {
        padding: 10px 14px;
        font-size: 13px;
        min-height: 44px;
    }
    .theme-toggle-btn {
        width: 44px;
        height: 44px;
    }
}




