/* ==========================================================================
   IOUBI Web Portal - Single-Page Linear Scroll Stylesheet
   ========================================================================== */

/* Custom Deltar Symbol Font */
@font-face {
    font-family: 'DeltarFont';
    src: url('Deltar-symbol-Regular.woff2?v=1.3') format('woff2'),
         url('Deltar-symbol-Regular.ttf?v=1.3') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.deltar-font {
    font-family: 'DeltarFont', var(--font-sans);
    display: inline-block;
    vertical-align: baseline;
    line-height: 1;
    color: inherit;
    margin: 0;
    font-style: normal;
}

.logo-deltar-char {
    font-size: 2.6rem;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 10px var(--accent-glow));
    transition: transform var(--trans-mid);
    line-height: 1;
}

.brand-logo:hover .logo-deltar-char {
    transform: scale(1.15) rotate(-5deg);
}

.hero-deltar-symbol {
    font-size: 8rem;
    color: var(--accent-cyan);
    text-shadow: 0 0 35px var(--accent-glow), 0 0 70px rgba(0, 240, 255, 0.4);
    display: inline-block;
    line-height: 1;
    margin-bottom: 1rem;
    animation: pulseSymbol 4s ease-in-out infinite alternate;
}

@keyframes pulseSymbol {
    0% { transform: scale(0.98); filter: drop-shadow(0 0 20px var(--accent-cyan)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 45px var(--accent-cyan)); }
}

:root {
    /* Color Palette - Architectural Dark ReFi Aesthetic */
    --bg-dark: #07090e;
    --bg-card: rgba(16, 22, 34, 0.8);
    --bg-card-border: rgba(0, 240, 255, 0.15);
    --bg-card-hover: rgba(22, 30, 48, 0.9);

    --text-main: #f0f4fc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Accents */
    --accent-cyan: #00f0ff;
    --accent-indigo: #6366f1;
    --accent-magenta: #f43f5e;
    --accent-glow: rgba(0, 240, 255, 0.35);

    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-mid: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Canvas Layer */
#canvas-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
    background: #000000;
}

#bg-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.site-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================================================
   VIEW-SWITCHING TAB ARCHITECTURE
   ========================================================================== */

.view-tab {
    width: 100%;
    min-height: calc(100vh - 450px);
    padding-bottom: 3rem;
}

.view-tab.active-view {
    display: block;
    animation: fadeInViewTab 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-tab.hidden-view {
    display: none !important;
}

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

/* Simulator Switcher Navigation Bar */
.simulator-nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
    margin: 1.5rem auto 3rem;
    flex-wrap: wrap;
    max-width: 1150px;
}

.sim-nav-pill {
    background: #0d1117;
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

.sim-nav-pill:hover,
.sim-nav-pill.active {
    color: #000;
    background: linear-gradient(135deg, #00f0ff, #00ff9d);
    border-color: transparent;
    box-shadow: 0 0 18px rgba(0, 255, 157, 0.5);
    font-weight: 700;
}

/* View Isolation Rule: Only display one simulator on screen at any given time */
.sim-panel {
    display: none !important;
}

.sim-panel.active-sim {
    display: block !important;
    animation: fadeInTab 0.25s ease;
}

/* Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #000000;
    border-bottom: 1px solid #00f3ff;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    padding: 0.85rem 1.5rem;
}

.nav-container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    color: #ffffff;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent-cyan);
}

.logo-deltar-char {
    font-size: 1.75rem;
    color: #00ff9d;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.6);
    transition: transform var(--trans-mid);
}

.brand-logo:hover .logo-deltar-char {
    transform: scale(1.15) rotate(-5deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all var(--trans-fast);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link:hover, .nav-link.active {
    color: #00ff9d;
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.4);
}

/* Simulators Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Invisible bridge so mouse hover never drops */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 16px;
}

.nav-dropdown-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color var(--trans-fast);
}

.dropdown-caret {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-caret,
.nav-dropdown.open .dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle {
    color: #00ff9d;
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.4);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    background: #0d1117;
    border: 1.5px solid #00f3ff;
    border-radius: 0.75rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 243, 255, 0.25);
    padding: 0.65rem;
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: flex;
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.02);
}

.dropdown-item:hover, .dropdown-item.active {
    background: rgba(0, 243, 255, 0.08);
    color: #ffffff;
    border-left: 3px solid #00ff9d;
}

.dropdown-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.dropdown-text strong {
    font-size: 0.88rem;
    color: #f0f6fc;
}

.dropdown-item:hover .dropdown-text strong {
    color: #00ff9d;
}

.dropdown-text small {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.3;
}

.status-badge {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    padding: 0.35rem 0.85rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid var(--accent-cyan);
    border-radius: 999px;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.3; transform: scale(0.9); }
}

/* Main Container & Sections */
main#app-main {
    position: relative;
    z-index: 10;
    padding-top: 5rem;
}

.section-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all var(--trans-mid);
}

.glass-panel:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 12px 35px var(--accent-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--trans-fast);
    border: none;
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
}

.w-full { width: 100%; }

/* Typography Helpers */
.glow-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cyan-text { color: var(--accent-cyan); }
.magenta-text { color: var(--accent-magenta); }

/* ==========================================================================
   1. HERO SECTION (ABOVE THE FOLD)
   ========================================================================== */

.hero-section {
    text-align: center;
    padding: 6rem 1.5rem 8rem 1.5rem;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.engineering-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid var(--accent-cyan);
    padding: 0.4rem 1.25rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
    box-shadow: 0 0 15px var(--accent-glow);
}

.hero-deltar-wrapper {
    margin-bottom: 2rem;
    display: inline-block;
}

