:root {
    --bg: #f4f7f9;
    --bg2: #ffffff;
    --bg3: #eef1f5;
    --bg4: #dde3ea;
    --border: rgba(16, 185, 129, 0.3);
    --border2: rgba(0, 0, 0, 0.06);
    --cyan: #059669;
    --cyan-dim: rgba(5, 150, 105, 0.10);
    --amber: #d97706;
    --amber-dim: rgba(217, 119, 6, 0.10);
    --green: #16a34a;
    --red: #dc2626;
    --purple: #7c3aed;
    --blue: #2563eb;
    --text: #1e293b;
    --text-dim: #475569;
    --text-faint: #94a3b8;
    --heading: #0f172a;
    --mono: 'Roboto Mono', monospace;
    --sans: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    --display: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    --gradient-primary: linear-gradient(135deg, #059669, #0891b2);
    --gradient-warm: linear-gradient(135deg, #d97706, #dc2626);
    --gradient-subtle: linear-gradient(135deg, #059669, #2563eb);
    --glass: rgba(244, 247, 249, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    --card-shadow-hover: 0 8px 30px rgba(5, 150, 105, 0.12);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg3);
}

::-webkit-scrollbar-thumb {
    background: var(--bg4);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-faint);
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    transition: background 0.3s, box-shadow 0.3s;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 var(--glass-border);
}

.nav-logo {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--heading);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.02em;
}

.nav-logo span {
    color: var(--cyan);
}

.nav-badge {
    background: var(--bg3);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-family: var(--mono);
    font-size: 0.6rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.06em;
}

.nav-links {
    display: flex;
    gap: 0.2rem;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links a {
    color: var(--text-faint);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.nav-links a:hover {
    color: var(--heading);
}

.nav-links a.active {
    color: var(--heading);
    background: var(--bg4);
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out-expo);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE NAV OVERLAY */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(244, 247, 249, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s;
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.7rem 2rem;
    border-radius: 8px;
    transition: all 0.25s;
    transform: translateY(10px);
    opacity: 0;
}

.mobile-nav.open a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--heading);
    background: var(--bg4);
}

.progress-bar {
    position: fixed;
    top: 60px;
    left: 0;
    height: 2px;
    background: var(--gradient-primary);
    z-index: 999;
    width: 0%;
    transition: width 0.15s;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.07) 0%, transparent 65%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 15%, transparent 75%);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg3);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-family: var(--mono);
    font-size: 0.72rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    letter-spacing: 0.04em;
    animation: fadeUp 0.6s ease both;
}

