/* ============================================
   COMPOSER 2.5 FAST - CYBERPUNK LANDING PAGE
   ============================================ */

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

:root {
    --bg-deep: #0A0A0A;
    --bg-dark: #0d0d14;
    --bg-mid: #12121f;
    --bg-card: #141428;
    --bg-card-hover: #1a1a38;

    --accent-cyan: #00FFFF;
    --accent-pink: #FF00FF;
    --accent-green: #39FF14;
    --accent-yellow: #FFFF00;
    --accent-purple: #9d4edd;

    --text-primary: #e8e8f0;
    --text-secondary: #7a7a9a;
    --text-dim: #4a4a6a;

    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.4), 0 0 60px rgba(0, 255, 255, 0.1);
    --glow-pink: 0 0 20px rgba(255, 0, 255, 0.4), 0 0 60px rgba(255, 0, 255, 0.1);
    --glow-green: 0 0 20px rgba(57, 255, 20, 0.4);

    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    --font-body: 'Roboto Mono', monospace;

    --nav-height: 70px;
    --container-max: 1200px;
    --section-padding: 120px;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) var(--bg-dark);
}

html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: var(--bg-dark); }
html::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 3px; }

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
}

/* === LOADER === */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
    position: relative;
}

.loader-scanline {
    position: absolute;
    inset: -100px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.03) 2px,
        rgba(0, 255, 255, 0.03) 4px
    );
    animation: scanMove 4s linear infinite;
    pointer-events: none;
}

@keyframes scanMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

.loader-hex-svg {
    width: 120px;
    height: 120px;
    margin-bottom: 32px;
}

.hex {
    fill: none;
    stroke: var(--accent-cyan);
    stroke-width: 1.5;
}

.hex-1 { animation: hexPulse 2s ease-in-out infinite; }
.hex-2 { animation: hexPulse 2s ease-in-out 0.3s infinite; stroke: var(--accent-pink); }
.hex-3 { animation: hexPulse 2s ease-in-out 0.6s infinite; stroke: var(--accent-green); }

@keyframes hexPulse {
    0%, 100% { opacity: 0.3; stroke-width: 1; }
    50% { opacity: 1; stroke-width: 2.5; }
}

.loader-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 16px;
}

.loader-progress {
    width: 240px;
    height: 3px;
    background: rgba(0, 255, 255, 0.1);
    margin: 0 auto 12px;
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
    animation: loadBar 2.5s ease-out forwards;
    box-shadow: var(--glow-cyan);
}

@keyframes loadBar {
    0% { width: 0; }
    100% { width: 100%; }
}

.loader-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
}

/* === CURSOR === */
.cursor-follower,
.cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 255, 255, 0.5);
    transform: translate(-50%, -50%);
}

.cursor-follower.active { opacity: 1; }
.cursor-follower.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--accent-pink);
    background: rgba(255, 0, 255, 0.05);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    transform: translate(-50%, -50%);
    box-shadow: var(--glow-cyan);
}

.cursor-dot.active { opacity: 1; }

/* === PARTICLES === */
.particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* === SOUND TOGGLE === */
.sound-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background: rgba(10, 10, 10, 0.8);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 1rem;
    cursor: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.sound-toggle:hover {
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.sound-toggle .sound-off { display: none; }
.sound-toggle.muted .sound-on { display: none; }
.sound-toggle.muted .sound-off { display: inline; }
.sound-toggle.muted { color: var(--text-dim); border-color: var(--text-dim); }

/* === NAV === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.nav-logo-bracket { color: var(--accent-cyan); }
.nav-logo-text { color: var(--text-primary); }

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent-cyan);
    transition: width 0.3s, left 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
}

.nav-link.active::after {
    width: 100%;
    left: 0;
}

.nav-link-index {
    font-size: 0.55rem;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.nav-hud {
    display: flex;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

.nav-hud-time { color: var(--accent-green); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
    padding: 8px;
}

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--accent-cyan);
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === MOBILE MENU === */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    transition: color 0.3s;
}

.mobile-menu-link:hover { color: var(--accent-cyan); }

.mobile-menu-index {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-pink);
    margin-right: 8px;
}

/* === SCROLL PROGRESS === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 1001;
    background: rgba(0, 255, 255, 0.05);
}

.scroll-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
    box-shadow: var(--glow-cyan);
    transition: width 0.1s linear;
}

/* === HERO === */
.section-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 24px 80px;
    max-width: var(--container-max);
    margin: 0 auto;
    gap: 40px;
    overflow: hidden;
}

.hero-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(255, 0, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(57, 255, 20, 0.04) 0%, transparent 40%);
}

