:root {
    --bg-dark: #050a08;
    --bg-gradient-start: #0f1c15;
    --bg-gradient-end: #020403;

    --primary-green: #4ade80;
    --primary-hover: #22c55e;

    --text-white: #ffffff;
    --text-gray: #9ca3af;

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: 10px;

    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}
/* Default: force one line */
.hero-content {
    max-width: 100%;
}

.hero-title {
    white-space: nowrap;           /* ⭐ NEVER split the line */
    font-size: clamp(2rem, 10vw, 6rem);  /* ⭐ AUTO-RESIZE */
    line-height: 1.1;
    overflow: hidden;              /* ⭐ prevents spill */
}




/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(to right, #fff, #a7f3d0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
}

.text-center {
    text-align: center;
}

.mt-large {
    margin-top: var(--spacing-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(5, 10, 8, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 60px;      /* bigger logo */
    max-height: 32px;  /* prevents navbar from stretching */
    width: auto;
    display: block;
    filter: invert(1);
    opacity: 0.95;
    object-fit: contain;
}

.logo:hover .logo-icon {
    opacity: 1;
    transform: scale(1.07);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list a:not(.btn) {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.nav-list a:not(.btn):hover {
    color: var(--text-white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
}

/* Hero */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    white-space: normal;                 /* allow wrapping */
    word-wrap: break-word;
    overflow-wrap: anywhere;             /* prevent overflow */
    font-size: clamp(2rem, 8vw, 5rem);   /* responsive size */
    line-height: 1.1;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

/* Features */

/* Bottom feature images */
/* --- FIX FOR EXPLODING IMAGES --- */
.features-bottom-gallery {
    width: 100%;
    margin-top: 4rem;
    padding: 0 1.5rem 4rem;
    position: relative;   /* <— important */
    z-index: 10;         /* <— sits ABOVE canvas, BELOW header */
}

.gallery-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;     /* wraps on mobile */
}

.gallery-img {
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.4),
        0 0 12px rgba(74, 222, 128, 0.25);
}

/* MOBILE STACKING */
@media (max-width: 900px) {
    .gallery-row {
        flex-direction: column;
        align-items: center;
    }

    .gallery-img {
        max-width: 100%;
    }
}



.features {
    padding: var(--spacing-xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}


.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.feature-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-md);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Immersive Preview */
.immersive-preview {
    padding: var(--spacing-lg) 0;
}

.vr-preview-box {
    margin-top: var(--spacing-md);
    height: 400px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.vr-overlay {
    position: absolute;
    inset: 0;
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-xl) 0;
}

.testimonial-featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-lg);
    border-radius: 24px;
    margin-bottom: var(--spacing-lg);
}

.testimonial-featured blockquote {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.testimonial-featured cite {
    display: block;
    font-style: normal;
}

.testimonial-featured cite strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-green);
}

.testimonial-featured cite span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.testimonial-photo {
    width: 200px;
    height: 200px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #444;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-md);
    border-radius: 16px;
}

.testimonial-card p {
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--text-gray);
}

.testimonial-card cite strong {
    display: block;
    color: var(--text-white);
}

.testimonial-card cite span {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* FIX background mismatch issues */
.how-it-works,
.testimonials {
    background: var(--bg-dark) !important;
}


.how-it-works {
    padding: var(--spacing-xl) 0;

}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.step-card {
    text-align: center;
    padding: var(--spacing-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

/* Waitlist section spacing */
.waitlist {
    padding: var(--spacing-xl) 0;
}

/* Glass card (same vibe as before) */
.waitlist-container {
    width: 100%;
    background: rgba(10, 20, 14, 0.35);
    backdrop-filter: blur(24px);
    border-radius: 32px;
    padding: 3rem 3rem;
}

/* Layout inside the glass: left content + right image */
.waitlist-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

/* Left side content */
.waitlist-content {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.waitlist-form {
    margin-top: var(--spacing-md);
}

/* Inputs (same glassy style you had) */
.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-white);
    font-family: var(--font-main);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* Button */
.waitlist-button {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: var(--primary-green);
    color: #020617;
    font-weight: 600;
    font-family: var(--font-main);
}

/* Right side image */
.waitlist-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.waitlist-image img {
    width: 100%;
    max-width: 460px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* Mobile: stack like before, image under form */
@media (max-width: 900px) {
    .waitlist-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .waitlist-image {
        width: 100%;
        justify-content: flex-start;
    }

    .waitlist-image img {
        max-width: 100%;
    }
}


.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-white);
    font-family: var(--font-main);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* Footer */
.footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--glass-border);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-gray);
}

