/* ===== ROLAND882 — SHARED DESIGN SYSTEM ===== */
/* Aurora / Glass — dark, quiet, premium. No grids, no matrix rain, no neon overload. */

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

:root {
    --cyber-blue: #7c6cff;       /* primary accent — indigo/violet */
    --electric-blue: #5b4fe0;    /* deeper indigo */
    --deep-blue: #12141f;
    --darker-blue: #08090d;
    --neon-cyan: #2dd4bf;        /* secondary accent — teal */
    --purple-accent: #f472b6;    /* tertiary accent — soft pink, used sparingly */
    --green-accent: #34d399;
    --text-white: #f3f4f8;
    --text-gray: #9aa1b4;
    --text-dim: #565d72;
    --glow-cyan: rgba(124,108,255,.45);
    --glow-blue: rgba(91,79,224,.35);
    --glow-purple: rgba(244,114,182,.35);
    --card-bg: rgba(255,255,255,.035);
    --card-border: rgba(255,255,255,.09);
    --card-border-hover: rgba(124,108,255,.5);
    --input-bg: rgba(255,255,255,.035);
    --nav-height: 76px;
    --radius: 16px;
    --ease: cubic-bezier(.16,1,.3,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--darker-blue);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* === BACKGROUND: soft aurora, no grid/scanline/matrix clutter === */
.bg-container {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1; overflow: hidden;
    pointer-events: none;
}
.bg-gradient {
    position: absolute; width: 100%; height: 100%;
    background: var(--darker-blue);
}
.bg-gradient::before, .bg-gradient::after {
    content: ''; position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
    border-radius: 50%; filter: blur(120px); opacity: .22;
    animation: aurora-drift 26s ease-in-out infinite alternate;
}
.bg-gradient::before {
    top: -18%; left: -12%;
    background: radial-gradient(circle, var(--cyber-blue), transparent 65%);
}
.bg-gradient::after {
    bottom: -20%; right: -10%;
    background: radial-gradient(circle, var(--neon-cyan), transparent 65%);
    animation-delay: -13s;
}
@keyframes aurora-drift {
    0%   { transform: translate(0,0) scale(1); }
    100% { transform: translate(4%, 5%) scale(1.08); }
}

/* faint depth vignette instead of a tech grid */
.grid-lines {
    position: absolute; width: 100%; height: 100%;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,108,255,.05), transparent 60%);
}

/* scan-line retired — kept as a no-op so existing markup needs no changes */
.scan-line { display: none; }

/* code-rain container now hosts soft floating orbs (see shared.js) instead of matrix text */
.code-rain { position: absolute; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.aurora-orb {
    position: absolute; border-radius: 50%; filter: blur(50px);
    opacity: 0; animation: orb-float linear infinite;
}
@keyframes orb-float {
    0%   { transform: translateY(10vh) scale(.8); opacity: 0; }
    12%  { opacity: .16; }
    88%  { opacity: .12; }
    100% { transform: translateY(-40vh) scale(1.15); opacity: 0; }
}

/* === NAV === */
nav {
    position: fixed; top: 0; width: 100%;
    height: var(--nav-height);
    padding: 0 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    background: rgba(8,9,13,.72);
    backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(255,255,255,.06);
    animation: nav-slide-in .6s var(--ease);
    transition: height .35s var(--ease), background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
nav.scrolled {
    height: calc(var(--nav-height) - 14px);
    background: rgba(8,9,13,.92);
    border-bottom-color: rgba(124,108,255,.18);
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
@keyframes nav-slide-in { from{opacity:0;transform:translateY(-100%)} to{opacity:1;transform:translateY(0)} }

/* === SCROLL PROGRESS === */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 2.5px; width: 0%;
    background: linear-gradient(90deg, var(--cyber-blue), var(--neon-cyan), var(--purple-accent));
    background-size: 200% 100%;
    animation: scroll-progress-shimmer 4s linear infinite;
    z-index: 1002;
    pointer-events: none;
}
@keyframes scroll-progress-shimmer { 0%{background-position:0% 0} 100%{background-position:200% 0} }

/* === CURSOR GLOW TRAIL === */
.cursor-glow {
    position: fixed; width: 500px; height: 500px; border-radius: 50%;
    pointer-events: none; z-index: 1;
    background: radial-gradient(circle, rgba(124,108,255,.05), transparent 70%);
    transform: translate(-50%,-50%);
    transition: opacity .6s ease; opacity: 0;
}
.cursor-glow.active { opacity: 1; }

/* === SECTION DIVIDER === */
.section-divider {
    position: relative; height: 1px; width: 100%;
    background: linear-gradient(90deg, transparent, rgba(124,108,255,.25), transparent);
}
.section-divider::before {
    content: ''; position: absolute; top: -1.5px; left: 50%;
    width: 44px; height: 4px; border-radius: 3px;
    background: linear-gradient(90deg, var(--cyber-blue), var(--neon-cyan));
    box-shadow: 0 0 16px var(--glow-cyan);
    transform: translateX(-50%);
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem; font-weight: 700;
    letter-spacing: .5px;
    color: var(--text-white);
    text-decoration: none;
    display: flex; align-items: center; gap: 0.6rem;
    transition: opacity .25s ease;
}
.nav-logo:hover { opacity: .82; }
.nav-logo .logo-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem; font-weight: 600;
    color: var(--cyber-blue);
}

.nav-links {
    display: flex; gap: 2.25rem;
    list-style: none; align-items: center;
}
.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: .92rem;
    transition: color .25s ease;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 0; height: 2px; border-radius: 2px;
    background: var(--cyber-blue);
    transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-back {
    color: var(--text-white);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    display: flex; align-items: center; gap: 0.5rem;
    transition: all .25s ease;
    padding: 0.55rem 1.1rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.02);
}
.nav-back:hover {
    background: rgba(124,108,255,.1);
    border-color: rgba(124,108,255,.4);
}

