/* --- COMMAND DECK CORE VARIABLES --- */
:root {
    --black: #050505;
    --charcoal: #0d0d0d;
    --panel-bg: #121212;
    --brass: #b58e2a;
    --bronze: #8c5d2e;
    --copper: #d97706;
    --amber: #fbb034;
    --amber-glow: rgba(251, 176, 52, 0.3);
    --green-light: #22c55e;
    --text-main: #e5e5e5;
    --text-dim: #a68a56;
    --panel-border: #333333;
    --rivet-color: #444;
    --transition: 0.25s ease-in-out;
}

/* --- FUNDAMENTALS --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.command-deck {
    background-color: var(--black);
    color: var(--text-main);
    font-family: 'Verdana', 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4 {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--brass);
    word-wrap: break-word;
}

/* --- BUTTONS & INTERFACE --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    border-radius: 1px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-amber {
    background: #111;
    color: var(--amber);
    border: 1px solid var(--amber);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), inset 0 0 5px var(--amber-glow);
}

.btn-amber:hover {
    background: var(--amber);
    color: var(--black);
    box-shadow: 0 0 15px var(--amber-glow);
}

.btn-outline {
    border: 1px solid var(--brass);
    color: var(--brass);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(181, 142, 42, 0.1);
    color: var(--amber);
    border-color: var(--amber);
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.button-group.center {
    justify-content: center;
}

/* --- SHARED NAVIGATION --- */
.command-header {
    background-color: #080808;
    border-bottom: 2px solid var(--brass);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-coin,
.nav-brand img.nav-logo-coin {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    border-radius: 50%;
    border: 1px solid var(--brass);
    object-fit: cover;
    display: block;
}

.nav-brand-text {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    white-space: nowrap;
}

.desktop-nav {
    margin-left: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.35rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--amber);
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
    flex-shrink: 0;
}

.mobile-nav-toggle {
    display: none;
}

/* --- MOBILE OVERLAY --- */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 5, 0.98);
    z-index: 2000;
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.mobile-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-overlay-inner {
    width: 100%;
    max-width: 400px;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.mobile-overlay-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    background: none;
    border: 1px solid var(--amber);
    padding: 0.4rem 0.8rem;
}

.mobile-overlay-title {
    color: var(--brass);
    font-size: 1rem;
    margin: 1rem 0 2rem 0;
    border-bottom: 1px solid var(--panel-border);
    width: 100%;
    text-align: center;
    padding-bottom: 1rem;
}

.mobile-overlay-links {
    list-style: none;
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
}

.mobile-overlay-links li {
    margin: 1.5rem 0;
}

.mobile-overlay-links a {
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.mobile-overlay-links a.active {
    color: var(--amber);
}

.mobile-overlay-cta {
    width: 100%;
    border-top: 1px solid var(--panel-border);
    padding-top: 2rem;
    display: flex;
    justify-content: center;
}

/* --- SECTION & GRID ARCHITECTURE --- */
.section-padding {
    padding: 4.5rem 0;
}

.center {
    text-align: center;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-header.center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

/* --- HERO COMPONENTS --- */
.hero-panel {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-color: var(--black);
    overflow: hidden;
    border-bottom: 1px solid var(--panel-border);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    background: rgba(15, 15, 15, 0.9);
    padding: 3rem;
    border: 1px solid var(--brass);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 40px rgba(0,0,0,1);
}

.hero-coin {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--brass);
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.brand-subtitle {
    color: var(--brass);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.brand-title {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.2;
}

.hero-headline {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--amber);
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
}

.hero-subheading {
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* --- COMMAND DECK PANELS --- */
.riveted-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    padding: 2rem;
    position: relative;
    box-shadow:
        inset 0 0 20px rgba(0,0,0,0.6),
        0 4px 10px rgba(0,0,0,0.4),
        0 1px 0 rgba(255,255,255,0.05);
}

.brass-border {
    border: 2px solid var(--brass);
    box-shadow: 0 0 20px rgba(181, 142, 42, 0.15), inset 0 0 15px rgba(0,0,0,0.6);
}

.card h3 {
    font-size: 0.85rem;
    color: var(--brass);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 0.75rem;
}

/* --- FAQ ACCORDION --- */
.faq-item {
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--panel-border);
}

.faq-toggle-icon {
    color: var(--amber);
    font-family: monospace;
    font-weight: bold;
}

/* --- DECK DETAILS --- */
.status-light {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
    margin-bottom: 1rem;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.8);
}

.status-light.green {
    background: var(--green-light);
    box-shadow: 0 0 8px var(--green-light);
}

.status-rivet {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #666, #222);
    border: 1px solid #111;
}

@keyframes power-pulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
        background: var(--amber);
        box-shadow: 0 0 8px var(--amber);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .status-rivet {
        animation: power-pulse 4s infinite ease-in-out;
    }
}

.console-pill {
    background: #080808;
    border-left: 3px solid var(--copper);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    color: var(--text-dim);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.statement {
    background: linear-gradient(135deg, #b58e2a 0%, #8c6d1d 100%);
    color: #050505;
    padding: 1.2rem 2rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.3), 0 5px 15px rgba(0,0,0,0.4);
}

.pillar {
    text-align: center;
}

.pillar-num {
    color: #333;
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.8rem;
    font-family: monospace;
}

.specs-list {
    list-style: none;
    margin: 1.5rem 0;
}

.specs-list li {
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--text-main);
}

.specs-list li::before {
    content: ">> ";
    color: var(--amber);
    font-family: monospace;
    font-weight: bold;
}

.ignition {
    text-align: center;
    background: #030303;
}

.ignition-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

/* --- FOOTER --- */
.command-footer {
    background-color: #030303;
    border-top: 1px solid var(--brass);
    padding: 3rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.footer-title {
    color: var(--brass);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    letter-spacing: 0.1em;
}

.footer-subtitle {
    color: var(--text-dim);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.75rem;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--amber);
}

.footer-legal-col {
    text-align: right;
    border-left: 1px solid #222;
    padding-left: 2rem;
}

.footer-legal {
    color: #333;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- RESPONSIVE PASS --- */
@media (max-width: 1024px) {
    .desktop-nav,
    .nav-links {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: block;
        background: var(--black);
        border: 1px solid var(--brass);
        color: var(--brass);
        padding: 0.6rem 1.2rem;
        cursor: pointer;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        box-shadow: inset 0 0 5px rgba(181, 142, 42, 0.2);
        flex-shrink: 0;
    }

    .nav-container {
        gap: 1rem;
    }

    .grid-3,
    .grid-5 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-legal-col {
        text-align: center;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #222;
        padding-top: 2rem;
    }
}

@media (max-width: 600px) {
    .section-padding {
        padding: 3rem 0;
    }

    .hero-panel {
        min-height: 60vh;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        width: calc(100% - 2rem);
    }

    .desktop-cta {
        padding: 0.6rem 0.8rem;
        font-size: 0.65rem;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .nav-brand-text {
        font-size: 0.8rem;
    }
}

@media (min-width: 1025px) {
    .nav-container {
        flex-wrap: nowrap;
    }
}