@import url('https://fonts.cdnfonts.com/css/nexa-heavy');

:root {
    --primary: #073C0B;      /* Dark Green */
    --secondary: #57B340;    /* Lighter Green */
    --accent: #127026;       /* Medium Green */
    --rich-green: #0a5e0f;   /* Rich Green */
    --teal-green: #2fa159;   /* Teal Green */
    --pastel-purple: #a794d1; /* Pastel Purple */
    --sky-blue: #87ceeb;     /* Sky Blue */
    --pastel-pink: #ffb9ff;  /* Pastel Pink */
    --text: #333;            /* Dark Gray for text */
    --light: #f8f9fa;        /* Very Light Gray background */
    --dark: #212529;         /* Near Black */
    --white: #ffffff;        /* White */
    --light-blue: #a7d9ff;   /* Sky Blue for hero top */
    --mid-blue: #e0f4ff;     /* Lighter Sky Blue for hero mid */
    --light-green-bg: #dceee0;/* Very Light Green for hero bottom */
    --success: #28a745;      /* Success Green */
    --waitlist-dark: #051f06; /* Very Dark Green for waitlist bg */
    --waitlist-mid: #0a2b0d;  /* Dark Green for waitlist bg */
    --waitlist-light: #0d330f;/* Slightly Lighter Dark Green for waitlist bg */
    --footer-bg: #e9ecef;    /* Light Gray for footer */
    --footer-text: #6c757d;   /* Gray for footer text */
    --waitlist-particle-color-1: rgba(255, 255, 255, 0.1);
    --waitlist-particle-color-2: rgba(87, 179, 64, 0.1);
    --waitlist-particle-color-3: rgba(18, 112, 38, 0.1);

    --background: #a7d9ff; /* Change from Sky Blue to Footer Light Grey (#e9ecef) after waitlist section*/

    /* Marquee variables */
    --gap: 40px;
    --duration: 30s;
    --scroll-start: 0;
    --scroll-end: calc(-100% - var(--gap));
}

/* --- Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

::-webkit-scrollbar {
    display: none;
}

html {
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE 11 */
    scrollbar-width: none; /* Firefox 64 */
    background-color: var(--background);
}

body {
    overscroll-behavior-y: none;
    background-size: cover;
    margin: 0;
    
    /* background-color: var(--light); */
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* --- Accessibility Helper --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Header & Navigation Styles --- */
header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}

header.scrolled {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    display: block;
    height: 45px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    /* Initially hidden - fade in when mission section is at top */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Show nav links when mission section is at top */
header.nav-visible .nav-links {
    opacity: 1;
    pointer-events: auto;
}


.nav-links li {
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.3s ease, background-color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--primary);
    background-color: rgba(7, 60, 11, 0.05);
}

/* Call to Action Button in Nav */
.nav-links .nav-cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile Nav Toggle Placeholder */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
}


/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 150px 0 100px;
    text-align: left; /* Ensure left alignment */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--light-blue) 0%, var(--mid-blue) 40%, var(--light-green-bg) 70%);
    z-index: -2;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
    margin: 0; /* Explicitly remove auto margin */
    text-align: left;
}

/* Gradient Animation */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--rich-green), var(--teal-green));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientAnimation 16s ease infinite;
    padding-bottom: 5px; /* Add padding to prevent text cutoff */
}

/* Normal black color for "for" */
.hero h1 .for-text {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: var(--dark);
    color: var(--dark);
    font-weight: 800;
    animation: none;
}

/* Purple and blue gradient for "AI Beings" */
.hero h1 .ai-beings {
    position: relative;
    display: inline-block;
    font-weight: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.15;
    font-weight: 800;
    background: linear-gradient(90deg, var(--pastel-purple), var(--sky-blue), var(--pastel-pink), var(--pastel-purple));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientAnimation 8s cubic-bezier(0.075, 0.82, 0.165, 1) infinite reverse;
    padding-bottom: 5px; /* Add padding to prevent text cutoff */
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 40px;
    color: #555;
    font-weight: 300;
    max-width: 600px;
    margin-left: 0;
    margin-right: 0;
}

/* General Button Style */
.btn {
    display: inline-block;
    padding: 16px 35px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(7, 60, 11, 0.15);
}