.hero-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.12) 2px,
        rgba(0, 0, 0, 0.12) 4px
    );
    pointer-events: none;
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: noiseShift 0.5s steps(2) infinite;
}

@keyframes noiseShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-5%, -5%); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-tag-line {
    width: 40px;
    height: 1px;
    background: var(--accent-cyan);
}

.hero-tag-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-cyan);
    letter-spacing: 0.2em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-title-accent {
    display: block;
    color: var(--accent-cyan);
    text-shadow: var(--glow-cyan);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    min-height: 1.7em;
}

.typing-cursor {
    color: var(--accent-cyan);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    cursor: none;
    overflow: hidden;
    transition: transform 0.2s;
}

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

.btn-primary {
    background: transparent;
    color: var(--accent-cyan);
    border: none;
}

.btn-primary .btn-border {
    position: absolute;
    inset: 0;
    border: 1px solid var(--accent-cyan);
    transition: box-shadow 0.3s;
}

.btn-primary:hover .btn-border {
    box-shadow: var(--glow-cyan), inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.btn-arrow { transition: transform 0.3s; }
.btn-secondary:hover .btn-arrow { transform: translateX(4px); }

.btn-large { padding: 18px 48px; font-size: 0.85rem; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-green);
    display: block;
}

.hero-stat-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 255, 255, 0.2);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.hero-orb {
    position: relative;
    width: 280px;
    height: 280px;
}

.hero-orb-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
}

.hero-orb-ring-1 { animation: orbSpin 20s linear infinite; }
.hero-orb-ring-2 {
    inset: 20px;
    border-color: rgba(255, 0, 255, 0.3);
    animation: orbSpin 15s linear infinite reverse;
}
.hero-orb-ring-3 {
    inset: 40px;
    border-color: rgba(57, 255, 20, 0.3);
    animation: orbSpin 10s linear infinite;
}

@keyframes orbSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-orb-core {
    position: absolute;
    inset: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
    animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

.hero-code-stream {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(0, 255, 255, 0.4);
    line-height: 1.8;
    writing-mode: vertical-rl;
    max-height: 300px;
    overflow: hidden;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

.hero-scroll-text {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.2em;
}

.hero-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: rgba(0, 255, 255, 0.4);
    border-style: solid;
    border-width: 0;
}

.hero-corner-tl { top: 80px; left: 24px; border-top-width: 2px; border-left-width: 2px; }
.hero-corner-tr { top: 80px; right: 24px; border-top-width: 2px; border-right-width: 2px; }
.hero-corner-bl { bottom: 40px; left: 24px; border-bottom-width: 2px; border-left-width: 2px; }
.hero-corner-br { bottom: 40px; right: 24px; border-bottom-width: 2px; border-right-width: 2px; }

/* === GLITCH TEXT === */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.section-header:hover .glitch-text::before,
.link-content:hover .link-title.glitch-text::before {
    opacity: 0.8;
    color: var(--accent-pink);
    animation: glitch1 0.3s linear;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    transform: translate(-2px, 0);
}

.section-header:hover .glitch-text::after,
.link-content:hover .link-title.glitch-text::after {
    opacity: 0.8;
    color: var(--accent-cyan);
    animation: glitch2 0.3s linear;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    transform: translate(2px, 0);
}

@keyframes glitch1 {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 2px); }
    40% { transform: translate(3px, -2px); }
    100% { transform: translate(-2px, 0); }
}

@keyframes glitch2 {
    0% { transform: translate(0); }
    25% { transform: translate(2px, -3px); }
    50% { transform: translate(-2px, 3px); }
    100% { transform: translate(2px, 0); }
}

/* === SECTION HEADER === */
.section-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-index {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-pink);
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

.section-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
    margin: 20px auto 0;
}

/* === MANIFESTO === */
.manifesto-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.terminal-window {
    border: 1px solid rgba(0, 255, 255, 0.2);
    background: rgba(10, 10, 20, 0.8);
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 255, 255, 0.05);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-dim);
}

.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-left: 8px;
}

.terminal-body { padding: 20px; }

.terminal-line {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.terminal-prompt { color: var(--accent-green); margin-right: 8px; }
.terminal-line-highlight { color: var(--text-primary); }
.text-accent { color: var(--accent-cyan); }

.terminal-cursor .terminal-prompt + span,
.terminal-cursor::after {
    animation: blink 1s step-end infinite;
}

.latency-chart {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.latency-bar {
    position: relative;
}

.latency-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 8px;
}

.latency-fill {
    height: 8px;
    width: var(--width);
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
    transition: width 1.5s ease;
}

.latency-bar-old .latency-fill {
    background: linear-gradient(90deg, #ff4444, #ff8844);
}

.latency-bar-new .latency-fill {
    background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
    box-shadow: var(--glow-green);
}

.latency-value {
    font-family: var(--font-display);
    font-size: 1.2rem;
    position: absolute;
    right: 0;
    top: 0;
    color: var(--text-primary);
}

.manifesto-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(57, 255, 20, 0.3);
    background: rgba(57, 255, 20, 0.05);
}

.alert-icon { font-size: 1.2rem; }

.alert-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-green);
    letter-spacing: 0.05em;
}