/* === SECTION HEADER === */
.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem; color: var(--cyber-blue);
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 1rem; opacity: 0.9;
}
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; letter-spacing: -0.5px;
    color: var(--text-white);
    margin-bottom: 1rem;
}
.section-title .accent {
    background: linear-gradient(120deg, var(--cyber-blue), var(--neon-cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-subtitle {
    font-size: 1.1rem; color: var(--text-gray);
    max-width: 600px; margin: 0 auto;
    line-height: 1.8;
}

/* === PAGE HEADER (sub-pages) === */
.page-header {
    padding: calc(var(--nav-height) + 4rem) 5% 3rem;
    text-align: center;
    position: relative;
}
.page-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-white);
    margin-bottom: 1rem;
}
.page-header p {
    font-size: 1.1rem; color: var(--text-gray); max-width: 600px; margin: 0 auto; line-height: 1.8;
}

/* === TOOL BREADCRUMB === */
.tool-breadcrumb {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem; color: var(--text-dim);
    margin-bottom: 0.5rem; justify-content: center;
    text-transform: uppercase; letter-spacing: 1px;
}
.tool-breadcrumb span { color: var(--cyber-blue); opacity: 0.6; }

/* === CARDS === */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.card:hover {
    border-color: var(--card-border-hover);
    box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 40px rgba(124,108,255,.06);
}

/* === BUTTONS === */
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.85rem 1.9rem;
    background: linear-gradient(135deg, var(--cyber-blue), var(--electric-blue));
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem; font-weight: 600;
    letter-spacing: .2px;
    text-decoration: none; border: none; cursor: pointer;
    border-radius: 12px;
    transition: all .3s var(--ease);
    position: relative; overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent);
    opacity: 0; transition: opacity 0.3s ease;
}
.btn-primary:hover {
    box-shadow: 0 8px 28px var(--glow-cyan);
    transform: translateY(-2px);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.85rem 1.9rem;
    background: transparent;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem; font-weight: 600;
    text-decoration: none; cursor: pointer;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    transition: all .3s ease;
}
.btn-secondary:hover {
    background: rgba(124,108,255,.08);
    border-color: rgba(124,108,255,.4);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    background: rgba(255,255,255,.04);
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem; font-weight: 500;
    text-decoration: none; cursor: pointer;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 10px;
    transition: all .25s ease;
}
.btn-ghost:hover {
    color: var(--text-white);
    border-color: rgba(124,108,255,.35);
    background: rgba(124,108,255,.08);
}

/* === INPUTS === */
input[type="text"],
input[type="number"],
input[type="email"],
textarea,
select {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    outline: none;
    -webkit-appearance: none;
}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: var(--cyber-blue);
    background: rgba(124,108,255,.05);
    box-shadow: 0 0 0 3px rgba(124,108,255,0.12);
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }

select option { background: var(--deep-blue); color: var(--text-white); }

label {
    display: block;
    font-size: 0.78rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--cyber-blue);
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.form-group { margin-bottom: 1.5rem; }

/* === CODE OUTPUT === */
.code-output {
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-white);
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-all;
    overflow-x: auto;
    position: relative;
}
.code-output .copy-btn {
    position: absolute; top: 0.75rem; right: 0.75rem;
    background: rgba(124,108,255,.1);
    border: 1px solid rgba(124,108,255,.3);
    color: var(--cyber-blue);
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem; font-weight: 600; letter-spacing: .5px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    cursor: pointer; transition: all 0.2s ease;
}
.code-output .copy-btn:hover {
    background: var(--cyber-blue); color: #fff;
}

