/* ============================================
   PROJECT CHIMERA - CYBERPUNK LANDING PAGE
   Neo-Noir Glitchwave Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
    --base-black: #0A0A0A;
    --midnight-blue: #001F3F;
    --dark-purple: #2A0A2A;
    --accent-cyan: #00FFFF;
    --accent-pink: #FF00FF;
    --accent-green: #39FF14;
    --accent-yellow: #FFFF00;
    --silver-gray: #808080;
    --white: #FFFFFF;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto Mono', monospace;
    --font-display: 'Rajdhani', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--base-black);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Loading Screen --- */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--base-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 255, 0.03) 0px,
        rgba(0, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
}

.loader-content {
    text-align: center;
    z-index: 2;
}

.loader-logo {
    margin-bottom: 40px;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-cyan);
    text-shadow: 0 0 20px var(--accent-cyan), 0 0 40px var(--accent-cyan);
    letter-spacing: 12px;
}

.loader-progress-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px auto;
    position: relative;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    transition: width 0.3s ease;
}

.loader-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--silver-gray);
    width: 300px;
    margin: 15px auto 0;
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 2px,
        transparent 2px,
        transparent 4px
    );
    pointer-events: none;
}

/* --- Noise Overlay --- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 9998;
    pointer-events: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSIjZmZmIiBmaWxsLXNjYWxlPSJyYW5kb20iLz48L3N2Zz4=');
    animation: noise 0.5s steps(10) infinite;
}

@keyframes noise {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-15%, 0%); }
    50% { transform: translate(0%, 10%); }
    60% { transform: translate(10%, -5%); }
    70% { transform: translate(-5%, 5%); }
    80% { transform: translate(-10%, 10%); }
    90% { transform: translate(5%, -10%); }
    100% { transform: translate(0, 0); }
}

/* --- Particle Canvas --- */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* --- Main Content --- */
.main-content {
    opacity: 0;
    transition: opacity 1s ease;
}

.main-content.visible {
    opacity: 1;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.nav-logo {
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
    letter-spacing: 6px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--silver-gray);
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px var(--accent-cyan);
}

/* --- Buttons --- */
.btn-cta {
    position: relative;
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: transparent;
    border: 2px solid var(--accent-cyan);
    cursor: pointer;
    letter-spacing: 3px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    color: var(--base-black);
    background: var(--accent-cyan);
    box-shadow: 0 0 30px var(--accent-cyan), 0 0 60px rgba(0, 255, 255, 0.3);
}

.btn-cta .btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.btn-cta:hover .btn-glow {
    opacity: 0.3;
}

.btn-cta.btn-small {
    padding: 10px 20px;
    font-size: 0.7rem;
}

.btn-cta.btn-large {
    padding: 18px 48px;
    font-size: 1rem;
}

.btn-cta.btn-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 15px var(--accent-cyan); }
    50% { box-shadow: 0 0 40px var(--accent-cyan), 0 0 80px rgba(0, 255, 255, 0.3); }
}

.btn-outline {
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    letter-spacing: 3px;
    transition: all 0.4s ease;
}

.btn-outline:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--midnight-blue) 0%, var(--base-black) 70%);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(-60px); }
}

.neon-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 0, 255, 0.03) 50%, transparent 100%);
    animation: neonSweep 8s ease-in-out infinite;
}

@keyframes neonSweep {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
}

.hero-tagline {
    margin-bottom: 30px;
}

.tagline-prefix {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--accent-pink);
    letter-spacing: 6px;
    text-shadow: 0 0 10px var(--accent-pink);
}

.hero-title {
    margin-bottom: 30px;
}

.title-line {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5), 0 0 60px rgba(0, 255, 255, 0.2);
    letter-spacing: 8px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--silver-gray);
    margin-bottom: 40px;
    line-height: 2;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Hologram Visual --- */
.hero-visual {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
}

.hologram-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hologram-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    animation: hologramSpin linear infinite;
}