/* === FEATURES === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 255, 0.08);
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 255, 0.25);
    background: var(--bg-card-hover);
}

.feature-card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-pink));
    transition: height 0.4s ease;
}

.feature-card:hover .feature-card-border { height: 100%; }

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.feature-icon-svg { width: 100%; height: 100%; }

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-pink);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-metric-value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-green);
}

.feature-metric-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

/* === CORE === */
.core-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.core-diagram {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 40px 0;
}

.core-node {
    width: 180px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background: var(--bg-card);
    position: relative;
    z-index: 2;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.core-node:hover {
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.core-node-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    display: block;
    color: var(--accent-cyan);
}

.core-node-desc {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    margin-top: 4px;
    display: block;
}

.core-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-pink));
    position: relative;
}

.core-connector::after {
    content: '▼';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: var(--accent-pink);
}

.core-pulse {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 255, 0.1);
    animation: corePulseRing 3s ease-out infinite;
    pointer-events: none;
}

@keyframes corePulseRing {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.arch-spec-item {
    border: 1px solid rgba(0, 255, 255, 0.1);
    margin-bottom: 8px;
    overflow: hidden;
}

.arch-spec-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    cursor: none;
    text-align: left;
    transition: background 0.3s;
}

.arch-spec-header:hover { background: var(--bg-card-hover); }

.arch-spec-index {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-pink);
}

.arch-spec-toggle {
    margin-left: auto;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    transition: transform 0.3s;
}

.arch-spec-item.open .arch-spec-toggle { transform: rotate(45deg); }

.arch-spec-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.arch-spec-item.open .arch-spec-body {
    max-height: 200px;
    padding: 0 20px 20px;
}

.arch-spec-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === TIMELINE === */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-pink), var(--accent-green));
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    flex-shrink: 0;
    width: 40px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 2px solid var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    position: relative;
    z-index: 1;
}

.timeline-dot-final {
    border-color: var(--accent-green);
    box-shadow: var(--glow-green);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.timeline-card {
    flex: 1;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: border-color 0.3s, transform 0.3s;
}

.timeline-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateX(4px);
}

.timeline-card-final {
    border-color: rgba(57, 255, 20, 0.3);
    background: rgba(57, 255, 20, 0.03);
}

.timeline-phase {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent-pink);
    letter-spacing: 0.2em;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 8px 0;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.timeline-date {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    letter-spacing: 0.1em;
}

/* === LINK / CTA === */
.section-link {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.link-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.link-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-pink);
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 16px;
}

.link-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.link-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 48px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.03);
    min-width: 80px;
}

.countdown-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-shadow: var(--glow-cyan);
}

.countdown-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    margin-top: 4px;
}

.countdown-sep {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent-pink);
    animation: blink 1s step-end infinite;
}

.connect-form {
    max-width: 440px;
    margin: 0 auto;
}

.form-group { margin-bottom: 24px; text-align: left; }

.form-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.form-input::placeholder { color: var(--text-dim); }

.connect-success {
    padding: 40px;
    border: 1px solid rgba(57, 255, 20, 0.3);
    background: rgba(57, 255, 20, 0.05);
}

.success-icon {
    font-size: 2rem;
    color: var(--accent-green);
    display: block;
    margin-bottom: 16px;
}

.success-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.success-sub {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

/* === FOOTER === */
.footer {
    padding: 60px 0 32px;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.footer-link:hover { color: var(--accent-cyan); }

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 255, 0.2);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.social-link:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.footer-status {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: var(--glow-green);
    animation: blink 2s ease-in-out infinite;
}

/* === SCROLL ANIMATIONS === */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .section-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual { min-height: 280px; order: -1; }
    .hero-orb { width: 200px; height: 200px; }
    .hero-cta-group { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-code-stream { display: none; }

    .manifesto-grid,
    .core-layout {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social { justify-content: center; }
    .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    body { cursor: auto; }

    .cursor-follower,
    .cursor-dot { display: none; }

    .nav-links,
    .nav-hud { display: none; }

    .nav-toggle { display: flex; }

    .hero-corner { display: none; }

    .countdown {
        flex-wrap: wrap;
    }

    .countdown-item {
        min-width: 64px;
        padding: 12px 14px;
    }

    .countdown-value { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html { scroll-behavior: auto; }
}