/* === BADGE / TAG === */
.badge {
    display: inline-flex; align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem; font-weight: 600; letter-spacing: .3px;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    border: 1px solid;
}
.badge-cyan { color: var(--cyber-blue); border-color: rgba(124,108,255,0.3); background: rgba(124,108,255,0.1); }
.badge-purple { color: var(--purple-accent); border-color: rgba(244,114,182,0.3); background: rgba(244,114,182,0.1); }
.badge-green { color: var(--green-accent); border-color: rgba(52,211,153,0.3); background: rgba(52,211,153,0.1); }

/* === REVEAL ANIMATION === */
.reveal {
    opacity: 0; transform: translateY(24px) scale(.98); filter: blur(4px);
    transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s ease;
}
.reveal.active { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-right.active { opacity: 1; transform: translateX(0); }

/* === FOOTER === */
footer {
    padding: 5rem 5% 2.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(8,9,13,.9) 60%);
    border-top: 1px solid rgba(255,255,255,.06);
    position: relative;
}
.footer-content {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3.5rem;
}
.footer-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem; color: var(--text-white);
    margin-bottom: 1.25rem; letter-spacing: 0; font-weight: 600;
}
.footer-section p { color: var(--text-gray); line-height: 1.8; font-size: 0.95rem; margin-bottom: 1.5rem; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.75rem; }
.footer-section a {
    color: var(--text-gray); text-decoration: none;
    transition: color 0.2s ease; font-size: 0.95rem; font-weight: 400;
}
.footer-section a:hover { color: var(--text-white); }

.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-link {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gray); font-size: 1.05rem;
    text-decoration: none; transition: all 0.25s ease;
}
.social-link:hover {
    background: var(--cyber-blue); color: #fff;
    border-color: var(--cyber-blue);
    box-shadow: 0 6px 20px var(--glow-cyan);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.05);
    color: var(--text-dim); font-size: 0.85rem;
    display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.footer-bottom a { color: var(--text-gray); text-decoration: none; transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--text-white); }

/* === UTILITY === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.text-cyan { color: var(--cyber-blue); }
.text-gray { color: var(--text-gray); }
.mono { font-family: 'JetBrains Mono', monospace; }

/* === DIVIDER === */
.divider {
    display: flex; align-items: center; gap: 1rem;
    margin: 2rem 0; color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 1.5px;
}
.divider::before, .divider::after {
    content: ''; flex: 1;
    height: 1px; background: rgba(255,255,255,.08);
}

/* === BACK TO TOP === */
.to-top {
    position: fixed; right: 1.8rem; bottom: 1.8rem; z-index: 900;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(12,13,20,.7); border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    color: var(--text-white); font-size: 1.05rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; transform: translateY(16px) scale(.85); pointer-events: none;
    transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { border-color: var(--cyber-blue); box-shadow: 0 8px 24px var(--glow-cyan); }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); }
::-webkit-scrollbar-thumb { background: rgba(124,108,255,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124,108,255,0.55); }

/* === SELECTION === */
::selection { background: rgba(124,108,255,0.3); color: var(--text-white); }

/* === COMMAND PALETTE (Ctrl/Cmd+K) === */
.nav-right-group { display: flex; align-items: center; gap: 1.5rem; }
.cmdk-trigger {
    display: flex; align-items: center; gap: 0.6rem;
    background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1);
    color: var(--text-gray); border-radius: 10px; padding: 0.5rem 0.85rem;
    font-family: 'Inter', sans-serif; font-size: 0.85rem; cursor: pointer;
    transition: all .25s ease;
}
.cmdk-trigger:hover { border-color: rgba(124,108,255,.4); color: var(--text-white); background: rgba(124,108,255,.06); }
.cmdk-trigger kbd {
    font-family: 'JetBrains Mono', monospace; font-size: .68rem;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 5px; padding: .15rem .4rem; color: var(--text-dim);
}
@media (max-width: 900px) { .cmdk-trigger span { display: none; } }

