/* ============================================
   NEO TOKYO 204X - Cyberpunk Landing Page
   Ultimate Cyberpunk Design System
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Base Colors */
    --deep-black: #0A0A0A;
    --midnight-blue: #001F3F;
    --dark-purple: #2A0A2A;
    
    /* Neon Accent Colors */
    --electric-blue: #00FFFF;
    --cyber-pink: #FF00FF;
    --neon-green: #39FF14;
    --bright-yellow: #FFFF00;
    
    /* Sub Accent Colors */
    --silver-gray: #808080;
    --pure-white: #FFFFFF;
    --dark-gray: #1A1A1A;
    --medium-gray: #333333;
    
    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    
    /* Glow Effects */
    --glow-blue: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
    --glow-pink: 0 0 10px rgba(255, 0, 255, 0.5), 0 0 20px rgba(255, 0, 255, 0.3);
    --glow-green: 0 0 10px rgba(57, 255, 20, 0.5), 0 0 20px rgba(57, 255, 20, 0.3);
    --glow-yellow: 0 0 10px rgba(255, 255, 0, 0.5), 0 0 20px rgba(255, 255, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--deep-black);
    color: var(--pure-white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--deep-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    position: relative;
}

.loading-text {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--electric-blue);
    letter-spacing: 0.5em;
    margin-bottom: 2rem;
    animation: textFlicker 2s infinite;
}

.loading-bar-container {
    width: 300px;
    height: 4px;
    background: var(--dark-gray);
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--electric-blue), var(--cyber-pink));
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: var(--glow-blue);
}

.loading-status {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--neon-green);
}

.loading-messages {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--silver-gray);
    height: 1.5rem;
    overflow: hidden;
}

.loading-messages .msg {
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-messages .msg.active {
    opacity: 1;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 255, 255, 0.3);
    animation: scanLine 2s linear infinite;
    pointer-events: none;
}

/* ============================================
   BACKGROUND EFFECTS
   ============================================ */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.cyber-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: var(--transition-medium);
    background: transparent;
}

.cyber-nav.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo-bracket {
    color: var(--electric-blue);
    text-shadow: var(--glow-blue);
}

.logo-text {
    color: var(--pure-white);
    letter-spacing: 0.1em;
}

.logo-cursor {
    color: var(--neon-green);
    animation: blink 1s step-end infinite;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--silver-gray);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-links a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--electric-blue);
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition: clip-path 0.3s ease;
}

.nav-links a:hover {
    color: var(--electric-blue);
    text-shadow: var(--glow-blue);
}

.nav-links a:hover::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 2px;
    background: var(--electric-blue);
    transition: var(--transition-medium);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1002;
    padding: 5rem 2rem;
    transition: right 0.3s ease;
    border-left: 1px solid var(--electric-blue);
}

.mobile-menu.active {
    right: 0;
}

.menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--electric-blue);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--pure-white);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.mobile-nav-links a:hover {
    color: var(--electric-blue);
    padding-left: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 2rem 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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: 50px 50px;
    perspective: 500px;
    transform-style: preserve-3d;
    animation: gridMove 20s linear infinite;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 31, 63, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(42, 10, 42, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    background: rgba(57, 255, 20, 0.1);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
}

.glitch-text {
    position: relative;
    color: var(--pure-white);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    color: var(--cyber-pink);
    animation: glitch1 3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch-text::after {
    color: var(--electric-blue);
    animation: glitch2 3s infinite;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--silver-gray);
    margin-bottom: 3rem;
    min-height: 2rem;
}

.typing-text {
    color: var(--electric-blue);
}

.cursor {
    color: var(--neon-green);
    animation: blink 1s step-end infinite;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--electric-blue);
    text-shadow: var(--glow-blue);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--silver-gray);
    letter-spacing: 0.2em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--electric-blue), transparent);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cyber Buttons */
.cyber-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-medium);
}

.cyber-button.primary {
    background: var(--electric-blue);
    color: var(--deep-black);
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.cyber-button.primary:hover {
    background: var(--pure-white);
    box-shadow: var(--glow-blue);
    transform: translateY(-2px);
}

.cyber-button.secondary {
    background: transparent;
    color: var(--electric-blue);
    border: 2px solid var(--electric-blue);
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.cyber-button.secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: var(--glow-blue);
}

.button-text {
    position: relative;
    z-index: 2;
}

.button-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.cyber-button:hover .button-glitch {
    transform: translateX(100%);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--electric-blue), transparent);
    animation: scrollPulse 2s infinite;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--silver-gray);
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
}

/* Corner Decorations */
.corner-decoration {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid var(--electric-blue);
    opacity: 0.5;
}

.corner-decoration.top-left {
    top: 100px;
    left: 2rem;
    border-right: none;
    border-bottom: none;
}

.corner-decoration.top-right {
    top: 100px;
    right: 2rem;
    border-left: none;
    border-bottom: none;
}

.corner-decoration.bottom-left {
    bottom: 2rem;
    left: 2rem;
    border-right: none;
    border-top: none;
}

