/* --- Reset & Base Variables --- */
:root {
    --bg-light: #f8f5f2;
    --bg-alt: #f8f5f2;
    --text-main: #111111;
    --text-muted: #666666;
    --card-bg: rgba(248, 245, 242, 0.78);
    --card-border: rgba(0, 0, 0, 0.06);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.06);
    --accent-glow: rgba(192, 38, 211, 0.15);

    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Standardized Section Padding Variables (Fluid Spacing) */
    --section-padding-standard: clamp(3rem, 6vw, 6rem); /* 48px on mobile -> 96px on desktop */
    --section-padding-hero: clamp(4rem, 8vw, 8rem);     /* 64px on mobile -> 128px on desktop */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    /* Remove y-hidden to allow scrolling! */
    -webkit-font-smoothing: antialiased;
}

/* --- Custom Scrollbar (Slim & Curvy) --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* --- Utilities & Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-main);
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-align: center;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 900px;
}

.container-medium {
    max-width: 1100px;
}

.section-padding {
    padding: var(--section-padding-standard) 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

/* --- Navigation (The Pill) --- */
.pill-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.4rem 0.4rem 0.4rem 1.2rem;
    border-radius: 50px;
    /* Ultra-curvy ends */
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
    z-index: 100;
    min-width: 320px;
    transition: transform 0.4s ease, top 0.4s ease, border-radius 0.4s ease;
    overflow: hidden;
    /* Important for the expandable drawer */
}

/* The horizontal bar that's always visible */
.nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.5rem;
}

.pill-nav .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 32px;
    /* Balanced height for the pill nav */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-grow: 1;
    /* Pushes logo and button apart */
}

.menu-icon:hover {
    opacity: 1;
}

/* The expandable links container */
.nav-links {
    display: flex;
    flex-direction: column;
    padding-left: 0.5rem;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text-main);
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    line-height: 1.2;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Expanded State Classes */
.pill-nav.menu-open {
    border-radius: 32px;
    /* Smoother corner when open */
}

.pill-nav.menu-open .nav-links {
    max-height: 250px;
    /* Increased to fit 3 links */
    opacity: 1;
    pointer-events: auto;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
}

.pill-nav.menu-open .nav-links a {
    transform: translateY(0);
}

/* Delay for staggering the links coming in */
.pill-nav.menu-open .nav-links a:nth-child(1) {
    transition-delay: 0.1s;
}

.pill-nav.menu-open .nav-links a:nth-child(2) {
    transition-delay: 0.15s;
}

.pill-nav.menu-open .nav-links a:nth-child(3) {
    transition-delay: 0.2s;
}

/* Hide nav smoothly on scroll down (optional detail for premium feel) */
.nav-hidden {
    transform: translate(-50%, -150%);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.btn-dark {
    background: var(--text-main);
    color: #f8f5f2;
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-light {
    background: #f8f5f2;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}


/* --- Main Hero Section --- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(7rem, 10vw, 9rem) 0 clamp(4rem, 6vw, 5.5rem);
}

.hero-content {
    position: relative;
    z-index: 50;
    max-width: 1280px;
    width: 100%;
    padding: 0 2rem;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-split-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-left {
    flex: 1.1;
    text-align: left;
    pointer-events: auto;
}

.hero-left h1.hero-title {
    text-align: left;
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.1;
}

.hero-left .cta-group {
    justify-content: flex-start;
    margin-top: 2.5rem;
}

.hero-right {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-globe-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 580px;
    width: 100%;
    aspect-ratio: 1 / 1;
    pointer-events: auto;
}

.hero-globe-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content h1 {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0;
    text-shadow: 0 10px 30px rgba(248, 245, 242, 0.5);
    color: var(--text-main);
}

.hero-content h1 span {
    display: block;
    overflow: hidden;
    height: 1.2em;
}

/* Stagger Reveal System */
.stagger-reveal span,
.stagger-reveal.btn,
.stagger-reveal a {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content.active .stagger-reveal span:nth-child(1) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.hero-content.active .stagger-reveal span:nth-child(2) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.hero-content.active .stagger-reveal span:nth-child(3) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.hero-content.active .cta-group.stagger-reveal a:nth-child(1) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

.hero-content.active .cta-group.stagger-reveal a:nth-child(2) {
    transition-delay: 0.6s;
    opacity: 1;
    transform: translateY(0);
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    pointer-events: auto;
    /* Re-enable clicks for buttons */
}

@media (min-width: 769px) {
    .cta-group {
        justify-content: flex-start;
    }
}

/* --- Hero Background 3D Removed --- */

@keyframes breatheGlow {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}


/* --- Ecosystem Premium (Services) --- */
.ecosystem-premium {
    padding: var(--section-padding-standard) 0;
    position: relative;
    overflow-x: clip; /* Clip only horizontal bleed from float2; vertical stays visible so ring is never cut */
    background: transparent;
}

.relative-container {
    position: relative;
    z-index: 2;
}

.eco-headline {
    text-align: center;
    margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.giant-text {
    font-size: clamp(3rem, 4.5vw, 4.5rem);
    letter-spacing: -0.04em;
    font-weight: 400;
    /* Regular weight for first half */
    color: var(--text-muted);
    line-height: 1.1;
}

.giant-text strong {
    font-weight: 700;
    color: var(--text-main);
}

/* Floating Elements */
.floating-elements-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through to text */
    z-index: -1;
}

.float-3d {
    position: absolute;
    width: clamp(150px, 20vw, 300px);
    height: auto;
    object-fit: contain;
    transition: transform 0.15s ease-out;
    /* Smooth 3D mouse tracking transition */
    transform-style: preserve-3d;
    will-change: transform;
}

#float1 {
    top: 52%;
    left: 12%;
}

#float2 {
    top: 40%;
    right: -10%;
    width: clamp(200px, 25vw, 400px);
}

#float3 {
    bottom: 15%;
    left: 52%;
}


/* The 3-Column Grid */
.eco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.eco-col {
    display: flex;
    flex-direction: column;
}

.eco-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.eco-col p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    flex-grow: 1;
}

