:root {
    --primary-bg: #0b101a; /* Deep Tactical Navy */
    --secondary-bg: #151e2e; /* Commander Blue */
    --accent-color: #38bdf8; /* Sky Blue - Professional & Lively */
    --accent-secondary: #0ea5e9; /* Ocean Blue */
    --accent-tertiary: #ffffff; /* pure white light */
    --text-primary: #cbd5e1; /* Slate */
    --text-headers: #f8fafc; /* White/Off-white */
    --border-glass: rgba(56, 189, 248, 0.2);
    --glass-panel: rgba(11, 16, 26, 0.85);
    --font-head: 'Stick', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: 0.2s ease-out;
    --glow-spread: 0 0 20px rgba(0, 234, 255, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--primary-bg);
    /* Subtle technical background */
    background-image: 
        linear-gradient(rgba(11, 16, 26, 0.9), rgba(11, 16, 26, 0.95)),
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2672&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .brand-text, .nav-link, .btn {
    font-family: var(--font-head);
    color: var(--text-headers);
    letter-spacing: 1px;
}

/* Clean Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}

a { text-decoration: none; color: inherit; transition: var(--transition); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* =========================================================================
   UTILITIES & BUTTONS
   ========================================================================= */
.text-center { text-align: center; }
.section { padding: 100px 0; }

.section-title { 
    font-size: 3rem; 
    margin-bottom: 2rem; 
    font-weight: 700; 
    text-transform: uppercase;
    background: linear-gradient(to bottom, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle { 
    display: block; 
    color: var(--accent-color); 
    letter-spacing: 3px; 
    font-weight: 700; 
    margin-bottom: 10px; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
}

.highlight { color: #fff; text-shadow: 0 0 10px var(--accent-color); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-bg);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: rgba(56, 189, 248, 0.1);
}

/* =========================================================================
   SCROLLBAR & SELECTION
   ========================================================================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary-bg); }
::-webkit-scrollbar-thumb { 
    background: var(--accent-secondary); 
    border-radius: 4px; 
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

::selection { background: var(--accent-color); color: var(--primary-bg); text-shadow: none; }

/* =========================================================================
   NAVBAR
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(11, 16, 26, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.brand-logo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

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

.nav-btn {
    border: 1px solid var(--accent-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
}

.nav-btn:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
}

.mobile-toggle { display: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

/* Canvas Background */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-text-col { position: relative; z-index: 2; }

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-color);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.hero-img-col {
    position: relative;
    display: flex;
    justify-content: center;
}

.character-holder {
    position: relative;
    width: 100%;
    max-width: 550px;
}

.hero-character {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.2));
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    position: relative;
    transform-origin: center;
}

.circle-graphic {
    position: absolute;
    top: 50%; left: 50%;
    width: 550px; height: 550px;
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: rotate 60s linear infinite;
    box-shadow: none;
}

.circle-graphic::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px dashed var(--border-glass);
    border-radius: 50%;
}

.floating-card {
    position: absolute;
    background: var(--glass-panel);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite reverse;
    z-index: 3;
}

.card-1 { top: 20%; left: -20px; }
.card-2 { bottom: 20%; right: -20px; animation-delay: 1s; }

