/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Deep Space Neon */
    --primary-color: #3b82f6; 
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #1e293b;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-light: #64748b;
    --background: #0f1115; /* Deep matte black/blue */
    --background-alt: #16181d;
    --surface: #1c1f26;
    --border-color: rgba(255, 255, 255, 0.08); /* Much subtler borders */
    --gradient-start: #3b82f6;
    --gradient-end: #8b5cf6;
    --glow-cyan: 0 0 45px rgba(59, 130, 246, 0.15);
    --glow-purple: 0 0 65px rgba(139, 92, 246, 0.15);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    --font-mono: 'Menlo', 'Monaco', 'Courier New', monospace;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    /* Clean, deep background */
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
}

body::before,
body::after {
    display: none; /* Remove extra noise */
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 17, 21, 0.8); /* Darker, matching body */
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: all var(--transition-base);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: calc(var(--spacing-3xl) + 60px) 0 var(--spacing-3xl);
    position: relative;
    /* overflow-hidden handled in HTML */
}

.hero-gradient {
    z-index: 0;
}

.hero-gradient-blob {
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.7;
}

.hero-gradient-blob--primary {
    top: -260px;
    right: -140px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.45) 0%, rgba(59, 130, 246, 0) 65%);
}

.hero-gradient-blob--secondary {
    top: 120px;
    left: 20%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(139, 92, 246, 0) 70%);
}

/* Reset hero::before to be less intrusive or remove it */
.hero::before {
    display: none; 
}

.hero-content {
    position: relative;
    max-width: 600px;
    text-align: left;
    z-index: 1;
}

.hero-layout {
    /* Single-column layout so the hero content spans the container */
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--spacing-2xl);
    align-items: center;
}

@media (min-width: 1280px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
        gap: 3.5rem;
    }
}