.cmdk-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(5,6,10,.7); backdrop-filter: blur(6px);
    display: flex; align-items: flex-start; justify-content: center;
    padding: 12vh 1.5rem 2rem;
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
}
.cmdk-overlay.show { opacity: 1; pointer-events: auto; }
.cmdk-box {
    width: 100%; max-width: 560px;
    background: rgba(14,15,23,.92); border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px; backdrop-filter: blur(24px);
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
    transform: translateY(-16px) scale(.98);
    transition: transform .25s var(--ease);
    overflow: hidden;
}
.cmdk-overlay.show .cmdk-box { transform: translateY(0) scale(1); }
.cmdk-input-wrap {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.08);
    color: var(--text-dim);
}
.cmdk-input {
    flex: 1; background: none; border: none; padding: 0;
    color: var(--text-white); font-size: 1rem;
}
.cmdk-input:focus { box-shadow: none; }
.cmdk-input-wrap kbd {
    font-family: 'JetBrains Mono', monospace; font-size: .68rem;
    background: rgba(255,255,255,.06); border-radius: 5px; padding: .15rem .4rem;
}
.cmdk-results { max-height: 60vh; overflow-y: auto; padding: 0.5rem; }
.cmdk-item {
    display: flex; align-items: center; gap: 0.9rem;
    padding: 0.75rem 0.9rem; border-radius: 10px;
    text-decoration: none; color: var(--text-gray);
    transition: background .15s ease;
}
.cmdk-item i:first-child { font-size: 1.05rem; color: var(--cyber-blue); width: 20px; text-align: center; }
.cmdk-item-name { color: var(--text-white); font-size: 0.92rem; font-weight: 500; }
.cmdk-item-desc { font-size: 0.78rem; color: var(--text-dim); }
.cmdk-item.active, .cmdk-item:hover { background: rgba(124,108,255,.1); }
.cmdk-ext { margin-left: auto; opacity: .5; }
.cmdk-empty { padding: 2rem; text-align: center; color: var(--text-dim); font-size: 0.9rem; }

/* === GLOBAL TOAST === */
.toast-global {
    position: fixed; bottom: 1.8rem; left: 50%; z-index: 2100;
    transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
    display: flex; align-items: center; gap: 0.6rem;
    background: rgba(14,15,23,.95); border: 1px solid rgba(124,108,255,.3);
    color: var(--text-white); font-size: 0.88rem; font-weight: 500;
    padding: 0.8rem 1.4rem; border-radius: 999px;
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
    backdrop-filter: blur(16px);
    transition: opacity .3s ease, transform .3s var(--ease);
}
.toast-global.show { opacity: 1; transform: translate(-50%, 0); }
.toast-global i { color: var(--green-accent); }

/* === TOOL PIN + STRIPS (homepage) === */
.tool-pin {
    position: absolute; top: 1.1rem; right: 1.1rem; z-index: 2;
    width: 30px; height: 30px; border-radius: 8px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
    color: var(--text-dim); font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .2s ease;
}
.tool-pin:hover { color: var(--text-white); border-color: rgba(124,108,255,.4); }
.tool-pin.pinned { color: #ffc94d; border-color: rgba(255,201,77,.4); background: rgba(255,201,77,.08); }

.tool-strip { display: none; padding: 0 5%; margin: 0 0 2.5rem; }
.tool-strip-inner { max-width: 1200px; margin: 0 auto; }
.tool-strip-label {
    font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.85rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.strip-items { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.strip-chip {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.55rem 1rem; border-radius: 999px;
    background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09);
    color: var(--text-gray); text-decoration: none; font-size: 0.85rem;
    transition: all .2s ease;
}
.strip-chip:hover { color: var(--text-white); border-color: rgba(124,108,255,.4); background: rgba(124,108,255,.08); }
.strip-chip i { color: var(--cyber-blue); }

/* === EDITORIAL SYSTEM (section rail, marquee, line reveals, magnetic buttons) === */

/* fixed section-index rail, auto-built by shared.js from section[data-index] */
.section-rail {
    position: fixed; right: 2rem; top: 50%; transform: translateY(-50%);
    z-index: 500; display: flex; flex-direction: column; gap: 1.1rem;
    align-items: flex-end;
}
.section-rail a {
    display: flex; align-items: center; gap: 0.7rem;
    text-decoration: none; color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
    transition: color .25s ease;
}
.section-rail a .rail-label {
    opacity: 0; transform: translateX(6px);
    transition: opacity .25s ease, transform .25s ease;
    white-space: nowrap;
}
.section-rail a:hover .rail-label,
.section-rail a.active .rail-label { opacity: 1; transform: translateX(0); }
.section-rail a .rail-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,.15);
    transition: all .3s ease;
}
.section-rail a.active { color: var(--text-white); }
.section-rail a.active .rail-dot {
    background: var(--cyber-blue); box-shadow: 0 0 10px var(--glow-cyan);
    transform: scale(1.4);
}
@media (max-width: 900px) { .section-rail { display: none; } }

