/* ---------------------------------------------------------
           1. DESIGN TOKENS (Soft & Earthy)
           --------------------------------------------------------- */
:root {
    /* LIGHT MODE (Huntaa Sand Theme) */
    --bg-body: #FFF9F5; /* Very Pale Warm Sand */
    --bg-surface: #FFFFFF; /* Clean White */
    --bg-glass: rgba(255, 255, 255, 0.90);
    --bg-subtle: #F5EBE6; /* Subtle Warmth */

    --text-main: #2D2A26; /* Soft Charcoal */
    --text-muted: #78716C; /* Stone Grey */

    /* BRAND COLOURS (Soft Terra Cotta) */
    --primary: #E08560; /* Soft Terra Cotta / Muted Clay */
    --primary-hover: #CD724E; /* Darker Clay */
    --primary-glow: rgba(224, 133, 96, 0.15); /* Soft Glow */

    --secondary: #6B9AC4; /* Muted Steel Blue (Accent) */

    --border: #E8DFD8;
    --shadow-soft: 0 4px 20px -4px rgba(224, 133, 96, 0.08);
    --shadow-hover: 0 10px 30px -5px rgba(224, 133, 96, 0.15);

    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
}

[data-theme="dark"] {
    /* DARK MODE (Huntaa Gunmetal) */
    --bg-body: #1C1B1A; /* Warm Black */
    --bg-surface: #262524; /* Dark Stone */
    --bg-glass: rgba(38, 37, 36, 0.95);
    --bg-subtle: #3F3E3C;

    --text-main: #F5F5F4; /* Stone White */
    --text-muted: #A8A29E; /* Warm Grey */

    /* BRAND COLOURS (Lighter Clay for Dark Mode) */
    --primary: #EFA686; /* Soft Salmon/Clay */
    --primary-hover: #E08560;
    --primary-glow: rgba(239, 166, 134, 0.15);

    --border: #3F3E3C;
    --shadow-soft: 0 4px 20px -4px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 10px 40px -5px rgba(0, 0, 0, 0.4);
}

/* ---------------------------------------------------------
   2. GLOBAL RESET
   --------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1rem;
    background: var(--bg-surface);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: transform 0.2s;
}

.eyebrow:hover {
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   3. UI COMPONENTS
   --------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    border: 1px solid transparent;
    font-family: 'Plus Jakarta Sans', sans-serif;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

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

.card {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    border: 1px solid var(--border);
}

/* Removed Gradient Text Utility - Using Primary Color */
.text-highlight {
    color: var(--primary);
}

/* ---------------------------------------------------------
   4. NAVIGATION
   --------------------------------------------------------- */
.navbar {
    position: sticky;
    top: 20px;
    width: 95%;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-pill);
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
}

/* Clean Modern Text Logo - No Icon */
.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    margin-right: auto;
    margin-left: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-toggle {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    cursor: pointer;
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: var(--bg-surface);
    color: var(--text-main);
    border-color: var(--text-main);
}

.mobile-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    margin-left: 0.5rem;
    padding-right: 1rem;
}

/* MOBILE DRAWER */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 5px;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-links a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    transition: color 0.2s;
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-btn {
        display: block;
    }

    .navbar {
        padding-right: 0.5rem;
    }
}

/* ---------------------------------------------------------
   5. HERO SECTION
   --------------------------------------------------------- */
.hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: center;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

.hero-proof {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    opacity: 0.8;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ---------------------------------------------------------
   6. TRUST GRID
   --------------------------------------------------------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* ---------------------------------------------------------
   7. HOW IT WORKS (Timeline Roadmap)
   --------------------------------------------------------- */
.timeline-wrapper {
    position: relative;
    margin-top: 3rem;
}

.timeline-track {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border);
    z-index: 0;
    display: block;
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.step-item {
    text-align: left;
}

.step-marker {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 0 8px var(--bg-body);
    position: relative;
    z-index: 2;
}

.step-item:hover .step-marker {
    border-color: var(--primary);
    color: white;
    background-color: var(--primary);
    transform: scale(1.15);
    box-shadow: 0 0 0 8px var(--bg-body), 0 0 20px var(--primary-glow);
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.step-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

@media (max-width: 800px) {
    .timeline-track {
        display: none;
    }

    .timeline-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .step-item {
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .step-marker {
        margin-bottom: 0;
        flex-shrink: 0;
        margin-top: -5px;
    }
}

/* ---------------------------------------------------------
   8. FEATURES (Flat Layout)
   --------------------------------------------------------- */
.flat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem 3rem;
}

.flat-item {
    text-align: left;
    transition: transform 0.3s;
}

.flat-item:hover {
    transform: translateY(-5px);
}

.flat-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

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

.flat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: color 0.3s;
}

.flat-item:hover .flat-icon {
    color: var(--primary-hover);
}

.flat-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

/* ---------------------------------------------------------
   9. CATEGORIES
   --------------------------------------------------------- */
.ecosystem-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.eco-row {
    display: grid;
    grid-template-columns: 60px 200px 1fr;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
    cursor: default;
    gap: 2rem;
}

.eco-row:hover {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .eco-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.eco-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform 0.2s;
}

.eco-row:hover .eco-icon {
    transform: scale(1.1);
    border-color: var(--primary);
}

.eco-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.eco-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .eco-row {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .eco-desc {
        grid-column: 1 / span 2;
        margin-top: 0.5rem;
    }
}

/* ---------------------------------------------------------
   10. SOLUTIONS
   --------------------------------------------------------- */
.sol-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sol-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.check-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.check-icon {
    color: var(--primary);
    width: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---------------------------------------------------------
   13. JOIN (Dark Themed Box)
   --------------------------------------------------------- */
.join-box {
    background: linear-gradient(145deg, #1A1918, #000000);
    color: #F4F4F5;
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border);
}

.join-box h2 {
    color: #F4F4F5;
}

.join-box p {
    color: #A1A1AA;
}

.join-box.huntaa-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #E88D67 100%);
    border: none;
}

.join-box.huntaa-gradient h2, .join-box.huntaa-gradient p {
    color: #FFFFFF;
}

.join-box.huntaa-gradient .btn {
    background: #FFFFFF;
    color: var(--primary);
}

.join-box.huntaa-gradient .btn:hover {
    background: #FFF9F5;
}

/* ---------------------------------------------------------
   14. FOOTER
   --------------------------------------------------------- */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.trust-badges {
    display: flex;
    gap: 2rem;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ---------------------------------------------------------
   15. SCROLL TOP
   --------------------------------------------------------- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-surface);
    border-radius: 50%;
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--border);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 900;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-dasharray: 145;
    stroke-dashoffset: 145;
    transform: rotate(-90deg);
    border-radius: 50%;
    transition: stroke-dashoffset 0.1s;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

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