:root {
    --bg-color: #0A0A0A;
    --text-color: #FFFFFF;
    --accent-blue: #00FFFF;
    --accent-pink: #FF00FF;
    --accent-green: #39FF14;
    --accent-yellow: #FFFF00;
    --dark-blue: #001F3F;
    --dark-purple: #2A0A2A;
    --gray: #808080;
    
    --font-main: 'Orbitron', sans-serif;
    --font-sub: 'Rajdhani', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    --font-digital: 'Share Tech Mono', monospace;

    --glitch-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sub);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Loading Screen --- */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    width: 300px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
    transition: width 0.1s linear;
}

.status-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-blue);
}

/* --- Background & Overlays --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 90%);
    z-index: -1;
    pointer-events: none;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.15;
}

/* --- Typography & Glitch --- */
h1, h2, h3 {
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-pink);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-blue);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    5% { clip: rect(70px, 9999px, 71px, 0); }
    10% { clip: rect(29px, 9999px, 83px, 0); }
    /* ... more steps ... */
    100% { clip: rect(67px, 9999px, 62px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    5% { clip: rect(52px, 9999px, 54px, 0); }
    10% { clip: rect(11px, 9999px, 26px, 0); }
    /* ... more steps ... */
    100% { clip: rect(13px, 9999px, 91px, 0); }
}

/* --- Navigation --- */
.hud-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.logo {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-item {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
}

.nav-item:hover {
    color: var(--accent-blue);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-blue);
    transition: width 0.3s;
}

.nav-item:hover::after {
    width: 100%;
}

/* --- Buttons --- */
.btn-neon {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    font-family: var(--font-main);
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-neon:hover {
    background: var(--accent-blue);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--accent-blue);
}

.btn-neon.large {
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
}

.btn-neon.mini {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.warning-tag {
    display: inline-block;
    background: var(--accent-yellow);
    color: #000;
    padding: 4px 12px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.7rem;
    margin-bottom: 20px;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
}

.main-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.sub-title {
    font-family: var(--font-mono);
    color: var(--accent-pink);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.lead-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
    color: var(--gray);
}

.hero-hud {
    position: absolute;
    right: 5%;
    bottom: 10%;
    text-align: right;
}

.hud-circle {
    width: 200px;
    height: 200px;
    border: 2px dashed var(--accent-blue);
    border-radius: 50%;
    margin-bottom: 20px;
    animation: rotate 20s linear infinite;
    position: relative;
}

.hud-circle::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border: 1px solid var(--accent-pink);
    border-radius: 50%;
    animation: rotate 10s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hud-data {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-blue);
}

/* --- Sections General --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.section-subtitle {
    font-family: var(--font-mono);
    color: var(--accent-blue);
}

/* --- Intro Section --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-box p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.visual-box {
    height: 400px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    background: rgba(0, 31, 63, 0.2);
}

.circuit-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--accent-blue) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
}

.feature-icon {
    width: 60px;
    height: 60px;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.card-border::before, .card-border::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-blue);
}

.card-border::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.card-border::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

/* --- Tech Section --- */
.tech-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 60px;
    border: 1px solid var(--accent-pink);
}

.tech-info {
    flex: 1;
}

.tech-item {
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.tech-item .label {
    color: var(--accent-pink);
    margin-right: 10px;
}

.tech-diagram {
    flex: 1;
    display: flex;
    justify-content: center;
}

.diagram-svg {
    width: 100%;
    max-width: 400px;
}

.node {
    fill: transparent;
    stroke: var(--accent-blue);
    stroke-width: 2;
}

.connector {
    stroke: var(--accent-blue);
    stroke-width: 1;
    stroke-dasharray: 5;
}

.pulse-point {
    fill: var(--accent-pink);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { r: 5; opacity: 1; }
    100% { r: 20; opacity: 0; }
}

/* --- Roadmap Section --- */
.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--accent-blue);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
}

.time {
    font-family: var(--font-main);
    color: var(--accent-blue);
    font-weight: 700;
    min-width: 100px;
}

/* --- CTA Section --- */
.cta-box {
    background: linear-gradient(45deg, var(--dark-blue), var(--dark-purple));
    padding: 80px;
    text-align: center;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.2);
}

.cta-box h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.pre-register-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.pre-register-form input {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-blue);
    color: white;
    font-family: var(--font-mono);
    width: 300px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.count-item {
    display: flex;
    flex-direction: column;
}

.count-num {
    font-size: 3rem;
    font-family: var(--font-digital);
    color: var(--accent-blue);
}

.count-label {
    font-size: 0.8rem;
    color: var(--gray);
}

/* --- Footer --- */
.cyber-footer {
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #050505;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-main);
    font-weight: 900;
    color: var(--gray);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--gray);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    transition: all 0.3s;
}

.social-icon:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
    box-shadow: 0 0 10px var(--accent-pink);
}

.copyright {
    text-align: center;
    font-size: 0.7rem;
    color: #444;
    font-family: var(--font-mono);
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .main-title { font-size: 2.5rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .hud-nav { padding: 15px 20px; }
    .nav-links { display: none; }
    .cta-box { padding: 40px 20px; }
    .pre-register-form { flex-direction: column; align-items: center; }
    .pre-register-form input { width: 100%; }
    .tech-display { flex-direction: column; padding: 30px; }
    .hero-hud { display: none; }
}
