/* ============================================
   PROJECT CHIMERA - CYBERPUNK LANDING PAGE
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep: #050508;
    --bg-dark: #0a0a10;
    --bg-mid: #0f0f1a;
    --bg-card: #111125;
    --bg-card-hover: #161635;

    --accent-cyan: #00f0ff;
    --accent-pink: #ff00e5;
    --accent-green: #39ff14;
    --accent-yellow: #ffe600;
    --accent-purple: #b24dff;
    --accent-orange: #ff6b35;

    --text-primary: #e0e0f0;
    --text-secondary: #8888aa;
    --text-dim: #555570;

    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.4), 0 0 60px rgba(0, 240, 255, 0.1);
    --glow-pink: 0 0 20px rgba(255, 0, 229, 0.4), 0 0 60px rgba(255, 0, 229, 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 30px;
}

/* === CUSTOM CURSOR === */
.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, opacity 0.3s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
    mix-blend-mode: difference;
}

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

.cursor-follower.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--accent-pink);
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* === PARTICLE CANVAS === */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* === LOADING SCREEN === */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-deep);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-scanline {
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    animation: loaderScan 2s ease-in-out infinite;
}

@keyframes loaderScan {
    0% { top: -10%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 110%; opacity: 0; }
}

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

.hex {
    fill: none;
    stroke-width: 1;
}

.hex-1 {
    stroke: var(--accent-cyan);
    opacity: 0.3;
    animation: hexPulse 2s ease-in-out infinite;
}

.hex-2 {
    stroke: var(--accent-pink);
    opacity: 0.5;
    animation: hexPulse 2s ease-in-out infinite 0.3s;
}

.hex-3 {
    stroke: var(--accent-cyan);
    opacity: 0.8;
    animation: hexPulse 2s ease-in-out infinite 0.6s;
}

@keyframes hexPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.loader-text {
    margin-top: 30px;
}

.loader-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-cyan);
    letter-spacing: 4px;
    display: block;
    margin-bottom: 15px;
}

.loader-progress {
    width: 200px;
    height: 2px;
    background: var(--bg-mid);
    margin: 0 auto 10px;
    overflow: hidden;
    border-radius: 1px;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
    animation: loaderProgress 2.5s ease-in-out forwards;
}

@keyframes loaderProgress {
    0% { width: 0%; }
    30% { width: 35%; }
    60% { width: 70%; }
    100% { width: 100%; }
}

.loader-status {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* === SCROLL PROGRESS === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 9999;
    background: transparent;
}

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

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

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

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-logo-bracket {
    color: var(--accent-cyan);
    font-weight: 400;
}

.nav-logo-text {
    color: var(--text-primary);
    transition: text-shadow 0.3s ease;
}

.nav-logo:hover .nav-logo-text {
    text-shadow: var(--glow-cyan);
}

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

.nav-link {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link-index {
    font-size: 9px;
    color: var(--text-dim);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--text-dim);
    padding: 8px;
    cursor: none;
    transition: border-color 0.3s ease;
}

.nav-toggle:hover {
    border-color: var(--accent-cyan);
}

.nav-toggle-line {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.open .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.nav-hud {
    display: flex;
    gap: 20px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.95);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(20px);
}

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

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

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 6px;
    color: var(--text-secondary);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

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

.mobile-menu-index {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
}

/* === SECTION BASE === */
.section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

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

.section-index {
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--accent-cyan);
    letter-spacing: 6px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.6;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: 6px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(16px, 2vw, 22px);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 4px;
}

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

