/**
 * Open Network — Glassmorphism Design System & Stylesheet v2.5
 * Liquid Glass Hero, 3D Premium Cards, Tiered Light/Dark Foundations
 * Architect: Samin Sami (https://saminbhai.netlify.app)
 */

:root {
    --bg-base: #f4f4f5;
    --bg-dark: #09090b;
    --bg-surface: #121215;
    --bg-white-card: #ffffff;
    --bg-card: rgba(24, 24, 27, 0.7);
    --bg-card-hover: rgba(39, 39, 42, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.05);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-light-box: #e4e4e7;
    --border-glass: rgba(255, 255, 255, 0.14);
    --border-highlight: rgba(52, 211, 153, 0.4);
    --border-emerald: #10b981;

    --emerald: #34d399;
    --emerald-dim: rgba(52, 211, 153, 0.15);
    --emerald-glow: rgba(52, 211, 153, 0.35);
    --emerald-dark: #064e3b;

    --carrier-gp: #00d2ff;
    --carrier-robi: #ff3b30;
    --carrier-bl: #ff9500;
    --carrier-tt: #30d158;
    --carrier-anomaly: #ff2d55;

    --text-main: #18181b;
    --text-dark-main: #f4f4f5;
    --text-muted: #52525b;
    --text-dark-muted: #a1a1aa;
    --text-dim: #71717a;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Source Serif 4', 'Georgia', serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-xl: 2.5rem;
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --radius-sm: 0.5rem;
    --radius-full: 9999px;

    --shadow-3d: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 25px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Selection */
::selection {
    background: var(--emerald);
    color: #000;
}

/* Grain Overlay */
.grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.12;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Base Container */
.wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.section {
    padding: 6.5rem 0;
    position: relative;
    z-index: 2;
}

/* Dark-Tiered Sections (Hero, Terminal, SIGINT, Linux VM, Footer) */
.dark-section {
    background-color: #09090b;
    color: var(--text-dark-main);
}
.light-section {
    background-color: var(--bg-base);
    color: var(--text-main);
}

/* Typography with Serif Emphasis */
h1, h2, h3, h4 {
    letter-spacing: -0.04em;
    line-height: 1.1;
    font-weight: 700;
}
.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Badges */
.label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--emerald-dim);
    border: 1px solid var(--border-highlight);
    color: var(--emerald);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}
.label .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 8px var(--emerald);
    animation: pulseDot 2s infinite ease-in-out;
}
@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* Rise Animations */
.animate-rise {
    opacity: 0;
    animation: riseUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--rise-delay, 0ms);
}
@keyframes riseUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================================
   LIQUID GLASS SYSTEM (From New_Hero)
============================================================= */
.liquid-glass {
    background: rgba(255, 255, 255, 0.04);
    background-blend-mode: luminosity;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: none;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}
.liquid-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0.15) 20%,
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.15) 80%,
        rgba(255, 255, 255, 0.45) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.liquid-glass-strong {
    background: rgba(255, 255, 255, 0.06);
    background-blend-mode: luminosity;
    -webkit-backdrop-filter: blur(45px);
    backdrop-filter: blur(45px);
    border: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}
.liquid-glass-strong::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.2) 20%,
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.2) 80%,
        rgba(255, 255, 255, 0.6) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* =============================================================
   NAVBAR
============================================================= */
.nav {
    position: fixed;
    top: 1.25rem;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 1.25rem;
    pointer-events: none;
}
.nav-inner {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1240px;
    padding: 0.5rem 0.75rem 0.5rem 1.35rem;
    border-radius: var(--radius-full);
    background: rgba(10, 10, 14, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    transition: all 0.3s;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}
.nav-inner.scrolled {
    background: rgba(8, 8, 10, 0.92);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
}
.brand-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    object-fit: contain;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.nav-link {
    color: var(--text-dark-muted);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-full);
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(12, 12, 16, 0.96);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 0.65rem;
    min-width: 220px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
    opacity: 0;
    pointer-events: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.75rem;
    color: var(--text-dark-muted);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
    white-space: nowrap;
}
.nav-dropdown-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}
.nav-dropdown-item .dot-tag {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
}
.nav-btn-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}
.nav-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--emerald);
    background: var(--emerald-dim);
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-highlight);
    white-space: nowrap;
}
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #ffffff;
    color: #09090b;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.45rem 0.5rem 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-action:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(52, 211, 153, 0.35);
}
.btn-action .ico {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #18181b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.btn-action:hover .ico {
    background: var(--emerald);
    color: #000000;
    transform: translateX(2px);
}
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-highlight);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 5rem;
    left: 1rem;
    right: 1rem;
    max-height: calc(100vh - 6.5rem);
    overflow-y: auto;
    background: rgba(12, 12, 16, 0.98);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 1050;
    transform: translateY(-16px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
}
.mobile-drawer.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.drawer-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.drawer-group-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--emerald);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.mobile-drawer a {
    color: #f4f4f5;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mobile-drawer a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--emerald);
}

