/* ─── CSS VARIABLES ─────────────────────────────────────── */
:root {
    --bg-primary: #030303;
    --bg-secondary: rgba(255, 255, 255, 0.02);
    --bg-tertiary: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #8a919e;
    --text-tertiary: #c5c9d0;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-strong: rgba(255, 255, 255, 0.1);
    --accent: #FF6600;
    --accent-hover: #FF8533;
}

[data-theme="light"] {
    --bg-primary: #faf9f7;
    --bg-secondary: rgba(0, 0, 0, 0.02);
    --bg-tertiary: rgba(0, 0, 0, 0.05);
    --text-primary: #111111;
    --text-secondary: #6b7280;
    --text-tertiary: #374151;
    --border-color: rgba(0, 0, 0, 0.06);
    --border-strong: rgba(0, 0, 0, 0.12);
    --accent: #FF6600;
    --accent-hover: #CC5200;
}

/* ─── GRID CANVAS ───────────────────────────────────────── */
.grid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ─── BODY BASE ─────────────────────────────────────────── */
body {
    background-color: var(--bg-primary);
    background-image:
        linear-gradient(rgba(255, 102, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 102, 0, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--text-tertiary);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

[data-theme="light"] body {
    background-image:
        linear-gradient(rgba(255, 102, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 102, 0, 0.04) 1px, transparent 1px);
}

/* ─── GLASS / BRUTAL ────────────────────────────────────── */
.brutal-border {
    border: 1px solid rgba(255, 102, 0, 0.2);
    box-shadow: 4px 4px 0px rgba(255, 102, 0, 0.2);
    transition: all 0.2s ease;
}

.brutal-border:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px rgba(255, 102, 0, 0.5);
    border-color: rgba(255, 102, 0, 0.5);
}

.glass-panel {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .glass-panel {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .brutal-border {
    background: rgba(255, 255, 255, 0.9);
}

/* ─── TYPEWRITER / REVEAL TEXT ──────────────────────────── */
#typewriter {
    line-height: 1.15;
    word-break: break-word;
    hyphens: auto;
    color: var(--text-primary);
}

/* All spans inside typewriter MUST inherit color, never go black */
#typewriter span:not(.cursor) {
    color: inherit !important;
    transition: opacity 0.15s ease, filter 0.15s ease;
}

.reveal-text .cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: #FF6600;
    margin-left: 3px;
    opacity: 1;
    filter: blur(0);
    animation: blink 1s infinite;
    vertical-align: -0.05em;
    border-radius: 1px;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1
    }

    50%,
    100% {
        opacity: 0
    }
}

/* ─── SCROLL REVEAL ─────────────────────────────────────── */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* ─── SCANLINE ──────────────────────────────────────────── */
@keyframes scanline {
    0% {
        transform: translateY(-100%)
    }

    100% {
        transform: translateY(100vh)
    }
}

.animate-scanline {
    animation: scanline 8s linear infinite;
}

/* ─── PULSE GLOW ────────────────────────────────────────── */
@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.6))
    }

    50% {
        opacity: 0.7;
        filter: drop-shadow(0 0 5px rgba(255, 102, 0, 0.3))
    }
}

.animate-pulse-glow {
    animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ─── LOG TERMINAL ──────────────────────────────────────── */
.log-entry {
    opacity: 0;
    animation: fadeInOut 4s forwards;
}

.log-entry:nth-child(1) {
    animation-delay: 0s
}

.log-entry:nth-child(2) {
    animation-delay: 1.5s
}

.log-entry:nth-child(3) {
    animation-delay: 3s
}

.log-entry:nth-child(4) {
    animation-delay: 4.5s
}

.log-entry:nth-child(5) {
    animation-delay: 6s
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(10px)
    }

    10% {
        opacity: 1;
        transform: translateY(0)
    }

    90% {
        opacity: 1;
        transform: translateY(0)
    }

    100% {
        opacity: 0.5;
        transform: translateY(-10px)
    }
}