/* === 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;
}

.glitch-text:hover::before {
    animation: glitch1 0.3s ease forwards;
    color: var(--accent-cyan);
    z-index: -1;
}

.glitch-text:hover::after {
    animation: glitch2 0.3s ease forwards;
    color: var(--accent-pink);
    z-index: -1;
}

@keyframes glitch1 {
    0% { opacity: 0; transform: translate(0); }
    20% { opacity: 0.8; transform: translate(-3px, 2px); }
    40% { opacity: 0.6; transform: translate(2px, -1px); }
    60% { opacity: 0.4; transform: translate(-1px, 1px); }
    80% { opacity: 0.2; transform: translate(1px, -2px); }
    100% { opacity: 0; transform: translate(0); }
}

@keyframes glitch2 {
    0% { opacity: 0; transform: translate(0); }
    20% { opacity: 0.8; transform: translate(3px, -2px); }
    40% { opacity: 0.6; transform: translate(-2px, 1px); }
    60% { opacity: 0.4; transform: translate(1px, -1px); }
    80% { opacity: 0.2; transform: translate(-1px, 2px); }
    100% { opacity: 0; transform: translate(0); }
}

/* === HERO SECTION === */
.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(30deg);
    transform-origin: center bottom;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 70%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 70%);
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 60px; }
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 0, 229, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 240, 255, 0.04) 0%, transparent 40%);
}

.hero-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 30px;
    max-width: 900px;
}

.hero-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 2.8s forwards;
}

.hero-tag-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--text-dim);
}

.hero-tag-text {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--text-secondary);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 7vw, 80px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    opacity: 0;
    animation: heroTitleIn 1s ease 3s forwards;
}

@keyframes heroTitleIn {
    0% { opacity: 0; transform: translateY(30px); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: clamp(13px, 1.5vw, 16px);
    color: var(--text-secondary);
    margin-bottom: 50px;
    min-height: 1.7em;
    opacity: 0;
    animation: fadeInUp 0.8s ease 3.3s forwards;
}

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

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

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 3.6s forwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 3.9s forwards;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-cyan);
    display: block;
    text-shadow: var(--glow-cyan);
}

.hero-stat-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-top: 5px;
    display: block;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--text-dim);
    opacity: 0.3;
}

/* Hero Corners */
.hero-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 2;
    opacity: 0.4;
}

.hero-corner::before,
.hero-corner::after {
    content: '';
    position: absolute;
    background: var(--accent-cyan);
}

.hero-corner-tl { top: 20px; left: 20px; }
.hero-corner-tl::before { top: 0; left: 0; width: 30px; height: 1px; }
.hero-corner-tl::after { top: 0; left: 0; width: 1px; height: 30px; }

.hero-corner-tr { top: 20px; right: 20px; }
.hero-corner-tr::before { top: 0; right: 0; width: 30px; height: 1px; }
.hero-corner-tr::after { top: 0; right: 0; width: 1px; height: 30px; }

.hero-corner-bl { bottom: 20px; left: 20px; }
.hero-corner-bl::before { bottom: 0; left: 0; width: 30px; height: 1px; }
.hero-corner-bl::after { bottom: 0; left: 0; width: 1px; height: 30px; }

.hero-corner-br { bottom: 20px; right: 20px; }
.hero-corner-br::before { bottom: 0; right: 0; width: 30px; height: 1px; }
.hero-corner-br::after { bottom: 0; right: 0; width: 1px; height: 30px; }

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 0.8s ease 4.2s forwards;
}

.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.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

.hero-scroll-text {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--text-dim);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 2px;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: var(--glow-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.btn-glitch {
    position: relative;
    display: inline-block;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--text-dim);
}

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

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-secondary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 14px;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* === GENESIS SECTION === */
.section-genesis {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 50%, var(--bg-deep) 100%);
}