/* =============================================================
   NEW LIQUID GLASS HERO SECTION (Full-Screen Split View)
============================================================= */
.new-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #000000;
    display: flex;
}
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.45;
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 40%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
                linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(9,9,11,0.85) 100%);
    z-index: 1;
}
.hero-canvas-overlay {
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    z-index: 2;
    opacity: 0.85;
    pointer-events: auto;
    cursor: grab;
}
.hero-canvas-overlay:active { cursor: grabbing; }

.new-hero-main {
    position: relative;
    z-index: 10;
    display: flex;
    width: 100%;
    min-height: 100vh;
    padding-top: 5rem;
}

/* Left Hero Panel */
.hero-left-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 52%;
    padding: 2.5rem 3.5rem;
    min-height: 100vh;
}
.hero-left-slab {
    position: absolute;
    inset: 1.25rem;
    border-radius: var(--radius-xl);
    pointer-events: none;
}
.hero-left-inner {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.hero-left-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-left-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}
.hero-menu-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--radius-full);
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s;
}
.hero-menu-pill:hover { transform: scale(1.05); }

.hero-left-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
}
.hero-center-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(52, 211, 153, 0.3);
}
.hero-center-h1 {
    font-size: clamp(2.5rem, 3.8vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: #ffffff;
    margin-bottom: 1.75rem;
}
.hero-center-h1 em {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    border-radius: var(--radius-full);
    padding: 0.65rem 0.75rem 0.65rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 1.75rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(52, 211, 153, 0.4);
}
.hero-cta-ico {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-pills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    list-style: none;
}
.hero-pill-item {
    border-radius: var(--radius-full);
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: transform 0.2s;
}
.hero-pill-item:hover { transform: scale(1.05); color: #fff; }

.hero-left-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 1rem;
}
.hero-footer-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}
.hero-footer-quote {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 440px;
    line-height: 1.4;
    margin-bottom: 0.85rem;
}
.hero-author-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
}
.hero-author-divider::before,
.hero-author-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* Right Hero Panel */
.hero-right-panel {
    display: flex;
    flex-direction: column;
    width: 48%;
    padding: 2.5rem 3.5rem 2.5rem 1.5rem;
    gap: 1.5rem;
    min-height: 100vh;
}
.hero-right-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: var(--radius-full);
    padding: 0.35rem;
}
.social-link-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}
.social-link-btn:hover { background: rgba(255, 255, 255, 0.25); transform: scale(1.05); }

.ecosystem-card {
    align-self: flex-end;
    width: 240px;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}
