/* ==============================================================================
   HnCPanel Enterprise Web Design System — Dual-Theme Cyber Engine
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Rajdhani:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    /* --- Cyberpunk Dark Default --- */
    --bg-base: #02040a;
    --bg-elevated: #060b14;
    --bg-surface: rgba(10, 16, 26, 0.75);
    --bg-card: rgba(14, 22, 36, 0.7);
    --bg-card-hover: rgba(19, 31, 51, 0.85);
    --border-color: rgba(0, 243, 255, 0.16);
    --border-glow: rgba(0, 243, 255, 0.35);
    --border-hover: rgba(0, 255, 157, 0.5);

    --primary-neon: #00f3ff;
    --primary-glow: rgba(0, 243, 255, 0.4);
    --accent-mint: #00ff9d;
    --accent-mint-glow: rgba(0, 255, 157, 0.3);
    --accent-purple: #7000ff;
    --accent-magenta: #ff007f;
    --accent-gold: #ffb800;

    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;

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

    --grid-line-color: rgba(0, 243, 255, 0.08);
    --terminal-bg: #050811;
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 243, 255, 0.05);
}

[data-theme="light"] {
    /* --- Clean Executive Light Mode --- */
    --bg-base: #f8fafc;
    --bg-elevated: #ffffff;
    --bg-surface: rgba(255, 255, 255, 0.9);
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --border-color: #e2e8f0;
    --border-glow: rgba(0, 97, 255, 0.25);
    --border-hover: rgba(5, 150, 105, 0.4);

    --primary-neon: #0061ff;
    --primary-glow: rgba(0, 97, 255, 0.25);
    --accent-mint: #059669;
    --accent-mint-glow: rgba(5, 150, 105, 0.25);
    --accent-purple: #6d28d9;
    --accent-magenta: #db2777;
    --accent-gold: #d97706;

    --text-main: #020617;
    --text-muted: #475569;
    --text-subtle: #94a3b8;

    --grid-line-color: rgba(0, 97, 255, 0.06);
    --terminal-bg: #0f172a;
    --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 0 15px rgba(0, 97, 255, 0.04);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Perspective Cyber-Grid Canvas Background */
#cyber-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.75;
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Top Promo Bar */
.top-promo-bar {
    background: linear-gradient(90deg, #7000ff 0%, #00f3ff 50%, #00ff9d 100%);
    color: #02040a;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 2px 10px rgba(0, 243, 255, 0.2);
}

.promo-code-pill {
    background: #02040a;
    color: var(--primary-neon);
    font-family: var(--font-mono);
    padding: 2px 10px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px dashed var(--primary-neon);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.promo-code-pill:hover {
    transform: scale(1.05);
    background: #00f3ff;
    color: #02040a;
}

/* Master Header & Navigation */
.master-header {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon-hexagon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(112, 0, 255, 0.4));
    border: 1.5px solid var(--primary-neon);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-neon);
    font-size: 1.25rem;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: all 0.3s ease;
}

.brand-logo:hover .logo-icon-hexagon {
    transform: rotate(10deg) scale(1.08);
    box-shadow: 0 0 25px var(--primary-glow);
}

.brand-name-group {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-main);
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-title span {
    color: var(--primary-neon);
}

.brand-badge {
    font-size: 0.65rem;
    font-family: var(--font-mono);
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 255, 157, 0.15);
    color: var(--accent-mint);
    border: 1px solid rgba(0, 255, 157, 0.4);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-neon);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-neon);
    box-shadow: 0 0 8px var(--primary-glow);
}

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

/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    border-color: var(--primary-neon);
    box-shadow: 0 0 12px var(--primary-glow);
    color: var(--primary-neon);
}

/* Buttons */
.btn-cyber {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.btn-cyber-primary {
    background: linear-gradient(135deg, var(--primary-neon), #00b4d8);
    color: #02040a;
    box-shadow: 0 4px 20px var(--primary-glow);
}

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

.btn-cyber-mint {
    background: linear-gradient(135deg, var(--accent-mint), #00c853);
    color: #02040a;
    box-shadow: 0 4px 20px var(--accent-mint-glow);
}

.btn-cyber-mint:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 255, 157, 0.6);
}

.btn-cyber-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-cyber-outline:hover {
    border-color: var(--primary-neon);
    color: var(--primary-neon);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Floating Neural Side-Uplink */
.neural-uplink-fab {
    position: fixed;
    left: 20px;
    bottom: 30px;
    z-index: 999;
}

.uplink-toggle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1.5px solid var(--primary-neon);
    color: var(--primary-neon);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px var(--primary-glow);
    transition: all 0.3s ease;
    position: relative;
}

.uplink-toggle-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary-neon);
    animation: neuralPulse 2s infinite ease-out;
}

@keyframes neuralPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.uplink-toggle-btn:hover {
    transform: scale(1.1);
    background: var(--primary-neon);
    color: #02040a;
}

/* Neural Uplink Drawer */
.uplink-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--bg-elevated);
    border-right: 1px solid var(--border-color);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
    z-index: 1050;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.uplink-drawer.open {
    left: 0;
}

.uplink-drawer-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.uplink-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-neon);
    display: flex;
    align-items: center;
    gap: 8px;
}

.uplink-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.uplink-close-btn:hover {
    color: var(--text-main);
}

.uplink-menu {
    list-style: none;
    padding: 16px 0;
    flex-grow: 1;
    overflow-y: auto;
}