.deltar-hero-icon {
    filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.4));
}

.halo-spin {
    transform-origin: center;
    animation: rotateHalo 25s linear infinite;
}

@keyframes rotateHalo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 850px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   2. KEY SPECIFICATIONS: THE FIVE FUNDAMENTAL ACCOUNTING MECHANICS
   ========================================================================== */

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.spec-box-card {
    background: #0d1117;
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 0.85rem;
    padding: 2rem 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.spec-box-card:hover {
    border-color: #00f3ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 243, 255, 0.15);
}

.spec-cyan-num {
    font-family: var(--font-mono);
    font-size: 1.85rem;
    font-weight: 800;
    color: #00f3ff;
    text-shadow: 0 0 14px rgba(0, 243, 255, 0.6);
    line-height: 1;
    margin-bottom: 0.85rem;
}

.spec-box-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.spec-box-text {
    font-size: 0.92rem;
    color: #c9d1d9;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.spec-box-footer {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.85rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.spec-box-footer strong {
    color: #94a3b8;
}

/* ==========================================================================
   3. THE WHY AND WHAT: RESTRUCTURED COMPARISON CARDS
   ========================================================================== */

.comparison-systems-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comp-system-card {
    background: rgba(13, 17, 23, 0.9);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

.comp-system-card.legacy-card-wrap {
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.comp-system-card.ioubi-card-wrap {
    border: 1px solid rgba(0, 240, 255, 0.35);
}

.comp-system-header {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.25rem;
}

.comp-system-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0.5rem 0 0 0;
}

.comp-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    display: inline-block;
}

.legacy-badge {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.ioubi-badge {
    background: rgba(0, 255, 157, 0.15);
    border: 1px solid rgba(0, 255, 157, 0.4);
    color: #00ff9d;
}

.comp-items-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comp-box-item {
    background: #0d1117;
    border-radius: 0.75rem;
    padding: 1.5rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}

.legacy-item-box {
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.legacy-item-box:hover {
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.1);
}

.ioubi-item-box {
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.ioubi-item-box:hover {
    border-color: #00f3ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 243, 255, 0.12);
}

.comp-item-num {
    font-family: var(--font-mono);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.65rem;
}

.coral-num {
    color: #f87171;
    text-shadow: 0 0 10px rgba(248, 113, 113, 0.5);
}

.cyan-num {
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.comp-item-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.comp-item-text {
    font-size: 0.9rem;
    color: #c9d1d9;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.comp-item-footer {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.65rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.comp-item-footer strong {
    color: #94a3b8;
}

@media (max-width: 900px) {
    .comparison-systems-grid {
        grid-template-columns: 1fr;
    }
}

.breakdown-box {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.breakdown-title {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.breakdown-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.breakdown-list li {
    position: relative;
    padding-left: 1.3rem;
}

.problem-list li::before {
    content: "•";
    color: #f43f5e;
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    line-height: 1;
}

.solution-list li::before {
    content: "✓";
    color: #10b981;
    position: absolute;
    left: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.breakdown-list strong {
    color: var(--text-main);
}

.accent-metric {
    color: #fb7185;
    font-weight: 700;
    font-family: var(--font-mono);
}

.accent-metric-green {
    color: #34d399;
    font-weight: 700;
    font-family: var(--font-mono);
}

.card-callout-footer {
    margin-top: auto;
    padding: 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.problem-footer {
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: var(--text-main);
}

.problem-footer strong {
    color: #fb7185;
    display: block;
    margin-bottom: 0.25rem;
}

.solution-footer {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--text-main);
}

.solution-footer strong {
    color: #34d399;
    display: block;
    margin-bottom: 0.25rem;
}

.highlight-metric {
    color: #fb7185;
    font-weight: 700;
}

.highlight-metric-green {
    color: #34d399;
    font-weight: 700;
}

/* ==========================================================================
   4. THE DOCUMENTATION HUB (3-TIER FUNNEL)
   ========================================================================== */

.docs-funnel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.doc-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.25rem;
}

.highlight-card {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.doc-badge {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.doc-badge.accent {
    background: var(--accent-cyan);
    color: var(--bg-dark);
}

.doc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.doc-subtitle {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.doc-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.primer-inline-box {
    margin-bottom: 1.5rem;
}

.primer-accordion {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    padding: 0.85rem;
}

.primer-summary {
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    display: flex;
    justify-content: space-between;
}

.primer-text {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);

}

.primer-full-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1.25rem;
    max-height: 260px;
    overflow-y: auto;
    margin: 1.25rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.primer-full-box h4 {
    color: #fff;
    margin: 0.85rem 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.primer-full-box h4:first-child {
    margin-top: 0;
}

.primer-full-box p {
    margin-bottom: 0.65rem;
}

.primer-full-box p:last-child {
    margin-bottom: 0;
}

.doc-whitepaper-list {
    list-style: none;
    margin: 1.25rem 0 1.5rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.doc-whitepaper-list li {
    position: relative;
    padding-left: 1.2rem;
}

.doc-whitepaper-list li::before {
    content: "•";
    color: var(--accent-cyan);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.doc-feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.doc-feature-list li {
    margin-bottom: 0.5rem;
}

.book-cover-preview {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 2rem 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.cover-content h4 {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    letter-spacing: 0.1em;
}

.cover-content small {
    color: var(--text-muted);
}

/* ==========================================================================
   5. INTERACTIVE SIMULATORS
   ========================================================================== */

.sandbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.span-full { grid-column: 1 / -1; }

.tool-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.tool-badge {
    background: var(--accent-indigo);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.tool-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.sim-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.two-col-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.balance-slider {
    margin-top: 0.35rem;
    width: 100%;
    accent-color: var(--accent-cyan);
    cursor: pointer;
}

.fee-contrib-badge {
    margin-top: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    display: block;
    text-align: center;
}

.average-fee-box {
    background: rgba(0, 240, 255, 0.08);
    border: 2px solid var(--accent-cyan);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 0 20px var(--accent-glow);
    margin: 0.5rem 0;
}

.average-fee-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}

.average-fee-value {
    font-family: var(--font-mono);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1.15;
}

.average-fee-formula {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.input-suffix-group {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--bg-card-border);
    border-radius: 0.4rem;
    overflow: hidden;
}

.input-suffix-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.65rem 0.85rem;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

.input-suffix-group input:focus {
    outline: none;
}

.input-suffix {
    background: rgba(0, 240, 255, 0.1);
    border-left: 1px solid var(--bg-card-border);
    padding: 0.65rem 0.85rem;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.hint-inline {
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--text-dim);
    margin-left: 0.35rem;
}

.salary-tier-badge {
    margin-top: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 0.45rem 0.85rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.salary-tier-badge .tier-tag {
    color: var(--accent-cyan);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.salary-tier-badge strong {
    color: #fff;
}

.time-equiv-badge-box {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 0.65rem 0.85rem;
    border-radius: 0.4rem;
    color: #f59e0b;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    min-height: 42px;
}

.unified-table-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 0.75rem;
    overflow: hidden;
    margin-top: 0.5rem;
}

.unified-table-header {
    background: rgba(0, 240, 255, 0.12);
    color: var(--accent-cyan);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 240, 255, 0.25);
    text-align: center;
    font-family: var(--font-mono);
}

.unified-table-container {
    overflow-x: auto;
}

.unified-fee-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-align: left;
}

.unified-fee-table th, .unified-fee-table td {
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.65rem 0.85rem;
}

.unified-fee-table th {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: right;
}

.unified-fee-table th.col-metric {
    text-align: left;
    width: 45%;
}

.unified-fee-table td.row-label {
    text-align: left;
    font-weight: 600;
    color: var(--text-main);
}

.unified-fee-table td.val-deltars,
.unified-fee-table td.val-time {
    text-align: right;
    font-weight: 700;
    color: #fff;
}

.unified-fee-table tr.separator-row td {
    background: rgba(0, 240, 255, 0.06);
    border-top: 2px solid rgba(0, 240, 255, 0.3);
    border-bottom: 2px solid rgba(0, 240, 255, 0.3);
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
}

.unified-fee-table td.ubi-cell { color: #34d399; }
.unified-fee-table td.social-cell { color: var(--accent-cyan); }
.unified-fee-table td.gov-cell { color: #818cf8; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
}

.form-group input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--bg-card-border);
    padding: 0.65rem 0.85rem;
    border-radius: 0.4rem;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

.hint {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* ==========================================================================
   Macroeconomic Comparison & Dividend Engine (Full Width Component)
   ========================================================================== */

.macro-engine-card {
    grid-column: 1 / -1;
    width: 100%;
    background: #000000;
    border: 2px solid rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem;
}

.macro-header-panel {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.macro-controls-single-col {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    margin-top: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.75rem 1.5rem 2rem 1.5rem;
    border-radius: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

.macro-ctrl-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.macro-slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.macro-ctrl-item input[type="range"] {
    width: 100%;
    box-sizing: border-box;
}

.ctrl-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
}

.ctrl-label-row .ctrl-subtitle {
    font-size: 0.75rem;
    font-weight: normal;
    color: var(--text-dim);
    margin-left: 0.35rem;
}

.ctrl-val-badge {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
}

.ctrl-val-badge.cyan {
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
}

.macro-floating-tier {
    position: absolute;
    top: 100%;
    white-space: nowrap;
    pointer-events: none;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.35rem;
    transition: left 0.05s ease-out;
}

.macro-floating-tier .tier-main {
    color: #cbd5e1;
    font-weight: 500;
}

.macro-floating-tier .tier-desc {
    color: #64748b;
    font-size: 0.72rem;
    margin-left: 0.3rem;
}

.macro-solve-action-bar {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.solve-btn {
    white-space: nowrap;
    padding: 0.85rem 1.75rem;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #00f3ff, #00b4d8);
    color: #000;
    border: none;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    cursor: pointer;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solve-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
}

/* Dual Side-by-Side Comparison Grid */
.macro-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.macro-card {
    border-radius: 0.75rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

/* Legacy Card */
.legacy-card {
    background: rgba(20, 24, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.legacy-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.25);
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legacy-bullets li strong {
    color: #ff8080;
}

/* IOUBI Card */
.ioubi-card {
    background: rgba(8, 20, 30, 0.85);
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
}

.ioubi-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.12);
    border: 1px solid rgba(0, 255, 157, 0.3);
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.macro-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.macro-metrics-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.macro-metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.metric-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.metric-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.metric-subtext {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 1.35rem;
    font-weight: 800;
    white-space: nowrap;
}

.metric-value.legacy-val {
    color: #fff;
}

.metric-value.red-text {
    color: #ff4d4d;
}

.metric-value.ioubi-val {
    color: var(--accent-cyan);
}

.metric-value.emerald-text {
    color: #00ff9d;
    font-size: 1.45rem;
}

/* Progress Bars & Metric Graphs */
.macro-progress-container {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.85rem 1.1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.macro-progress-container.legacy-progress-box {
    border-color: rgba(255, 77, 77, 0.25);
    background: rgba(255, 77, 77, 0.05);
}

.macro-progress-container.ioubi-progress-box {
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
}

.progress-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.progress-track {
    height: 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-track .target-line-100 {
    position: absolute;
    left: 33.333%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 6px #fff;
    z-index: 2;
}

.progress-scale-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    margin-top: 0.15rem;
    padding: 0 2px;
}

.progress-scale-labels .marker-100 {
    color: #00ff9d;
    font-weight: 700;
}

.progress-scale-labels .marker-drain {
    color: #ff8080;
    font-weight: 700;
}

.progress-fill.legacy-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4d4d, #b91c1c);
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
    transition: width 0.3s ease;
}

.progress-fill.ioubi-fill {
    height: 100%;
    background: #00ff9d;
    box-shadow: 0 0 14px rgba(0, 255, 157, 0.6);
    transition: width 0.3s ease, background 0.3s ease;
}

/* Bullet list */
.macro-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

.macro-bullet-list li {
    position: relative;
    padding-left: 1.25rem;
}

.macro-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.legacy-bullets li::before {
    color: #ff4d4d;
}

/* Pool Breakdown Box */
.macro-pool-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pool-box-header {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.5rem;
}

.pool-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pool-item-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #fff;
}

.pool-item-title .badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
}

.ubi-badge { background: rgba(52, 211, 153, 0.2); color: #34d399; }
.social-badge { background: rgba(0, 240, 255, 0.2); color: var(--accent-cyan); }
.gov-badge { background: rgba(129, 140, 248, 0.2); color: #818cf8; }

.pool-item-desc {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin: 0;
    line-height: 1.4;
    padding-left: 2.2rem;
}

.macro-outcome-banner {
    background: rgba(0, 255, 157, 0.12);
    border: 1px solid #00ff9d;
    color: #00ff9d;
    padding: 0.85rem 1rem;
    border-radius: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

/* ==========================================================================
   Inspect the Plumbing (Step-by-Step Mathematical Verification Drawer)
   ========================================================================== */

.macro-plumbing-wrapper {
    margin-top: 1.5rem;
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 0.75rem;
    background: #0d1117;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
}

.plumbing-toggle-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.plumbing-toggle-btn:hover {
    background: rgba(0, 240, 255, 0.06);
    color: #00ff9d;
}

.plumbing-toggle-btn .toggle-icon {
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.plumbing-toggle-btn.open .toggle-icon {
    transform: rotate(90deg);
}

.plumbing-drawer {
    display: none;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #06090e;
    animation: fadeInTab 0.25s ease;
}

.plumbing-drawer.open {
    display: block;
}

.plumbing-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.plumbing-card {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.65rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: border-color 0.2s ease;
}

.plumbing-card:hover {
    border-color: rgba(0, 240, 255, 0.35);
}

.plumbing-card h4 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.plumbing-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.plumbing-card li {
    position: relative;
    padding-left: 1rem;
}

.plumbing-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 1rem;
    line-height: 1;
}

.plumbing-card li strong {
    color: #f0f6fc;
}

.plumbing-card li span {
    font-family: var(--font-mono);
    color: #00ff9d;
    font-weight: 600;
}

@media (max-width: 900px) {
    .plumbing-content-grid {
        grid-template-columns: 1fr;
    }
}

/* SCL Crowdfund Layout */
.scl-sim-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .macro-dual-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Personal & Enterprise Credit Simulator Component Styles
   ========================================================================== */

.credit-sim-card {
    background: #000000;
    border: 2px solid rgba(0, 240, 255, 0.35);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.08);
    border-radius: 1rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Stage Preset Segmented Switch */
.stage-preset-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem;
    border-radius: 0.6rem;
}

.stage-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.6rem 0.5rem;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stage-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.stage-btn.active {
    color: #000;
    background: linear-gradient(135deg, #00ff9d, #00f0ff);
    border-color: transparent;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
}

.credit-sim-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tier-panel {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.tier-1-panel {
    border-color: rgba(0, 255, 157, 0.25);
}

.tier-2-panel {
    border-color: rgba(0, 240, 255, 0.25);
}

.tier-panel-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.65rem;
}

.tier-panel-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0;
}

.tier-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.emerald-badge {
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.12);
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.cyan-badge {
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.sim-ctrl-group {
    display: flex;
    flex-direction: column;
    gap: 2.15rem;
}

.sim-ctrl-item {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.sim-slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sim-floating-tier {
    position: absolute;
    top: 100%;
    white-space: nowrap;
    pointer-events: none;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.4rem;
    transition: left 0.05s ease-out;
}

.sim-floating-tier .tier-main {
    color: #cbd5e1;
    font-weight: 500;
}

.sim-floating-tier .tier-desc {
    color: #64748b;
    font-size: 0.72rem;
    margin-left: 0.3rem;
}

.ctrl-val-badge.emerald {
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.1);
    border-color: rgba(0, 255, 157, 0.3);
}

.balance-slider.emerald-slider {
    accent-color: #00ff9d;
}

.balance-slider.cyan-slider {
    accent-color: #00ff9d;
}

/* Tier Output Summary Cards */
.tier-output-card {
    border-radius: 0.5rem;
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 1.5rem;
}

.tier-output-card.emerald-card {
    border: 1px solid rgba(0, 255, 157, 0.35);
    background: rgba(0, 255, 157, 0.04);
}

.tier-output-card.cyan-card {
    border: 1px solid rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.04);
}

.output-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.stat-label-col {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #e2e8f0;
}

.pcl-formula-subtitle {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: #64748b;
    letter-spacing: 0.02em;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.35rem;
    font-weight: 800;
}

.output-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.65rem;
}

.sub-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.sub-stat strong {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: #fff;
}

.consensus-status-badge {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid rgba(0, 255, 157, 0.25);
    padding: 0.4rem 0.65rem;
    border-radius: 4px;
    text-align: center;
}

/* 24-Month Chart Panel */
.chart-panel {
    background: #0d1117;
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-panel-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.chart-panel-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.cyan-dot {
    background: #00f3ff;
    box-shadow: 0 0 6px #00f3ff;
}

.legend-dot.amber-dot {
    background: #f59e0b;
    box-shadow: 0 0 6px #f59e0b;
}

.runway-canvas-container {
    width: 100%;
    height: 240px;
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    overflow: hidden;
}

#credit-runway-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.runway-summary-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.4;
    text-align: center;
}

/* ==========================================================================
   Where this transaction's fee goes (Deep Dive Pool Allocation Drawer)
   ========================================================================== */

.fee-pool-dropdown-wrapper {
    margin-top: 1.75rem;
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 0.75rem;
    background: #0d1117;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
}

.fee-pool-toggle-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.fee-pool-toggle-btn:hover {
    background: rgba(0, 240, 255, 0.06);
    color: #00ff9d;
}

.fee-pool-toggle-btn .toggle-icon {
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.fee-pool-toggle-btn.open .toggle-icon {
    transform: rotate(90deg);
}

.fee-pool-drawer {
    display: none;
    padding: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #06090e;
    animation: fadeInTab 0.25s ease;
}

.fee-pool-drawer.open {
    display: block;
}

.fee-pool-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.fee-pool-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.fee-pool-card {
    background: #0d1117;
    border-radius: 0.65rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fee-pool-card.emerald-pool-card {
    border-color: rgba(0, 255, 157, 0.3);
}

.fee-pool-card.cyan-pool-card {
    border-color: rgba(0, 240, 255, 0.3);
}

.fee-pool-card.indigo-pool-card {
    border-color: rgba(129, 140, 248, 0.35);
}

.fee-pool-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.fee-pool-card-header h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.fee-pool-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fee-pool-val {
    font-family: var(--font-mono);
    font-size: 1.35rem;
    font-weight: 800;
    color: #00ff9d;
}

.fee-pool-card.cyan-pool-card .fee-pool-val {
    color: var(--accent-cyan);
}

.fee-pool-card.indigo-pool-card .fee-pool-val {
    color: #818cf8;
}

.indigo-badge {
    background: rgba(129, 140, 248, 0.15);
    color: #818cf8;
    border: 1px solid rgba(129, 140, 248, 0.35);
}

.fee-pool-time {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #94a3b8;
}

.fee-pool-desc {
    font-size: 0.82rem;
    color: #8b949e;
    line-height: 1.45;
    margin: 0;
}

@media (max-width: 960px) {
    .fee-pool-grid-3col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .fee-pool-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   7. FAQ / KNOWLEDGE BASE COMPONENT STYLES
   ========================================================================== */

.faq-section {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.faq-search-container {
    position: relative;
    width: 100%;
    margin-bottom: 1.75rem;
}

.faq-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.faq-search-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--accent-cyan);
    font-size: 1.1rem;
    pointer-events: none;
}

.faq-search-input {
    width: 100%;
    background: #0d1117;
    border: 1.5px solid rgba(0, 240, 255, 0.3);
    border-radius: 0.75rem;
    padding: 1rem 1rem 1rem 3rem;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
}

.faq-search-input:focus {
    border-color: #00f3ff;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.25);
    background: #111722;
}

.faq-search-input::placeholder {
    color: #64748b;
    font-size: 0.95rem;
}

.faq-search-clear {
    position: absolute;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.faq-search-clear:hover {
    color: #fff;
}

/* Category Filter Bar */
.faq-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2.5rem;
}

.faq-filter-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.faq-filter-pill:hover {
    color: #fff;
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(0, 240, 255, 0.05);
}

.faq-filter-pill.active {
    color: #000;
    background: linear-gradient(135deg, #00ff9d, #00f0ff);
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.35);
}

/* Accordion Category Group */
.faq-category-group {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-category-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0;
}

.faq-category-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}

/* Accordion Item Card */
.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-accordion-item {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-accordion-item:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.06);
}

.faq-accordion-item.active {
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.12);
    background: #111722;
}

.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    gap: 1rem;
    color: #f0f6fc;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.faq-accordion-item.active .faq-question-btn {
    color: #00f3ff;
}

.faq-toggle-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.faq-accordion-item.active .faq-toggle-icon {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--accent-cyan);
    transform: rotate(45deg);
    color: #fff;
}

.faq-answer-pane {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #c9d1d9;
    font-size: 0.95rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 1rem;
}

.faq-answer-body p {
    margin-bottom: 0.85rem;
}

.faq-answer-body p:last-child {
    margin-bottom: 0;
}

.faq-answer-body ol, .faq-answer-body ul {
    margin: 0.75rem 0 0.85rem 1.35rem;
}

.faq-answer-body li {
    margin-bottom: 0.4rem;
}

.faq-answer-body strong {
    color: #fff;
}

.faq-no-results {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: #0d1117;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    display: none;
}

.faq-no-results p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.faq-no-results small {
    font-family: var(--font-mono);
    color: var(--text-dim);
}
    position: relative;
    overflow: hidden;
}

.lite-roadmap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f3ff, #00ff9d, transparent);
}

.lite-roadmap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.lite-header-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lite-header-title-group h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.lite-badge-pulse {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.12);
    border: 1px solid rgba(0, 255, 157, 0.4);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(0, 255, 157, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.lite-progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1.75rem;
    position: relative;
}

.lite-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00f0ff, #00ff9d);
    border-radius: 999px;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.6);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lite-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.lite-stat-col {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.65rem;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.lite-stat-col:hover {
    border-color: rgba(0, 240, 255, 0.25);
    background: rgba(0, 240, 255, 0.03);
}

.lite-stat-col.active-stage {
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.08);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
}

.lite-stat-col strong {
    font-size: 1.05rem;
    color: #ffffff;
}

.lite-stat-col small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.lite-roadmap-footer {
    display: flex;
    justify-content: flex-end;
}

.lite-roadmap-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

/* ==========================================================================
   9. IOUBI PROJECT 2026 STATUS & ROADMAP (LARGE HORIZONTAL TIMELINE BAR)
   ========================================================================== */

.roadmap-main-card {
    background: #0d1117;
    border: 2px solid rgba(0, 240, 255, 0.35);
    border-radius: 1.25rem;
    padding: 2.25rem 2.5rem 3.5rem;
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.08);
    position: relative;
}

.roadmap-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.25rem;
}

.roadmap-summary-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.roadmap-percent-badge {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 700;
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.12);
    border: 1px solid rgba(0, 255, 157, 0.4);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(0, 255, 157, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

/* Horizontal Timeline Progress Bar System */
.roadmap-timeline-wrapper {
    position: relative;
    padding: 1rem 1rem 6rem 1rem;
    margin: 0 auto;
}

/* Elevated Top Start (Apr 07) and End (Dec 01) Labels inside the box */
.roadmap-track-top-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.2rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #94a3b8;
    padding: 0 4px;
}

.track-label-start strong {
    color: #00ff9d;
    font-weight: 700;
}

.track-label-end strong {
    color: var(--accent-cyan);
    font-weight: 700;
}

.roadmap-timeline-bar-track {
    position: relative;
    width: 100%;
    height: 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8);
    overflow: visible;
}

.roadmap-timeline-bar-fill {
    height: 100%;
    width: 54.7%;
    background: linear-gradient(90deg, #00f0ff, #00ff9d);
    border-radius: 999px;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.7);
    transition: width 0.8s ease-in-out;
}

/* 34-Week Linear Grid Tic Marks */
.roadmap-week-tics {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    border-radius: 999px;
}

.week-tic {
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
}

.week-tic.major-tic {
    background: rgba(0, 240, 255, 0.35);
    width: 2px;
}

/* Phase Milestone Nodes Along the Bar */
.roadmap-nodes-container {
    position: absolute;
    top: calc(1rem + 2.2rem + 1.25rem);
    left: 1rem;
    right: 1rem;
    height: 16px;
    pointer-events: none;
}

.roadmap-phase-node {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.node-pin {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0d1117;
    border: 3px solid #475569;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.roadmap-phase-node.completed .node-pin {
    background: #00ff9d;
    border-color: #00ff9d;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.8);
    color: #000;
    font-weight: 800;
}

.roadmap-phase-node.active-stage .node-pin {
    background: #00f3ff;
    border-color: #ffffff;
    box-shadow: 0 0 22px rgba(0, 243, 255, 1);
    animation: nodeGlowPulse 1.8s infinite;
}

@keyframes nodeGlowPulse {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 243, 255, 0.6); }
    50% { transform: scale(1.22); box-shadow: 0 0 24px rgba(0, 243, 255, 1); }
    100% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 243, 255, 0.6); }
}

.node-content-top {
    position: absolute;
    bottom: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
    text-align: center;
}

.node-date {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

.roadmap-phase-node.completed .node-date {
    color: #00ff9d;
}

.roadmap-phase-node.active-stage .node-date {
    color: #00f3ff;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

.node-content-bottom {
    position: absolute;
    top: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
}

.node-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
    line-height: 1.25;
    transition: color 0.2s ease;
}

.roadmap-phase-node:hover .node-title,
.roadmap-phase-node.active-stage .node-title {
    color: #00f3ff;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

/* Hover & Tap Pop-Up Detail Bubble */
.node-tooltip-bubble {
    position: absolute;
    bottom: calc(100% + 48px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 290px;
    background: #0d141f;
    border: 1.5px solid #00f3ff;
    border-radius: 0.65rem;
    padding: 0.85rem 1.1rem;
    color: #c9d1d9;
    font-size: 0.82rem;
    line-height: 1.5;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 243, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
    text-align: left;
}

.node-tooltip-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: #00f3ff transparent transparent transparent;
}

.roadmap-phase-node:hover .node-tooltip-bubble,
.roadmap-phase-node:focus .node-tooltip-bubble,
.roadmap-phase-node.open .node-tooltip-bubble {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.tooltip-phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.35rem;
}

.tooltip-phase-num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.tooltip-phase-status {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.tooltip-phase-status.completed {
    background: rgba(0, 255, 157, 0.15);
    color: #00ff9d;
    border: 1px solid rgba(0, 255, 157, 0.4);
}

.tooltip-phase-status.upcoming {
    background: rgba(0, 240, 255, 0.15);
    color: #00f3ff;
    border: 1px solid rgba(0, 240, 255, 0.4);
}

.tooltip-phase-status.future {
    background: rgba(139, 148, 158, 0.12);
    color: #8b949e;
    border: 1px solid rgba(139, 148, 158, 0.25);
}

.tooltip-phase-body {
    color: #c9d1d9;
    font-size: 0.8rem;
    line-height: 1.45;
}

/* Responsive Stepper for smaller screens */
@media (max-width: 992px) {
    .roadmap-timeline-wrapper {
        padding: 2.5rem 0.5rem 6rem;
    }
    .node-title {
        font-size: 0.7rem;
        width: 80px;
    }
}

@media (max-width: 768px) {
    .roadmap-timeline-wrapper {
        display: none;
    }
    .roadmap-mobile-stepper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==========================================================================
   10. GLOBAL FOOTER ARCHITECTURE (3-COLUMN LAYOUT)
   ========================================================================== */

.footer {
    background: #0d1117;
    border-top: 1px solid #00f3ff;
    box-shadow: 0 -5px 25px rgba(0, 240, 255, 0.08);
    padding: 4rem 1.5rem 2.5rem;
}

.footer-3col-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Col 1: Brand & Vision */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.footer-logo-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.08em;
}

.footer-tagline {
    color: #8b949e;
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 320px;
}

/* Col 2: Quick Navigation */
.footer-col h4 {
    font-size: 0.9rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 1.25rem;
}

.footer-nav-grid a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-nav-grid a:hover {
    color: #00ff9d;
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.4);
}

/* Col 3: Network Status */
.footer-status-indicator {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.network-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff9d;
    box-shadow: 0 0 10px #00ff9d;
    animation: pulse 2s infinite;
}

.footer-epoch-badge {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    width: fit-content;
}

.footer-repo-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    transition: color 0.2s ease;
}

.footer-repo-link:hover {
    color: #00ff9d;
}

/* Bottom Bar */
.footer-bottom-bar {
    max-width: 1250px;
    margin: 0 auto;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.82rem;
    color: #64748b;
}

/* Mobile Breakpoints */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero-headline { font-size: 2.25rem; }
    .spec-perspectives-grid { grid-template-columns: 1fr; }
    .comparison-row { grid-template-columns: 1fr; }
    .sandbox-grid, .scl-sim-layout { grid-template-columns: 1fr; }
    .roadmap-timeline-box { padding: 1.5rem; }
    .lite-stats-grid { grid-template-columns: 1fr; }
    .roadmap-readout-grid { grid-template-columns: 1fr 1fr; }
    .roadmap-phases-grid { grid-template-columns: 1fr; }
    .footer-3col-container { grid-template-columns: 1fr; gap: 2rem; }
    .footer-nav-grid { grid-template-columns: 1fr; }
    .faq-question-btn { font-size: 0.95rem; padding: 1rem 1.25rem; }
    .faq-answer-body { padding: 0 1.25rem 1.25rem 1.25rem; }
}

/* ==========================================================================
   8. Home & Asset Purchase Simulator Component Styles
   ========================================================================== */

.major-purchase-card {
    grid-column: 1 / -1;
    width: 100%;
    background: #000000;
    border: 2px solid rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem;
    box-sizing: border-box;
}

/* 4 Responsive KPI Cards Grid */
.mp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin: 1.75rem 0 2rem;
}

.mp-kpi-card {
    background: #0d1117;
    border: 1px solid rgba(0, 240, 255, 0.22);
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.6rem;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.04);
    transition: all 0.25s ease;
}