.corner-decoration.bottom-right {
    bottom: 2rem;
    right: 2rem;
    border-left: none;
    border-top: none;
}
/* ============================================
   SECTIONS - COMMON STYLES
   ============================================ */
section {
    position: relative;
    padding: 6rem 2rem;
    z-index: 2;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-number {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyber-pink);
    border: 1px solid var(--cyber-pink);
    padding: 0.3rem 0.8rem;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.section-code {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--silver-gray);
    letter-spacing: 0.3em;
}

/* ============================================
   PROLOGUE SECTION
   ============================================ */
.prologue-section {
    background: linear-gradient(180deg, var(--deep-black) 0%, rgba(0, 31, 63, 0.3) 100%);
    position: relative;
}

.prologue-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.prologue-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.fade-in-text {
    color: var(--silver-gray);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.highlight-box {
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid var(--cyber-pink);
    border-left: 4px solid var(--cyber-pink);
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.box-icon {
    font-size: 1.5rem;
    color: var(--cyber-pink);
}

.highlight-box p {
    color: var(--pure-white);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    margin: 0;
}

/* Hologram Effect */
.hologram-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.hologram-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid;
    animation: hologramRotate 10s linear infinite;
}

.hologram-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    border-color: var(--electric-blue);
    opacity: 0.3;
    animation-duration: 15s;
}

.hologram-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    border-color: var(--cyber-pink);
    opacity: 0.5;
    animation-duration: 10s;
    animation-direction: reverse;
}

.hologram-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    border-color: var(--neon-green);
    opacity: 0.7;
    animation-duration: 5s;
}

.hologram-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.core-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--electric-blue);
    text-shadow: var(--glow-blue);
    line-height: 1.2;
}

.circuit-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: 
        linear-gradient(90deg, transparent 95%, rgba(0, 255, 255, 0.1) 95%),
        linear-gradient(0deg, transparent 95%, rgba(0, 255, 255, 0.1) 95%);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions-section {
    background: var(--deep-black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    position: relative;
    background: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    padding: 2rem;
    overflow: hidden;
    transition: var(--transition-medium);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: attr(data-feature);
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--silver-gray);
}

.feature-card:hover {
    border-color: var(--electric-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.1);
}

.card-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.feature-card:hover .card-glitch {
    transform: translateX(100%);
}

.card-content {
    position: relative;
    z-index: 2;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.icon-svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 0.3rem;
}

.feature-subtitle {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--electric-blue);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--silver-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-stats {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.feature-stats .stat {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-green);
}

.feature-stats .stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--silver-gray);
}

.card-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--electric-blue), var(--cyber-pink));
    transition: width 0.3s ease;
}

.feature-card:hover .card-border {
    width: 100%;
}

/* ============================================
   ARCHITECTURE SECTION
   ============================================ */
.architecture-section {
    background: linear-gradient(180deg, rgba(0, 31, 63, 0.3) 0%, var(--deep-black) 100%);
}

.architecture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-diagram {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.diagram-node {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-medium);
}

.diagram-node.central {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--electric-blue);
    color: var(--deep-black);
    border-color: var(--electric-blue);
    box-shadow: var(--glow-blue);
}

.diagram-node.node-1 {
    top: 10%;
    left: 10%;
    border-color: var(--electric-blue);
    color: var(--electric-blue);
}

.diagram-node.node-2 {
    top: 10%;
    right: 10%;
    border-color: var(--cyber-pink);
    color: var(--cyber-pink);
}

.diagram-node.node-3 {
    bottom: 10%;
    left: 10%;
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.diagram-node.node-4 {
    bottom: 10%;
    right: 10%;
    border-color: var(--bright-yellow);
    color: var(--bright-yellow);
}

.diagram-node:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px currentColor;
}

.diagram-node.central:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connection-lines line {
    animation: dashMove 2s linear infinite;
}

.architecture-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-panel {
    background: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    padding: 1.5rem;
    opacity: 0.5;
    transition: var(--transition-medium);
    cursor: pointer;
}

.detail-panel.active,
.detail-panel:hover {
    opacity: 1;
    border-color: var(--electric-blue);
}

.detail-panel h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--electric-blue);
    margin-bottom: 0.5rem;
}

.detail-panel p {
    color: var(--silver-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.tech-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    padding: 0.2rem 0.5rem;
}

/* ============================================
   ROADMAP SECTION
   ============================================ */
.roadmap-section {
    background: var(--deep-black);
}

.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--medium-gray);
}

.timeline-progress {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 25%;
    background: linear-gradient(to bottom, var(--electric-blue), var(--cyber-pink));
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(30px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--dark-gray);
    border: 2px solid var(--electric-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.marker-number {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--electric-blue);
}

.timeline-item[data-phase="01"] .timeline-marker {
    background: var(--neon-green);
    border-color: var(--neon-green);
}

.timeline-item[data-phase="01"] .marker-number {
    color: var(--deep-black);
}

.timeline-content {
    width: 45%;
    background: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    padding: 1.5rem;
    transition: var(--transition-medium);
}

.timeline-content:hover {
    border-color: var(--electric-blue);
    transform: scale(1.02);
}

.phase-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyber-pink);
    letter-spacing: 0.1em;
}