.btn:after { /* Ripple effect */
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover:after {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
}

/* --- Hero Visual Elements --- */
.noise-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: -1;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.9) 100%);
}

.nature-element {
    position: absolute;
    bottom: 0;
    z-index: 1;
    transform-origin: bottom center;
}

/* Clouds */
.cloud { position: absolute; z-index: -1; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: rgba(255, 255, 255, 0.8); border-radius: 50%; }
.cloud-1 { top: 15%; left: 10%; width: 180px; height: 60px; background: rgba(255, 255, 255, 0.8); border-radius: 50px; box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1); animation: float-1 15s ease-in-out infinite; }
.cloud-1::before { width: 90px; height: 90px; top: -40px; left: 25px; }
.cloud-1::after { width: 60px; height: 60px; top: -25px; right: 35px; }
.cloud-2 { top: 25%; right: 15%; width: 200px; height: 70px; background: rgba(255, 255, 255, 0.9); border-radius: 100px; box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); animation: float-2 20s ease-in-out infinite; }
.cloud-2::before { width: 110px; height: 110px; top: -50px; left: 30px; }
.cloud-2::after { width: 80px; height: 80px; top: -30px; right: 35px; }
.cloud-3 { top: 10%; right: 30%; width: 140px; height: 50px; background: rgba(255, 255, 255, 0.75); border-radius: 80px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05); animation: float-3 18s ease-in-out infinite; }
.cloud-3::before { width: 70px; height: 70px; top: -30px; left: 20px; }
.cloud-3::after { width: 50px; height: 50px; top: -25px; right: 25px; }

@keyframes float-1 { 0%, 100% { transform: translateX(0) translateY(0); } 50% { transform: translateX(20px) translateY(-10px); } }
@keyframes float-2 { 0%, 100% { transform: translateX(0) translateY(0); } 50% { transform: translateX(-30px) translateY(-15px); } }
@keyframes float-3 { 0%, 100% { transform: translateX(0) translateY(0); } 50% { transform: translateX(25px) translateY(-5px); } }

/* Hero Particles */
.particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.particle { position: absolute; border-radius: 50%; opacity: 0.5; pointer-events: none; filter: blur(1px); box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); }

/* Blobs */
.blob { position: absolute; z-index: -1; filter: blur(40px); opacity: 0.15; border-radius: 50%; }
.blob-1 { bottom: -200px; right: -200px; width: 600px; height: 600px; background: var(--secondary); }
.blob-2 { bottom: -150px; left: -100px; width: 400px; height: 400px; background: var(--primary); }

/* --- General Section Styles --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #666;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Mission Section --- */
.mission-section {
    background-color: var(--white);
    padding: 80px 0;
}

/* --- Need Section (Features) --- */
.need-section {
    background-color: var(--light);
}

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

.feature-card {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 60px rgba(7, 60, 11, 0.08);
}

.feature-card::after { /* Bottom border animation */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    width: 65px;
    height: 65px;
    background-color: rgba(7, 60, 11, 0.07);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: rgba(7, 60, 11, 0.1);
    transform: scale(1.08) rotate(-5deg);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* --- Marquee Section --- */
.marquee-section {
    padding: 80px 0 0;
}

.marquee-title {
    text-align: center;
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 40px;
    font-weight: 600;
}

.marquee-container {
    margin: 0;
    background-color: transparent;
    padding: 40px 0;
    border-top: 1px solid rgba(7, 60, 11, 0.1);
    border-bottom: 1px solid rgba(7, 60, 11, 0.1);
    overflow: hidden;
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
    mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0));
}

.marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
    animation: scroll-x var(--duration) linear infinite;
}

.marquee--reverse .marquee__group {
    animation-direction: reverse;
    animation-delay: calc(var(--duration) / -2);
}

@keyframes scroll-x {
    from { transform: translateX(var(--scroll-start)); }
    to { transform: translateX(var(--scroll-end)); }
}

/* Company Logo Styling */
.company-logo {
    padding: 15px 20px;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-img {
    max-height: 110px;
    max-width: 220px;
    object-fit: contain;
}

.company-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* --- Separator Section --- */
.separator {
    height: 25vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--light);
    color: var(--primary);
    padding: 0 20px;
}

.separator p {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 300;
}

