/* =========================================================
   ROOT
========================================================= */

:root {
    --primary: #0ea5e9;
    --primary-light: #38bdf8;
    --primary-dark: #0284c7;

    --cyan: #22d3ee;
    --blue: #3b82f6;

    --bg: #05070b;
    --bg-soft: #080b11;

    --card: rgba(14, 18, 27, 0.78);

    --text: #f8fafc;
    --text-soft: #cbd5e1;
    --muted: #94a3b8;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(14, 165, 233, 0.42);

    --radius: 18px;

    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

    --glow: 0 0 45px rgba(14, 165, 233, 0.12);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(14, 165, 233, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(59, 130, 246, 0.07),
            transparent 30%
        ),
        radial-gradient(
            circle at 50% 90%,
            rgba(34, 211, 238, 0.05),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);

    font-family: "Poppins", sans-serif;

    overflow-x: hidden;
}

body::before {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;

    z-index: -1;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #05070b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        var(--primary),
        var(--cyan)
    );

    border-radius: 20px;
}


/* =========================================================
   CURSOR GLOW
========================================================= */

.cursor-glow {
    position: fixed;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    pointer-events: none;

    z-index: 0;

    background: radial-gradient(
        circle,
        rgba(14, 165, 233, 0.08),
        transparent 70%
    );

    transform: translate(-50%, -50%);

    transition: opacity 0.3s ease;
}


/* =========================================================
   SCROLL PROGRESS
========================================================= */

.scroll-progress {
    position: fixed;

    top: 0;
    left: 0;

    height: 3px;
    width: 0%;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--cyan)
    );

    box-shadow:
        0 0 12px rgba(14, 165, 233, 0.6);

    z-index: 1001;

    transition: width 0.1s ease-out;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: rgba(5, 7, 11, 0.72);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    z-index: 1000;

    transition: 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 7, 11, 0.92);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;

    gap: 10px;

    font-family: "Outfit", sans-serif;

    font-size: 22px;
    font-weight: 800;

    letter-spacing: -0.5px;
}

.logo img {
    width: 44px;
    height: 44px;

    object-fit: contain;

    border-radius: 10px;
}

.logo > span:last-child {
    color: var(--primary);
}

.logo-billion {
    color: #fff;
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: 8px;

    list-style: none;
}

.nav-links a {
    position: relative;

    display: flex;
    align-items: center;

    padding: 9px 16px;

    color: #a1a1aa;

    font-size: 13px;
    font-weight: 500;

    border-radius: 8px;

    transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;

    background: rgba(14, 165, 233, 0.08);
}

.nav-links a.active::after {
    content: "";

    position: absolute;

    bottom: -1px;

    left: 18px;
    right: 18px;

    height: 2px;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--cyan)
    );

    border-radius: 10px;
}


/* =========================================================
   HAMBURGER
========================================================= */

.hamburger {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);

    border-radius: 10px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;

    background: rgba(255, 255, 255, 0.03);
}

.hamburger span {
    width: 20px;
    height: 2px;

    background: white;

    border-radius: 10px;

    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 140px 20px 55px;

    text-align: center;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    top: -250px;
    left: 50%;

    transform: translateX(-50%);

    background: radial-gradient(
        circle,
        rgba(14, 165, 233, 0.15),
        transparent 68%
    );

    filter: blur(10px);

    pointer-events: none;
}

.hero-canvas {
    position: absolute;

    inset: 0;

    z-index: 1;

    opacity: 0.55;

    pointer-events: none;
}

.hero-content-box {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 900px;

    opacity: 0;

    transform: translateY(22px);

    animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;

        transform: translateY(0);
    }
}

.eyebrow {
    animation: heroReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s backwards;
}

.hero h1 {
    animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards;
}

.hero-description {
    animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.28s backwards;
}