.hero-badge {
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-badge i { font-size: 1.2rem; color: var(--accent-color); text-shadow: none; }
.card-text h4 { font-size: 0.9rem; color: #fff; margin-bottom: 2px; }
.card-text p { font-size: 0.75rem; color: var(--accent-color); margin: 0; letter-spacing: 0.5px; text-transform: uppercase; }


/* =========================================================================
   MARQUEE
   ========================================================================= */
.marquee-wrapper-pro {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.marquee-line {
    width: 100%;
    position: relative;
    padding: 10px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: transparent;
    color: var(--accent-color);
    border: none;
    box-shadow: none;
}

.line-1 { z-index: 1; border-bottom: 1px solid rgba(56, 189, 248, 0.1); }
.line-2 { z-index: 1; color: #fff; }

.marquee-content-pro {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 25s linear infinite;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Duplicating content logic required in HTML or JS for true seamless loop, 
   but simplistic CSS assumption: wide enough content or simple duplication */
.marquee-content-pro span {
    margin: 0 20px;
}

.star { color: var(--accent-dark); }
.line-2 .star { color: #fff; }

.reverse {
    animation: scroll-right 35s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* =========================================================================
   MISSION CARDS (Clean Glass)
   ========================================================================= */
.dark-section { background: transparent; }

.mission-grid-pro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.tech-card {
    position: relative;
    background: var(--glass-panel);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 0;
    transition: var(--transition);
    overflow: hidden;
}

.tech-card::before, .tech-card::after { display: none; }

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.tech-header {
    background: rgba(56, 189, 248, 0.05);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 20px;
}

.card-corner { display: none; } /* Removing old corners for cleaner look */

.file-id {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.75rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    opacity: 0.8;
}

.status-dot {
    width: 8px; height: 8px;
    background: #334155;
    border-radius: 50%;
}

.status-dot.active, .tech-card:hover .status-dot {
    background: #10b981;
    box-shadow: 0 0 5px #10b981;
}

.tech-body {
    padding: 0 25px 30px;
    text-align: left;
}

.icon-display {
    font-size: 2.5rem;
    color: var(--accent-color);
    background: none;
    -webkit-text-fill-color: initial;
    margin-bottom: 20px;
    filter: none;
}

.tech-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: none;
}

.data-text {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* =========================================================================
   VISUAL BREAK
   ========================================================================= */
.visual-break {
    padding: 100px 0;
    background: radial-gradient(circle at center, #1f2833 0%, #0b0c10 70%);
    text-align: center;
}

.showcase-box {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.showcase-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
    width: 100%;
}

.showcase-content h2 { font-size: 4rem; margin-bottom: 10px; }

.showcase-img {
    max-width: 60%;
    opacity: 0.3;
    filter: grayscale(100%);
    transition: var(--transition);
}

.showcase-box:hover .showcase-img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* =========================================================================
   TOKENOMICS
   ========================================================================= */
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-half { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.align-center { align-items: center; }

.stats-list {
    list-style: none;
    margin-top: 30px;
}

.stats-list li {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-family: var(--font-head);
    font-size: 1.1rem;
}

.stat-label { color: #8b9bb4; }
.stat-value { font-weight: 700; color: var(--accent-color); }


::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
    border: 2px solid var(--primary-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* Selection */
::selection {
    background: var(--accent-color);
    color: var(--primary-bg);
}

.cyber-card {
    background: #000;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(214, 166, 85, 0.15);
}

.cyber-header {
    background: var(--accent-color);
    color: #000;
    padding: 10px 20px;
    font-weight: 700;
    font-family: var(--font-head);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.cyber-body {
    padding: 30px;
    text-align: center;
}

.contract-code {
    display: block;
    background: #111;
    padding: 15px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--accent-color);
    word-break: break-all;
    margin-bottom: 20px;
    border: 1px dashed rgba(214, 166, 85, 0.3);
}

/* =========================================================================
   ROADMAP
   ========================================================================= */
.roadmap-container {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 20px 0;
}

/* The vertical line */
.roadmap-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.roadmap-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.roadmap-item::after { 
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px; 
    background-color: var(--primary-bg);
    border: 2px solid var(--accent-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--accent-color);
}

.left { left: 0; text-align: right; }
.right { left: 50%; }
.right::after { left: -8px; }

.content {
    background: var(--secondary-bg);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px 30px;
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
}

.content:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
}

.roadmap-item h3 { margin-bottom: 10px; font-size: 1.3rem; }
.roadmap-item p { font-size: 0.9rem; color: #8b9bb4; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.main-footer {
    padding: 80px 0 30px;
    background: var(--secondary-bg); /* Use theme color */
    border-top: 1px solid var(--border-glass);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a:hover { color: var(--accent-color); }

.footer-bottom p {
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================================================
   ANIMATIONS
   ========================================================================= */
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
@keyframes rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Responsive Media Queries */
@media screen and (max-width: 768px) {
    .section { padding: 60px 0; }
    .hero-section { padding-top: 120px; padding-bottom: 40px; }
    
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 0; }
    .hero-img-col { order: -1; margin-bottom: 0px; }
    .hero-desc { margin: 0 auto 20px; font-size: 0.9rem; }
    .hero-title { font-size: 2.2rem; word-wrap: break-word; }
    .mission-grid { grid-template-columns: 1fr; } /* Kept from original, not in edit but not conflicting */
    .mission-grid-pro { 
        gap: 20px; 
        grid-template-columns: 1fr; /* Keep 1 column for stacking/swiping logic */
    }
    .row { flex-direction: column; }
    .col-half { flex: 0 0 100%; max-width: 100%; margin-bottom: 40px; }
    .roadmap-container::after { left: 31px; } /* Kept from original, not in edit but not conflicting */
    .roadmap-item { width: 100%; padding-left: 70px; padding-right: 25px; } /* Kept from original, not in edit but not conflicting */
    .roadmap-item::after { left: 23px; } /* Kept from original, not in edit but not conflicting */
    .left { text-align: left; } /* Kept from original, not in edit but not conflicting */
    .right { left: 0; } /* Kept from original, not in edit but not conflicting */
    .circle-graphic { width: 300px; height: 300px; } /* Kept from original, not in edit but not conflicting */
    .navbar-container { padding: 0 20px; }
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }

    /* Mobile Horizontal Scroll for Mission Cards */
    .mission-grid-pro {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 30px; 
        margin: 30px -20px 0;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .tech-card {
        min-width: 85vw;
        scroll-snap-align: center;
        margin-bottom: 0;
    }

    /* Hide scrollbar */
    .mission-grid-pro::-webkit-scrollbar { display: none; }
    .mission-grid-pro { -ms-overflow-style: none; scrollbar-width: none; }

    /* Mobile Marquee Fixes */
    .marquee-wrapper-pro { padding: 40px 0; }
    .line-1 { transform: rotate(1deg); top: 10px; }
    .line-2 { transform: rotate(-1deg); bottom: 10px; }
    .marquee-content-pro { font-size: 0.9rem; letter-spacing: 1px; }
}

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

.hero-content {
    animation: slideUp 0.8s ease-out forwards 0.2s;
    opacity: 0;
}
.about-content {
    animation: slideUp 0.8s ease-out forwards 0.4s;
    opacity: 0;
}
.mission-grid-pro {
    animation: slideUp 0.8s ease-out forwards 0.6s;
    opacity: 0;
}
