:root {
    /* Brand Colors */
    --primary: #84cc16;
    --primary-glow: rgba(132, 204, 22, 0.4);
    --secondary: #22c55e;
    --accent: #f59e0b;

    /* Dark Theme Surface Colors */
    --bg-base: #020617;
    --bg-surface: #0f172a;
    --bg-glass: rgba(15, 23, 42, 0.8);
    --border-glass: rgba(255, 255, 255, 0.08);

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 3.5D Parallax Floating Layer - FIXED VISIBILITY */
.parallax-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10;
    /* Above background, but below core content */
}

.p-asset {
    position: absolute;
    width: clamp(120px, 15vw, 220px);
    height: auto;
    mix-blend-mode: screen;
    filter: brightness(1.2) contrast(1.1);
    opacity: 0;
    /* JS will reveal them */
    will-change: transform;
}

/* Base Position Adjustments */
.fruit-apple {
    top: 10%;
    right: 5%;
    --speed: 0.12;
}

.fruit-tomato {
    top: 40%;
    left: 0%;
    --speed: 0.08;
}

.fruit-avocado {
    bottom: 15%;
    right: 10%;
    --speed: 0.15;
}

.fruit-lemon {
    top: 25%;
    left: 10%;
    --speed: 0.05;
}

.veg-carrot {
    bottom: 5%;
    right: 30%;
    --speed: 0.1;
}

.veg-spinach {
    top: 60%;
    left: 15%;
    --speed: 0.18;
}

/* Content Layering */
.hero,
.navbar,
.section-vantage,
.section-savings,
.section-ecosystem,
.cta-section,
.footer {
    position: relative;
    z-index: 100;
    /* Ensure content is above the parallax layer */
}

/* Background Atmospheric Glow */
.bg-blobs {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    /* Bottom-most */
    top: 0;
    left: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.25;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary-glow);
}

.blob-2 {
    top: 40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(59, 130, 246, 0.1);
}

.blob-3 {
    bottom: -10%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.1);
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    background: rgba(132, 204, 22, 0.1);
    border: 1px solid var(--primary-glow);
    color: var(--primary);
    padding: 0.4rem 1.2rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    transition: 0.4s ease;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 0;
}

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

.logo img {
    height: 54px;
    display: block;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(3.25rem, 6.5vw, 5.25rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-image-wrapper {
    perspective: 1200px;
    display: flex;
    justify-content: center;
}

.hero-phone {
    width: 100%;
    max-width: 420px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

/* Button */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 99px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: #020617;
    box-shadow: 0 12px 24px -6px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -8px var(--primary-glow);
}

/* Vantage Cards */
.vantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.v-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    padding: 4rem 2.5rem;
    border-radius: 3rem;
    text-align: center;
    opacity: 0;
    /* Revealed by JS */
}

/* Ecosystem Fix */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.app-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    padding: 4rem 2rem;
    border-radius: 3rem;
    text-align: center;
    opacity: 0;
    /* Revealed by JS */
}

.app-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2.5rem auto;
    border-radius: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

/* Footer & CTA */
.cta-box {
    background: #0f172a;
    border-radius: 4rem;
    padding: 7rem 4rem;
    text-align: center;
}

.footer {
    padding: 5rem 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border-glass);
}

@media (max-width: 1024px) {

    .vantage-grid,
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .vantage-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}