:root {
    /* Pearl Theme Palette */
    --bg-pearl: #FDFCFD;
    --bg-pearl-alt: #F4F6F8;
    --accent-pearl: linear-gradient(135deg, #E0EAFC 0%, #CFDEF3 100%);
    --accent-iridescent: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    --accent-glow: rgba(255, 255, 255, 0.8);
    --text-main: #2C3E50;
    --text-muted: #5D6D7E;
    --white-soft: #FFFFFF;

    /* Lively Accents */
    --accent-primary: #B8C6DB;
    /* Soft Blue-Grey */
    --accent-secondary: #F5F7FA;
    --accent-highlight: #a8edea;
    /* Soft Turquoise hint */

    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --shadow-float: 0 20px 50px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing */
    --spacer-section: 140px;
    --border-radius: 20px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

body {
    font-family: var(--font-main);
    /* Glass Universe: Pearl/Mesh Atmosphere */
    background:
        radial-gradient(at 0% 0%, rgba(255, 240, 245, 0.4) 0%, transparent 50%),
        radial-gradient(at 100% 0%, rgba(240, 248, 255, 0.4) 0%, transparent 50%),
        radial-gradient(at 50% 100%, rgba(253, 252, 253, 0.8) 0%, transparent 50%),
        linear-gradient(180deg, #FDFCFD 0%, #F5F7FA 100%);
    background-attachment: fixed;
    /* Keeps the atmosphere consistent */
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    perspective: 1000px;
    /* Enable 3D space */
}

h1,
h2,
h3 {
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--text-main);
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #2C3E50 0%, #5D6D7E 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
}

.subtitle {
    font-size: 1.35rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.intro-statement {
    text-align: center;
    font-style: italic;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

/* Utilities */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 5;
}

.padding-section {
    padding: var(--spacer-section) 0;
}

.centered-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* -------------------------------------------
   Navigation
------------------------------------------- */
/* -------------------------------------------
   Navigation
------------------------------------------- */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px 30px;
    border-radius: 999px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    width: auto;
    min-width: 350px;
    display: flex;
    justify-content: center;
}

/* -------------------------------------------
   Scroll Animations
------------------------------------------- */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.floating-nav.scrolled {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    padding: 10px 25px;
    top: 15px;
}

.floating-nav ul {
    list-style: none;
    display: flex;
    /* Flexbox for horizontal layout */
    gap: 10px;
    /* Space between links */
    margin: 0;
    padding: 0;
    align-items: center;
}

/* ... keep .floating-nav li/a styles ... */

/* -------------------------------------------
   Waitlist Form (Styled Pill)
------------------------------------------- */
.waitlist-form {
    display: flex;
    align-items: center;
    gap: 0;
    /* Removing gap for unified look */
    max-width: 480px;
    margin-bottom: 2rem;
    position: relative;
    padding: 6px;
    background: #FFFFFF;
    border-radius: 999px;
    /* Full Pill */
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

/* ... keep waitlist focus styles ... */

/* -------------------------------------------
   Hero Section with Parallax
------------------------------------------- */
/* ... existing hero styles (KEEP SCENIC HERO) ... */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Center Vertically */
    justify-content: center;
    /* Center Horizontally */
    position: relative;
    overflow: hidden;
    padding-top: 0;
    text-align: center;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    /* Large Vignette for smooth blend */
    background: linear-gradient(to top, var(--bg-pearl) 20%, rgba(253, 252, 253, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 125%;
    /* Taller for extended parallax */
    background-image: url('hero_bg.webp');
    background-size: cover;
    background-position: center bottom;
    /* Anchor to bottom or center */
    z-index: -2;
    will-change: transform;
}

/* ... hero content wrapper/typography (KEEP SCENIC) ... */

/* -------------------------------------------
   Glass Component: Logic Cards
------------------------------------------- */
.logic-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.logic-card {
    background: rgba(255, 255, 255, 0.35);
    /* Translucent */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 60px 40px;
    /* Spacious */
    border-radius: 32px;
    /* Smoother corners */
    width: 340px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow:
        0 20px 40px rgba(31, 38, 135, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.logic-card::before {
    /* Shimmer effect line */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 40%);
    opacity: 0.6;
    pointer-events: none;
}

.logic-card:hover {
    transform: translateY(-20px) scale(1.02);
    background: rgba(255, 255, 255, 0.55);
    box-shadow:
        0 30px 60px rgba(100, 120, 140, 0.15),
        0 0 0 2px rgba(255, 255, 255, 0.8);
}

.card-icon {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Glass Icon */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    width: 80px;
    height: 80px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.logic-card h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* -------------------------------------------
   Glass Component: CTA Card
------------------------------------------- */
.cta-card {
    /* Rich Glass Overlay */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(40px) saturate(160%);
    -webkit-backdrop-filter: blur(40px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 100px 50px;
    border-radius: 48px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.08),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Add a subtle shine to CTA */
.cta-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    opacity: 0.5;
    pointer-events: none;
    transform: rotate(30deg);
}


.floating-nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.floating-nav li {
    perspective: 500px;
}

.floating-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 999px;
    display: block;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy */
    position: relative;
}

/* 3D Hover Effect on Nav */
.floating-nav a:hover,
.floating-nav a.active {
    background: #FFFFFF;
    color: #000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.floating-nav a.nav-cta {
    background: var(--text-main);
    color: #fff;
    margin-left: 10px;
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.floating-nav a.nav-cta:hover {
    background: #1a252f;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.4);
}

/* -------------------------------------------
   Waitlist Form (Styled Pill)
------------------------------------------- */
.waitlist-form {
    display: flex;
    align-items: center;
    gap: 0;
    /* Removing gap for unified look */
    max-width: 480px;
    margin-bottom: 2rem;
    position: relative;
    padding: 6px;
    background: #FFFFFF;
    border-radius: 999px;
    /* Full Pill */
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.waitlist-form:focus-within {
    box-shadow:
        0 15px 50px rgba(184, 198, 219, 0.4),
        0 0 0 2px var(--accent-primary);
    transform: translateY(-2px);
}

input[type="email"] {
    flex: 1;
    padding: 16px 24px;
    border: none;
    background: transparent;
    font-family: var(--font-main);
    font-size: 1.05rem;
    color: var(--text-main);
    box-shadow: none;
    /* remove inner shadow */
    border-radius: 999px;
    outline: none;
}

input[type="email"]::placeholder {
    color: #9CA3AF;
}

.glow-button {
    background: var(--text-main);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 999px;
    /* Pill button match */
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
    position: relative;
    overflow: hidden;
    margin-left: 5px;
    /* Tiny gap */
}

/* -------------------------------------------
   Hero Section with Parallax
------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Center Vertically */
    justify-content: center;
    /* Center Horizontally */
    position: relative;
    overflow: hidden;
    padding-top: 0;
    text-align: center;
}

/* White Vignette from below */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    /* Large Vignette for smooth blend */
    background: linear-gradient(to top, var(--bg-pearl) 20%, rgba(253, 252, 253, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Scenic Background Image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 125%;
    /* Taller for extended parallax */
    background-image: url('hero_bg.webp');
    background-size: cover;
    background-position: center bottom;
    /* Anchor to bottom or center */
    z-index: -2;
    will-change: transform;
}

/* Clear old blobs */
.hero-background::before,
.hero-background::after {
    display: none;
}

@keyframes float {

    /* unused now */
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, -40px);
    }
}

.hero .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    /* Constrain width for readability */
    position: relative;
    z-index: 1;
    /* Above Vignette */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Typography Visibility */
.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    /* High contrast on scenic bg */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* Ensure readability */
    background: none;
    /* Remove gradient text clip */
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #FFFFFF;
}

.hero-subtitle {
    font-size: 1.65rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: 400;
}

/* -------------------------------------------
   Waitlist Form
------------------------------------------- */
.waitlist-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    backdrop-filter: blur(5px);
}

/* -------------------------------------------
   Hero Collage (Dual Image)
------------------------------------------- */
.hero-visual {
    perspective: 1500px;
    display: flex;
    justify-content: center;
    position: relative;
    height: 500px;
    align-items: center;
}

.hero-collage {
    position: relative;
    width: 550px;
    /* Slight increase to allow spread */
    height: 400px;
}

.hero-image {
    position: absolute;
    border-radius: 30px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-out;
    cursor: default;
    object-fit: cover;
}

/* Primary Image (Pearl Edition) */
.image-primary {
    width: 360px;
    height: 440px;
    right: 0;
    top: 0;
    z-index: 2;
    transform: rotateY(-10deg) translateZ(50px);
    animation: floatPrimary 8s ease-in-out infinite;
}

/* Secondary Image (Visual/Detail) */
.image-secondary {
    width: 280px;
    height: 280px;
    left: -20px;
    /* Moved out */
    bottom: 20px;
    /* Lifted up */
    z-index: 1;
    opacity: 1;
    /* Fully visible */
    transform: rotateY(5deg) scale(0.95) translateZ(-40px);
    animation: floatSecondary 10s ease-in-out infinite reverse;
}

.hero-collage:hover .image-primary {
    transform: rotateY(-5deg) translateZ(80px) translateX(20px);
}

.hero-collage:hover .image-secondary {
    transform: rotateY(5deg) scale(0.95) translateZ(-20px) translateX(-40px);
}

@keyframes floatPrimary {

    0%,
    100% {
        transform: rotateY(-10deg) translateZ(50px) translateY(0);
    }

    50% {
        transform: rotateY(-8deg) translateZ(50px) translateY(-15px);
    }
}

@keyframes floatSecondary {

    0%,
    100% {
        transform: rotateY(5deg) scale(0.95) translateZ(-40px) translateY(0);
    }

    50% {
        transform: rotateY(7deg) scale(0.95) translateZ(-40px) translateY(15px);
    }
}

/* -------------------------------------------
   Global Cinematic Typography
------------------------------------------- */
h2 {
    font-size: 2.5rem;
    font-weight: 300;
    /* Lighter weight for elegance */
    letter-spacing: -0.5px;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-main);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft depth */
    position: relative;
    display: inline-block;
    width: 100%;
}

/* -------------------------------------------
   Logic Section (Atmospheric)
------------------------------------------- */
.logic-section {
    position: relative;
    padding: 100px 0;
    /* Soft Pearl Mesh Gradient */
    background:
        radial-gradient(at 0% 0%, rgba(255, 240, 245, 0.4) 0%, transparent 50%),
        radial-gradient(at 100% 100%, rgba(240, 248, 255, 0.4) 0%, transparent 50%),
        linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

/* Lighter Glass Cards */
.logic-card {
    background: rgba(255, 255, 255, 0.25);
    /* More transparent */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 60px 40px;
    border-radius: 24px;
    width: 340px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.logic-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.45);
    box-shadow:
        0 30px 60px rgba(184, 198, 219, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.6);
}

/* Ensure paragraph text remains centered even when card is wide */
.logic-card p {
    margin-left: auto;
    margin-right: auto;
}

.card-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    color: var(--accent-primary);
    /* Use theme accent */
}

/* -------------------------------------------
   CTA Card (Premium Glass)
------------------------------------------- */
.cta-card {
    /* Atmospheric overlay */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 100px 40px;
    /* More breathing room */
    border-radius: 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.cta-card h2 {
    font-size: 3.5rem;
    /* Larger impact */
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-main) 0%, #64748B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    /* Gradient text needs no shadow */
}

.cta-card p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.trust-badges {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* -------------------------------------------
   Feature Showcase (Grid)
------------------------------------------- */
.feature-showcase {
    position: relative;
    padding-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.feature-image-container {
    width: 100%;
    height: 250px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.feature-card:hover img {
    transform: scale(1.1);
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.5;
}



/* Responsive */
@media (max-width: 900px) {
    .hero-collage {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        position: relative;
        width: 90% !important;
        height: auto !important;
        transform: none !important;
        margin: 10px 0;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
    }

    .image-secondary {
        display: block;
        margin-top: -50px;
    }

    .logic-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .cta-card {
        padding: 40px 20px;
    }


}

.hero-micro-copy {
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.15rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .hero-micro-copy {
        font-size: 0.9rem;
    }
}

/* -------------------------------------------
   Footer Redesign
------------------------------------------- */
.site-footer {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 80px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-logo {
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.95rem;
    color: var(--text-main);
    text-transform: uppercase;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    max-width: none;
    /* override global p max-width */
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease;
    font-weight: 400;
}

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

.footer-copyright p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-links {
        gap: 25px;
    }

    .footer-brand {
        align-items: center;
    }
}

/* -------------------------------------------
   Logo Video Section
------------------------------------------- */
.logo-video-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    /* Ensure it doesn't block interactions if we use pointer-events: none on overlay, but here it's video */
}

.bg-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Zoom 15% to crop edges slightly */
    transform: scale(1.15);
    /* Blending: fade out top and bottom to let body background show through */
    mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
    /* Optional: minimal opacity to soften it further if needed, but mask is usually enough */
    opacity: 0.9;
}

/* Mobile Video Zoom Refinement */
/* Mobile Video Zoom Refinement */
@media (max-width: 768px) {
    .bg-video {
        /* Force 4:3 Aspect Ratio on Mobile */
        aspect-ratio: 4 / 3;
        width: 100%;
        height: auto;
        object-fit: cover;
        transform: none;
    }
}

/* -------------------------------------------
   Mobile Hamburger Nav (3D Sucking Effect)
------------------------------------------- */
.nav-toggle {
    display: none;
    /* Hidden on desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px;
    width: 44px;
    height: 44px;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Nav Open State (Hamburger to X) */
.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--text-main);
    /* Contrast against light glass */
}

.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--text-main);
}