.ecosystem-card h3 { font-size: 0.9rem; color: #fff; margin-bottom: 0.4rem; }
.ecosystem-card p { font-size: 0.75rem; color: rgba(255, 255, 255, 0.65); line-height: 1.5; }

.hero-features-box {
    margin-top: auto;
    border-radius: var(--radius-xl);
    padding: 0.85rem;
}
.hero-features-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.hero-feat-card {
    flex: 1;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: transform 0.2s;
}
.hero-feat-card:hover { transform: scale(1.02); }
.hero-feat-ico {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 0.75rem;
}
.hero-feat-card h3 { font-size: 0.85rem; color: #ffffff; margin-bottom: 0.35rem; }
.hero-feat-card p { font-size: 0.72rem; color: rgba(255, 255, 255, 0.6); line-height: 1.45; }

.hero-wide-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: var(--radius-md);
    padding: 1rem;
}
.hero-wide-thumb {
    width: 80px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}
.btn-plus {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-plus:hover { transform: scale(1.08); background: var(--emerald); color: #000; }

/* =============================================================
   LIGHT-MODE FOUNDATION & 3D TILES (Feature Grid)
============================================================= */
.light-features {
    background: #f4f4f5;
    color: #18181b;
    padding: 7rem 0;
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.feat-h2 {
    font-size: clamp(2.25rem, 3.5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #18181b;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.feat-p {
    color: #71717a;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.25rem;
    max-width: 500px;
}
.icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.icon-cell-3d {
    background: #ffffff;
    border: 1px solid var(--border-light-box);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-3d);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: perspective(800px) rotateX(0deg) translateY(0);
}
.icon-cell-3d:hover {
    transform: perspective(800px) rotateX(4deg) translateY(-6px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(52, 211, 153, 0.5);
}
.icon-cell-3d .ic {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--emerald-dim);
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}
.icon-cell-3d h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #18181b;
    margin-bottom: 0.35rem;
}
.icon-cell-3d p {
    font-size: 0.82rem;
    color: #71717a;
    line-height: 1.45;
}

/* Feature Right 3D Surface */
.feat-right-3d {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #18181b;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    padding: 2.5rem;
    color: #ffffff;
}
.feat-right-3d::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.25) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}
.matrix-terminal-view {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--emerald);
    min-height: 200px;
    white-space: pre-wrap;
    line-height: 1.5;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.8);
}

/* =============================================================
   802 PUBLIC APIS HUB (#apis)
============================================================= */
.apis-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}
.apis-header h2 {
    font-size: clamp(2.25rem, 3.8vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}
.api-filter-panel {
    background: #ffffff;
    border: 1px solid var(--border-light-box);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr;
    gap: 1rem;
    align-items: center;
    box-shadow: var(--shadow-3d);
}
.filter-input-wrap {
    position: relative;
}
.filter-input-wrap svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
}
.api-search-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    background: #f4f4f5;
    border: 1px solid var(--border-light-box);
    border-radius: var(--radius-md);
    color: #18181b;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}
