/* Ethereal Neura-Vision - Glassmorphism Design with Light/Dark Theme */

/* ==========================================
   ROOT & THEME VARIABLES
   ========================================== */
:root {
    /* Light Theme (Default) */
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.5);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    /* Glass Blue Accent */
    --accent-blue: #3B82F6;
    --accent-blue-light: #60A5FA;
    --accent-blue-dark: #2563EB;

    /* Glass Elements */
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --glass-backdrop: blur(30px);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    --gradient-glass: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);

    /* Fonts */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
}

/* Neon Theme (Dark Mode) - Enhanced Beauty */
[data-theme="neon"] {
    --bg-primary: #0A0E27;
    --bg-secondary: #0F1433;
    --bg-glass: rgba(15, 20, 51, 0.4);
    --text-primary: #FFFFFF;
    --text-secondary: #E0E7FF;
    --text-muted: #A5B4FC;

    /* Neon accents with glow */
    --accent-blue: #00F5FF;
    --accent-blue-light: #60FFFF;
    --accent-blue-dark: #00D4DD;

    --glass-border: rgba(0, 245, 255, 0.3);
    --glass-shadow: rgba(0, 245, 255, 0.15);
    --glass-backdrop: blur(40px);

    --gradient-primary: linear-gradient(135deg, #00F5FF 0%, #00FF88 50%, #FF00E5 100%);
    --gradient-glass: linear-gradient(135deg, rgba(0, 245, 255, 0.15) 0%, rgba(0, 255, 136, 0.08) 50%, rgba(255, 0, 229, 0.08) 100%);
}

/* Neon theme glow effects */
[data-theme="neon"] .tech-card:hover,
[data-theme="neon"] .stat:hover,
[data-theme="neon"] .science-card:hover {
    box-shadow:
        0 12px 40px rgba(0, 245, 255, 0.3),
        0 0 80px rgba(0, 245, 255, 0.1),
        inset 0 0 20px rgba(0, 245, 255, 0.05);
}

[data-theme="neon"] .btn-primary {
    box-shadow:
        0 4px 20px rgba(0, 245, 255, 0.4),
        0 0 40px rgba(255, 0, 229, 0.2);
}

[data-theme="neon"] .btn-primary:hover {
    box-shadow:
        0 8px 30px rgba(0, 245, 255, 0.6),
        0 0 60px rgba(255, 0, 229, 0.3);
}

[data-theme="neon"] .logo-icon {
    box-shadow:
        0 4px 20px rgba(0, 245, 255, 0.5),
        0 0 40px rgba(0, 245, 255, 0.3);
}

[data-theme="neon"] .floating-brain {
    box-shadow:
        0 10px 40px rgba(0, 245, 255, 0.5),
        0 20px 80px rgba(255, 0, 229, 0.3),
        0 0 100px rgba(0, 255, 136, 0.2);
}

/* ==========================================
   RESET & BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================
   ANIMATED BACKGROUND - Liquid Glass
   ========================================== */
.neural-network-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-primary);
    overflow: hidden;
}

.neural-network-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    animation: liquidFloat 25s ease-in-out infinite;
    filter: blur(60px);
}

@keyframes liquidFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-5%, -5%) rotate(120deg);
    }

    66% {
        transform: translate(5%, 5%) rotate(240deg);
    }
}

/* ==========================================
   NAVIGATION - Glass Style
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px var(--glass-shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    animation: gentlePulse 3s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

@keyframes gentlePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

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

/* Theme Toggle Button */
.theme-toggle {
    padding: 10px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-primary);
    font-size: 18px;
}

.theme-toggle:hover {
    background: var(--gradient-glass);
    transform: scale(1.05);
}

.cta-btn {
    padding: 12px 28px;
    background: var(--gradient-primary);
    border-radius: 10px;
    font-weight: 600;
    color: white !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
}

.cta-btn::after {
    display: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

/* ==========================================
   HERO SECTION - Liquid Glass
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.floating-brain {
    width: 140px;
    height: 140px;
    margin: 0 auto 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: liquidFloat 6s ease-in-out infinite;
    box-shadow:
        0 10px 40px rgba(59, 130, 246, 0.3),
        0 20px 80px rgba(59, 130, 246, 0.2);
    position: relative;
}

.floating-brain::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 92px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -3px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Glass Cards for Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 40px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px var(--glass-shadow);
    transition: all 0.3s;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--glass-shadow);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Buttons with Glass Effect */
.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
}