.genesis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Terminal Window */
.terminal-window {
    background: var(--bg-dark);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

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

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

.terminal-dot:first-child { background: #ff5f56; }
.terminal-dot:nth-child(2) { background: #ffbd2e; }
.terminal-dot:nth-child(3) { background: #27ca40; }

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

.terminal-body {
    padding: 20px;
}

.terminal-line {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 2;
    color: var(--text-secondary);
}

.terminal-prompt {
    color: var(--accent-green);
    margin-right: 8px;
}

.terminal-line-highlight {
    background: rgba(255, 0, 229, 0.05);
    padding: 2px 8px;
    margin: 4px -8px;
    border-left: 2px solid var(--accent-pink);
}

.terminal-cursor {
    animation: blink 0.8s step-end infinite;
}

.text-accent {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

/* Data Visualization */
.data-viz {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.data-viz-ring {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-viz-ring svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(0, 240, 255, 0.1);
    stroke-width: 3;
}

.ring-progress {
    fill: none;
    stroke: var(--accent-cyan);
    stroke-width: 3;
    stroke-dasharray: 565.48;
    stroke-dashoffset: calc(565.48 - (565.48 * var(--progress)) / 100);
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.5));
    transition: stroke-dashoffset 1.5s ease;
}

.ring-progress-warn {
    stroke: var(--accent-orange);
    filter: drop-shadow(0 0 6px rgba(255, 107, 53, 0.5));
}

.ring-progress-critical {
    stroke: var(--accent-pink);
    filter: drop-shadow(0 0 6px rgba(255, 0, 229, 0.5));
}

.data-viz-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.data-viz-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 0, 229, 0.08);
    border: 1px solid rgba(255, 0, 229, 0.2);
    border-radius: 4px;
    animation: alertPulse 2s ease-in-out infinite;
}

@keyframes alertPulse {
    0%, 100% { border-color: rgba(255, 0, 229, 0.2); }
    50% { border-color: rgba(255, 0, 229, 0.5); }
}

.alert-icon {
    font-size: 18px;
    color: var(--accent-pink);
    animation: blink 1.5s step-end infinite;
}

.alert-text {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-pink);
    letter-spacing: 1px;
}

/* === SOLUTION / FEATURES === */
.section-solution {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:nth-child(2):hover::before {
    background: linear-gradient(90deg, transparent, var(--accent-pink), transparent);
}

.feature-card:nth-child(3):hover::before {
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
}

.feature-card:nth-child(4):hover::before {
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--accent-cyan);
    transition: color 0.3s ease, filter 0.3s ease;
}

.feature-card:nth-child(2) .feature-icon { color: var(--accent-pink); }
.feature-card:nth-child(3) .feature-icon { color: var(--accent-green); }
.feature-card:nth-child(4) .feature-icon { color: var(--accent-purple); }

.feature-card:hover .feature-icon {
    filter: drop-shadow(0 0 10px currentColor);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.feature-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

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

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

.feature-metric-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.feature-card:nth-child(2) .feature-metric-value { color: var(--accent-pink); }
.feature-card:nth-child(3) .feature-metric-value { color: var(--accent-green); }
.feature-card:nth-child(4) .feature-metric-value { color: var(--accent-purple); }

.feature-metric-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 2px;
}

/* === ARCHITECTURE SECTION === */
.section-architecture {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 50%, var(--bg-deep) 100%);
}

.arch-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.arch-diagram {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.arch-layer {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.arch-node {
    padding: 16px 24px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    background: rgba(0, 240, 255, 0.03);
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    min-width: 120px;
}

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

.arch-node-main {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.3);
    padding: 20px 40px;
}

.arch-node-icon {
    display: block;
    font-size: 18px;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.arch-node-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-primary);
    display: block;
}

.arch-node-status {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--accent-green);
    letter-spacing: 2px;
    display: block;
    margin-top: 6px;
}

.arch-node-sub {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-dim);
    display: block;
    margin-top: 4px;
}

.arch-node-small {
    padding: 10px 16px;
    min-width: auto;
}

.arch-node-small .arch-node-label {
    font-size: 10px;
}

.arch-connectors {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.arch-connector {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    opacity: 0.4;
    position: relative;
}

.arch-connector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.6;
}

/* Arch Specs */
.arch-specs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.arch-spec-item {
    border: 1px solid rgba(0, 240, 255, 0.1);
    background: var(--bg-card);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.arch-spec-item:hover {
    border-color: rgba(0, 240, 255, 0.25);
}

.arch-spec-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    cursor: pointer;
    transition: background 0.3s ease;
    user-select: none;
}

.arch-spec-header:hover {
    background: rgba(0, 240, 255, 0.03);
}

.arch-spec-icon {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

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

.arch-spec-title {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-primary);
}

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

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

.arch-spec-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.arch-spec-bar {
    height: 24px;
    background: var(--bg-dark);
    border-radius: 2px;
    overflow: hidden;
}

.arch-spec-bar-fill {
    height: 100%;
    width: var(--width);
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.3), var(--accent-cyan));
    display: flex;
    align-items: center;
    padding-left: 12px;
    transition: width 1s ease;
}