.hero-tag::before {
    content: '●';
    font-size: 0.45rem;
    color: var(--cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

h1.hero-title {
    font-family: var(--display);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--heading);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.6s 0.1s ease both;
}

h1.hero-title em {
    font-style: normal;
    color: var(--cyan);
    position: relative;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 560px;
    margin: 0 auto 3rem;
    font-weight: 300;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
    background: var(--cyan);
    color: #ffffff;
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.75rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    filter: brightness(1.1);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-ghost {
    color: var(--text);
    font-family: var(--display);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.75rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid var(--bg4);
    transition: all 0.2s ease;
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--text-faint);
    color: var(--heading);
    transform: translateY(-1px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeUp 0.6s 0.4s ease both;
}

.stat {
    text-align: center;
}

.stat-num {
    font-family: var(--mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-faint);
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SECTIONS */
.section {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-divider {
    border: none;
    border-top: 1px solid var(--glass-border);
    max-width: 900px;
    margin: 0 auto;
}

.section-num {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--cyan);
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-num::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--cyan);
    border-radius: 1px;
    opacity: 0.5;
}

h2.section-title {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--heading);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 680px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

h3 {
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading);
    margin: 2rem 0 0.8rem;
    letter-spacing: -0.01em;
}

h4 {
    font-family: var(--display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cyan);
    margin: 1.5rem 0 0.5rem;
}

p {
    color: var(--text);
    margin-bottom: 1rem;
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.card {
    background: var(--bg2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.4rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-2px);
    border-color: var(--bg4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.card h4 {
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
    color: var(--heading);
}

.card p {
    font-size: 0.88rem;
    color: var(--text-dim);
    margin: 0;
}

/* CODE BLOCKS */
.code-block {
    background: #f8fafc;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
    margin: 1.5rem 0;
    font-family: var(--mono);
    position: relative;
    transition: border-color 0.3s;
}

.code-block:hover {
    border-color: var(--bg4);
}

.code-header {
    background: var(--bg2);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0.7;
}

.code-dots span:nth-child(1) {
    background: #ef4444;
}

.code-dots span:nth-child(2) {
    background: #eab308;
}

.code-dots span:nth-child(3) {
    background: #22c55e;
}

.code-lang {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-faint);
    letter-spacing: 0.06em;
}

.code-copy {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-faint);
    font-family: var(--mono);
    font-size: 0.62rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.code-copy:hover {
    background: var(--bg4);
    color: var(--text);
    border-color: var(--bg4);
}

.code-copy.copied {
    background: rgba(34, 197, 94, 0.12);
    color: var(--green);
    border-color: rgba(34, 197, 94, 0.25);
}

.code-body {
    padding: 1rem 1.2rem;
    font-size: 0.82rem;
    line-height: 1.75;
    overflow-x: auto;
    white-space: pre;
}

.kw {
    color: #7c3aed;
}

.str {
    color: #16a34a;
}

.cm {
    color: #94a3b8;
    font-style: italic;
}

.fn {
    color: #0891b2;
}

.nu {
    color: #ea580c;
}

.ty {
    color: #2563eb;
}

.at {
    color: #dc2626;
}

.hl {
    color: #1e293b;
}

.acc {
    color: #059669;
}

/* LISTS */
ul.feature-list,
ol.feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

ul.feature-list li,
ol.feature-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--text);
}

ul.feature-list li::before {
    content: '▸';
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 0.05rem;
}

ol.feature-list {
    counter-reset: ol;
}

ol.feature-list li::before {
    counter-increment: ol;
    content: counter(ol, decimal-leading-zero);
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* TAGS */
.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0;
}

.tag {
    background: var(--bg3);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-family: var(--mono);
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
    border-radius: 5px;
}

.tag.cyan {
    border-color: rgba(16, 185, 129, 0.25);
    color: var(--cyan);
    background: var(--cyan-dim);
}

.tag.amber {
    border-color: rgba(245, 158, 11, 0.25);
    color: var(--amber);
    background: var(--amber-dim);
}

.tag.green {
    border-color: rgba(52, 211, 153, 0.25);
    color: var(--green);
    background: rgba(52, 211, 153, 0.08);
}

/* HIGHLIGHT BOX */
.highlight-box {
    border-left: 2px solid var(--cyan);
    background: var(--bg2);
    border-radius: 0 8px 8px 0;
    padding: 1.2rem 1.4rem;
    margin: 1.5rem 0;
    transition: transform 0.2s ease;
}

.highlight-box:hover {
    transform: translateX(3px);
}

.highlight-box.amber {
    border-color: var(--amber);
}

.highlight-box.green {
    border-color: var(--green);
}

.highlight-box .box-title {
    font-family: var(--mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.highlight-box.amber .box-title {
    color: var(--amber);
}

.highlight-box.green .box-title {
    color: var(--green);
}

.highlight-box p {
    margin: 0;
    font-size: 0.92rem;
}

/* ARCHITECTURE DIAGRAM */
.arch-diagram {
    background: var(--bg2);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 2rem;
    margin: 1.5rem 0;
    text-align: center;
    font-family: var(--mono);
    font-size: 0.82rem;
}

.arch-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.arch-node {
    background: var(--bg3);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    color: var(--text);
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.arch-node:hover {
    border-color: var(--bg4);
}

.arch-node.primary {
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--cyan);
}

.arch-node.secondary {
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--amber);
}

.arch-arrow {
    color: var(--text-faint);
    font-size: 1.1rem;
}

/* TABLE */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

th {
    background: var(--bg2);
    padding: 0.7rem 1rem;
    text-align: left;
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    border-bottom: 1px solid var(--glass-border);
    font-weight: 500;
}

th:not(:last-child) {
    border-right: 1px solid var(--glass-border);
}

td {
    padding: 0.65rem 1rem;
    color: var(--text-dim);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

td:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.04);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(5, 150, 105, 0.03);
}

/* FOLDER TREE */
.folder-tree {
    white-space: pre;
    overflow-x: auto;
    background: #f8fafc;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
    font-family: var(--mono);
    font-size: 0.8rem;
    line-height: 2;
    margin: 1.5rem 0;
    transition: border-color 0.2s;
}

.folder-tree:hover {
    border-color: var(--bg4);
}

.tree-dir {
    color: var(--cyan);
}

.tree-file {
    color: var(--text-dim);
}

.tree-indent {
    padding-left: 1.2rem;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.faq-item {
    background: var(--bg2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--bg4);
}

.faq-item.open {
    border-color: rgba(5, 150, 105, 0.25);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.3rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--heading);
    user-select: none;
    gap: 1rem;
}

.faq-q:hover {
    color: var(--cyan);
}

.faq-toggle {
    color: var(--text-dim);
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--bg3);
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    color: var(--cyan);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s;
    font-size: 0.9rem;
    color: var(--text-dim);
    padding: 0 1.3rem;
}