.phase-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--pure-white);
    margin: 0.5rem 0;
}

.phase-desc {
    color: var(--silver-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.phase-tasks {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.phase-tasks li {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--silver-gray);
    padding-left: 1.2rem;
    position: relative;
}

.phase-tasks li::before {
    content: '○';
    position: absolute;
    left: 0;
    color: var(--medium-gray);
}

.phase-tasks li.completed::before {
    content: '✓';
    color: var(--neon-green);
}

.phase-tasks li.in-progress::before {
    content: '◐';
    color: var(--electric-blue);
    animation: pulse 2s infinite;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(180deg, var(--deep-black) 0%, var(--midnight-blue) 100%);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--silver-gray);
    margin-bottom: 3rem;
}

.countdown-container {
    margin-bottom: 3rem;
}

.countdown-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyber-pink);
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--electric-blue);
    text-shadow: var(--glow-blue);
    min-width: 80px;
}

.countdown-unit {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--silver-gray);
    letter-spacing: 0.1em;
}

.countdown-separator {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--electric-blue);
    animation: blink 1s step-end infinite;
}

.registration-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    flex: 1;
    max-width: 350px;
}

.cyber-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 255, 255, 0.05);
    border: 2px solid var(--medium-gray);
    color: var(--pure-white);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-medium);
}

.cyber-input:focus {
    border-color: var(--electric-blue);
    box-shadow: var(--glow-blue);
    background: rgba(0, 255, 255, 0.1);
}

.cyber-input::placeholder {
    color: var(--silver-gray);
}

.cta-button {
    padding: 1rem 2.5rem;
    background: var(--cyber-pink);
    color: var(--pure-white);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: var(--transition-medium);
}

.cta-button:hover {
    background: var(--bright-yellow);
    color: var(--deep-black);
    box-shadow: var(--glow-yellow);
}

.availability-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.availability-indicator {
    width: 10px;
    height: 10px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.availability-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--silver-gray);
}

.availability-text strong {
    color: var(--cyber-pink);
}

.cta-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
}

/* ============================================
   FOOTER
   ============================================ */
.cyber-footer {
    background: var(--deep-black);
    border-top: 1px solid var(--medium-gray);
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--silver-gray);
    letter-spacing: 0.1em;
}

.footer-heading {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--electric-blue);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--silver-gray);
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--electric-blue);
    padding-left: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.social-link:hover {
    border-color: var(--electric-blue);
    background: rgba(0, 255, 255, 0.1);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: var(--silver-gray);
    transition: var(--transition-fast);
}

.social-link:hover .social-icon {
    fill: var(--electric-blue);
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray);
    padding-top: 2rem;
    text-align: center;
}

.footer-barcode {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--silver-gray);
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.copyright {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--silver-gray);
    margin-bottom: 0.5rem;
}

.copyright-symbol {
    color: var(--electric-blue);
}

.system-version {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--medium-gray);
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--dark-gray);
    border: 2px solid var(--electric-blue);
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 255, 255, 0.1);
    border-bottom: 1px solid var(--electric-blue);
}

.modal-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-green);
    letter-spacing: 0.2em;
}

.modal-close {
    font-size: 1.5rem;
    color: var(--silver-gray);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--cyber-pink);
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--deep-black);
    margin: 0 auto 1.5rem;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--pure-white);
    margin-bottom: 1rem;
}

.modal-message {
    color: var(--silver-gray);
    line-height: 1.6;
}

.modal-message .highlight {
    display: block;
    margin-top: 1rem;
    font-family: var(--font-mono);
    color: var(--electric-blue);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes textFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
    52% { opacity: 0.3; }
    54% { opacity: 1; }
}

@keyframes glitch1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
}

@keyframes glitch2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(3px, 3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(-3px, 3px); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

@keyframes scanLine {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 60px; }
    50% { opacity: 0.5; height: 40px; }
}

@keyframes hologramRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes dashMove {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 20; }
}

@keyframes modalSlideIn {
    0% { transform: translateY(-50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .prologue-content,
    .architecture-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hologram-container {
        order: -1;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-line,
    .timeline-progress {
        left: 25px;
    }
    
    .timeline-marker {
        position: relative;
        left: 0;
        transform: none;
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 0;
    }
    
    .tech-diagram {
        width: 300px;
        height: 300px;
    }
    
    .diagram-node {
        width: 60px;
        height: 60px;
        font-size: 0.7rem;
    }
    
    .diagram-node.central {
        width: 80px;
        height: 80px;
    }
    
    .countdown-number {
        font-size: 2rem;
        min-width: 60px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cyber-button {
        width: 100%;
        max-width: 280px;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .registration-form {
        flex-direction: column;
        align-items: center;
    }
    
    .form-group {
        max-width: 100%;
    }
    
    .corner-decoration {
        width: 30px;
        height: 30px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--electric-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --electric-blue: #00FFFF;
        --cyber-pink: #FF00FF;
        --neon-green: #39FF14;
    }
}
