:root {
    /* Colors */
    --bg-color: #0a0a0a;
    --bg-color-trans: rgba(10, 10, 10, 0.9);
    --text-color: #e0e0e0;
    --neon-blue: #00ffff;
    --neon-pink: #ff00ff;
    --neon-green: #39ff14;
    --neon-yellow: #ffff00;
    --accent-gray: #2a2a2a;
    --dark-purple: #1a051a;

    /* Fonts */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto Mono', monospace;
    --font-ui: 'Share Tech Mono', monospace;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;

    /* Effects */
    --glow-blue: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue);
    --glow-pink: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink), 0 0 40px var(--neon-pink);
}

/* Reset & Base */
* {
    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-body);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Background Effects */
#cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.4;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.2)
    );
    background-size: 100% 4px;
    pointer-events: none;
    animation: scanline-anim 10s linear infinite;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background: radial-gradient(circle, rgba(0,0,0,0) 60%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
}

@keyframes scanline-anim {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.neon-text {
    color: var(--neon-blue);
    text-shadow: var(--glow-blue);
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    width: 300px;
    text-align: center;
}

.loading-bar-container {
    width: 100%;
    height: 4px;
    background-color: #333;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.loading-bar {
    width: 0;
    height: 100%;
    background-color: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
    transition: width 0.2s ease;
}

.loading-log {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--neon-green);
    text-align: left;
    height: 60px;
    overflow: hidden;
}

.loading-log p {
    opacity: 0;
    animation: fadeIn 0.2s forwards;
}

/* HUD Navigation */
.hud-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--bg-color-trans), transparent);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 24px;
    color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    position: relative;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text-color);
    padding: 5px 10px;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background-color: var(--neon-pink);
    transition: left 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background-color: var(--neon-pink);
    transition: right 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink);
}

.nav-links a:hover::before {
    left: 0;
}

.nav-links a:hover::after {
    right: 0;
}

.nav-status {
    font-family: var(--font-ui);
    font-size: 12px;
    border: 1px solid var(--neon-green);
    padding: 5px 10px;
    color: var(--neon-green);
}

.status-online {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    font-family: var(--font-ui);
    font-size: 12px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.glitch-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    color: var(--text-color);
    mix-blend-mode: lighten;
}

.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-title::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-title::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(14px, 9999px, 45px, 0); }
    5% { clip: rect(89px, 9999px, 12px, 0); }
    10% { clip: rect(56px, 9999px, 88px, 0); }
    15% { clip: rect(12px, 9999px, 92px, 0); }
    20% { clip: rect(34px, 9999px, 19px, 0); }
    25% { clip: rect(67px, 9999px, 45px, 0); }
    30% { clip: rect(90px, 9999px, 23px, 0); }
    35% { clip: rect(1px, 9999px, 78px, 0); }
    40% { clip: rect(23px, 9999px, 11px, 0); }
    45% { clip: rect(78px, 9999px, 45px, 0); }
    50% { clip: rect(12px, 9999px, 34px, 0); }
    55% { clip: rect(56px, 9999px, 67px, 0); }
    60% { clip: rect(19px, 9999px, 90px, 0); }
    65% { clip: rect(89px, 9999px, 12px, 0); }
    70% { clip: rect(34px, 9999px, 56px, 0); }
    75% { clip: rect(23px, 9999px, 91px, 0); }
    80% { clip: rect(67px, 9999px, 23px, 0); }
    85% { clip: rect(91px, 9999px, 56px, 0); }
    90% { clip: rect(12px, 9999px, 89px, 0); }
    95% { clip: rect(45px, 9999px, 12px, 0); }
    100% { clip: rect(67px, 9999px, 34px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 12px, 0); }
    5% { clip: rect(23px, 9999px, 89px, 0); }
    10% { clip: rect(98px, 9999px, 34px, 0); }
    15% { clip: rect(12px, 9999px, 56px, 0); }
    20% { clip: rect(45px, 9999px, 78px, 0); }
    25% { clip: rect(78px, 9999px, 12px, 0); }
    30% { clip: rect(34px, 9999px, 90px, 0); }
    35% { clip: rect(89px, 9999px, 56px, 0); }
    40% { clip: rect(12px, 9999px, 34px, 0); }
    45% { clip: rect(56px, 9999px, 89px, 0); }
    50% { clip: rect(23px, 9999px, 12px, 0); }
    55% { clip: rect(90px, 9999px, 45px, 0); }
    60% { clip: rect(12px, 9999px, 78px, 0); }
    65% { clip: rect(67px, 9999px, 23px, 0); }
    70% { clip: rect(23px, 9999px, 56px, 0); }
    75% { clip: rect(89px, 9999px, 12px, 0); }
    80% { clip: rect(45px, 9999px, 78px, 0); }
    85% { clip: rect(12px, 9999px, 90px, 0); }
    90% { clip: rect(56px, 9999px, 34px, 0); }
    95% { clip: rect(78px, 9999px, 12px, 0); }
    100% { clip: rect(34px, 9999px, 67px, 0); }
}

.hero-sub {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Cyber Buttons */
.cyber-btn {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cyber-btn.primary {
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.cyber-btn.primary:hover {
    background-color: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px var(--neon-blue);
}

.cyber-btn.secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #555;
}

.cyber-btn.secondary:hover {
    border-color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-glitch {
    display: none; /* Simplified for MVP, could be expanded */
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-ui);
    font-size: 10px;
    color: var(--neon-blue);
    animation: bounce 2s infinite;
}

.scroll-indicator .arrow {
    width: 10px;
    height: 10px;
    border-right: 1px solid var(--neon-blue);
    border-bottom: 1px solid var(--neon-blue);
    transform: rotate(45deg);
    margin-top: 5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections Base */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--neon-pink), transparent);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cyber-subtitle {
    font-size: 1.5rem;
    color: var(--neon-pink);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #bbb;
}

.data-block {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.3);
}