.hero-stats {
    animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s backwards;
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 7px 13px;

    margin-bottom: 20px;

    color: #7dd3fc;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    background: rgba(14, 165, 233, 0.08);

    border: 1px solid rgba(14, 165, 233, 0.2);

    border-radius: 999px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--primary);

    box-shadow:
        0 0 0 4px rgba(14, 165, 233, 0.1),
        0 0 15px rgba(14, 165, 233, 0.7);
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero h1 {
    margin-bottom: 20px;

    font-family: "Outfit", sans-serif;

    font-size: clamp(42px, 6vw, 76px);

    line-height: 0.98;

    font-weight: 900;

    letter-spacing: -3px;

    background: linear-gradient(
        135deg,
        #ffffff 20%,
        #bae6fd 55%,
        #38bdf8 100%
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 760px;

    margin: auto;

    color: #94a3b8;

    font-size: 16px;

    line-height: 1.8;
}

.hero-description strong {
    color: #cbd5e1;
}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    max-width: 700px;

    margin: 38px auto 0;

    border: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.025);

    border-radius: 16px;

    overflow: hidden;

    backdrop-filter: blur(10px);
}

.stat {
    padding: 18px 15px;

    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: none;
}

.stat strong {
    display: block;

    font-family: "Outfit", sans-serif;

    font-size: 22px;

    color: #fff;
}