.hologram-ring-1 {
    width: 300px;
    height: 300px;
    border-color: rgba(0, 255, 255, 0.6);
    animation-duration: 8s;
}

.hologram-ring-2 {
    width: 220px;
    height: 220px;
    border-color: rgba(255, 0, 255, 0.4);
    animation-duration: 6s;
    animation-direction: reverse;
}

.hologram-ring-3 {
    width: 140px;
    height: 140px;
    border-color: rgba(57, 255, 20, 0.3);
    animation-duration: 4s;
}

@keyframes hologramSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.hologram-core {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-node {
    width: 20px;
    height: 20px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--accent-cyan), 0 0 60px rgba(0, 255, 255, 0.4);
    animation: corePulse 1.5s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* --- Scroll Indicator --- */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.scroll-text {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--silver-gray);
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent-cyan);
    border-bottom: 2px solid var(--accent-cyan);
    transform: rotate(45deg);
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50% { transform: rotate(45deg) translateY(10px); opacity: 0.5; }
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--accent-pink);
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    letter-spacing: 4px;
}

/* --- Glitch Effect --- */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}

.glitch.active::before {
    animation: glitch-1 2.5s infinite linear;
    color: var(--accent-cyan);
    z-index: -1;
}

.glitch.active::after {
    animation: glitch-2 2.5s infinite linear;
    color: var(--accent-pink);
    z-index: -1;
}

@keyframes glitch-1 {
    0%, 10% { opacity: 0.8; transform: translate(-3px, 0); }
    20%, 30% { opacity: 0; transform: translate(3px, 0); }
    40%, 50% { opacity: 0.6; transform: translate(-2px, 0); }
    60%, 70% { opacity: 0; transform: translate(2px, 0); }
    80%, 90% { opacity: 0.4; transform: translate(-1px, 0); }
    100% { opacity: 0; transform: translate(0, 0); }
}

@keyframes glitch-2 {
    0%, 10% { opacity: 0.6; transform: translate(3px, 0); }
    20%, 30% { opacity: 0; transform: translate(-3px, 0); }
    40%, 50% { opacity: 0.8; transform: translate(2px, 0); }
    60%, 70% { opacity: 0; transform: translate(-2px, 0); }
    80%, 90% { opacity: 0.3; transform: translate(1px, 0); }
    100% { opacity: 0; transform: translate(0, 0); }
}

/* --- Prologue Section --- */
.prologue-section {
    padding: 120px 0;
    position: relative;
}

.prologue-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.prologue-text .text-block {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--silver-gray);
    margin-bottom: 25px;
    line-height: 2;
}

.prologue-text .highlight {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* --- HUD Frame --- */
.hud-frame {
    position: relative;
    padding: 40px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.02);
}

.hud-corner {
    position: absolute;
    width: 20px;
    height: 20px;
}

.hud-tl { top: -1px; left: -1px; border-top: 2px solid var(--accent-cyan); border-left: 2px solid var(--accent-cyan); }
.hud-tr { top: -1px; right: -1px; border-top: 2px solid var(--accent-cyan); border-right: 2px solid var(--accent-cyan); }
.hud-bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--accent-cyan); border-left: 2px solid var(--accent-cyan); }
.hud-br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--accent-cyan); border-right: 2px solid var(--accent-cyan); }

.hud-content {
    font-family: var(--font-body);
}

.hud-label {
    display: block;
    font-size: 0.7rem;
    color: var(--accent-pink);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-key {
    font-size: 0.8rem;
    color: var(--silver-gray);
    letter-spacing: 2px;
}

.data-value {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.text-green { color: var(--accent-green); text-shadow: 0 0 8px var(--accent-green); }
.text-yellow { color: var(--accent-yellow); text-shadow: 0 0 8px var(--accent-yellow); }
.text-cyan { color: var(--accent-cyan); text-shadow: 0 0 8px var(--accent-cyan); }

/* --- Data Stream --- */
.data-stream {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.stream-line {
    width: 3px;
    height: 40px;
    background: var(--accent-cyan);
    animation: streamFlow 1.5s ease-in-out infinite;
}

.stream-line:nth-child(2) { animation-delay: 0.3s; }
.stream-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes streamFlow {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Solution Section --- */
.solution-section {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(42, 10, 42, 0.3) 50%, transparent 100%);
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 255, 255, 0.02);
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    color: var(--accent-cyan);
}

.icon-svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.feature-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--silver-gray);
    line-height: 1.8;
}