.btn-secondary:hover {
    background: var(--gradient-glass);
    border-color: var(--accent-blue);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--accent-blue);
    border-radius: 13px;
    position: relative;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
}

.mouse::before {
    content: '';
    width: 3px;
    height: 8px;
    background: var(--accent-blue);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: mouseScroll 2s ease-in-out infinite;
}

@keyframes mouseScroll {

    0%,
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    50% {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
}

/* ==========================================
   BRAINWAVE VISUALIZATION - Glass Style
   ========================================== */
.wave-section {
    height: 300px;
    position: relative;
    overflow: hidden;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-backdrop);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

#brainwave-canvas {
    width: 100%;
    height: 100%;
}

/* ==========================================
   SECTIONS - Glass Container Style
   ========================================== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    text-align: center;
    margin-bottom: 80px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--text-primary);
}

/* ==========================================
   TECHNOLOGY SECTION - Glass Cards
   ========================================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tech-card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s;
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px var(--glass-shadow);
    background: var(--gradient-glass);
}

.tech-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.tech-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.tech-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.tech-detail {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   FEATURES SECTION - Liquid Glass Tabs
   ========================================== */
.features-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 14px 32px;
    background: var(--bg-glass);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-main);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.tab-btn:hover:not(.active) {
    background: var(--gradient-glass);
    border-color: var(--accent-blue);
}

.features-content {
    min-height: 500px;
}

.feature-tab {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-tab.active {
    display: grid;
}

.feature-visual {
    height: 400px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.dream-animation,
.canvas-animation,
.cinematic-animation,
.emotional-animation {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    animation: liquidRotate 15s ease-in-out infinite;
}

.dream-animation {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.1));
}

.canvas-animation {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.3), rgba(59, 130, 246, 0.1));
}

.cinematic-animation {
    background: conic-gradient(from 0deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.2));
}

.emotional-animation {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.1));
}

@keyframes liquidRotate {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

.feature-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.feature-text ul {
    list-style: none;
    margin-top: 30px;
}

.feature-text li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
}

.feature-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

/* ==========================================
   DEMO SECTION - Glass Container
   ========================================== */
.demo-video {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    height: 600px;
    margin-bottom: 60px;
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.demo-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.demo-stat {
    text-align: center;
    padding: 30px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    flex: 1;
    min-width: 200px;
}

.demo-stat h4 {
    font-size: 42px;
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-weight: 800;
}

/* ==========================================
   SCIENCE SECTION - Glass Grid
   ========================================== */
.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.science-card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px var(--glass-shadow);
    transition: all 0.3s;
}

.science-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--glass-shadow);
}

.science-card h4 {
    color: var(--accent-blue);
    margin-bottom: 12px;
    font-size: 17px;
    font-weight: 700;
}

.science-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==========================================
   CTA SECTION - Glass Background
   ========================================== */
.cta-section {
    background: var(--gradient-glass);
    backdrop-filter: var(--glass-backdrop);
    text-align: center;
    border-radius: 40px;
    margin: 0 40px;
    padding: 80px 40px;
    border: 1px solid var(--glass-border);
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 18px;
}

.waitlist-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}

.waitlist-form input {
    padding: 18px 30px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    min-width: 300px;
    font-family: var(--font-main);
    transition: all 0.3s;
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.waitlist-form input::placeholder {
    color: var(--text-muted);
}

.privacy-note {
    color: var(--text-muted);
    font-size: 14px;
}

/* ==========================================
   FOOTER - Minimal Glass
   ========================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
}

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

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--accent-blue);
    font-weight: 700;
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links a:not(.cta-btn):not(.theme-toggle) {
        display: none;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat {
        padding: 20px 30px;
    }

    .feature-tab {
        grid-template-columns: 1fr;
    }

    .waitlist-form {
        flex-direction: column;
        align-items: stretch;
    }

    .waitlist-form input {
        min-width: auto;
    }

    .cta-section {
        margin: 0 20px;
        padding: 60px 30px;
    }
}

/* ==========================================
   SMOOTH TRANSITIONS
   ========================================== */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}