.api-search-input:focus {
    border-color: #10b981;
    background: #ffffff;
}
.api-select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #f4f4f5;
    border: 1px solid var(--border-light-box);
    border-radius: var(--radius-md);
    color: #18181b;
    font-size: 0.9rem;
    outline: none;
}
.api-select:focus { border-color: #10b981; background: #ffffff; }

.api-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.api-card {
    background: #ffffff;
    border: 1px solid var(--border-light-box);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-3d);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: perspective(800px) rotateX(0deg) translateY(0);
}
.api-card:hover {
    transform: perspective(800px) rotateX(3deg) translateY(-6px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(52, 211, 153, 0.6);
}
.api-cat-pill {
    font-size: 0.75rem;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
}
.badge-tag {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.08);
}
.tag-free { color: #059669; background: rgba(52, 211, 153, 0.12); }
.tag-key { color: #d97706; background: rgba(255, 149, 0, 0.12); }
.tag-sec { color: #0284c7; background: rgba(0, 210, 255, 0.12); }
.tag-cors { color: #7c3aed; background: rgba(192, 132, 252, 0.12); }

.api-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #18181b;
    margin-bottom: 0.5rem;
}
.api-card-desc {
    font-size: 0.85rem;
    color: #52525b;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}
.api-card-actions {
    display: flex;
    gap: 0.5rem;
}
.btn-api-act {
    flex: 1;
    background: #f4f4f5;
    border: 1px solid var(--border-light-box);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    color: #18181b;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-api-act:hover {
    background: #18181b;
    color: #ffffff;
    border-color: #18181b;
}

/* =============================================================
   BANGLADESH SIGINT RADAR (#sigint)
============================================================= */
.sigint-section {
    background: #09090b;
    color: #ffffff;
}
.sigint-container {
    background: linear-gradient(180deg, #121216 0%, #09090c 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 30px 90px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}
.sigint-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.sigint-hud {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hud-card {
    background: rgba(18, 18, 22, 0.8);
    border: 1px solid var(--border-subtle);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
}
.hud-label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; font-family: var(--font-mono); }
.hud-val { font-size: 1.25rem; font-weight: 800; color: #ffffff; font-family: var(--font-mono); }

.sigint-controls-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(10, 10, 14, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}
.carrier-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-dark-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
}
.carrier-btn.active {
    color: #000000;
    background: var(--emerald);
    border-color: var(--emerald);
}
.carrier-btn[data-carrier-filter="1"].active { background: var(--carrier-gp); border-color: var(--carrier-gp); color: #000; }
.carrier-btn[data-carrier-filter="2"].active { background: var(--carrier-robi); border-color: var(--carrier-robi); color: #fff; }
.carrier-btn[data-carrier-filter="3"].active { background: var(--carrier-bl); border-color: var(--carrier-bl); color: #000; }
.carrier-btn[data-carrier-filter="4"].active { background: var(--carrier-tt); border-color: var(--carrier-tt); color: #000; }

.sigint-map-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}
.sigint-map-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    height: 580px;
    background: #000000;
}
#sigintMap {
    width: 100%;
    height: 100%;
    background: #050505;
}
.radar-sweep-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 210, 255, 0.03) 90%);
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: var(--radius-lg);
}

.inspector-panel {
    background: rgba(14, 14, 18, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.inspector-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.inspector-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin: 1.25rem 0;
}
.ins-item {
    background: #000000;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.6rem;
}
.ins-label { display: block; font-size: 0.7rem; color: var(--text-dim); }
.ins-val { font-size: 0.85rem; font-weight: 600; color: #ffffff; font-family: var(--font-mono); }
.anomaly-alert {
    background: rgba(255, 45, 85, 0.15);
    border: 1px solid rgba(255, 45, 85, 0.4);
    color: #ff375f;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

/* =============================================================
   WEB LIVE TERMINAL (#terminal)
============================================================= */
.terminal-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
}
.terminal-box {
    background: #0c0d0e;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 70px rgba(0,0,0,0.7);
    overflow: hidden;
}
.terminal-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    background: #141518;
    border-bottom: 1px solid var(--border-subtle);
}
.term-dots { display: flex; gap: 6px; }
.term-dot { width: 10px; height: 10px; border-radius: 50%; background: #27272a; }
.term-dot.red { background: #ff5f56; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #27c93f; }
.term-title { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim); }
.term-status { font-family: var(--font-mono); font-size: 0.7rem; color: var(--emerald); }

.terminal-screen {
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    min-height: 380px;
    max-height: 480px;
    overflow-y: auto;
    background: #08080a;
    color: #f4f4f5;
}
.t-prompt { color: var(--emerald); font-weight: 600; }
.t-out {
    color: #f4f4f5;
    margin: 0.5rem 0 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border-left: 2px solid var(--emerald);
}
.t-head { font-weight: 700; color: var(--emerald); margin-bottom: 0.5rem; }
.t-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.t-table td { padding: 0.35rem 0.5rem; font-size: 0.8rem; }
.t-cmd { color: #34d399; font-weight: 600; }
.t-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-dark-muted);
}
.t-link { color: var(--emerald); text-decoration: none; font-weight: 600; }
.t-link:hover { text-decoration: underline; }
.t-desc { color: var(--text-dim); }
.t-err { color: #ff746c; }
.t-warn { color: #ffbd2e; }
.t-success { color: #34d399; }
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-top: 0.5rem; }
.t-grid-item {
    background: #000; border: 1px solid var(--border-subtle);
    padding: 0.4rem 0.6rem; border-radius: 4px; cursor: pointer;
    font-size: 0.75rem;
}
.t-grid-item:hover { border-color: var(--emerald); }
.t-btn-act {
    display: inline-block;
    margin-top: 0.75rem;
    background: var(--emerald-dim);
    border: 1px solid var(--border-highlight);
    color: var(--emerald);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
}
.t-btn-act:hover { background: var(--emerald); color: #000; }

.terminal-prompt-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}
.terminal-quick-bar {
    display: flex;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    background: #101114;
    border-top: 1px solid var(--border-subtle);
    overflow-x: auto;
}
.term-cmd-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-dark-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}
.term-cmd-btn:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }

/* =============================================================
   OSINT INTELLIGENCE SHOWCASE (#osint)
============================================================= */
.osint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.osint-card-3d {
    background: #ffffff;
    border: 1px solid var(--border-light-box);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-3d);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: perspective(800px) rotateX(0deg) translateY(0);
}
.osint-card-3d:hover {
    transform: perspective(800px) rotateX(3deg) translateY(-6px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(52, 211, 153, 0.5);
}
.osint-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--emerald-dim);
    color: var(--emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
}
.osint-card-3d h3 { font-size: 1.25rem; font-weight: 700; color: #18181b; margin-bottom: 0.5rem; }
.osint-card-3d p { font-size: 0.88rem; color: #71717a; line-height: 1.5; margin-bottom: 1.5rem; }

.osint-subpage-banner {
    background: linear-gradient(90deg, #18181b 0%, #27272a 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* =============================================================
   IN-BROWSER LINUX WORKSTATION (v86 - #v86-os)
============================================================= */
.vm-wrapper {
    background: #09090c;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 30px 90px rgba(0,0,0,0.8);
    color: #ffffff;
}
.vm-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 1rem;
}
.vm-screen-box {
    width: 100%;
    min-height: 480px;
    background: #000000;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
#screen_container {
    width: 100%;
    height: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#screen_container canvas {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.vm-shortcuts-bar {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.vm-key-btn {
    background: #18181b;
    border: 1px solid var(--border-subtle);
    color: var(--text-dark-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
}
.vm-key-btn:hover { background: #27272a; color: #fff; }

/* =============================================================
   LIVE AI JOBS BOARD (#jobs)
============================================================= */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
}
.job-card-3d {
    background: #ffffff;
    border: 1px solid var(--border-light-box);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-3d);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: perspective(800px) rotateX(0deg) translateY(0);
}
.job-card-3d:hover {
    transform: perspective(800px) rotateX(3deg) translateY(-6px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(52, 211, 153, 0.6);
}
.job-company-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f4f4f5;
    padding: 4px;
    object-fit: contain;
}
.job-title { font-size: 1.1rem; font-weight: 700; color: #18181b; }
.job-meta { font-size: 0.75rem; color: #71717a; margin-top: 0.2rem; }
.job-salary-badge {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}
.job-desc { font-size: 0.85rem; color: #52525b; line-height: 1.5; margin: 0.85rem 0 1.25rem; }
.job-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-light-box);
}
.job-tag {
    font-size: 0.7rem; font-family: var(--font-mono);
    background: #f4f4f5;
    color: #71717a; padding: 0.15rem 0.4rem; border-radius: 4px;
}
.btn-job-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #18181b;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s;
}
.btn-job-apply:hover { background: var(--emerald); color: #000; transform: scale(1.03); }

/* =============================================================
   PRICING BENTO GRID (#pricing) (3D Light Mode Cards)
============================================================= */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.pcard-3d {
    background: #ffffff;
    border: 1px solid var(--border-light-box);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-3d);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: perspective(800px) rotateX(0deg) translateY(0);
}
.pcard-3d:hover {
    transform: perspective(800px) rotateX(4deg) translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}
.pcard-3d.featured {
    background: #18181b;
    color: #ffffff;
    border-color: rgba(52, 211, 153, 0.6);
    box-shadow: 0 25px 60px rgba(16, 185, 129, 0.15);
}
.pcard-band {
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pcard-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #71717a;
}
.pcard-3d.featured .pcard-tag { color: var(--emerald); }
.ribbon {
    background: var(--emerald);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}
.pcard-body { padding: 0 2rem 2rem; }
.price {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #18181b;
    margin-bottom: 0.25rem;
}
.pcard-3d.featured .price { color: #ffffff; }
.price small { font-size: 1rem; font-weight: 400; color: #71717a; }
.pname { font-size: 0.9rem; color: #71717a; margin-bottom: 1.75rem; }
.pcard-3d.featured .pname { color: #a1a1aa; }
.feats { list-style: none; margin-bottom: 2rem; }
.feats li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: #27272a;
    margin-bottom: 0.75rem;
}
.pcard-3d.featured .feats li { color: #f4f4f5; }
.feats li svg { color: #059669; flex-shrink: 0; }
.pcard-3d.featured .feats li svg { color: var(--emerald); }
.pcard-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-outline-light {
    background: #f4f4f5;
    border: 1px solid var(--border-light-box);
    color: #18181b;
}
.btn-outline-light:hover { background: #18181b; color: #ffffff; }
.btn-emerald {
    background: var(--emerald);
    color: #000000;
    border: none;
    box-shadow: 0 5px 20px rgba(52, 211, 153, 0.35);
}
.btn-emerald:hover { transform: scale(1.02); }

/* =============================================================
   MISTRAL AI LIVE CHATBOT WIDGET
============================================================= */
.chat-widget-btn {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 1000;
    background: #18181b;
    border: 1px solid var(--border-highlight);
    color: #ffffff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(52, 211, 153, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-widget-btn:hover {
    transform: scale(1.08);
    background: var(--emerald);
    color: #000;
}
.chat-window {
    position: fixed;
    bottom: 5.75rem;
    right: 1.75rem;
    z-index: 1000;
    width: 380px;
    height: 520px;
    background: rgba(14, 14, 18, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: #ffffff;
}
.chat-window.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(24, 24, 28, 0.5);
}
.chat-bot-info { display: flex; align-items: center; gap: 0.6rem; }
.chat-bot-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--emerald-dim); border: 1px solid var(--border-highlight);
    display: flex; align-items: center; justify-content: center;
    color: var(--emerald); font-size: 0.8rem;
}
.chat-messages-wrap {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.chat-msg { display: flex; flex-direction: column; max-width: 85%; }
.chat-msg.user { align-self: flex-end; }
.chat-msg.bot { align-self: flex-start; }
.chat-bubble {
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    line-height: 1.45;
}
.chat-msg.user .chat-bubble {
    background: var(--emerald);
    color: #000000;
    font-weight: 500;
    border-bottom-right-radius: 4px;
}
.chat-msg.bot .chat-bubble {
    background: #1e1e24;
    color: var(--text-dark-main);
    border: 1px solid var(--border-subtle);
    border-bottom-left-radius: 4px;
}
.chat-input-bar {
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 0.5rem;
}
.chat-input-field {
    flex: 1;
    background: #000;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 0.6rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
}
.chat-input-field:focus { border-color: var(--emerald); }
.chat-send-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--emerald); color: #000; border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.chat-dot {
    display: inline-block; width: 6px; height: 6px; border-radius: 50%;
    background: var(--emerald); margin: 0 2px;
    animation: chatBounce 1.4s infinite ease-in-out both;
}
.chat-dot:nth-child(1) { animation-delay: -0.32s; }
.chat-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes chatBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* =============================================================
   FOOTER
============================================================= */
.footer-wrap {
    border-top: 1px solid var(--border-subtle);
    background: #000000;
    padding: 5rem 0 3rem;
    color: #ffffff;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}
.footer-tagline {
    color: var(--text-dark-muted);
    font-size: 0.88rem;
    max-width: 320px;
    line-height: 1.5;
}
.fcol h5 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald);
    margin-bottom: 1.25rem;
}
.fcol a {
    display: block;
    color: var(--text-dark-muted);
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 0.65rem;
    transition: color 0.15s;
}
.fcol a:hover { color: #ffffff; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom a { color: var(--emerald); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* Toast */
.global-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #18181b;
    border: 1px solid var(--border-highlight);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.global-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Modal */
.api-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.api-modal.open { opacity: 1; pointer-events: auto; }
.api-modal-box {
    background: #121216;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    padding: 2rem;
    box-shadow: 0 25px 80px rgba(0,0,0,0.8);
    position: relative;
    color: #ffffff;
}
.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-dark-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.modal-close:hover { color: #fff; background: rgba(255,255,255,0.12); }
.modal-input-group { display: flex; gap: 0.5rem; margin: 1.25rem 0; }
.modal-url-input {
    flex: 1; background: #000; border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm); padding: 0.75rem 1rem; color: #fff;
    font-family: var(--font-mono); font-size: 0.85rem; outline: none;
}
.modal-res-box {
    background: #000; border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm); padding: 1.25rem; font-family: var(--font-mono);
    font-size: 0.8rem; color: var(--emerald); min-height: 180px; max-height: 300px;
    overflow-y: auto; white-space: pre-wrap;
}

/* =============================================================
   TV-STYLE APPARATUS CONTAINER (WebOAS, Blender, Photoshop)
============================================================= */
.tv-container {
    background: linear-gradient(180deg, #141419 0%, #09090c 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.85);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Variant for light-section background (Blender 3D) */
.light-section .tv-container {
    background: linear-gradient(180deg, #1c1c22 0%, #0c0c10 100%);
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22), 0 10px 30px rgba(0, 0, 0, 0.12);
}

.tv-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 1rem;
}
.tv-title-group h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
}
.tv-title-group p {
    color: var(--text-dark-muted);
    font-size: 0.9rem;
    margin-top: 0.35rem;
    max-width: 680px;
    line-height: 1.5;
}
.tv-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.tv-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--emerald);
    background: var(--emerald-dim);
    border: 1px solid var(--border-highlight);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.tv-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.tv-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--border-highlight);
    transform: translateY(-1px);
}
.tv-btn.primary {
    background: var(--emerald);
    color: #000000;
    font-weight: 600;
    border-color: var(--emerald);
}
.tv-btn.primary:hover {
    background: #4ade80;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
}

.tv-screen-box {
    width: 100%;
    height: 720px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9), 0 12px 45px rgba(0, 0, 0, 0.6);
}
.tv-screen-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #111;
}

/* TV screen fullscreen mode */
.tv-screen-box.fullscreen-active {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    border-radius: 0 !important;
    border: none !important;
}

/* =============================================================
   N8N TEMPLATES (Light Section - White Background)
============================================================= */
.n8n-filter-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.n8n-search-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.n8n-pills-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.n8n-pill {
    background: #ffffff;
    border: 1px solid var(--border-light-box);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
}
.n8n-pill:hover {
    border-color: #a1a1aa;
    color: #18181b;
}
.n8n-pill.active {
    background: #18181b;
    color: #ffffff;
    border-color: #18181b;
}

.n8n-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.n8n-card {
    background: #ffffff;
    border: 1px solid var(--border-light-box);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-3d);
    position: relative;
}
.n8n-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);
    border-color: rgba(52, 211, 153, 0.6);
}
.n8n-cat-tag {
    display: inline-block;
    background: rgba(238, 77, 45, 0.08);
    color: #ee4d2d;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}
.n8n-card h3 {
    font-size: 1.08rem;
    color: #18181b;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
}
.n8n-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}
.n8n-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #71717a;
    padding-top: 0.75rem;
    border-top: 1px solid #f4f4f5;
    margin-bottom: 1rem;
}
.n8n-actions {
    display: flex;
    gap: 0.5rem;
}
.btn-copy-json {
    flex: 1;
    background: #18181b;
    color: #ffffff;
    border: none;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s;
}
.btn-copy-json:hover {
    background: var(--emerald);
    color: #000000;
}
.btn-dl-json {
    background: #f4f4f5;
    color: #18181b;
    border: 1px solid #e4e4e7;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-dl-json:hover {
    background: #e4e4e7;
}

/* =============================================================
   SAAS TOOLS (Dark Section - Black Background)
============================================================= */
.saas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.saas-card {
    background: rgba(24, 24, 27, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
}
.saas-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
    background: rgba(39, 39, 42, 0.9);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.saas-cat-tag {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}
.saas-card h3 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
}
.saas-card p {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}
.saas-actions {
    display: flex;
    gap: 0.5rem;
}
.btn-launch-tool {
    flex: 1;
    background: var(--emerald);
    color: #000000;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s;
}
.btn-launch-tool:hover {
    background: #4ade80;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.4);
}
.btn-preview-tool {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid var(--border-subtle);
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-preview-tool:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* =============================================================
   1 MILLION TOP WEBSITES PREVIEW (Light Section - White Background)
============================================================= */
.websites-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.web-card {
    background: #ffffff;
    border: 1px solid var(--border-light-box);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.web-card:hover {
    transform: translateY(-2px);
    border-color: var(--emerald);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.web-card-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}
.web-rank {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 0.82rem;
    color: var(--emerald-dark);
    background: rgba(5, 150, 105, 0.1);
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    min-width: 44px;
    text-align: center;
}
.web-domain {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: #18181b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.web-actions-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.web-btn {
    color: #71717a;
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    transition: all 0.15s;
}
.web-btn:hover {
    color: var(--emerald-dark);
    background: rgba(5, 150, 105, 0.08);
}

/* Big Banner for Full 1M Directory */
.explore-full-banner {
    margin-top: 2.5rem;
    background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* =============================================================
   DARK PRICING SECTION ADAPTATION (Preserves Alternating Colors)
============================================================= */
.dark-section .pcard-3d {
    background: rgba(24, 24, 27, 0.75);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.dark-section .pcard-3d:hover {
    border-color: var(--border-highlight);
    background: rgba(39, 39, 42, 0.95);
}
.dark-section .pcard-3d .price {
    color: #ffffff;
}
.dark-section .pcard-3d .pname {
    color: var(--text-dark-muted);
}
.dark-section .pcard-3d .feats li {
    color: #e4e4e7;
}
.dark-section .pcard-3d .btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
}
.dark-section .pcard-3d .btn-outline-light:hover {
    background: #ffffff;
    color: #000000;
}

/* =============================================================
   TOOL PREVIEW MODAL
============================================================= */
.tool-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.tool-modal.open {
    opacity: 1;
    pointer-events: auto;
}
.tool-modal-box {
    background: #101014;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 1100px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow: hidden;
}
.tool-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(20, 20, 26, 0.6);
}
.tool-modal-body {
    flex: 1;
    position: relative;
    background: #000;
}
.tool-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =============================================================
   COMPREHENSIVE RESPONSIVENESS (Mobile & Desktop Perfection)
============================================================= */
@media (max-width: 1200px) {
    .nav-inner { max-width: 96%; }
    .nav-link { padding: 0.35rem 0.6rem; font-size: 0.8rem; }
}

@media (max-width: 1024px) {
    .new-hero-main { flex-direction: column; }
    .hero-left-panel { width: 100%; padding: 2rem 1.5rem; }
    .hero-right-panel { display: none; }
    .hero-canvas-overlay { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .sigint-map-grid { grid-template-columns: 1fr; }
    .terminal-layout { grid-template-columns: 1fr; }
    .bento { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none !important; }
    .mobile-menu-toggle { display: flex !important; }
    .tv-screen-box { height: 580px; }
}

@media (max-width: 768px) {
    .nav {
        top: 0.65rem;
        padding: 0 0.75rem;
    }
    .nav-inner {
        padding: 0.4rem 0.75rem 0.4rem 0.95rem;
        height: 52px;
    }
    .brand {
        font-size: 0.98rem;
        gap: 0.5rem;
    }
    .brand-logo-img {
        width: 26px;
        height: 26px;
    }
    .nav-status {
        display: none !important; /* Move to mobile drawer */
    }
    .btn-action {
        padding: 0.4rem 0.65rem;
        font-size: 0.8rem;
        gap: 0.4rem;
    }
    .btn-action .btn-text-full {
        display: none;
    }
    .btn-action .ico {
        width: 24px;
        height: 24px;
    }
    .mobile-drawer {
        top: 4.5rem;
        left: 0.75rem;
        right: 0.75rem;
        padding: 1.25rem;
        gap: 1rem;
    }
    .api-filter-panel { grid-template-columns: 1fr; }
    .api-grid { grid-template-columns: 1fr; }
    .jobs-grid { grid-template-columns: 1fr; }
    .sigint-container { padding: 1.25rem; }
    .sigint-map-wrapper { height: 400px; }
    .tv-container { padding: 1.25rem; }
    .tv-screen-box { height: 450px; }
    .chat-window { width: calc(100vw - 2rem); right: 1rem; bottom: 5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .explore-full-banner { flex-direction: column; align-items: flex-start; }
    .tool-modal-box { width: 95vw; height: 90vh; }
}

@media (max-width: 480px) {
    .btn-action {
        display: none !important; /* Leave maximum breathing room for logo and hamburger on tiny screens */
    }
    .tv-screen-box {
        height: 380px;
    }
    .tv-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