.eco-metric {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--card-border);
    padding-top: 1.5rem;
}

.metric-big {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.2);
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}


/* --- Pricing Premium Redesign --- */
.pricing-premium {
    padding: var(--section-padding-standard) 0;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.pricing-watermark {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 700;
    color: var(--text-main);
    opacity: 0.05;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    pointer-events: none;
    z-index: 0;
}

.pricing-split {
    display: flex;
    gap: 6rem;
    align-items: center;
}

.pricing-left {
    flex: 0 0 32%;
}

.text-left {
    text-align: left;
    max-width: 100%;
}

.testimonial-block {
    max-width: 400px;
}

.test-quote {
    font-size: 1.15rem;
    color: var(--text-main);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
    background-size: cover;
}

.pricing-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center the card to the right side */
    width: 100%;
}

/* Toggle Switch */
.pricing-toggle-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.pricing-toggle {
    display: inline-flex;
    position: relative;
    background: rgba(248, 245, 242, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 50px;
    padding: 4px;
    gap: 0.25rem;
}

.toggle-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    /* width is updated dynamically via JS */
    background: #111111;
    /* Match Antigravity dark theme */
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.toggle-btn {
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-btn.active {
    color: #f8f5f2;
}

.toggle-btn .light-price {
    opacity: 0.5;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.toggle-btn.active .light-price {
    opacity: 0.7;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid currentColor;
    background: transparent;
}

.dark-pricing-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    background: #000000;
    border-radius: 32px;
    padding: 3.5rem;
    color: #f8f5f2;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(248, 245, 242, 0.05);
}

.card-glow {
    display: none;
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-content h3 {
    color: #f8f5f2;
    font-size: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(248, 245, 242, 0.1);
    padding-bottom: 2rem;
    min-height: 100px;
    /* Enforce stable title height for wrapping text */
    display: flex;
    align-items: center;
}

.premium-feature-list {
    list-style: none;
    margin-bottom: 4rem;
    flex-grow: 1;
    /* Pushes the footer down naturally */
}

.premium-feature-list li {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 2rem;
    color: rgba(248, 245, 242, 0.7);
}

.premium-feature-list li::before {
    content: '✓';
    /* Premium checkmark */
    position: absolute;
    left: 0;
    top: 0;
    color: #f8f5f2;
    font-size: 0.9rem;
    background: rgba(248, 245, 242, 0.1);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-block {
    display: flex;
    align-items: flex-start;
}

.price-block .currency {
    font-size: 2rem;
    font-weight: 500;
    color: rgba(248, 245, 242, 0.5);
    margin-top: 0.5rem;
}

.price-block .amount {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.price-meta {
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
    justify-content: flex-end;
    height: 4.5rem;
    padding-bottom: 0.25rem;
}

.meta-top {
    font-size: 0.8rem;
    font-weight: 600;
    color: #f8f5f2;
}

.meta-bot {
    font-size: 0.75rem;
    color: rgba(248, 245, 242, 0.4);
}

.dark-pricing-card .btn-light {
    border-radius: 100px;
    padding: 1rem 2rem;
    background: #f8f5f2;
    color: #111;
}

.dark-pricing-card .btn-light:hover {
    background: #f8f5f2;
    transform: scale(1.02);
}

/* Animations injected by JS */
.fade-out {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* --- Custom Builder Panel --- */
.builder-panel {
    display: none;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.builder-panel.active {
    display: flex;
}

.builder-header {
    flex-shrink: 0;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(248, 245, 242, 0.07);
}

.builder-header h3 {
    color: #f8f5f2;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 0 0 0.3rem;
    border: none;
    padding: 0;
    min-height: unset;
    display: block;
}

.builder-subtitle {
    color: rgba(248, 245, 242, 0.3);
    font-size: 0.85rem;
    font-family: var(--font-body);
}

.builder-services {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(248, 245, 242, 0.07) transparent;
    padding-right: 2px;
}

.builder-services::-webkit-scrollbar { width: 3px; }
.builder-services::-webkit-scrollbar-thumb {
    background: rgba(248, 245, 242, 0.07);
    border-radius: 10px;
}

.builder-category {
    margin-bottom: 1.25rem;
}

.builder-cat-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(248, 245, 242, 0.22);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.builder-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(248, 245, 242, 0.04);
    cursor: pointer;
    transition: opacity 0.2s;
    user-select: none;
}

.builder-row:last-child { border-bottom: none; }
.builder-row:hover { opacity: 0.75; }

.builder-check {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid rgba(248, 245, 242, 0.2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.builder-row.selected .builder-check {
    background: #f8f5f2;
    border-color: #f8f5f2;
}

.builder-row.selected .builder-check::after {
    content: '✓';
    color: #000;
    font-size: 0.6rem;
    font-weight: 900;
    line-height: 1;
}

.builder-row-name {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(248, 245, 242, 0.5);
    transition: color 0.2s;
}

.builder-row.selected .builder-row-name { color: #f8f5f2; }

.builder-row-price {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(248, 245, 242, 0.22);
    white-space: nowrap;
    transition: color 0.2s;
}

.builder-row.selected .builder-row-price { color: rgba(248, 245, 242, 0.55); }

.builder-totals {
    flex-shrink: 0;
    padding-top: 1rem;
    margin-top: 0.75rem;
    border-top: 1px solid rgba(248, 245, 242, 0.08);
    display: flex;
    gap: 2rem;
}

.builder-total-line {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.builder-total-lbl {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(248, 245, 242, 0.25);
    font-family: var(--font-body);
}

.builder-total-val {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #f8f5f2;
    transition: color 0.3s;
    line-height: 1;
}

.builder-total-val.zero { color: rgba(248, 245, 242, 0.15); }

.builder-total-val small {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0;
    opacity: 0.5;
}

.builder-cta-btn {
    flex-shrink: 0;
    margin-top: 1rem;
    display: block;
    text-align: center;
    background: #f8f5f2;
    color: #111;
    border-radius: 100px;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
}

.builder-cta-btn:hover {
    background: #f8f5f2;
    transform: translateY(-1px);
}

/* --- FAQ Section --- */
.faq-section {
    padding: var(--section-padding-standard) 0;
    background: transparent;
}

.faq-split {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
}

.faq-left {
    flex: 0 0 35%;
}

.faq-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.faq-title span {
    color: rgba(0, 0, 0, 0.3);
}

.faq-right {
    flex: 1;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--text-main);
}

.faq-question.active {
    color: var(--text-main);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    color: var(--text-muted);
}

.faq-question:hover .faq-icon {
    background: rgba(0, 0, 0, 0.1);
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
    background: var(--text-main);
    color: #f8f5f2;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    padding: 0;
    opacity: 0;
}

.faq-answer p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.faq-answer.show {
    opacity: 1;
}

/* --- Footer CTA --- */
.large-p {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.giant-brand-footer {
    background-color: var(--bg-light);
    position: relative;
    padding-top: clamp(3rem, 5vw, 5rem);
    padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.giant-text-container {
    width: 100%;
    text-align: center;
    line-height: 0.75;
    margin-bottom: 2rem;
    user-select: none;
    padding: 0 2rem;
}

.giant-text-container h2 {
    font-family: var(--font-display);
    font-size: clamp(6rem, 22vw, 25rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    color: #e2e2e5;
    /* Subtle light gray */
    margin: 0;
    text-transform: uppercase;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 100%);
}

.footer-bottom-bar {
    width: 100%;
    max-width: 1800px;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.4);
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--text-main);
}


/* --- Global Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* --- Keyframes --- */
@keyframes gentleFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* --- Responsive Layout Adjustments --- */
@media (max-width: 900px) {
    .eco-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .float-3d {
        opacity: 0.2;
        /* Fade back strongly on mobile for text readability */
    }

    .eco-col {
        background: var(--bg-light);
        padding: 2rem;
        border-radius: 24px;
        border: 1px solid var(--card-border);
    }
}

@media (max-width: 768px) {
    .pill-nav {
        top: 2.5rem;
        min-width: 90%;
        gap: 1rem;
        padding: 0.5rem 0.5rem 0.5rem 1rem;
    }

    .hero-split-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-left {
        text-align: center;
    }

    .hero-left h1.hero-title {
        text-align: center;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 3rem);
    }

    .cta-group {
        flex-direction: column;
        gap: 1rem;
        padding: 0 2rem;
    }

    .hero-left .cta-group {
        justify-content: center;
        margin-top: 2rem;
    }

    .hero-creature {
        width: 120%;
    }

    .faq-split {
        flex-direction: column;
        gap: 3rem;
    }

    .faq-left {
        flex: 1;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 0 2rem;
    }

    /* Pricing section mobile */
    .pricing-split {
        flex-direction: column;
        gap: 3rem;
    }

    .pricing-left,
    .pricing-right {
        width: 100%;
    }

    .pricing-toggle-wrap {
        width: 100%;
    }

    .pricing-toggle {
        width: 100%;
    }

    .toggle-btn {
        flex: 1;
        justify-content: center;
        font-size: 0.82rem;
        padding: 0.6rem 0.75rem;
    }

    .light-price {
        display: none;
    }

    /* Dark card mobile */
    .dark-pricing-card {
        padding: 2rem 1.5rem;
        min-height: unset;
        border-radius: 24px;
    }

    .card-content h3 {
        font-size: 1.5rem;
        min-height: unset;
    }

    .price-block .amount {
        font-size: 3.5rem;
    }

    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .card-footer .btn-light {
        width: 100%;
        text-align: center;
    }

    /* Builder panel mobile */
    .builder-panel {
        overflow: visible;
    }

    .builder-services {
        overflow-y: visible;
        max-height: none;
    }

    .builder-totals {
        flex-direction: column;
        gap: 0.75rem;
    }

    .builder-total-val {
        font-size: 1.4rem;
    }

    /* Standardized vertical section spacing on mobile */
    .hero-section {
        min-height: auto;
        padding: 11rem 0 3.5rem;
    }
    .ecosystem-premium {
        padding: var(--section-padding-standard) 0;
    }
    .pricing-premium {
        padding: var(--section-padding-standard) 0;
    }
    .faq-section {
        padding: var(--section-padding-standard) 0;
    }
    .section-padding {
        padding: var(--section-padding-standard) 0;
    }
    .giant-brand-footer {
        padding-top: clamp(2.5rem, 4vw, 3.5rem);
        padding-bottom: clamp(1.5rem, 2.5vw, 2rem);
    }

    /* Prevent footer brand text from getting cut off on mobile */
    .giant-text-container {
        padding: 0 1rem;
    }
    .giant-text-container h2 {
        font-size: clamp(3rem, 22vw, 10rem);
    }
}

/* --- Booking Widget Overlay --- */
.booking-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.booking-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Hide calendar elements when form is active to optimize space on mobile */
.booking-overlay.form-active .bk-cal-nav,
.booking-overlay.form-active .bk-cal-dow,
.booking-overlay.form-active #bkCalGrid {
    display: none !important;
}

.booking-modal {
    background: #000;
    width: 90%;
    max-width: 420px;
    max-height: 88vh;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(248, 245, 242, 0.07);
    transform: translateY(24px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    position: relative;
}

.booking-overlay.open .booking-modal {
    transform: translateY(0) scale(1);
}

.bk-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(248, 245, 242, 0.07);
    border: none;
    color: #f8f5f2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    z-index: 10;
    transition: background 0.25s;
}

.bk-close:hover {
    background: rgba(248, 245, 242, 0.16);
}

.bk-scrollable {
    overflow-y: auto;
    padding: 1.75rem 1.5rem 2rem;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: rgba(248, 245, 242, 0.08) transparent;
}

.bk-scrollable::-webkit-scrollbar {
    width: 4px;
}

.bk-scrollable::-webkit-scrollbar-thumb {
    background: rgba(248, 245, 242, 0.08);
    border-radius: 10px;
}

.bk-brand-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.4rem;
    padding-right: 2.5rem;
}

.bk-logo-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(248, 245, 242, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.bk-logo-img {
    width: 26px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.bk-brand-text {
    display: flex;
    flex-direction: column;
}

.bk-brand-name {
    color: rgba(248, 245, 242, 0.4);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.bk-call-title {
    color: #f8f5f2;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

.bk-call-desc {
    color: rgba(248, 245, 242, 0.45);
    font-size: 0.875rem;
    line-height: 1.5;
    font-family: var(--font-body);
}

.bk-meta-row {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.bk-meta-chip {
    color: rgba(248, 245, 242, 0.4);
    font-family: var(--font-body);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.bk-divider {
    border: none;
    border-top: 1px solid rgba(248, 245, 242, 0.06);
    margin-bottom: 1.5rem;
}

.bk-cal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.bk-month-year {
    color: #f8f5f2;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.bk-nav-btns {
    display: flex;
    gap: 0.4rem;
}

.bk-nav-btn {
    background: rgba(248, 245, 242, 0.06);
    border: none;
    color: rgba(248, 245, 242, 0.6);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.bk-nav-btn:hover:not(:disabled) {
    background: rgba(248, 245, 242, 0.12);
    color: #f8f5f2;
}

.bk-nav-btn:disabled {
    opacity: 0.2;
    cursor: default;
}

.bk-cal-dow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0.5rem;
}

.bk-cal-dow span {
    text-align: center;
    color: rgba(248, 245, 242, 0.25);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.25rem 0;
    font-family: var(--font-body);
}

.bk-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 1.75rem;
}

.bk-cal-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 0.875rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: rgba(248, 245, 242, 0.2);
    cursor: default;
    transition: background 0.2s, color 0.2s;
    position: relative;
    user-select: none;
}

.bk-cal-cell.available {
    color: rgba(248, 245, 242, 0.8);
    background: rgba(248, 245, 242, 0.06);
    cursor: pointer;
}

.bk-cal-cell.available:hover {
    background: rgba(248, 245, 242, 0.13);
    color: #f8f5f2;
}

.bk-cal-cell.today::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}

.bk-cal-cell.selected {
    background: #f8f5f2 !important;
    color: #000 !important;
}

.bk-slots-wrap {
    display: none;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(248, 245, 242, 0.06);
}

.bk-slots-wrap.visible {
    display: block;
}

.bk-slots-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.bk-sel-day {
    color: #f8f5f2;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
}

.bk-time-toggle {
    display: flex;
    background: rgba(248, 245, 242, 0.06);
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}

.bk-time-toggle button {
    background: none;
    border: none;
    color: rgba(248, 245, 242, 0.35);
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: 0.02em;
}

.bk-time-toggle button.active {
    background: rgba(248, 245, 242, 0.1);
    color: #f8f5f2;
}

.bk-slots-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.bk-slot-btn {
    background: transparent;
    border: 1px solid rgba(248, 245, 242, 0.1);
    color: rgba(248, 245, 242, 0.75);
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s;
    width: 100%;
}

.bk-slot-btn:hover {
    background: rgba(248, 245, 242, 0.05);
    border-color: rgba(248, 245, 242, 0.22);
    color: #f8f5f2;
}

.bk-slot-btn.selected {
    background: #f8f5f2;
    border-color: #f8f5f2;
    color: #000;
}

/* --- Tech Stack Marquee --- */
.marquee-section {
    padding: 3rem 0 2rem;
    overflow: hidden;
}

.marquee-label {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.28);
    margin-bottom: 1.5rem;
}

.marquee-track {
    overflow: hidden;
}

.marquee-inner {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: rgba(0, 0, 0, 0.22);
    padding: 0 2rem;
    transition: color 0.3s;
}

.marquee-item:hover {
    color: rgba(0, 0, 0, 0.55);
}

.marquee-logo {
    height: 28px;
    width: auto;
    opacity: 0.35;
    padding: 0 3rem;
    transition: opacity 0.3s;
    filter: brightness(0);
}

.marquee-logo:hover {
    opacity: 0.8;
}

.marquee-dot {
    font-size: 0.65rem;
    color: rgba(0, 0, 0, 0.14);
    flex-shrink: 0;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}

/* --- Footer Social Icons --- */
.footer-social-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.35);
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}

.footer-social-link:hover {
    background: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.75);
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
    display: block;
}