/* ─── SCROLLBAR ─────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: #030303
}

::-webkit-scrollbar-thumb {
    background: #FF6600
}

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .faq-item {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.faq-question {
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #FF6600;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    /* No padding here — padding causes bleed-through with overflow:hidden */
}

.faq-answer-inner {
    padding: 0 1.25rem 1.25rem;
}

@media (min-width: 768px) {
    .faq-answer-inner {
        padding: 0 1.5rem 1.5rem;
    }
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ─── MOBILE NAV ────────────────────────────────────────── */
#mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 102, 0, 0.15);
}

[data-theme="light"] #mobile-menu {
    background: rgba(255, 255, 255, 0.98);
}

#mobile-menu.open {
    display: flex;
}

#mobile-menu a {
    padding: 14px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s, background 0.2s;
}

[data-theme="light"] #mobile-menu a {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

#mobile-menu a:hover {
    color: #FF6600;
    background: rgba(255, 102, 0, 0.05);
}

#mobile-menu .mobile-cta {
    margin: 16px 24px 20px;
    background: #FF6600;
    color: #000;
    text-align: center;
    padding: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    border: none;
}

/* ─── HAMBURGER ─────────────────────────────────────────── */
.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform-origin: center;
}

[data-theme="light"] .hamburger span {
    background: #111;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── THEME TOGGLE ──────────────────────────────────────── */
.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    border-color: #FF6600;
    transform: rotate(20deg) scale(1.05);
}

.theme-toggle svg {
    position: absolute;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
}

.theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ─── CANDLE CHART ──────────────────────────────────────── */
.candle-section {
    padding: 32px 16px 24px;
    text-align: center;
}

.candle-headline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.1;
}

.candle-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px 16px 12px;
}

.candle-chart {
    display: flex;
    align-items: flex-end;
    height: 100px;
    gap: 5px;
}

.candle {
    width: 6px;
    height: 110%;
    position: relative;
    opacity: 0;
}