.stat span {
    color: #64748b;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}


/* =========================================================
   MODULE SECTION
========================================================= */

.modules-section {
    position: relative;

    padding: 20px 20px 90px;
}

.section-header {
    max-width: 1000px;

    margin: 0 auto 28px;
}

.section-header-top {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;
}

.section-label {
    color: var(--primary);

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.8px;

    margin-bottom: 8px;
}

.section-header h2 {
    font-family: "Outfit", sans-serif;

    font-size: clamp(28px, 4vw, 40px);

    font-weight: 800;

    letter-spacing: -1px;
}

.section-header p {
    margin-top: 8px;

    color: #64748b;

    font-size: 13px;
}


/* =========================================================
   CONTROLS
========================================================= */

.module-controls {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 24px;
}

.search-box {
    position: relative;

    flex: 1;
}

.search-box i {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #64748b;

    font-size: 13px;
}

.search-box input {
    width: 100%;

    height: 46px;

    padding: 0 15px 0 42px;

    color: white;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid var(--border);

    border-radius: 10px;

    outline: none;

    transition: 0.3s ease;
}

.search-box input::placeholder {
    color: #64748b;
}

.search-box input:focus {
    border-color: rgba(14, 165, 233, 0.45);

    box-shadow:
        0 0 0 3px rgba(14, 165, 233, 0.07);
}

.control-btn {
    height: 46px;

    padding: 0 16px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #cbd5e1;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid var(--border);

    border-radius: 10px;

    cursor: pointer;

    font-size: 12px;

    transition: 0.3s ease;
}

.control-btn:hover {
    color: white;

    border-color: var(--border-hover);

    background: rgba(14, 165, 233, 0.07);
}

.control-btn:active {
    transform: scale(0.96);
}


/* =========================================================
   RESULTS COUNT
========================================================= */

.results-count {
    margin-top: 14px;

    color: #64748b;

    font-size: 12px;

    letter-spacing: 0.2px;
}

.results-count strong {
    color: #7dd3fc;

    font-weight: 700;
}


/* =========================================================
   MODULE ACCENT COLOR SYSTEM
========================================================= */

.tree-card[data-accent="1"]  { --accent: #0ea5e9; --accent-soft: rgba(14, 165, 233, 0.14); }
.tree-card[data-accent="2"]  { --accent: #6366f1; --accent-soft: rgba(99, 102, 241, 0.14); }
.tree-card[data-accent="3"]  { --accent: #06b6d4; --accent-soft: rgba(6, 182, 212, 0.14); }
.tree-card[data-accent="4"]  { --accent: #22c55e; --accent-soft: rgba(34, 197, 94, 0.14); }
.tree-card[data-accent="5"]  { --accent: #f59e0b; --accent-soft: rgba(245, 158, 11, 0.14); }
.tree-card[data-accent="6"]  { --accent: #ec4899; --accent-soft: rgba(236, 72, 153, 0.14); }
.tree-card[data-accent="7"]  { --accent: #8b5cf6; --accent-soft: rgba(139, 92, 246, 0.14); }
.tree-card[data-accent="8"]  { --accent: #14b8a6; --accent-soft: rgba(20, 184, 166, 0.14); }
.tree-card[data-accent="9"]  { --accent: #f97316; --accent-soft: rgba(249, 115, 22, 0.14); }
.tree-card[data-accent="10"] { --accent: #38bdf8; --accent-soft: rgba(56, 189, 248, 0.14); }

.module-jumpnav a[data-accent="1"]  { --accent: #0ea5e9; }
.module-jumpnav a[data-accent="2"]  { --accent: #6366f1; }
.module-jumpnav a[data-accent="3"]  { --accent: #06b6d4; }
.module-jumpnav a[data-accent="4"]  { --accent: #22c55e; }
.module-jumpnav a[data-accent="5"]  { --accent: #f59e0b; }
.module-jumpnav a[data-accent="6"]  { --accent: #ec4899; }
.module-jumpnav a[data-accent="7"]  { --accent: #8b5cf6; }
.module-jumpnav a[data-accent="8"]  { --accent: #14b8a6; }
.module-jumpnav a[data-accent="9"]  { --accent: #f97316; }
.module-jumpnav a[data-accent="10"] { --accent: #38bdf8; }


/* =========================================================
   QUICK-JUMP TREE NAV
========================================================= */

.module-jumpnav {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    max-width: 1000px;

    margin: 22px auto 30px;
}

.module-jumpnav a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 15px 9px 12px;

    color: #94a3b8;

    font-size: 12px;

    font-weight: 600;

    background: rgba(255, 255, 255, 0.03);

    border: 1px solid var(--border);

    border-radius: 999px;

    transition: 0.25s ease;
}

.module-jumpnav a i {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    color: var(--accent);

    font-size: 11px;

    background: color-mix(in srgb, var(--accent) 16%, transparent);

    border-radius: 50%;

    transition: 0.25s ease;
}

.module-jumpnav a:hover,
.module-jumpnav a.active {
    color: #fff;

    border-color: color-mix(in srgb, var(--accent) 55%, transparent);

    background: color-mix(in srgb, var(--accent) 12%, transparent);

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px color-mix(in srgb, var(--accent) 25%, transparent);
}

.module-jumpnav a.active i {
    color: #fff;

    background: var(--accent);
}


/* =========================================================
   MODULE GRID / TREE SPINE
========================================================= */

.erp-tree-group {
    position: relative;

    display: flex;

    flex-direction: column;

    gap: 16px;

    width: 100%;

    max-width: 1000px;

    margin: 0 auto;

    padding-left: 26px;
}

.erp-tree-group::before {
    content: "";

    position: absolute;

    top: 6px;
    bottom: 6px;
    left: 5px;

    width: 2px;

    background: linear-gradient(
        180deg,
        rgba(14, 165, 233, 0.55),
        rgba(148, 163, 184, 0.12) 92%
    );

    border-radius: 2px;
}

.tree-card::after {
    content: "";

    position: absolute;

    top: 39px;
    left: -26px;

    width: 11px;
    height: 11px;

    background: var(--accent, var(--primary));

    border: 2px solid var(--bg);

    border-radius: 50%;

    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--accent, var(--primary)) 25%, transparent);

    transition: 0.3s ease;
}

.tree-card.is-open::after {
    box-shadow:
        0 0 0 5px color-mix(in srgb, var(--accent, var(--primary)) 35%, transparent),
        0 0 14px color-mix(in srgb, var(--accent, var(--primary)) 60%, transparent);
}


/* =========================================================
   MODULE CARD
========================================================= */

.tree-card {
    position: relative;

    width: 100%;

    background:
        linear-gradient(
            145deg,
            rgba(17, 24, 39, 0.78),
            rgba(8, 11, 17, 0.85)
        );

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.12);

    transition:
        border-color 0.3s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease,
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);

    opacity: 0;

    transform: translateY(34px) scale(0.98);

    will-change: transform, opacity;
}

.tree-card.revealed {
    opacity: 1;

    transform: translateY(0) scale(1);
}

.tree-card:hover {
    border-color: var(--border-hover);

    transform: translateY(-4px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.25),
        var(--glow);
}

.tree-card.revealed:hover {
    transform: translateY(-4px) scale(1);
}

.tree-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 3px;
    height: 0;

    background: var(--accent, var(--primary));

    box-shadow: 0 0 16px color-mix(in srgb, var(--accent, var(--primary)) 55%, transparent);

    transition: 0.35s ease;
}

.tree-card:hover::before,
.tree-card.is-open::before {
    height: 100%;
}

.tree-card.is-open {
    border-color: color-mix(in srgb, var(--accent, var(--primary)) 45%, transparent);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px color-mix(in srgb, var(--accent, var(--primary)) 12%, transparent),
        0 0 40px color-mix(in srgb, var(--accent, var(--primary)) 10%, transparent);
}


/* =========================================================
   DETAILS / SUMMARY
========================================================= */

details {
    width: 100%;
}

summary {
    list-style: none;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    min-height: 82px;

    padding: 18px 24px;

    cursor: pointer;

    user-select: none;

    outline: none;
}

summary::-webkit-details-marker {
    display: none;
}

.summary-title-area {
    display: flex;

    align-items: center;

    gap: 15px;

    min-width: 0;
}


/* =========================================================
   MODULE NUMBER
========================================================= */

.module-number {
    flex-shrink: 0;

    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #64748b;

    font-family: "Outfit", sans-serif;

    font-size: 11px;

    font-weight: 700;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid var(--border);

    border-radius: 9px;

    transition: 0.3s ease;
}

.tree-card:hover .module-number,
.tree-card.is-open .module-number {
    color: #fff;

    background: color-mix(in srgb, var(--accent, var(--primary)) 18%, transparent);

    border-color: color-mix(in srgb, var(--accent, var(--primary)) 40%, transparent);
}


/* =========================================================
   MODULE ICON
========================================================= */

.module-icon {
    flex-shrink: 0;

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--accent, var(--primary));

    font-size: 17px;

    background:
        linear-gradient(
            145deg,
            color-mix(in srgb, var(--accent, var(--primary)) 15%, transparent),
            color-mix(in srgb, var(--accent, var(--primary)) 4%, transparent)
        );

    border: 1px solid color-mix(in srgb, var(--accent, var(--primary)) 18%, transparent);

    border-radius: 12px;

    transition: 0.3s ease;
}

.tree-card:hover .module-icon,
.tree-card.is-open .module-icon {
    color: white;

    transform: scale(1.08) rotate(-4deg);

    background:
        linear-gradient(
            145deg,
            color-mix(in srgb, var(--accent, var(--primary)) 32%, transparent),
            color-mix(in srgb, var(--accent, var(--primary)) 10%, transparent)
        );

    box-shadow:
        0 0 25px color-mix(in srgb, var(--accent, var(--primary)) 30%, transparent);
}

.tree-card.is-open .module-icon {
    animation: iconPulse 1.8s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 0 25px color-mix(in srgb, var(--accent, var(--primary)) 30%, transparent);
    }

    50% {
        box-shadow: 0 0 34px color-mix(in srgb, var(--accent, var(--primary)) 50%, transparent);
    }
}


/* =========================================================
   MODULE TEXT
========================================================= */

.module-name {
    display: block;

    color: #f8fafc;

    font-family: "Outfit", sans-serif;

    font-size: 17px;

    font-weight: 600;

    letter-spacing: -0.2px;
}

.module-meta {
    display: block;

    margin-top: 3px;

    color: #64748b;

    font-size: 11px;
}

.feature-count {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin-top: 8px;

    padding: 3px 10px;

    color: var(--accent, var(--primary));

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.3px;

    background: color-mix(in srgb, var(--accent, var(--primary)) 12%, transparent);

    border: 1px solid color-mix(in srgb, var(--accent, var(--primary)) 25%, transparent);

    border-radius: 999px;
}


/* =========================================================
   ARROW
========================================================= */

.arrow-icon {
    flex-shrink: 0;

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #64748b;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid var(--border);

    border-radius: 9px;

    font-size: 11px;

    transition: 0.35s ease;
}

.tree-card.is-open .arrow-icon {
    color: #fff;

    background: var(--accent, var(--primary));

    border-color: var(--accent, var(--primary));

    transform: rotate(180deg);

    box-shadow:
        0 5px 20px color-mix(in srgb, var(--accent, var(--primary)) 40%, transparent);
}


/* =========================================================
   CONTENT
========================================================= */

.tree-content {
    padding: 0 24px 0 103px;

    max-height: 0;

    opacity: 0;

    overflow: hidden;

    transition:
        max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.4s ease,
        padding-bottom 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.tree-card.is-open .tree-content {
    padding-bottom: 24px;

    opacity: 1;
}

.content-divider {
    height: 1px;

    margin-bottom: 20px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08),
            transparent
        );
}

.tree-sublist {
    list-style: none;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 9px;
}

.tree-sublist li {
    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 10px;

    min-height: 48px;

    padding: 11px 13px;

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.55;

    background: rgba(255, 255, 255, 0.022);

    border: 1px solid rgba(255, 255, 255, 0.045);

    border-radius: 9px;

    transition: 0.25s ease;
}

.tree-sublist li:hover {
    color: #dbeafe;

    background: rgba(14, 165, 233, 0.055);

    border-color: rgba(14, 165, 233, 0.16);

    transform: translateX(2px);
}

.tree-sublist li i {
    flex-shrink: 0;

    margin-top: 5px;

    color: var(--primary);

    font-size: 7px;

    transition: 0.25s ease;
}

.tree-sublist li:hover i {
    color: var(--cyan);

    transform: scale(1.25);
}


/* =========================================================
   TEXT CONTENT
========================================================= */

.text-content {
    color: #94a3b8;

    font-size: 13px;

    line-height: 1.8;
}

.text-content strong {
    color: #f8fafc;
}

.feature-highlight {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 15px;

    padding: 7px 11px;

    color: #7dd3fc;

    font-size: 10px;

    font-weight: 600;

    background: rgba(14, 165, 233, 0.07);

    border: 1px solid rgba(14, 165, 233, 0.15);

    border-radius: 999px;
}


/* =========================================================
   NO RESULTS
========================================================= */

.no-results {
    display: none;

    max-width: 1000px;

    margin: 14px auto 0;

    padding: 50px 20px;

    text-align: center;

    color: #64748b;

    border: 1px dashed var(--border);

    border-radius: var(--radius);
}

.no-results i {
    display: block;

    margin-bottom: 12px;

    color: #334155;

    font-size: 28px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    position: relative;

    padding: 35px 20px;

    text-align: center;

    color: #475569;

    font-size: 12px;

    border-top: 1px solid rgba(255, 255, 255, 0.05);

    background: rgba(0, 0, 0, 0.25);
}

footer strong {
    color: #94a3b8;
}

footer span {
    color: var(--primary);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: white;

    background: var(--primary);

    border: none;

    border-radius: 12px;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform: translateY(15px);

    box-shadow:
        0 10px 30px rgba(14, 165, 233, 0.25);

    transition: 0.3s ease;

    z-index: 900;
}

.back-top.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

.back-top:hover {
    background: var(--primary-dark);

    transform: translateY(-3px);
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 850px) {

    .module-jumpnav {
        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 6px;

        -webkit-overflow-scrolling: touch;
    }

    .module-jumpnav a {
        flex-shrink: 0;
    }

    .erp-tree-group {
        padding-left: 18px;
    }

    .erp-tree-group::before {
        left: 3px;
    }

    .tree-card::after {
        left: -18px;

        width: 9px;
        height: 9px;
    }

    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        position: absolute;

        top: 76px;

        left: 15px;
        right: 15px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 10px;

        background: rgba(8, 11, 17, 0.97);

        border: 1px solid var(--border);

        border-radius: 14px;

        backdrop-filter: blur(20px);

        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.4);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 13px 14px;
    }

    .nav-links a.active::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 125px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;

        border-bottom: 1px solid var(--border);
    }

    .stat:last-child {
        border-bottom: none;
    }

    .section-header-top {
        align-items: flex-start;

        flex-direction: column;
    }

    .module-controls {
        flex-direction: column;
    }

    .search-box,
    .control-btn {
        width: 100%;
    }

    .tree-sublist {
        grid-template-columns: 1fr;
    }

    .tree-content {
        padding-left: 24px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 560px) {

    .logo {
        font-size: 19px;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
    }

    summary {
        min-height: 74px;

        padding: 14px 16px;
    }

    .summary-title-area {
        gap: 10px;
    }

    .module-number {
        display: none;
    }

    .module-icon {
        width: 39px;
        height: 39px;

        font-size: 15px;
    }

    .module-name {
        font-size: 14px;
    }

    .module-meta {
        font-size: 10px;
    }

    .arrow-icon {
        width: 28px;
        height: 28px;
    }

    .tree-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .tree-card.is-open .tree-content {
        padding-bottom: 18px;
    }

    .tree-sublist li {
        font-size: 11px;
    }

    .back-top {
        right: 15px;

        bottom: 15px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .cursor-glow {
        display: none;
    }

    .tree-card {
        opacity: 1 !important;

        transform: none !important;
    }

    .hero-content-box,
    .eyebrow,
    .hero h1,
    .hero-description,
    .hero-stats {
        animation: none !important;

        opacity: 1 !important;

        transform: none !important;
    }

    .hero-canvas {
        display: none;
    }
}