/* --- Technology Section --- */
.tech-section {
    padding: 120px 0;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* --- Tech Diagram --- */
.tech-diagram {
    position: relative;
    padding: 20px 0;
}

.diagram-layer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 15px 20px;
    border-left: 3px solid var(--accent-cyan);
    background: rgba(0, 255, 255, 0.02);
    transition: all 0.4s ease;
}

.diagram-layer:hover {
    background: rgba(0, 255, 255, 0.05);
    border-left-color: var(--accent-pink);
}

.layer-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    min-width: 150px;
}

.layer-nodes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.node {
    width: 12px;
    height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: nodePulse 2s ease-in-out infinite;
}

.node:nth-child(odd) { animation-delay: 1s; }

@keyframes nodePulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* --- Detail Panels --- */
.detail-panel {
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.detail-panel:hover {
    border-color: var(--accent-cyan);
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent-pink);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.panel-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--silver-gray);
    line-height: 1.8;
}

/* --- Roadmap Section --- */
.roadmap-section {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 31, 63, 0.2) 50%, transparent 100%);
}

.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-pink));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-left {
    justify-content: flex-start;
    padding-right: calc(50% + 30px);
}

.timeline-right {
    justify-content: flex-end;
    padding-left: calc(50% + 30px);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.marker-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--accent-cyan);
    letter-spacing: 2px;
}

.marker-date {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--silver-gray);
}

.timeline-content {
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 255, 255, 0.02);
    transition: all 0.4s ease;
}

.timeline-content:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.phase-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.phase-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--silver-gray);
    line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
    padding: 150px 0;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(42, 10, 42, 0.5) 0%, transparent 70%);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5), 0 0 60px rgba(0, 255, 255, 0.2);
    letter-spacing: 6px;
    margin-bottom: 25px;
}

.cta-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--silver-gray);
    margin-bottom: 40px;
    line-height: 2;
}

.countdown-container {
    margin-top: 60px;
}

.countdown-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--accent-pink);
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.countdown-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.countdown-unit {
    text-align: center;
}

.countdown-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-cyan);
    text-shadow: 0 0 20px var(--accent-cyan);
}

.countdown-text {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--silver-gray);
    letter-spacing: 3px;
    margin-top: 5px;
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-pink);
}

/* --- Footer --- */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 10, 0.9);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
    letter-spacing: 6px;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--silver-gray);
    margin-top: 10px;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--silver-gray);
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-cyan);
    padding-left: 10px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--silver-gray);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--accent-cyan);
    transform: translateY(-3px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--silver-gray);
    letter-spacing: 2px;
}

/* --- Audio Toggle --- */
.audio-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.audio-toggle:hover {
    background: var(--accent-cyan);
    color: var(--base-black);
}

.audio-toggle svg {
    width: 24px;
    height: 24px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .prologue-content {
        grid-template-columns: 1fr;
    }

    .solution-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .solution-features {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        gap: 20px;
    }

    .timeline-left,
    .timeline-right {
        padding: 0 0 30px 40px;
        justify-content: flex-start;
    }

    .timeline-marker {
        position: relative;
        left: auto;
        transform: none;
        flex-direction: row;
        gap: 15px;
        margin-bottom: 15px;
    }

    .countdown-display {
        flex-wrap: wrap;
    }

    .countdown-value {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .loader-text {
        font-size: 2rem;
        letter-spacing: 6px;
    }

    .hero-title {
        letter-spacing: 4px;
    }

    .btn-cta.btn-large,
    .btn-outline.btn-large {
        padding: 14px 28px;
        font-size: 0.8rem;
    }
}