/* ========================================
   PROJECT CHIMERA - Cyberpunk Landing Page
   ======================================== */

/* --- CSS Variables --- */
:root {
    /* Base Colors */
    --color-bg: #0A0A0A;
    --color-bg-secondary: #0F0F1A;
    --color-bg-tertiary: #1A0A2A;

    /* Accent Colors */
    --color-cyan: #00FFFF;
    --color-magenta: #FF00FF;
    --color-green: #39FF14;
    --color-yellow: #FFFF00;
    --color-blue: #0066FF;

    /* Text Colors */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #B0B0B0;
    --color-text-muted: #606060;

    /* Gradients */
    --gradient-cyber: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-magenta) 100%);
    --gradient-dark: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);

    /* Fonts */
    --font-display: 'Orbitron', sans-serif;
    --font-tech: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-tech);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Scanline Overlay --- */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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");
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-cyan);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-magenta);
}

/* --- Selection --- */
::selection {
    background: var(--color-magenta);
    color: var(--color-text-primary);
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- Navigation --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--color-text-primary);
}

.logo-dot {
    color: var(--color-cyan);
}

.logo-status {
    width: 8px;
    height: 8px;
    background: var(--color-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 10px rgba(57, 255, 20, 0); }
}

.nav-menu {
    display: flex;
    gap: var(--space-md);
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.link-prefix {
    color: var(--color-cyan);
    opacity: 0.6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-cyan);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-text-primary);
}

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

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-normal);
}

.nav-progress {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--gradient-cyber);
    width: 0;
    transition: width var(--transition-normal);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-grid {
    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;
    z-index: 2;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 50px; }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    margin-bottom: var(--space-md);
    background: rgba(0, 255, 255, 0.05);
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    letter-spacing: 2px;
}

.badge-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-green);
    padding: 2px 8px;
    background: rgba(57, 255, 20, 0.1);
    border-radius: 10px;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--font-display);
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 5px;
}

.title-main {
    font-size: clamp(3rem, 12vw, 6rem);
    font-weight: 900;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

.title-glitch {
    display: block;
    font-family: var(--font-mono);
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--color-text-muted);
    letter-spacing: 10px;
    position: relative;
}

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

.title-glitch::before {
    color: var(--color-cyan);
    animation: glitch1 0.3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.title-glitch::after {
    color: var(--color-magenta);
    animation: glitch2 0.3s infinite;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

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

@keyframes glitch2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    line-height: 2;
}

.typing-text {
    color: var(--color-cyan);
}

.cursor {
    animation: blink 1s infinite;
}

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

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--color-text-primary);
    border: 1px solid var(--color-cyan);
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-normal);
    min-width: 200px;
}

.cta-button.primary {
    background: rgba(0, 255, 255, 0.1);
}

.cta-button.primary .cta-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-cyan);
    transition: var(--transition-normal);
    z-index: -1;
}

.cta-button.primary:hover {
    color: var(--color-bg);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.cta-button.primary:hover .cta-bg {
    left: 0;
}

.cta-button.secondary {
    border-color: var(--color-text-muted);
}

.cta-button.secondary:hover {
    border-color: var(--color-magenta);
    color: var(--color-magenta);
}

.cta-button .cta-arrow {
    margin-left: 10px;
    transition: transform var(--transition-normal);
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

.cta-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.1) 2px,
        rgba(255, 255, 255, 0.1) 4px
    );
    transition: opacity var(--transition-fast);
}

.cta-button:hover .cta-glitch {
    opacity: 1;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

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

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-cyan);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 3px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-cyan);
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* --- Section Styles --- */
section {
    position: relative;
    padding: var(--space-xl) 0;
}

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

.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h20v20H10zM30 10h10v10H30zM50 10h30v30H50zM10 40h10v10H10zM30 40h20v20H30zM60 40h10v30H60zM10 70h40v10H10zM60 70h30v10H60z' fill='none' stroke='%2300FFFF' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 100px 100px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.section-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 255, 255, 0.1);
    display: block;
    margin-bottom: -20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
}