.arch-spec-bar-fill span {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--bg-deep);
    letter-spacing: 1px;
    font-weight: 700;
    white-space: nowrap;
}

.arch-spec-bar-purple .arch-spec-bar-fill,
.arch-spec-bar-purple {
    background: linear-gradient(90deg, rgba(178, 77, 255, 0.3), var(--accent-purple));
}

.arch-spec-bar-green .arch-spec-bar-fill,
.arch-spec-bar-green {
    background: linear-gradient(90deg, rgba(57, 255, 20, 0.3), var(--accent-green));
}

/* === ROADMAP / TIMELINE === */
.section-roadmap {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-pink), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item-left {
    justify-content: flex-start;
    padding-right: calc(50% + 40px);
}

.timeline-item-right {
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
}

.timeline-node {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-node-dot {
    display: block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    background: var(--bg-deep);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-node-dot {
    background: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.1);
    padding: 30px;
    transition: border-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.timeline-card:hover {
    border-color: rgba(0, 240, 255, 0.25);
    transform: translateY(-3px);
}

.timeline-phase {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent-cyan);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

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

.timeline-status {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
}

.timeline-status-active {
    color: var(--accent-green);
}

.timeline-status-pending {
    color: var(--text-dim);
}

.timeline-status-locked {
    color: var(--accent-pink);
}

/* === CTA / CONNECT === */
.section-connect {
    padding: var(--section-padding) 0;
    position: relative;
    text-align: center;
}

.connect-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.connect-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

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

.connect-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.connect-badge {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--accent-green);
    margin-bottom: 30px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 rgba(57, 255, 20, 0); }
    50% { box-shadow: 0 0 20px rgba(57, 255, 20, 0.2); }
}

.connect-badge-text {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--accent-green);
}

.connect-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.connect-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Countdown */
.connect-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.1);
    min-width: 80px;
}

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

.countdown-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--text-dim);
    display: block;
    margin-top: 6px;
}

.countdown-sep {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--text-dim);
    animation: blink 1s step-end infinite;
}

/* Form */
.connect-form {
    max-width: 560px;
    margin: 0 auto;
}

.connect-input-group {
    display: flex;
    gap: 0;
    border: 1px solid rgba(0, 240, 255, 0.2);
    background: var(--bg-card);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.connect-input {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-primary);
    letter-spacing: 1px;
}

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

.connect-input-group .btn {
    border: none;
    border-left: 1px solid rgba(0, 240, 255, 0.2);
    white-space: nowrap;
}

.connect-note {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 15px;
    letter-spacing: 0.5px;
}

/* Registration Success */
.connect-registered {
    padding: 30px;
    border: 1px solid var(--accent-green);
    background: rgba(57, 255, 20, 0.05);
}

.success-icon {
    font-size: 40px;
    color: var(--accent-green);
    margin-bottom: 15px;
    text-shadow: var(--glow-green);
}

.success-text {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-green);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.success-sub {
    font-size: 13px;
    color: var(--text-secondary);
}

/* === FOOTER === */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 240, 255, 0.08);
    background: var(--bg-deep);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.05);
    margin-bottom: 20px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 4px;
    color: var(--accent-cyan);
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 2px;
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border: 1px solid var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.footer-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;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.footer-build {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 1px;
    opacity: 0.5;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .genesis-grid,
    .arch-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .nav-hud {
        display: none;
    }
}

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

    body {
        cursor: auto;
    }

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

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 48px);
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-value {
        font-size: 22px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item-left,
    .timeline-item-right {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-node {
        left: 20px;
    }

    .connect-input-group {
        flex-direction: column;
    }

    .connect-input-group .btn {
        border-left: none;
        border-top: 1px solid rgba(0, 240, 255, 0.2);
    }

    .countdown-value {
        font-size: 24px;
    }

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

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .feature-card {
        padding: 30px;
    }

    .arch-diagram {
        padding: 20px;
    }

    .arch-node {
        padding: 10px 16px;
        min-width: auto;
    }

    .arch-node-main {
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 12px 24px;
        font-size: 12px;
    }

    .data-viz {
        flex-direction: column;
        align-items: center;
    }

    .connect-countdown {
        gap: 6px;
    }
}

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

    .hero-grid {
        animation: none;
    }
}