@media (max-width: 600px) {
    .floating-nav {
        /* Default Closed State: collapsed circle/pill */
        width: 60px;
        min-width: 0;
        height: 60px;
        padding: 0;
        border-radius: 50%;
        overflow: hidden;

        /* Position at top-right */
        position: fixed;
        top: 20px;
        left: auto;
        right: 20px;
        transform: none;

        /* Slower transition for Closing (Retracting) */
        transition:
            width 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55),
            height 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55),
            border-radius 1.2s ease,
            background 0.6s ease;

        /* 3D Context */
        perspective: 1000px;
        transform-style: preserve-3d;
    }

    .nav-toggle {
        display: flex;
        /* Show toggle */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* Faster toggle fade */
        transition: opacity 0.75s ease;
    }

    /* Links Container - Sucked In by Default */
    .floating-nav ul {
        flex-direction: column;
        gap: 20px;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        pointer-events: none;
        /* No clicks when closed */
        opacity: 0;
        visibility: hidden;
        transition: all 1s ease;
    }

    .floating-nav li {
        /* Initial State for 3D Sucked Effect */
        transform: translateY(-50px) translateZ(-100px) scale(0.5);
        opacity: 0;
        /* Slower transition for Sucking In */
        transition: transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.9s ease;
    }

    /* ---------------------------------
       NAV OPEN STATE
    --------------------------------- */
    .floating-nav.nav-open {
        width: 300px;
        /* Expand width */
        height: 380px;
        /* Expand height */
        border-radius: 30px;
        /* Box shape */
        background: rgba(255, 255, 255, 0.35);
        /* Light Glass */
        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.6);
        box-shadow:
            0 30px 60px rgba(0, 0, 0, 0.1),
            inset 0 0 0 1px rgba(255, 255, 255, 0.4);

        /* Keep centered/adjusted position when open if needed, or keep top-right anchor */
        right: 20px;

        /* Snappier transition for Opening (Exploding) */
        transition:
            width 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55),
            height 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55),
            border-radius 0.9s ease,
            background 0.4s ease;
    }

    .floating-nav.nav-open ul {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    /* Staggered Reveal Animation (Explode Out) */
    .floating-nav.nav-open li {
        transform: translateY(0) translateZ(0) scale(1);
        opacity: 1;
        /* Snappier transition for Exploding Out */
        transition: transform 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s ease;
    }

    /* Manual Delays for Stagger Effect (Faster) */
    .floating-nav.nav-open li:nth-child(1) {
        transition-delay: 0.15s;
    }

    .floating-nav.nav-open li:nth-child(2) {
        transition-delay: 0.25s;
    }

    .floating-nav.nav-open li:nth-child(3) {
        transition-delay: 0.35s;
    }

    .floating-nav.nav-open li:nth-child(4) {
        transition-delay: 0.45s;
    }

    /* Adjust Link Styles for Mobile Menu */
    .floating-nav a {
        color: var(--text-main);
        /* Dark text for light glass */
        font-weight: 500;
        font-size: 1.2rem;
        padding: 10px 20px;
    }

    .floating-nav a:hover,
    .floating-nav a.active {
        background: rgba(255, 255, 255, 0.6);
        color: var(--text-main);
        transform: scale(1.1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    /* Move toggle to top-right when open */
    .nav-open .nav-toggle {
        top: 30px;
        left: auto;
        right: 20px;
        transform: none;
    }

    /* ---------------------------------
       CTA Card Mobile Optimization
    --------------------------------- */
    .desktop-text {
        display: none;
    }

    .mobile-text {
        display: inline;
    }

    .waitlist-form {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        /* Add gap for vertical spacing */
    }

    .waitlist-form input,
    .waitlist-form button {
        width: 100%;
        margin: 0;
        /* Reset margins if any */
    }

    .cta-card {
        padding: 30px 20px;
        /* Adjust padding if needed */
    }
}

/* Default States for Text Toggles */
.mobile-text {
    display: none;
}