.candle:nth-child(odd) {
    filter: drop-shadow(0 0 2.7px #00ff55);
}

.candle:nth-child(even) {
    filter: drop-shadow(0 0 2.7px #ff3333);
}

.candle::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    bottom: var(--b);
    height: var(--h);
}

.candle::before {
    content: "";
    position: absolute;
    left: 63%;
    transform: translateX(-50%);
    width: 1px;
    bottom: var(--wb);
    height: var(--wh);
}

.candle:nth-child(odd)::after,
.candle:nth-child(odd)::before {
    background: #00ff55;
    border: 1px solid #00ff55;
}

.candle:nth-child(even)::after,
.candle:nth-child(even)::before {
    background: #ff3333;
    border: 1px solid #ff3333;
}

.candle:nth-child(1) {
    --b: 7.1%;
    --h: 18.93%;
    --wb: 0%;
    --wh: 31.95%;
    --d: 0s;
    --pi: 0
}

.candle:nth-child(2) {
    --b: 26.04%;
    --h: 2.37%;
    --wb: 19.41%;
    --wh: 14.91%;
    --d: .065s;
    --pi: 1
}

.candle:nth-child(3) {
    --b: 28.64%;
    --h: 4.5%;
    --wb: 16.92%;
    --wh: 21.66%;
    --d: .13s;
    --pi: 2
}

.candle:nth-child(4) {
    --b: 31.42%;
    --h: 3.43%;
    --wb: 19.76%;
    --wh: 27.93%;
    --d: .195s;
    --pi: 3
}

.candle:nth-child(5) {
    --b: 31.42%;
    --h: 15.44%;
    --wb: 27.43%;
    --wh: 28.07%;
    --d: .26s;
    --pi: 4
}

.candle:nth-child(6) {
    --b: 46.54%;
    --h: 0.28%;
    --wb: 43.43%;
    --wh: 24.38%;
    --d: .325s;
    --pi: 5
}

.candle:nth-child(7) {
    --b: 35.86%;
    --h: 8.7%;
    --wb: 29.7%;
    --wh: 24.5%;
    --d: .39s;
    --pi: 6
}

.candle:nth-child(8) {
    --b: 11.67%;
    --h: 24.19%;
    --wb: 5.33%;
    --wh: 31.83%;
    --d: .455s;
    --pi: 7
}

.candle:nth-child(9) {
    --b: 11.83%;
    --h: 15.1%;
    --wb: 7.93%;
    --wh: 24.97%;
    --d: .52s;
    --pi: 8
}

.candle:nth-child(10) {
    --b: 27.81%;
    --h: 12.04%;
    --wb: 27.69%;
    --wh: 28.17%;
    --d: .585s;
    --pi: 9
}

.candle:nth-child(11) {
    --b: 39.85%;
    --h: 28.25%;
    --wb: 39.53%;
    --wh: 28.58%;
    --d: .65s;
    --pi: 10
}

.candle:nth-child(12) {
    --b: 70.8%;
    --h: 6.27%;
    --wb: 60.96%;
    --wh: 24.84%;
    --d: .715s;
    --pi: 11
}

.candle:nth-child(13) {
    --b: 75.8%;
    --h: 2.71%;
    --wb: 68.38%;
    --wh: 31.62%;
    --d: .78s;
    --pi: 12
}

.candle:nth-child(14) {
    --b: 67.23%;
    --h: 8.71%;
    --wb: 64.8%;
    --wh: 24.97%;
    --d: .845s;
    --pi: 13
}

.candle:nth-child(15) {
    --b: 67.81%;
    --h: 7.85%;
    --wb: 57.54%;
    --wh: 27.55%;
    --d: .91s;
    --pi: 14
}

.candle:nth-child(16) {
    --b: 70.08%;
    --h: 6.14%;
    --wb: 55.68%;
    --wh: 21.83%;
    --d: .975s;
    --pi: 15
}

.candle:nth-child(17) {
    --b: 66.39%;
    --h: 3.69%;
    --wb: 58.11%;
    --wh: 26.11%;
    --d: 1.04s;
    --pi: 16
}

.candle:nth-child(18) {
    --b: 64.8%;
    --h: 9.78%;
    --wb: 45.47%;
    --wh: 29.61%;
    --d: 1.105s;
    --pi: 17
}

.candle-chart.animate .candle {
    animation: candle-appear 1.8s ease-out forwards;
    animation-delay: var(--d);
}

@keyframes candle-appear {
    0% {
        opacity: 0;
        transform: scaleY(0)
    }

    15% {
        opacity: 1;
        transform: scaleY(1.12)
    }

    60% {
        opacity: 1;
        transform: scaleY(1.04)
    }

    100% {
        opacity: 1;
        transform: scaleY(1)
    }
}

.candle-chart.pulsing .candle {
    opacity: 1;
    animation: candle-pulse 5.96s ease-in-out infinite;
    animation-delay: calc(var(--pi) * 0.22s);
}

@keyframes candle-pulse {
    0% {
        transform: scaleY(1);
        filter: drop-shadow(0 0 3px currentColor)
    }

    2% {
        transform: scaleY(1.45);
        filter: drop-shadow(0 0 10px currentColor) brightness(1.8)
    }

    7% {
        transform: scaleY(1);
        filter: drop-shadow(0 0 3px currentColor)
    }

    /* 2s pause (≈33% of 5.96s ≈ before 66%) — stay idle */
    66% {
        transform: scaleY(1);
        filter: drop-shadow(0 0 3px currentColor)
    }

    100% {
        transform: scaleY(1);
        filter: drop-shadow(0 0 3px currentColor)
    }
}

/* ─── LIGHT MODE OVERRIDES ──────────────────────────────── */
[data-theme="light"] .text-gray-300 {
    color: #374151 !important;
}

[data-theme="light"] .text-gray-400 {
    color: #6b7280 !important;
}

[data-theme="light"] .text-gray-200 {
    color: #374151 !important;
}

[data-theme="light"] .text-white {
    color: #111111 !important;
}

[data-theme="light"] .bg-dark-950,
[data-theme="light"] .bg-dark-900,
[data-theme="light"] .bg-dark-800 {
    background: rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .border-white\/5,
[data-theme="light"] .border-white\/10 {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] nav.fixed {
    background: rgba(255, 255, 255, 0.95) !important;
}

[data-theme="light"] body {
    background-color: #faf9f7 !important;
}

[data-theme="light"] .bg-black {
    background: #f3f4f6 !important;
}

[data-theme="light"] footer.bg-black {
    background: #f3f4f6 !important;
}

[data-theme="light"] .text-gray-500 {
    color: #9ca3af !important;
}

/* Terminal box (hero) keeps dark in light mode for readability */
[data-theme="light"] .terminal-box {
    background: #1a1a2e !important;
}

/* Roadmap card uses bg-primary var — no override needed */
/* Progress bar tracks */
[data-theme="light"] [style*="background:#141414"] {
    background: #e5e7eb !important;
}

/* Inline dark backgrounds on cards / panels */
[data-theme="light"] [style*="background:#030303"],
[data-theme="light"] [style*="background:#000"] {
    background: #f9fafb !important;
}

/* Log entries inside terminal keep their colors on light */
[data-theme="light"] .terminal-box *,
[data-theme="light"] .token-terminal * {
    /* preserve neon colors inside dark terminal panels */
}

/* Profit split boxes */
[data-theme="light"] .plan-card [style*="background:rgba(74,222,128"] {
    background: rgba(74, 222, 128, 0.12) !important;
}

[data-theme="light"] .plan-card [style*="background:rgba(255,102,0"] {
    background: rgba(255, 102, 0, 0.1) !important;
}

[data-theme="light"] .plan-card [style*="background:rgba(234,179,8"] {
    background: rgba(234, 179, 8, 0.1) !important;
}

/* Verification block */
[data-theme="light"] [style*="background:rgba(255,255,255,0.02)"] {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Free trial banner */
[data-theme="light"] [style*="background:rgba(74,222,128,0.06)"] {
    background: rgba(74, 222, 128, 0.1) !important;
}

/* Split explainer */
[data-theme="light"] [style*="background:rgba(255,255,255,0.02);border:1px solid rgba(255,255,255,0.08)"] {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Presale card inner stats */
[data-theme="light"] [style*="background:#030303"] {
    background: rgba(0, 0, 0, 0.04) !important;
}

/* Progress bar hatching */
[data-theme="light"] [style*="background:rgba(255,102,0,0.2)"] {
    background: rgba(255, 102, 0, 0.15) !important;
}

/* Candle chart area */
[data-theme="light"] .candle-section {
    background: transparent;
}

/* Hero badge */
[data-theme="light"] .hero-badge {
    background: rgba(255, 102, 0, 0.12) !important;
}

/* Mobile menu link colors */
[data-theme="light"] #mobile-menu a {
    color: #374151 !important;
}

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f3f4f6;
}

/* Typewriter text explicitly white on dark, dark on light */
[data-theme="light"] #typewriter {
    color: #111111 !important;
}

[data-theme="light"] #typewriter span {
    color: #111111 !important;
}