.hero-visual {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-visual-mobile {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1279px) {
    .hero-visual {
        display: none;
    }
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
}

@media (min-width: 1280px) {
    .hero-visual-mobile {
        display: none;
    }
}

.hero-orbit {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: rgba(15, 17, 21, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.hero-orbit::before {
    content: '';
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(600px circle at 60% 35%, rgba(59, 130, 246, 0.22), transparent 55%),
        radial-gradient(520px circle at 35% 70%, rgba(139, 92, 246, 0.16), transparent 60%);
    opacity: 0.75;
    pointer-events: none;
    z-index: 1;
}

.hero-orbit svg {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100% - 44px);
    display: block;
    z-index: 0;
}

.hero-orbit-chrome {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: rgba(2, 6, 23, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.hero-orbit-dots {
    display: inline-flex;
    gap: 8px;
}

.hero-orbit-dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-orbit-dots span:nth-child(1) { background: rgba(248, 113, 113, 0.35); }
.hero-orbit-dots span:nth-child(2) { background: rgba(251, 191, 36, 0.32); }
.hero-orbit-dots span:nth-child(3) { background: rgba(74, 222, 128, 0.28); }

.hero-orbit-address {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.78);
    letter-spacing: 0.01em;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 17, 21, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-orbit .orbit {
    transform-origin: 300px 300px;
    animation: hero-orbit-rotate 22s linear infinite;
}

.hero-orbit .orbit--b {
    animation-duration: 34s;
    animation-direction: reverse;
}

.hero-orbit .orbit--c {
    animation-duration: 46s;
}

.hero-orbit .node {
    transform-origin: center;
    animation: hero-node-pulse 2.8s ease-in-out infinite;
}

.hero-orbit .node--2 { animation-delay: 0.6s; }
.hero-orbit .node--3 { animation-delay: 1.0s; }
.hero-orbit .node--4 { animation-delay: 1.4s; }
.hero-orbit .node--5 { animation-delay: 1.8s; }

@keyframes hero-orbit-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes hero-node-pulse {
    0%, 100% { opacity: 0.85; filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
    50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.35)); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-orbit .orbit,
    .hero-orbit .node {
        animation: none !important;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #cbd5e1;
    background: rgb(31 41 55 / 1);
    border: 1px solid #263041;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    margin-bottom: var(--spacing-md);
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
    overflow: hidden;
}

.hero-badge:hover {
    color: white;
}

.hero-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    padding: 1px;
    background: linear-gradient(180deg, #1f2937, #4b5563, #1f2937);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-badge::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    opacity: 0.35;
    pointer-events: none;
}

.hero-badge-link {
    color: #3b82f6;
    margin-left: 0.3rem;
    text-decoration: none;
}

.hero-badge-link:hover {
    color: #60a5fa;
}

.hero-title {
    font-size: clamp(3.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    color: white;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #94a3b8; /* Muted slate */
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Buttons Update */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.button-sm {
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
}

.button-primary {
    color: white;
    background-image: linear-gradient(to top, #2563eb, #60a5fa);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.button-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, #2563eb, #3b82f6);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-base);
}

.button-primary:hover::before {
    opacity: 1;
}

.button-secondary {
    background: linear-gradient(to top, #1f2937, #374151);
    color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.button-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #1f2937, #262f3d);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-base);
}

.button-secondary:hover {
    color: white;
}

.button-secondary:hover::before {
    opacity: 1;
}


/* Sections */
.section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

/* Parallax-style reveal animations */
.parallax-item {
    opacity: 0;
    transform: translateY(48px);
    transition: transform 900ms ease, opacity 900ms ease;
    will-change: transform, opacity;
}

.parallax-item.from-left {
    transform: translateX(-60px);
}

.parallax-item.from-right {
    transform: translateX(60px);
}

.parallax-item.from-bottom {
    transform: translateY(80px);
}

.parallax-item.in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .parallax-item,
    .parallax-item.from-left,
    .parallax-item.from-right,
    .parallax-item.from-bottom {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Problem Section */
.problem-section {
    /* Background handled by utility classes */
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.problem-card {
    background: #15171e; /* Deep dark card background */
    padding: var(--spacing-xl);
    border-radius: 4px; /* Sharper */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Subtler border */
    transition: all var(--transition-base);
    box-shadow: none; /* Removed glow by default */
}

.problem-card:hover {
    transform: translateY(-2px);
    background: #1a1d26;
    border-color: rgba(255, 255, 255, 0.1);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: #fff;
}

.problem-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Solution Section */
.solution-section {
    /* Background handled by utility classes */
}

.solution-content {
    max-width: 800px;
    margin: 0 auto;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    align-items: center;
    text-align: center;
}

.feature {
    position: relative;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(34, 211, 238, 0.45);
    margin-bottom: var(--spacing-sm);
}

.feature h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: #f1f5f9;
}

.feature p {
    color: #e2e8f0;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-3xl) 0;
    /* Clean background, handled by body */
}

/* New Banner Style CTA */
.cta-banner {
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    border: none;
    border-radius: 4px;
    padding: var(--spacing-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    gap: var(--spacing-xl);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Clear gloss effect */
.cta-banner::before {
    display: none;
}

.cta-text {
    flex: 1;
    text-align: left;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Form Styling within Banner */
.waitlist-form {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.form-group {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.form-input {
    background: #0f1115;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    min-width: 280px;
}

.form-input::placeholder {
    color: #475569;
}

.form-input:focus {
    background: #0f1115;
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
    outline: none;
}

.form-message {
    padding: var(--spacing-md);
    border-radius: 8px;
    font-weight: 500;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    z-index: 10;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.95);
    color: #fff;
    border: 1px solid rgba(34, 197, 94, 0.3);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.95);
    color: #fff;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
}

/* Footer structure update to match screenshot */
.footer {
    background: transparent;
    padding: var(--spacing-3xl) 0;
    border-top: none; 
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
}

.brand-col {
    padding-right: var(--spacing-xl);
}

.logo-wrapper {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
}

.footer-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.logo-wordmark {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
    user-select: none;
}

.logo-wordmark--footer {
    font-size: 1.25rem;
    opacity: 0.9;
}

.logo-word {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    font-size: 2.75rem;
    white-space: nowrap;
    display: inline-block;
    color: #ffffff;
}

.logo-word--footer {
    font-size: 1.2rem;
    opacity: 0.9;
}

.logo-mark {
    display: inline;
    height: 0.62em;
    width: auto;
    vertical-align: baseline;
    margin-right: 0.01em;
    filter: brightness(0) invert(1);
}

/* legacy classes no longer used */
.logo-wordmark-img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.logo-wordmark-img--footer {
    height: 22px;
    opacity: 0.9;
}

.logo-wordmark-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1;
}

.logo-wordmark-text--footer {
    font-size: 1rem;
    opacity: 0.9;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    white-space: nowrap;
}

.footer-heading {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-lg);
}

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

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

/* Responsive Design */
@media (max-width: 1279px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-2xl);
        gap: var(--spacing-lg);
        align-items: center;
    }
    
    .cta-text {
        text-align: center;
        margin-bottom: 0;
        max-width: 100%;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

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

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

@media (max-width: 768px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-xl) var(--spacing-lg);
        gap: var(--spacing-lg);
    }
    
    .cta-text {
        text-align: center;
        margin-bottom: 0;
    }

    .form-group {
        flex-direction: column;
        width: 100%;
    }

    .form-input {
        width: 100%;
        min-width: unset;
    }

    .button {
        width: 100%;
        max-width: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .brand-col {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        gap: var(--spacing-md);
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .cta-button {
        padding: var(--spacing-xs) var(--spacing-md);
    }
    
    .hero {
        padding: calc(var(--spacing-2xl) + 80px) 0 var(--spacing-2xl);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

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

@media (max-width: 480px) {
    .nav-links {
        gap: var(--spacing-sm);
    }
    
    .nav-link:not(.cta-button) {
        display: none;
    }
    
    .logo {
        font-size: 1.25rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