.faq-item.open .faq-a {
    max-height: 600px;
    padding: 0 1.3rem 1.2rem;
}

/* CHECKLIST */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.check-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.9rem;
}

.check-item .check {
    color: var(--green);
    flex-shrink: 0;
}

.check-item .cross {
    color: var(--red);
    flex-shrink: 0;
}

/* ROADMAP */
.roadmap {
    position: relative;
    padding-left: 2.5rem;
    margin: 2rem 0;
}

.roadmap::before {
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--bg4), transparent);
}

.roadmap-stage {
    position: relative;
    margin-bottom: 2.5rem;
}

.roadmap-stage::before {
    content: '';
    position: absolute;
    left: -2.1rem;
    top: 0.25rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg4);
    border: 2px solid var(--cyan);
    box-shadow: none;
}

.stage-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.stage-num {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--cyan);
    letter-spacing: 0.08em;
}

.stage-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--heading);
}

.stage-time {
    margin-left: auto;
    background: var(--amber-dim);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--amber);
    font-family: var(--mono);
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.stage-body {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 5rem 2rem 3rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-faint);
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(5, 150, 105, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

footer .footer-logo {
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 0.7rem;
    position: relative;
    letter-spacing: -0.02em;
}

footer .footer-logo span {
    color: var(--cyan);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 500;
    transition: color 0.25s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-divider {
    width: 40px;
    height: 1px;
    background: var(--bg4);
    margin: 1.5rem auto;
    border-radius: 1px;
}

.footer-author {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-faint);
    text-decoration: none;
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg3);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--bg4);
    color: var(--heading);
    border-color: var(--bg4);
    transform: translateY(-2px);
}

/* HERO FLOATING ORBS */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    animation: floatOrb 15s ease-in-out infinite;
}

.hero-orb-1 {
    width: 350px;
    height: 350px;
    background: rgba(5, 150, 105, 0.07);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 280px;
    height: 280px;
    background: rgba(8, 145, 178, 0.07);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.hero-orb-3 {
    width: 220px;
    height: 220px;
    background: rgba(37, 99, 235, 0.05);
    bottom: 10%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(25px, -25px) scale(1.05);
    }

    66% {
        transform: translate(-15px, 15px) scale(0.97);
    }
}

/* PLATFORM SELECTOR */
.platform-selector {
    position: sticky;
    top: 60px;
    z-index: 998;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0 2rem;
}

.platform-tab {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-faint);
    padding: 0.65rem 1.3rem;
    cursor: pointer;
    border: none;
    background: none;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.platform-tab:hover {
    color: var(--text);
}

.platform-tab.active {
    color: var(--cyan);
}

.platform-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cyan);
    border-radius: 2px 2px 0 0;
}

.platform-tab-icon {
    font-size: 0.9rem;
    line-height: 1;
}

.platform-content {
    display: none;
}

.platform-content.active {
    display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 7rem 1.5rem 5rem;
    }

    h1.hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .hero-sub {
        font-size: 1rem;
    }

    .section {
        padding: 3.5rem 1.5rem;
    }

    .arch-flow {
        flex-direction: column !important;
    }

    .stage-header {
        flex-wrap: wrap;
    }

    .stage-time {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    table {
        font-size: 0.8rem;
    }

    th,
    td {
        padding: 0.5rem 0.7rem;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .platform-selector {
        gap: 0;
        padding: 0 0.5rem;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .platform-tab {
        font-size: 0.7rem;
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-ghost {
        width: 100%;
        text-align: center;
    }

    .tag-group {
        gap: 0.35rem;
    }
}