/* full-bleed editorial section */
.ed-section {
    position: relative; padding: 9rem 6% ; overflow: hidden;
    min-height: 60vh; display: flex; flex-direction: column; justify-content: center;
}
.ed-inner { max-width: 1300px; margin: 0 auto; width: 100%; }
.ed-kicker {
    display: flex; align-items: center; gap: 1rem;
    font-family: 'JetBrains Mono', monospace; font-size: 0.78rem;
    color: var(--text-dim); letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.ed-kicker .ed-num { color: var(--cyber-blue); font-weight: 600; }
.ed-kicker::after { content: ''; flex: 1; max-width: 120px; height: 1px; background: rgba(255,255,255,.1); }
.ed-huge {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.6rem, 7vw, 6rem);
    font-weight: 700; line-height: .98; letter-spacing: -2px;
    color: var(--text-white);
}

/* split-line reveal (mask + slide) */
.line-mask { display: block; overflow: hidden; }
.line-inner {
    display: block; transform: translateY(115%);
    transition: transform .9s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
}
.line-mask.in .line-inner { transform: translateY(0); }

/* infinite marquee ticker */
.marquee {
    position: relative; overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 1.1rem 0;
    white-space: nowrap;
}
.marquee-track {
    display: inline-flex; gap: 3rem;
    animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
    display: inline-flex; align-items: center; gap: 1rem;
    font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 600;
    color: var(--text-dim); letter-spacing: .3px;
}
.marquee-item i { color: var(--cyber-blue); font-size: .6rem; }

/* magnetic buttons */
.btn-magnetic { transition: transform .25s var(--ease); will-change: transform; }

/* editorial numbered tool rows */
.tool-rows { display: flex; flex-direction: column; }
.tool-row {
    position: relative;
    display: grid; grid-template-columns: 70px 1fr auto auto auto;
    align-items: center; gap: 1.75rem;
    padding: 1.9rem 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    text-decoration: none; color: inherit;
    cursor: pointer; overflow: hidden;
}
.tool-rows .tool-row:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
.tool-row::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(90deg, rgba(124,108,255,.09), transparent 70%);
    transform: translateX(-100%);
    transition: transform .5s var(--ease);
}
.tool-row:hover::before { transform: translateX(0); }
.tool-row-num {
    font-family: 'JetBrains Mono', monospace; font-size: .85rem; color: var(--text-dim);
    position: relative; z-index: 1;
}
.tool-row-main { position: relative; z-index: 1; min-width: 0; }
.tool-row-title {
    font-family: 'Space Grotesk', sans-serif; font-weight: 600;
    font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -.5px;
    color: var(--text-white); margin-bottom: .3rem;
    transition: color .25s ease, transform .35s var(--ease);
    display: inline-block;
}
.tool-row:hover .tool-row-title { color: var(--cyber-blue); transform: translateX(6px); }
.tool-row-desc {
    color: var(--text-gray); font-size: .92rem; max-width: 560px;
    overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
    -webkit-line-clamp: 1; -webkit-box-orient: vertical;
}
.tool-row-icon {
    position: relative; z-index: 1;
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gray); font-size: 1.1rem;
    transition: all .3s ease;
}
.tool-row:hover .tool-row-icon { color: var(--cyber-blue); border-color: rgba(124,108,255,.4); background: rgba(124,108,255,.08); }
.tool-row-arrow {
    position: relative; z-index: 1;
    color: var(--text-dim); font-size: 1.2rem;
    transition: all .35s var(--ease);
}
.tool-row:hover .tool-row-arrow { color: var(--text-white); transform: translateX(6px); }
.tool-row .tool-pin { position: static; margin-left: .5rem; z-index: 1; }
@media (max-width: 700px) {
    .tool-row { grid-template-columns: 40px 1fr auto; }
    .tool-row-icon, .tool-row .tool-pin { display: none; }
    .tool-row-desc { -webkit-line-clamp: 2; white-space: normal; }
}

/* big statement / pull-quote */
.ed-quote {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4.2vw, 3.4rem);
    font-weight: 600; line-height: 1.25; letter-spacing: -1px;
    max-width: 1000px;
}
.ed-quote .accent {
    background: linear-gradient(120deg, var(--cyber-blue), var(--neon-cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* numbers showcase row */
.ed-numbers { display: flex; flex-wrap: wrap; gap: 3.5rem 5rem; margin-top: 3rem; }
.ed-number-item { min-width: 140px; }
.ed-number-value {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -1px;
    color: var(--text-white); line-height: 1;
}
.ed-number-label {
    font-family: 'JetBrains Mono', monospace; font-size: .75rem;
    color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.5px;
    margin-top: .6rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .nav-links { display: none; }
}