.title-prefix {
    display: block;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 100px;
    height: 2px;
    background: var(--gradient-cyber);
    margin: var(--space-sm) auto 0;
}

/* --- Concept Section --- */
.concept-section {
    background: var(--color-bg-secondary);
}

.concept-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.concept-text {
    padding-right: var(--space-md);
}

.concept-lead {
    font-size: 1.3rem;
    line-height: 2;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.concept-body {
    color: var(--color-text-secondary);
    line-height: 2;
    margin-bottom: var(--space-md);
}

.warning-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    background: rgba(255, 0, 255, 0.05);
}

.warning-icon {
    font-size: 1.5rem;
    color: var(--color-magenta);
}

.warning-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-magenta);
}

.concept-visual {
    display: flex;
    justify-content: center;
}

.brain-model {
    position: relative;
    width: 300px;
    height: 300px;
}

.brain-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient-cyber);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
    animation: corePulse 3s ease-in-out infinite;
}

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

.brain-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.ring-1 {
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-color: rgba(0, 255, 255, 0.5);
}

.ring-2 {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    border-style: dashed;
    animation-direction: reverse;
}

.ring-3 {
    width: 280px;
    height: 280px;
    margin: -140px 0 0 -140px;
    opacity: 0.2;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brain-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-cyan);
    animation: nodePulse 2s ease-in-out infinite;
}

.node-1 { top: 20%; left: 50%; animation-delay: 0s; }
.node-2 { top: 50%; left: 80%; animation-delay: 0.5s; }
.node-3 { top: 80%; left: 50%; animation-delay: 1s; }
.node-4 { top: 50%; left: 20%; animation-delay: 1.5s; }

@keyframes nodePulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.brain-data {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-cyan);
}

.data-line {
    padding: 3px 10px;
    background: rgba(0, 255, 255, 0.1);
    border-left: 2px solid var(--color-cyan);
}

/* --- Features Section --- */
.features-section {
    background: var(--color-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.feature-card {
    position: relative;
    padding: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-normal);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-cyber);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.02);
    transform: translateY(-5px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.card-icon {
    width: 50px;
    height: 50px;
    color: var(--color-cyan);
}

.card-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.card-id {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-desc {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-cyan);
    margin-bottom: var(--space-sm);
}

.card-body {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spec {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 5px 10px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--color-cyan);
}

.card-connector {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
}

.card-connector::before,
.card-connector::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
}

.card-connector::before {
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
}

.card-connector::after {
    width: 1px;
    height: 100%;
    bottom: 0;
    left: 0;
}

/* --- Tech Section --- */
.tech-section {
    background: var(--color-bg-secondary);
    overflow: hidden;
}

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

.tech-canvas {
    width: 100%;
    height: 100%;
}

.tech-content {
    position: relative;
    z-index: 1;
}

.tech-diagram {
    position: relative;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.diagram-layer {
    display: flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: var(--space-sm);
}

.layer-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-primary);
    min-width: 250px;
}

.layer-nodes {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.d-node {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--color-cyan);
    border-radius: 4px;
    position: relative;
}

.d-node::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--color-cyan);
    border-radius: 50%;
    animation: nodePulse 2s ease-in-out infinite;
}

.diagram-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connections-svg {
    width: 100%;
    height: 100%;
}

.conn-line {
    stroke: var(--color-cyan);
    stroke-width: 1;
    stroke-dasharray: 5,5;
    opacity: 0.3;
}

.tech-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.info-panel {
    padding: var(--space-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.panel-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.panel-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-cyan);
}

.panel-value .unit {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.panel-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    border-radius: 2px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--gradient-cyber);
    border-radius: 2px;
    animation: barFill 2s ease-out forwards;
}

@keyframes barFill {
    from { width: 0; }
}

/* --- Roadmap Section --- */
.roadmap-section {
    background: var(--color-bg);
}

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

