/* ============================================
   IMEXBOX — Sovereign Digital Brain
   Theme: Deep Space · Glass · Orange Accent
   ============================================ */

/* ---------- RESET & VARIABLES ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0A0A0A;
    --black-2: #111111;
    --dark: #1A1A1A;
    --dark-2: #222222;
    --gray: #6B6B6B;
    --gray-light: #999999;
    --gray-lighter: #CCCCCC;
    --white: #F0F0F0;
    --white-pure: #FFFFFF;

    --orange: #EB5A18;
    --orange-dark: #C44A12;
    --orange-glow: rgba(235, 90, 24, 0.3);
    --orange-glow-heavy: rgba(235, 90, 24, 0.5);

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-hover: rgba(255, 255, 255, 0.07);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Space Mono', monospace;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    --max-width: 1200px;
    --section-padding: 120px 24px;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ---------- UTILITY ---------- */
.text-accent {
    color: var(--orange);
}

.section {
    padding: var(--section-padding);
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--orange);
    border: 1px solid var(--orange-glow);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    background: rgba(235, 90, 24, 0.05);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- GLOBAL HEADER ---------- */
.global-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--white);
}

.logo-accent {
    color: var(--orange);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s var(--ease-out);
}

.nav a:hover {
    color: var(--white);
}

.nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-ghost {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-ghost:hover {
    color: var(--white);
    background: var(--glass-bg);
}

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

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--orange);
    border: 1px solid var(--orange-glow);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 40px;
    background: rgba(235, 90, 24, 0.08);
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-desc {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto 48px;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out) 1s both;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--orange);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 30px var(--orange-glow);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 50px var(--orange-glow-heavy);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--gray-light);
    background: var(--glass-hover);
    transform: translateY(-2px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s var(--ease-out) 1.5s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gray), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.3); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   WHY IMEXBOX
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-left .section-label {
    margin-bottom: 16px;
}

.why-left .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
}

.sovereignty-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-light);
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 10px var(--orange-glow);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.why-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sovereignty-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all 0.5s var(--ease-out);
    opacity: 0;
    transform: translateX(30px);
}

.sovereignty-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.sovereignty-item:hover {
    background: var(--glass-hover);
    border-color: rgba(235, 90, 24, 0.2);
    transform: translateX(8px);
}

.sovereignty-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.sovereignty-text {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.sovereignty-divider {
    height: 1px;
    background: linear-gradient(to right, var(--glass-border), var(--orange-glow), var(--glass-border));
    margin: 12px 0;
}

.sovereignty-all {
    text-align: center;
    padding: 16px;
}

.sovereignty-all-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, var(--orange), #FF8A50, var(--orange));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s ease-in-out infinite;
}

@keyframes shimmerText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   GLASS CARDS
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.glass-card {
    position: relative;
    padding: 40px 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    cursor: default;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(235, 90, 24, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(235, 90, 24, 0.1);
}

.glass-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(235, 90, 24, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.glass-card:hover .glass-card-glow {
    opacity: 1;
}

.glass-card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.glass-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.glass-card-desc {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.glass-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.glass-card-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(235, 90, 24, 0.1);
    color: var(--orange);
    border: 1px solid rgba(235, 90, 24, 0.15);
}

/* ============================================
   ARCHITECTURE TIMELINE
   ============================================ */
.arch-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}

.arch-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.6s var(--ease-out);
}

.arch-step.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.arch-node {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    min-width: 240px;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
}

.arch-node:hover {
    border-color: var(--orange-glow);
    background: rgba(235, 90, 24, 0.08);
    box-shadow: 0 0 30px var(--orange-glow);
    transform: scale(1.05);
}

.arch-node-final {
    border-color: var(--orange-glow);
    background: rgba(235, 90, 24, 0.1);
    box-shadow: 0 0 20px var(--orange-glow);
}

.arch-icon {
    font-size: 1.5rem;
}

.arch-label {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.arch-arrow {
    color: var(--orange);
    padding: 8px 0;
    opacity: 0.6;
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ============================================
   FEATURES — BENTO GRID
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-item {
    padding: 32px 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out);
    cursor: default;
}

.bento-item:hover {
    transform: translateY(-4px);
    border-color: var(--orange-glow);
    box-shadow: 0 12px 40px rgba(235, 90, 24, 0.08);
    background: var(--glass-hover);
}

.bento-item-lg {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.bento-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.bento-desc {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   KNOWLEDGE GRAPH
   ============================================ */
.graph-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: radial-gradient(ellipse at center, rgba(235, 90, 24, 0.03), transparent 70%);
}

#knowledge-graph {
    width: 100%;
    height: 100%;
    display: block;
}

.graph-overlay-text {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--gray-light);
    font-family: var(--font-mono);
    background: rgba(10, 10, 10, 0.7);
    padding: 12px 24px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
}