/* FAQ border */
[data-theme="light"] .faq-item {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Log entries text that's hardcoded */
[data-theme="light"] .log-entry[style*="color:var(--text-secondary)"] {
    color: #374151 !important;
}

/* ─── MOBILE LAYOUT FIXES ───────────────────────────────── */
@media (max-width: 767px) {

    /* Hero section: tighter padding */
    .hero-section {
        padding-top: 5rem !important;
        padding-bottom: 2rem !important;
    }

    /* Badge pill - prevent overflow */
    .hero-badge {
        font-size: 0.65rem !important;
        padding: 6px 10px !important;
        letter-spacing: 0.04em !important;
        max-width: 100%;
        white-space: normal !important;
        text-align: center;
        justify-content: center;
    }

    /* Hero paragraph - more readable on mobile */
    .hero-body-text {
        font-size: 0.9rem !important;
        line-height: 1.65 !important;
        margin-bottom: 1.5rem !important;
    }

    /* Hero CTA buttons - full width stacked on mobile */
    .hero-cta-wrap {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .hero-cta-wrap a {
        width: 100%;
        padding: 14px 20px !important;
        font-size: 0.8rem !important;
        letter-spacing: 0.1em !important;
    }

    /* Presale card — reduce inner padding */
    .presale-card {
        padding: 1.25rem !important;
        margin-top: 1.5rem !important;
    }

    .presale-card .absolute {
        top: -10px !important;
        right: -10px !important;
        font-size: 0.65rem !important;
        padding: 4px 10px !important;
    }

    /* Terminal log - smaller text, less height */
    .terminal-box {
        height: 7rem !important;
        font-size: 0.65rem !important;
        padding: 10px !important;
    }

    .terminal-box .terminal-label {
        font-size: 0.6rem !important;
        margin-bottom: 6px !important;
        padding-bottom: 6px !important;
    }

    /* Candle section compact */
    .candle-section {
        padding: 16px 8px 12px !important;
    }

    .candle-headline {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }

    .candle-wrapper {
        padding: 12px 8px 8px !important;
    }

    .candle-chart {
        height: 70px !important;
        gap: 3px !important;
    }

    .candle {
        width: 4px !important;
    }

    /* Section headings */
    section h2 {
        font-size: 1.6rem !important;
        line-height: 1.15 !important;
    }

    section h3 {
        font-size: 1.15rem !important;
    }

    /* Reduce section vertical padding */
    section.py-16 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    section.py-24 {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    section.px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Truth cards - single column */
    .truth-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .truth-card {
        padding: 1.25rem !important;
    }

    .truth-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
    }

    /* Plans - single column on mobile */
    .plans-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .plan-card {
        padding: 1.25rem !important;
    }

    .plan-price {
        font-size: 2.25rem !important;
    }

    .plan-btn {
        padding: 14px !important;
        font-size: 0.75rem !important;
    }

    /* Tokenomics stacked */
    .tokenomics-wrap {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .token-terminal {
        padding: 1rem !important;
    }

    .token-terminal ul {
        font-size: 0.78rem !important;
    }

    /* FAQ */
    .faq-question {
        padding: 1rem !important;
    }

    .faq-question span:first-child {
        font-size: 0.78rem !important;
    }

    .faq-answer {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .faq-answer p {
        font-size: 0.8rem !important;
    }

    /* Footer */
    footer {
        padding: 2rem 1rem !important;
    }

    footer .text-xs {
        font-size: 0.65rem !important;
        line-height: 1.55 !important;
    }

    footer .flex {
        gap: 0.75rem !important;
    }

    footer .font-mono.text-sm {
        font-size: 0.7rem !important;
    }

    /* Nav logo */
    nav .text-xl {
        font-size: 1rem !important;
    }

    .theme-toggle {
        width: 34px !important;
        height: 34px !important;
    }
}

/* Small phones */
@media (max-width: 375px) {
    section h2 {
        font-size: 1.35rem !important;
    }

    .hero-body-text {
        font-size: 0.82rem !important;
    }
}

/* ─── COMING SOON MODAL ─────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

[data-theme="light"] .modal-content {
    background: #faf9f7;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.75rem;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #FF6600;
}

.modal-icon {
    margin-bottom: 1.25rem;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.modal-text {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 102, 0, 0.3);
    background: rgba(255, 102, 0, 0.1);
    color: #FF6600;
    margin-bottom: 1.5rem;
}

.modal-btn {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: #FF6600;
    color: #000;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-btn:hover {
    background: #FF8533;
    transform: translateY(-2px);
}