.mp-kpi-card:hover {
    border-color: rgba(0, 240, 255, 0.45);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
}

.mp-kpi-label {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
}

.mp-kpi-value {
    font-family: var(--font-mono);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.15;
}

.mp-kpi-subtext {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.mp-kpi-badge-wrap {
    margin-top: 0.25rem;
}

.mp-kpi-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.mp-kpi-status-badge.emerald-badge {
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.12);
    border: 1px solid rgba(0, 255, 157, 0.35);
}

.mp-kpi-status-badge.amber-badge {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.mp-kpi-status-badge.red-badge {
    color: #f87171;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Time-Series Chart Container */
.mp-chart-container {
    background: #080c14;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.85rem;
    padding: 1.5rem;
    margin-bottom: 2.25rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.mp-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mp-chart-title-group h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.mp-chart-subtitle {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin: 0;
}

.mp-chart-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.15rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.legend-line {
    display: inline-block;
    width: 20px;
    height: 3px;
    vertical-align: middle;
    margin-right: 0.35rem;
}

.legend-line.line-balance {
    background: #00f3ff;
    box-shadow: 0 0 8px #00f3ff;
}

.legend-line.line-organic {
    background: repeating-linear-gradient(90deg, #00ff9d, #00ff9d 4px, transparent 4px, transparent 7px);
}

.legend-line.line-safety {
    background: repeating-linear-gradient(90deg, #f59e0b, #f59e0b 2px, transparent 2px, transparent 5px);
}

.mp-canvas-wrapper {
    position: relative;
    width: 100%;
    height: 340px;
    background: #04070c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.5rem;
    overflow: hidden;
}

#mp-runway-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: crosshair;
}

.mp-chart-tooltip {
    position: absolute;
    pointer-events: none;
    background: rgba(13, 17, 23, 0.95);
    border: 1px solid #00f3ff;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #fff;
    z-index: 50;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    transition: opacity 0.1s ease;
}

.mp-chart-tooltip .tt-year {
    font-weight: 700;
    color: #00f3ff;
    margin-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.25rem;
}

.mp-chart-tooltip .tt-row {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 0.25rem;
}

/* Input Controls Section */
.mp-controls-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mp-sections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.mp-panel-card {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mp-panel-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mp-panel-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.mp-input-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mp-price-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-mp-max {
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.45);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.22rem 0.65rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.btn-mp-max:hover {
    background: rgba(0, 240, 255, 0.25);
    border-color: #00f3ff;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}

.mp-slider-input-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.35rem;
}

.mp-slider-input-row input[type="range"] {
    flex: 1;
}

.mp-number-input {
    width: 110px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.35rem;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.4rem 0.6rem;
    text-align: right;
    transition: all 0.2s ease;
}

.mp-number-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
    background: #060a10;
}

.mp-helper-text {
    font-size: 0.76rem;
    color: var(--text-dim);
    line-height: 1.35;
    margin-top: 0.2rem;
}

.mp-summary-box {
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.mp-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mp-summary-row strong {
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

/* Advanced Network Defaults Accordion */
.mp-advanced-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    background: #0d1117;
    overflow: hidden;
}

.mp-advanced-toggle-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.mp-advanced-toggle-btn:hover {
    background: rgba(0, 240, 255, 0.05);
    color: #fff;
}

.mp-advanced-toggle-btn .toggle-icon {
    font-size: 0.95rem;
    transition: transform 0.25s ease;
}

.mp-advanced-toggle-btn.open .toggle-icon {
    transform: rotate(90deg);
}

.mp-advanced-drawer {
    display: none;
    padding: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #070a10;
}

.mp-advanced-drawer.open {
    display: block;
    animation: fadeInTab 0.25s ease;
}

.mp-advanced-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .mp-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mp-sections-grid {
        grid-template-columns: 1fr;
    }
    .mp-advanced-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mp-kpi-grid {
        grid-template-columns: 1fr;
    }
    .mp-canvas-wrapper {
        height: 280px;
    }
}

/* ==========================================================================
   FUTURE EXPANSION PROJECTS MODULE
   ========================================================================== */

.expansion-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 5rem;
}

.expansion-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.expansion-subtitle {
    font-size: 1.35rem;
    color: var(--accent-cyan);
    font-weight: 700;
    margin: 0.5rem 0 1.25rem;
    letter-spacing: -0.01em;
}

.expansion-desc {
    max-width: 900px;
    margin: 0 auto 0.85rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.expansion-callout-text {
    max-width: 860px;
    margin: 0 auto;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #00ff9d;
    font-weight: 500;
}

/* Persistent Sub-Topic Nav Bar (Pills) */
.expansion-nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
    margin: 2rem auto 3rem;
    flex-wrap: wrap;
    max-width: 1100px;
}

.expansion-nav-pill {
    background: #0d1117;
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

.expansion-nav-pill:hover,
.expansion-nav-pill.active {
    color: #000;
    background: linear-gradient(135deg, #00f0ff, #00ff9d);
    border-color: transparent;
    box-shadow: 0 0 18px rgba(0, 255, 157, 0.5);
    font-weight: 700;
}

/* Sub-Topic Content Panel Visibility */
.expansion-panel {
    display: none;
}

.expansion-panel.active-expansion {
    display: block;
    animation: fadeInTab 0.25s ease;
}

/* Section Title Wrap inside Panel */
.expansion-section-title-wrap {
    margin-bottom: 2rem;
    text-align: left;
}

.expansion-section-title-wrap h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-top: 0.5rem;
    letter-spacing: -0.02em;
}

/* Lead intro cards */
.expansion-lead-card {
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--accent-cyan);
}

.expansion-lead-card p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.expansion-lead-card p:last-child {
    margin-bottom: 0;
}

/* Sub-headings */
.expansion-subheading {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 2.5rem 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.expansion-subheading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.3), transparent);
}

.expansion-intro-p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Cards Grid */
.expansion-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.expansion-card {
    padding: 1.75rem;
    border-radius: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.expansion-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.1);
}

