:root {
    /* Dark Earthy Backgrounds */
    --bg-primary: #0B120F;
    /* Very deep forest night */
    --bg-secondary: #101B17;
    /* Slightly lighter deep moss */
    /* Organic Greens */
    --emerald: #2E854B;
    --sage-green: #6DAF92;
    /* Vibrant Eco Greens (CTAs only) */
    --vibrant-eco: #10B981;
    --leaf-green: #34D399;
    --neon-mint: #00FFAB;
    /* Soft Earthy Text */
    --text-main: #E5EBE8;
    /* Soft pale sage/off-white */
    --text-muted: #8E9B95;
    /* Muted earthy sage */
    /* Dark Matte Card Settings */
    --card-bg: #15221D;
    /* Matte dark slate-green */
    --card-border: #21332A;
    /* Subtle dark border */
    --card-shadow: rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Micro-texture Background Grain */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.mint-text {
    color: var(--neon-mint);
}

.eco-text-gradient {
    background: linear-gradient(135deg, var(--leaf-green), var(--vibrant-eco));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--vibrant-eco);
    /* Fallback */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* NAVBAR (Floating & Sleek) */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 100;
    background: rgba(11, 18, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .nav-container {
        justify-content: space-between;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand img {
    height: 36px;
    filter: drop-shadow(0 0 8px rgba(0, 255, 171, 0.3));
}

.nav-links {
    display: none;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--vibrant-eco);
    transition: width 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 8px var(--vibrant-eco);
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-links a:hover::after {
    width: 100%;
}

/* BUTTONS (Ultra Premium) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--vibrant-eco), var(--leaf-green));
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #10B981, #059669);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6), inset 0 2px 2px rgba(255, 255, 255, 0.6);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* LAYOUT HELPER CLASSES */
.main-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .py-16 {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.max-w-2xl {
    max-width: 48rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.w-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-sm {
    font-size: 0.875rem;
}

.border-top-glass {
    border-top: 1px solid var(--glass-border);
}

/* STRICT FLEX STACK FOR SECTIONS (Fixes overlap) */
.flex-vertical-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .flex-vertical-stack {
        gap: 3rem;
    }
}

.flex-vertical-stack-sm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* HERO SECTION */
.hero-section {
    background-color: var(--bg-primary);
    position: relative;
}

/* Extra Intense organic glow behind hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 40%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(46, 133, 75, 0.05) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: breathe-hero 10s ease-in-out infinite alternate;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 255, 171, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: breathe-hero 8s ease-in-out infinite alternate-reverse;
}

@keyframes breathe-hero {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translateX(-50%) scale(1.05);
        opacity: 1;
    }
}

/* Base utility for large padding if not using Tailwind directly */
.py-24 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .py-24 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: var(--glass-bg);
    border: 1px solid rgba(0, 255, 171, 0.3);
    color: var(--neon-mint);
    font-size: 0.875rem;
    box-shadow: 0 0 15px rgba(0, 255, 171, 0.1);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon-mint);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 171, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 171, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 171, 0);
    }
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    max-width: 1000px;
    margin: 0 auto;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 5.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 1.5rem auto 3rem;
    line-height: 1.6;
    font-weight: 300;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
        width: auto;
    }
}

/* DARK MATTE CARD / GLASSMORPHISM */
.glass-panel {
    background: linear-gradient(145deg, rgba(21, 34, 29, 0.85), rgba(11, 18, 15, 0.95));
    border: 1px solid rgba(109, 175, 146, 0.15);
    border-top: 1px solid rgba(109, 175, 146, 0.3);
    border-radius: 24px;
    padding: 1.5rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: skewX(-25deg);
    animation: glass-shine 8s infinite;
    pointer-events: none;
}

@keyframes glass-shine {
    0% {
        left: -150%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.glass-panel:hover {
    box-shadow: 0 20px 60px rgba(0, 255, 171, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(109, 175, 146, 0.4);
    transform: translateY(-4px);
}

.global-reach-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .global-reach-card {
        flex-direction: row;
        text-align: left;
        padding: 3rem;
    }

    .glass-panel {
        padding: 3rem;
        border-radius: 40px;
    }
}

.global-reach-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.global-reach-text h3 {
    font-size: 1.75rem;
}

.global-reach-text p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 400px;
}

#globe-canvas {
    flex: 1.2;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 1rem;
    position: relative;
    cursor: crosshair;
}

/* Ambient intensely glowing portal under the globe */
#globe-canvas::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 255, 171, 0.15) 0%, rgba(16, 185, 129, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: pulse-core 4s ease-in-out infinite alternate;
}

@keyframes pulse-core {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    #globe-canvas {
        height: 400px;
    }
}

/* DASHBOARD & EXTRAS */
.section-title {
    font-size: 2rem;
    line-height: 1.2;
    max-width: 900px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 2rem;
    }
}

.section-title-small {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .section-title-small {
        font-size: 2rem;
    }
}

.dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .dashboard-grid {
        flex-direction: row;
    }
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ecosystem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        flex-direction: row;
        align-items: stretch;
    }
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 1rem;
}

@media (min-width: 768px) {
    .stat-item:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    height: 100%;
    justify-content: flex-start;
}

.dashboard-card .icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.dashboard-card .icon svg {
    filter: drop-shadow(0 0 8px var(--neon-mint));
    stroke: var(--neon-mint);
}

.dashboard-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.dashboard-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Lifecycle flow */
.lifecycle-flow {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .lifecycle-flow {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.flow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flow-step h4 {
    color: var(--neon-mint);
    font-size: 1.1rem;
}

.flow-arrow {
    color: var(--text-muted);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .flow-arrow {
        transform: rotate(90deg);
    }
}

/* Partners Grid */
.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
}

.partner-card img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-card:hover img {
    transform: scale(1.05);
}

.partner-card__name {
    display: none;
    /* Hide names based on minimalist aesthetic, let logos speak */
}

/* Roadmap List */
.roadmap-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roadmap-items li {
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.5rem;
}

.roadmap-items li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.roadmap-items li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 10px;
    height: 10px;
    background-color: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--emerald);
}

/* ANIMATIONS & MICRO-INTERACTIONS */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-delay-1 {
    animation-delay: 1.5s;
}

.floating-delay-2 {
    animation-delay: 3s;
}

/* Scroll Reveal Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Base delays for staggering */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.footer {
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1.25fr 1.25fr 1.5fr;
        gap: 2rem;
    }
}

.footer-link {
    color: var(--text-muted) !important;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--emerald) !important;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--emerald);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

/* Insights Hub Grid (Glassmorphism) */
.insight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    .insight-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.insight-card {
    background: linear-gradient(145deg, rgba(21, 34, 29, 0.6), rgba(11, 18, 15, 0.8));
    border: 1px solid rgba(109, 175, 146, 0.15);
    border-top: 1px solid rgba(109, 175, 146, 0.3);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.insight-card:hover {
    transform: translateY(-8px);
    border-color: rgba(109, 175, 146, 0.4);
    box-shadow: 0 15px 35px rgba(0, 255, 171, 0.05);
    /* very soft glowing shadow */
}

.insight-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(109, 175, 146, 0.2);
}

.insight-card h3 {
    font-size: 1.4rem;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.insight-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.insight-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--neon-mint);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
}

.insight-read-more:hover {
    color: var(--leaf-green);
    transform: translateX(4px);
}