.footer-copyright {
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .features-grid,
    .testimonial-featured,
    .testimonials-grid,
    .steps-grid,
    .waitlist-container {
        grid-template-columns: 1fr;
    }

    .testimonial-featured {
        text-align: center;
    }

    .testimonial-image {
        order: -1;
    }
}


/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
/* 3D Features Section */
/* 3D Corridor Features */
.features-corridor {
    position: relative;
    padding: var(--spacing-xl) 0;
    overflow: hidden;

    /* ✨ Required for immersive 3D scroll corridor */
    min-height: 100vh;        /* gives space to animate */
    padding-bottom: 10vh;     /* ensures smooth end */
}

.features-canvas-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

#features-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.features-corridor-content {
    position: relative;
    z-index: 2;
}

/* === SIDE-BY-SIDE LAYOUT === */
.features-corridor-body {
    display: grid;
    grid-template-columns: 1fr 1.4fr;   /* left = copy, right = features */
    gap: var(--spacing-xl);
    align-items: start;
}

.features-corridor-header {
    text-align: left;
    margin: 0 0 var(--spacing-m);
}

.features-corridor-copy p,
.features-corridor-copy .section-subtitle {
    color: var(--text-gray);
    max-width: 420px;
    font-size: 0.98rem;
}

/* Features list */
.features-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 140px;
    align-items: flex-start;
}

.feature-step {
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: rgba(5, 10, 8, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    opacity: 0.25;
    transform: translateY(6px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    max-width: 420px;
    width: 100%;
}

.feature-step h3 {
    color: var(--primary-green);
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.feature-step p {
    color: var(--text-gray);
    font-size: 0.92rem;
}

.feature-step.active {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(74, 222, 128, 0.7);
    box-shadow:
        0 0 0 1px rgba(74, 222, 128, 0.25),
        0 20px 60px rgba(22, 163, 74, 0.5);
}

/* === MOBILE === */
@media (max-width: 900px) {
    .features-corridor-body {
        grid-template-columns: 1fr;  /* stack */
        gap: var(--spacing-lg);
    }

    .features-steps {
        position: static;
        top: auto;
    }

    .feature-step {
        max-width: 100%;
    }
}


/* FORCE uniform background on all sections */
body,
.features,
.features-corridor,
.how-it-works,
.testimonials,
.waitlist,
.immersive-preview,
.hero,
footer,
section {
    background: var(--bg-gradient-start) !important;
}
/* ===== Simulation Preview Section ===== */
.simulation-preview {
  padding: 80px 20px;
  background: var(--bg-gradient-start);
  color: #e9fdf3;
}

.sim-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Headings readable on dark */
.simulation-preview .section-title {
  color: #e9fdf3 !important;
}
.simulation-preview .section-subtitle {
  color: #c4e6d7 !important;
}

/* --- VIDEO FRAME WITH NO IMAGE --- */
.sim-video-frame {
  position: relative;
  width: 100%;
  height: 380px;                       /* ⭐ fixed height since no image */
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  display: flex;                        /* ⭐ center play icon */
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Minimal play icon */
.sim-play-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.75);
  user-select: none;
}

/* “coming soon” badge */
.sim-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.45);
  color: #0f3324;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: lowercase;
  backdrop-filter: blur(6px);
}