.expansion-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.expansion-card-icon {
    font-size: 1.4rem;
}

.expansion-card h4 {
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 700;
}

.expansion-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

/* Step Sequence Grid (e.g. Peer Jury Steps) */
.expansion-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.expansion-step-card {
    padding: 1.75rem;
    border-radius: 0.85rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.expansion-step-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.1);
}

.expansion-step-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.expansion-step-card h4 {
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 700;
}

.expansion-step-card p {
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

/* Comparison Tables */
.expansion-table-container {
    overflow-x: auto;
    margin: 1.5rem 0 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 240, 255, 0.25);
    background: rgba(0, 0, 0, 0.4);
}

.expansion-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.expansion-table th, .expansion-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.expansion-table th {
    background: rgba(0, 240, 255, 0.08);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.expansion-table td:first-child {
    font-weight: 700;
    color: #ffffff;
    width: 32%;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.015);
}

.expansion-table td:last-child {
    color: var(--text-muted);
    line-height: 1.65;
}

.expansion-table tr:last-child td {
    border-bottom: none;
}

.expansion-table tr:hover td {
    background: rgba(0, 240, 255, 0.03);
}

/* Callout Box (e.g. Case Study) */
.expansion-callout-card {
    padding: 2rem;
    border-radius: 0.85rem;
    background: rgba(16, 24, 38, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.3);
    margin: 1.5rem 0 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.expansion-callout-card .callout-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.expansion-callout-card h4 {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 700;
}

.expansion-callout-card p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-main);
    margin: 0;
}

/* Highlight Panel / Feedback Loop */
.expansion-highlight-panel {
    padding: 2rem;
    border-radius: 0.85rem;
    background: rgba(13, 22, 28, 0.85);
    border: 1px solid rgba(0, 255, 157, 0.3);
    margin: 2rem 0;
}

.expansion-highlight-panel h4 {
    font-size: 1.25rem;
    color: #00ff9d;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.expansion-highlight-panel p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-main);
    margin: 0;
}

@media (max-width: 900px) {
    .expansion-cards-grid,
    .expansion-steps-grid {
        grid-template-columns: 1fr;
    }
    .expansion-table th, .expansion-table td {
        padding: 0.85rem 1rem;
    }
    .expansion-table td:first-child {
        width: 38%;
    }
}