/* --- How It Works / Waitlist Section --- */
section.content {
    position: relative;
    z-index: 1;
    padding: 0;
}

/* Section Transition (Wipe Effect) */
section.content .section-transition {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    bottom: 100%;
    align-items: end;
    pointer-events: none;
}

section.content .section-transition .section-transition-div {
    height: 0px;
    background: var(--waitlist-dark);
}

.section-transition-dark-noise-bg {
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

/* Dark Content Area (#waitlist) */
.section-content#waitlist {
    background: linear-gradient(165deg, var(--waitlist-dark) 10%, var(--waitlist-mid) 50%, var(--waitlist-light) 100%);
    min-height: 300vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
    text-align: center; /* Ensure text-align center for children */
    padding-top: 100px;
}

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

/* Waitlist Blurbs Container */
.waitlist-blurbs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 50;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
}

.waitlist-blurbs {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.waitlist-blurbs.visible {
    opacity: 1;
}

.waitlist-blurb {
    position: absolute;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.97);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    opacity: 0;
    text-align: left;
    border-left: 5px solid var(--accent);
    pointer-events: auto;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: var(--dark);
    z-index: 51;
}

.waitlist-blurb h3 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.waitlist-blurb p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 0;
}

/* Blurb Positioning - original positions */
#blurb-1 { left: 0; top: 25%; transform: translateX(-30px); }
#blurb-2 { right: 0; top: 25%; transform: translateX(30px); }
#blurb-3 { left: 0; top: 60%; transform: translateX(-30px); }
#blurb-4 { right: 0; top: 60%; transform: translateX(30px); }
/* #blurb-5 {...} REMOVED */

/* Blurb Visible State */
.waitlist-blurb.visible {
    opacity: 1;
    transform: translateX(0);
}
/* #blurb-5.visible {...} REMOVED */

/* Pinned Waitlist Content */
.waitlist-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    z-index: 10;
}

.waitlist-content {
    max-width: 700px;
    padding: 60px 40px;
    position: relative;
    z-index: 2;
    text-align: center; /* Ensure content inside is centered */
    margin: 0 auto; /* Center the content container itself */
}

.waitlist-content h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 24px;
    background: linear-gradient(90deg, var(--secondary), var(--white));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    font-weight: 800;
}

.waitlist-content p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Waitlist Form Card */
.waitlist-card {
    position: relative;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    z-index: 5;
    transform: translateZ(0);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* display: inline-block; */ /* Optional: If margin:auto isn't working */
    text-align: left; /* Align form content left within card */
}

.waitlist-card::after { /* Gradient border effect */
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--secondary), transparent, var(--primary));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.6;
}

.email-form {
     position: relative;
}