.timeline-line {
    position: absolute;
    top: 0;
    left: 30px;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-progress {
    width: 100%;
    height: 100%;
    background: var(--gradient-cyber);
    animation: progressFill 3s ease-out forwards;
}

@keyframes progressFill {
    from { height: 0; }
}

.timeline-item {
    display: flex;
    gap: var(--space-md);
    padding-bottom: var(--space-lg);
    position: relative;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.timeline-item.completed .timeline-marker {
    background: rgba(57, 255, 20, 0.1);
    border: 2px solid var(--color-green);
    border-radius: 50%;
}

.timeline-item.completed .marker-icon {
    color: var(--color-green);
    font-size: 1.2rem;
}

.timeline-item.active .timeline-marker {
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--color-cyan);
    border-radius: 50%;
}

.marker-pulse {
    display: block;
    width: 20px;
    height: 20px;
    background: var(--color-cyan);
    border-radius: 50%;
    animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0); }
}

.timeline-item:not(.completed):not(.active) .timeline-marker {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.marker-dot {
    display: block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.timeline-content {
    padding-top: 10px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-cyan);
    margin-bottom: 5px;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-desc {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: var(--space-xl) 0;
    background: var(--color-bg-secondary);
    overflow: hidden;
}

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

.cta-canvas {
    width: 100%;
    height: 100%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid var(--color-magenta);
    border-radius: 20px;
    margin-bottom: var(--space-md);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--color-magenta);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-magenta);
    letter-spacing: 2px;
}

.cta-title {
    font-family: var(--font-display);
    margin-bottom: var(--space-sm);
}

.cta-title .title-line {
    font-size: clamp(1.5rem, 5vw, 3rem);
}

.cta-title .title-main {
    font-size: clamp(2rem, 8vw, 4rem);
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.highlight {
    color: var(--color-cyan);
    font-weight: 600;
}

.countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.countdown-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.countdown-timer {
    display: flex;
    gap: 10px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.2);
    min-width: 70px;
}

.time-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-cyan);
}

.time-unit {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.time-sep {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text-muted);
    padding-top: 20px;
}

.cta-form {
    margin-bottom: var(--space-sm);
}

.form-group {
    position: relative;
    margin-bottom: var(--space-sm);
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-tech);
    font-size: 1rem;
    color: var(--color-text-primary);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    outline: none;
    transition: var(--transition-normal);
}

.form-input:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

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

.form-label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-cyan);
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-normal);
}

.form-input:focus + .form-label {
    opacity: 1;
}

.cta-button.large {
    width: 100%;
    padding: 18px 32px;
    font-size: 1rem;
}

.cta-note {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* --- Footer --- */
.main-footer {
    padding: var(--space-lg) 0 var(--space-md);
    background: var(--color-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var-space-lg;
    margin-bottom: var(--space-md);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-text-primary);
}

.footer-tagline {
    color: var(--color-text-muted);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-cyan);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-text-secondary);
    transition: var(--transition-normal);
}

.social-link:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

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

.copyright {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.footer-barcode {
    display: flex;
    gap: 2px;
}

.barcode-line {
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.barcode-line:nth-child(1) { height: 20px; }
.barcode-line:nth-child(2) { height: 15px; }
.barcode-line:nth-child(3) { height: 25px; }
.barcode-line:nth-child(4) { height: 12px; }
.barcode-line:nth-child(5) { height: 20px; }
.barcode-line:nth-child(6) { height: 18px; }
.barcode-line:nth-child(7) { height: 22px; }
.barcode-line:nth-child(8) { height: 15px; }
.barcode-line:nth-child(9) { height: 20px; }
.barcode-line:nth-child(10) { height: 25px; }

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-sm);
        transform: translateY(-100%);
        transition: transform var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content {
        padding-top: var(--space-xl);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .concept-content {
        grid-template-columns: 1fr;
    }

    .concept-text {
        padding-right: 0;
    }

    .tech-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-line {
        left: 15px;
    }

    .timeline-marker {
        width: 30px;
        height: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }

    .tech-info {
        grid-template-columns: 1fr;
    }

    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
    }
}