.data-row {
    font-family: var(--font-ui);
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px dashed #333;
    padding-bottom: 5px;
}

.data-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.about-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hologram Effect */
.hologram-container {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    animation: rotate-holo 10s infinite linear;
}

.holo-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.holo-circle.inner {
    width: 70%;
    height: 70%;
    border: 1px dashed var(--neon-pink);
    animation: reverse-rotate 5s infinite linear;
}

.holo-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--neon-blue);
    font-family: var(--font-ui);
    font-size: 14px;
    letter-spacing: 2px;
    animation: pulse-text 2s infinite;
}

@keyframes rotate-holo {
    0% { transform: rotateX(60deg) rotateZ(0deg); }
    100% { transform: rotateX(60deg) rotateZ(360deg); }
}

@keyframes reverse-rotate {
    0% { transform: translate(-50%, -50%) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateZ(-360deg); }
}

@keyframes pulse-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: rgba(20, 20, 20, 0.5);
    border: 1px solid #333;
    padding: 40px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.card-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--neon-blue);
    border-left: 2px solid var(--neon-blue);
    transition: all 0.3s ease;
}

.card-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--neon-blue);
    border-right: 2px solid var(--neon-blue);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--neon-blue);
}

.feature-card:hover .card-border::before,
.feature-card:hover .card-border::after {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.card-icon {
    color: var(--neon-blue);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    font-size: 0.95rem;
    color: #aaa;
}

/* Tech Section */
.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-diagram {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    padding: 20px;
    border-radius: 4px;
}

.circuit-svg {
    width: 100%;
    height: auto;
}

.circuit-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-circuit 4s alternate infinite;
}

@keyframes draw-circuit {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}

.spec-item {
    margin-bottom: 20px;
    border-left: 3px solid #333;
    padding-left: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.spec-item.active {
    border-left-color: var(--neon-pink);
}

.spec-header {
    font-family: var(--font-ui);
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.spec-item.active .spec-header {
    color: var(--neon-pink);
}

.spec-body {
    font-size: 0.9rem;
    color: #888;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.spec-item.active .spec-body {
    height: auto;
    padding-bottom: 10px;
}

/* Roadmap */
.roadmap-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #333;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.roadmap-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.roadmap-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-color);
    border: 4px solid var(--neon-blue);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -10px;
}

.right::after {
    left: -10px;
}

.roadmap-content {
    padding: 20px 30px;
    background-color: rgba(30, 30, 30, 0.6);
    position: relative;
    border-radius: 4px;
    border: 1px solid #444;
}

.roadmap-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    border: medium solid rgba(30, 30, 30, 0.6);
}

.left .roadmap-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent rgba(30, 30, 30, 0.6);
}

.right .roadmap-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent rgba(30, 30, 30, 0.6) transparent transparent;
}

.roadmap-content .date {
    font-family: var(--font-ui);
    color: var(--neon-blue);
    font-weight: bold;
    margin-bottom: 5px;
}

/* Marquee Section */
.marquee-section {
    padding: 40px 0;
    background-color: var(--neon-blue);
    color: var(--bg-color);
    overflow: hidden;
    border-top: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
}

.marquee-container {
    width: 1000%; /* Ensure enough width */
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 3rem;
    margin-right: 50px;
    text-transform: uppercase;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Adjust based on content handling */
}

/* CTA Section */
.cta-section {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-box {
    background-color: rgba(10, 10, 10, 0.8);
    padding: 60px;
    border: 1px solid #444;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.cta-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid var(--neon-pink);
    opacity: 0.5;
    pointer-events: none;
}

.timer {
    font-family: var(--font-ui);
    font-size: 3rem;
    color: var(--neon-pink);
    margin: 30px 0;
    text-shadow: var(--glow-pink);
}

.cyber-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
}

.cyber-form input {
    width: 100%;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-bottom: 2px solid #555;
    color: #fff;
    font-family: var(--font-ui);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.cyber-form input:focus {
    border-color: var(--neon-blue);
}

.cyber-btn.large {
    width: 100%;
    font-size: 1.2rem;
    padding: 20px;
}

/* Footer */
footer {
    background-color: #000;
    border-top: 1px solid #333;
    padding: 60px 0 30px;
    font-family: var(--font-ui);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--neon-blue);
    margin-bottom: 15px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1rem;
    border-bottom: 1px solid var(--neon-pink);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #888;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--neon-blue);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #555;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: var(--neon-blue);
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--neon-blue);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
}

.system-msg {
    color: var(--neon-green);
}

/* Responsive */
@media (max-width: 768px) {
    .glitch-title {
        font-size: 2.5rem;
    }
    
    .about-grid, .tech-content, .footer-content {
        grid-template-columns: 1fr;
    }

    .hud-nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none; /* Implement hamburger for mobile in JS/CSS if needed, or keep simple */
    }
    
    .roadmap-container::after {
        left: 15px;
    }
    
    .roadmap-item {
        width: 100%;
        padding-left: 45px;
        padding-right: 15px;
    }
    
    .roadmap-item::after {
        left: 5px;
    }
    
    .left::after, .right::after {
        left: 5px;
    }
    
    .roadmap-item.right {
        left: 0;
    }

    .left .roadmap-content::before, .right .roadmap-content::before {
        border-width: 10px 10px 10px 0;
        border-color: transparent rgba(30, 30, 30, 0.6) transparent transparent;
        left: -10px;
    }
}