.uplink-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.uplink-menu li a:hover {
    background: rgba(0, 243, 255, 0.08);
    color: var(--primary-neon);
    border-left: 3px solid var(--primary-neon);
    padding-left: 27px;
}

.uplink-menu li a i {
    width: 20px;
    text-align: center;
    color: var(--primary-neon);
}

.uplink-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1040;
    display: none;
}

.uplink-drawer-backdrop.open {
    display: block;
}

/* ==============================================================================
   Hero Section
   ============================================================================== */
.hero-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    text-align: center;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid var(--border-glow);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary-neon);
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease;
}

.hero-pill-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-mint);
    box-shadow: 0 0 10px var(--accent-mint);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text-cyan {
    background: linear-gradient(135deg, #00f3ff 0%, #00ff9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #7000ff 0%, #00f3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 780px;
    margin: 0 auto 36px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Installer Terminal Box */
.terminal-wrapper {
    max-width: 760px;
    margin: 0 auto 60px;
    background: var(--terminal-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    text-align: left;
}

.terminal-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.terminal-dot {
    width: 10px;
    height: 10px;
    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.75rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 18px 22px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.terminal-prompt {
    color: var(--accent-mint);
    margin-right: 8px;
}

.terminal-cmd {
    color: var(--primary-neon);
    word-break: break-all;
}

.terminal-copy-btn {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--primary-neon);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.terminal-copy-btn:hover {
    background: var(--primary-neon);
    color: #02040a;
}

/* Telemetry Stats Grid */
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.telemetry-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.telemetry-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0, 255, 157, 0.15);
}

.telemetry-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-neon);
    line-height: 1;
    margin-bottom: 8px;
}

.telemetry-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==============================================================================
   Feature Highlights Grid
   ============================================================================== */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px;
}

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

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary-neon);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 26px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-neon), var(--accent-mint));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==============================================================================
   Capability Matrix & Comparison Table
   ============================================================================== */
.matrix-container {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    box-shadow: var(--card-shadow);
    margin-top: 36px;
}

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

.matrix-table th, .matrix-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.matrix-table th {
    background: var(--bg-elevated);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.matrix-table th.col-hncpanel {
    background: rgba(0, 243, 255, 0.08);
    color: var(--primary-neon);
    border-left: 2px solid var(--primary-neon);
    border-right: 2px solid var(--primary-neon);
}

.matrix-table td.col-hncpanel {
    background: rgba(0, 243, 255, 0.03);
    font-weight: 700;
    color: var(--accent-mint);
    border-left: 2px solid var(--primary-neon);
    border-right: 2px solid var(--primary-neon);
}

.matrix-feature-name {
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.matrix-badge-free {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 255, 157, 0.15);
    color: var(--accent-mint);
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.matrix-badge-paid {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 0, 127, 0.15);
    color: #ff3366;
    border: 1px solid rgba(255, 0, 127, 0.3);
}

/* ==============================================================================
   Profit Margin Analyzer / Calculator
   ============================================================================== */
.calculator-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    max-width: 900px;
    margin: 40px auto 0;
}

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

.slider-group label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.nodes-count-display {
    color: var(--primary-neon);
    font-family: var(--font-mono);
    font-weight: 700;
}

.cyber-range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 24px;
}

.cyber-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-neon);
    box-shadow: 0 0 15px var(--primary-glow);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.cyber-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-result-box {
    background: rgba(0, 243, 255, 0.05);
    border: 1.5px solid var(--primary-neon);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.1);
}

.calc-annual-val {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--accent-mint);
    line-height: 1;
    margin-bottom: 6px;
}

.calc-annual-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-neon);
    letter-spacing: 1px;
}

.calc-breakdown-list {
    margin-top: 18px;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.calc-breakdown-list div {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

/* ==============================================================================
   Live Sandbox Playground Cards (demo.html)
   ============================================================================== */
.demo-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.sandbox-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
}

.sandbox-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(0, 243, 255, 0.15);
}

.sandbox-port-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 243, 255, 0.12);
    color: var(--primary-neon);
    border: 1px solid var(--border-glow);
}

.sandbox-icon {
    font-size: 2.2rem;
    color: var(--primary-neon);
    margin-bottom: 20px;
}

.sandbox-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.sandbox-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    min-height: 80px;
}

.sandbox-creds-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.cred-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.cred-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cred-label {
    color: var(--text-subtle);
}

.cred-value-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cred-copy-icon {
    cursor: pointer;
    color: var(--primary-neon);
    transition: transform 0.15s ease;
}

.cred-copy-icon:hover {
    transform: scale(1.2);
}

.governance-notice-box {
    background: rgba(112, 0, 255, 0.08);
    border: 1px solid rgba(112, 0, 255, 0.3);
    border-radius: 12px;
    padding: 24px 28px;
    margin-top: 50px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.governance-icon {
    font-size: 1.8rem;
    color: #b5179e;
}

.governance-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

/* ==============================================================================
   Footer & Payment Badges
   ============================================================================== */
.master-footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-color);
    padding: 60px 24px 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 14px;
    max-width: 380px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.payment-gateways-row {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-badges-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.payment-badge-svg {
    height: 28px;
    filter: grayscale(40%);
    opacity: 0.85;
    transition: all 0.2s ease;
}

.payment-badge-svg:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-subtle);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 12px;
}

/* Toast Notification */
.cyber-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #02040a;
    border: 1px solid var(--primary-neon);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    box-shadow: 0 0 25px var(--primary-glow);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .features-grid, .demo-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .telemetry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .features-grid, .demo-cards-grid, .telemetry-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
}