/* ============================================
   ROADMAP
   ============================================ */
.roadmap-container {
    position: relative;
    padding: 20px 0;
}

.roadmap-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--glass-border), var(--orange-glow), var(--glass-border));
    transform: translateY(-50%);
}

.roadmap-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.roadmap-item {
    text-align: center;
    position: relative;
    padding-top: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out);
}

.roadmap-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.roadmap-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--orange);
    border: 3px solid var(--black);
    box-shadow: 0 0 20px var(--orange-glow);
    z-index: 1;
}

.roadmap-year {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 12px;
}

.roadmap-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s var(--ease-out);
}

.roadmap-content:hover {
    border-color: var(--orange-glow);
    background: var(--glass-hover);
    transform: translateY(-4px);
}

.roadmap-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.roadmap-content p {
    font-size: 0.85rem;
    color: var(--gray-light);
    line-height: 1.6;
}

/* ============================================
   DEVELOPER — TERMINAL
   ============================================ */
.terminal {
    max-width: 680px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--dark);
    border-bottom: 1px solid var(--glass-border);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gray);
}

.terminal-body {
    padding: 24px;
    background: var(--black-2);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
}

.terminal-line {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
}

.terminal-prompt {
    color: var(--orange);
    font-weight: 600;
}

.terminal-command {
    color: var(--white);
}

.typing-command {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--orange);
    animation: typewriter 1.5s steps(22) 0.5s forwards, blink 0.8s step-end infinite;
    max-width: 0;
    display: inline-block;
}

@keyframes typewriter {
    to { max-width: 300px; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.terminal-output {
    padding-left: 28px;
}

.term-line {
    color: var(--gray-light);
    opacity: 0;
    transition: all 0.4s var(--ease-out);
}

.term-line.visible {
    opacity: 1;
    color: var(--gray-lighter);
}

.term-success {
    color: #27C93F !important;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--glass-border);
}

.term-blink {
    animation: termBlink 1s step-end infinite;
    color: var(--orange);
}

@keyframes termBlink {
    50% { opacity: 0; }
}

/* ============================================
   COMMUNITY
   ============================================ */
.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.community-card {
    position: relative;
    padding: 40px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.community-card:hover {
    transform: translateY(-8px);
    border-color: var(--orange-glow);
    box-shadow: 0 20px 60px rgba(235, 90, 24, 0.12);
    background: var(--glass-hover);
}

.community-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(235, 90, 24, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.community-card:hover .community-card-glow {
    opacity: 1;
}

.community-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(235, 90, 24, 0.1);
    border: 1px solid rgba(235, 90, 24, 0.15);
    color: var(--orange);
}

.community-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.community-desc {
    font-size: 0.85rem;
    color: var(--gray-light);
    line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.global-footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 24px 40px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: 60px;
}

.footer-brand .logo {
    font-size: 2rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 8px;
    font-weight: 500;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--gray);
}

.footer-copy a {
    color: var(--gray-light);
    text-decoration: none;
}

.footer-copy a:hover {
    color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-item-lg {
        grid-row: span 1;
    }

    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .roadmap-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .roadmap-line {
        display: none;
    }

    .roadmap-item {
        padding-top: 20px;
    }

    .roadmap-dot {
        position: relative;
        margin-bottom: 12px;
    }
}

@media (max-width: 900px) {
    .global-header {
        padding: 16px 20px;
    }

    .nav {
        display: none;
    }

    .hero {
        min-height: 90vh;
        padding: 100px 20px 60px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-items {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .graph-container {
        height: 350px;
    }

    .arch-node {
        min-width: 180px;
        padding: 14px 24px;
    }

    .header-actions .btn-ghost:first-child {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .terminal-body {
        font-size: 0.75rem;
        padding: 16px;
    }
}

/* ---------- SELECTION ---------- */
::selection {
    background: rgba(235, 90, 24, 0.3);
    color: var(--white);
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-2);
    border-radius: 4px;
}

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