:root {
    --bg: #030303;
    --surface: #0a0a0c;
    --surface-light: #121216;
    --primary: #8b5cf6;
    --primary-dim: #6d28d9;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --accent: #22d3ee;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-dim: #64748b;
    --border: rgba(255, 255, 255, 0.06);
    --border-bright: rgba(255, 255, 255, 0.12);
    --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

.aurora {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 80%;
    background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 60%);
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: aurora-float 20s infinite alternate ease-in-out;
}

@keyframes aurora-float {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    100% {
        transform: translateX(-48%) translateY(5%) scale(1.1);
    }
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.announcement-banner {
    background: linear-gradient(90deg, #1e1b4b, #4c1d95, #1e1b4b);
    background-size: 200% auto;
    color: #fff;
    padding: 0.8rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: var(--font-mono);
    border-bottom: 1px solid var(--primary);
    animation: gradient-scroll 5s linear infinite;
}

@keyframes gradient-scroll {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* Navigation */
nav {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

nav .container {
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
    height: 100%;
}

.logo img {
    height: 120px;
    width: auto;
    border-radius: 2px;
    flex-shrink: 0;
}

.logo-text {
    font-weight: 800;
    font-size: 1.9rem;
    letter-spacing: -0.5px;
    white-space: nowrap;
    line-height: 1;
    margin-bottom: 7px;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -4px;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 3rem;
}

.badge-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    margin-bottom: 1.5rem;
}

.badge-coming-soon span::before {
    content: "●";
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: scale(1.02) translateY(-2px);
    background: #f8fafc;
}

.btn-secondary {
    border: 1px solid var(--border-bright);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

/* Hero Showcase */
.hero-visual {
    position: relative;
}

.showcase-card {
    background: var(--surface);
    border: 1px solid var(--border-bright);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.showcase-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.status-ticker {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ticker-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
}

.ticker-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
}

.ticker-bar-wrap {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.ticker-fill {
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Features Table */
.feature-section {
    padding: 100px 0;
    background: radial-gradient(circle at bottom, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-box {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 24px;
    transition: all 0.3s;
}

.feature-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Roadmap UI */
.roadmap-container {
    padding: 100px 0;
    position: relative;
}

.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
}

.roadmap-phase {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 800;
}

.roadmap-info {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.roadmap-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.roadmap-info ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.roadmap-info li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.roadmap-info li::before {
    content: "✓";
    color: var(--accent);
}

/* Waitlist Center */
.waitlist-section {
    padding: 120px 0;
    text-align: center;
}

.waitlist-card {
    background: linear-gradient(180deg, var(--surface-light) 0%, var(--surface) 100%);
    border: 1px solid var(--border-bright);
    padding: 6rem 2rem;
    border-radius: 48px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.waitlist-input-group {
    display: flex;
    max-width: 500px;
    margin: 2rem auto 0;
    background: #000;
    padding: 0.5rem;
    border-radius: 100px;
    border: 1px solid var(--border-bright);
}

.waitlist-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 1.5rem;
    color: #fff;
    outline: none;
    font-size: 0.9rem;
}

.waitlist-input-group button {
    background: #fff;
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s;
}

.waitlist-input-group button:hover {
    transform: scale(1.05);
}

/* Sandbox */
.sandbox-section {
    padding: 100px 0;
}

.sandbox-container {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

#demo-input {
    width: 100%;
    background: #080808;
    border: 1px solid var(--border-bright);
    padding: 1.25rem;
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-mono);
    margin-bottom: 2rem;
    outline: none;
    font-size: 1rem;
}

/* User Flow Section */
.flow-section {
    padding: 120px 0;
    position: relative;
    border-top: 1px solid var(--border);
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    text-align: left;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary);
    background: var(--surface-light);
}

.step-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
    font-weight: 800;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 1000px) {
    .flow-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .flow-steps {
        grid-template-columns: 1fr;
    }
}

#sim-output {
    margin-top: 3rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    background: rgba(34, 211, 238, 0.05);
    padding: 2rem;
    border-radius: 12px;
    word-break: break-all;
    display: none;
    border-left: 2px solid var(--accent);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
footer {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

@media (max-width: 1000px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero p {
        margin-right: auto;
        margin-left: auto;
    }

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