.email-form input {
    width: 100%;
    padding: 18px 25px;
    border: 1px solid #ddd;
    background: var(--white);
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    color: var(--dark);
    /* Email validation styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.email-form input::placeholder {
    color: #999;
}

.email-form input:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(7, 60, 11, 0.1);
}

/* Waitlist button inherits .btn styles via HTML class */
.email-form button {
    display: block;
    width: 100%;
    margin-top: 20px;
}

.thankyou_message {
    display: none;
    color: var(--primary);
    background-color: rgba(87, 179, 64, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 600;
    border: 1px solid rgba(87, 179, 64, 0.3);
    text-align: center;
    width: 100%;
}

.thankyou_message p {
    margin: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.form-elements {
    width: 100%;
}

/* Spacer div */
.waitlist-spacer {
    height: 200vh; /* Adjust based on desired scroll duration for 4 blurbs */
    opacity: 0;
    pointer-events: none;
}

/* Waitlist Particles */
.waitlist-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.waitlist-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
    filter: blur(3px);
    pointer-events: none;
}

/* --- Footer --- */
footer {
    background-color: var(--footer-bg);
    padding: 60px 0 40px;
    border-top: 1px solid #dee2e6;
    color: var(--footer-text);
}

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

.footer-content {
    text-align: center;
    flex-basis: 100%;
}

.footer-logo img {
    display: block;
    height: 40px;
    margin: 0 auto 15px auto;
}

.footer-tagline {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 20px;
}

.footer-links {
    text-align: center;
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-links .primary-links {
    margin-bottom: 15px;
    display: flex;
    gap: 25px;
    justify-content: center;
}

.footer-links .secondary-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links .primary-links a {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.05rem;
}

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

.footer-copyright {
    text-align: center;
    font-size: 0.85rem;
    flex-basis: 100%;
}

.footer-copyright p {
    margin-bottom: 5px;
}

.footer-copyright a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.footer-copyright a:hover {
    text-decoration: underline;
}


/* --- Media Queries --- */

/* Larger Tablets / Small Laptops */
@media (min-width: 769px) {
    .footer-content,
    .footer-links,
    .footer-copyright {
        flex-basis: auto;
        text-align: left;
    }
    .footer-content { text-align: left; }
    .footer-links { text-align: center; flex-grow: 1; }
    .footer-copyright { text-align: right; }
    .footer-logo img { margin-left: 0; margin-right: 0; }
}


/* Hide blurbs for screens less than 1400px */
@media (max-width: 1399px) {
    .waitlist-blurbs-container { display: none; }
}

/* Tablets */
@media (max-width: 991px) {
     .hero { padding-top: 120px; /* Keep left align from base */ }
     .hero-content { max-width: 90%; /* Adjust width */ }

    .waitlist-blurbs-container { padding: 0 2%; }
    .waitlist-blurb { max-width: 280px; padding: 25px; font-size: 0.95rem; }
    .waitlist-blurb h3 { font-size: 1.3rem; }

    /* Adjust blurb positions for 4 blurbs - original positions */
    #blurb-1 { left: 2%; top: 20%; }
    #blurb-2 { right: 2%; top: 20%; }
    #blurb-3 { left: 2%; top: 55%; }
    #blurb-4 { right: 2%; top: 55%; }

    /* Mobile Nav Handling */
    .nav-links {
        /* Keep hidden styles from base */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none; /* Initially hidden by JS */
    }
    header.scrolled .nav-links {
        opacity: 1; /* Still needed if menu is open */
    }
    .nav-links.active { /* Add this class via JS */
        display: flex;
    }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { display: block; padding: 15px; }
    .nav-links .nav-cta { margin: 10px auto 0 auto; width: fit-content; }

    .mobile-nav-toggle { display: block; }

}

/* Mobile Phones */
@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .section-title h2 { font-size: 2rem; }
    .section-title p { font-size: 1rem; }

    /* Center hero text on small mobile */
    .hero { text-align: center; }
    .hero-content { text-align: center; margin: 0 auto; }
    .hero p { margin-left: auto; margin-right: auto; }

    .hero h1 { 
        font-size: 2.2rem;
        background-size: 400% 100%; /* Larger background size for better effect on small screens */
        animation: gradientAnimation 10s ease infinite; /* Slightly slower animation */ 
        padding-bottom: 3px; /* Reduced padding on mobile */
    }
    .hero h1 .ai-beings {
        background-size: 400% 100%;
        animation: gradientAnimation 10s ease infinite reverse;
        padding-bottom: 3px; /* Reduced padding on mobile */
    }
    .hero p { font-size: 1rem; }
    .btn { padding: 14px 28px; font-size: 0.95rem; }

    .features { grid-template-columns: 1fr; gap: 25px; }
    .feature-card { padding: 30px 25px; }
    .feature-card h3 { font-size: 1.4rem; }
    .feature-icon { width: 60px; height: 60px; }
    .feature-icon svg { width: 30px; height: 30px; }

    .waitlist-blurbs-container { display: none; }

    .waitlist-content h2 { font-size: 2.2rem; }
    .waitlist-content p { font-size: 1rem; }
    .waitlist-card { margin: 0 15px; padding: 35px 25px; }
    .email-form input { padding: 16px 20px; }

    .footer-container { flex-direction: column; text-align: center; gap: 25px; }
    .footer-content, .footer-links, .footer-copyright { text-align: center; }
    .footer-logo img { margin: 0 auto 15px auto; }
    .footer-links a { margin: 0 10px; display: inline-block; margin-bottom: 10px; }

    /* --- TREE STYLES REMOVED --- */
}

@media (max-width: 480px) {
    .container { padding: 0 4%; }
    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 0.95rem; }
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 1.8rem; }
    .feature-card { padding: 25px 20px; }
    .waitlist-content h2 { font-size: 2rem; }
    .waitlist-card { padding: 30px 20px; }
}
