/* ==========================================================================
   REPUTEX • ChainFund / Web3 Luxury Hero Cybersecurity Theme
   Directly adapted from Dribbble Reference
   ========================================================================== */

:root {
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* ChainFund Deep Space Blue Palette */
    --bg-universe: #040711;
    --bg-surface: rgba(10, 16, 32, 0.7);
    --bg-elevated: #0f1830;
    --bg-card: rgba(13, 22, 44, 0.65);
    --bg-card-solid: #0c1427;
    --bg-input: rgba(7, 12, 24, 0.85);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.12);
    --border-blue-glow: rgba(59, 130, 246, 0.5);

    /* Text */
    --text-pure: #ffffff;
    --text-high: #f1f5f9;
    --text-mid: #94a3b8;
    --text-low: #64748b;

    /* Luminous Accents */
    --blue-glow: #3b82f6;
    --blue-vibrant: #2563eb;
    --indigo-glow: #6366f1;
    --cyan-glow: #00d9f5;
    --mint-glow: #00f5a0;
    --red-glow: #ff4d6d;
    --amber-glow: #fbbf24;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --backdrop-blur: blur(20px);
}

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

body.chain-body {
    font-family: var(--font-main);
    background-color: var(--bg-universe);
    color: var(--text-high);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

.mono {
    font-family: var(--font-mono);
}

.text-mint { color: var(--mint-glow); }
.text-cyan { color: var(--cyan-glow); }
.text-red { color: var(--red-glow); }

/* ==========================================================================
   Volumetric Spotlight & 3D Perspective Grid Background
   ========================================================================== */
.space-viewport {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 75% 15%, #0d1a3a 0%, #040711 60%, #02040a 100%);
}

/* Volumetric Cone of Light from Top Right (matching image) */
.spotlight-beam {
    position: absolute;
    top: -120px;
    right: 12%;
    width: 650px;
    height: 1000px;
    background: conic-gradient(
        from 140deg at 70% 0%, 
        transparent 0deg, 
        rgba(96, 165, 250, 0.03) 10deg,
        rgba(147, 197, 253, 0.38) 25deg, 
        rgba(59, 130, 246, 0.45) 35deg, 
        rgba(191, 219, 254, 0.35) 45deg,
        rgba(96, 165, 250, 0.05) 60deg,
        transparent 75deg
    );
    filter: blur(35px);
    opacity: 0.95;
    transform: rotate(-10deg);
}

.ambient-glow-blue {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(37, 99, 235, 0.1) 50%, transparent 70%);
    filter: blur(80px);
}

.ambient-glow-purple {
    position: absolute;
    bottom: -100px;
    left: 5%;
    width: 600px;
    height: 450px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    filter: blur(100px);
}

/* 3D Perspective Grid Floor (receding horizon) */
.grid-perspective-floor {
    position: absolute;
    bottom: -50px;
    left: -50%;
    width: 200%;
    height: 60%;
    background-image: 
        linear-gradient(to right, rgba(59, 130, 246, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 130, 246, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(350px) rotateX(72deg);
    transform-origin: center bottom;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 80%);
}

/* App Canvas Shell */
.app-canvas {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 28px 60px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   ChainFund Navbar (Brand Left, Capsule Center, Action Right)
   ========================================================================== */
.navbar-chain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.brand-infinity-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(99, 102, 241, 0.3));
    border: 1px solid rgba(147, 197, 253, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.4);
}

.brand-title-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.brand-highlight {
    color: #ffffff;
}

/* Center Capsule Menu */
.nav-capsule {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(13, 20, 38, 0.65);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 4px 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-item {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.nav-item:hover {
    color: #ffffff;
}

.nav-item.active {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.25);
    border: 1px solid rgba(96, 165, 250, 0.35);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}

/* Nav Dropdown */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(10, 16, 32, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 10px;
    width: 320px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 14px;
}

/* Invisible bridge: fills the gap between button and dropdown panel */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper.dropdown-open .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-wrapper:hover .nav-dropdown-btn,
.nav-dropdown-wrapper.dropdown-open .nav-dropdown-btn {
    color: var(--text-high);
}

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

.nav-dropdown-btn svg {
    transition: transform 0.22s ease;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: #e2e8f0;
    transition: all 0.18s ease;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #ffffff;
    transform: translateX(3px);
}

.dropdown-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-email { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.icon-header { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.icon-ssl { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.icon-whois { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.icon-ports { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.icon-dnsprop { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.icon-threat { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
.icon-traverse { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }

.dropdown-title {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.2;
}

.dropdown-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* Right Nav Buttons */
.nav-right-cluster {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-contact-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    padding: 9px 22px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-contact-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.nav-dot-active {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mint-glow);
    box-shadow: 0 0 8px var(--mint-glow);
}

/* ==========================================================================
   Hero Stage (Split 2 Columns: Left Copy & Right 3D Isometric Stack)
   ========================================================================== */
.hero-split-stage {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 40px;
    min-height: 520px;
    margin: 10px 0;
}

.hero-content-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Eyebrow [ 150+ organizations ] style */
.eyebrow-bracket {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: 0.02em;
}

.eyebrow-bracket .bracket {
    color: rgba(96, 165, 250, 0.6);
}

/* Headline matching image */
.headline-bold {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: #ffffff;
}

.headline-gradient {
    color: #ffffff;
    display: inline-block;
}

.hero-description-text {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 480px;
    line-height: 1.55;
}

/* Scan Input & Action Button Container */
.scan-input-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
    max-width: 540px;
}

.scan-form-box {
    display: flex;
    gap: 8px;
    background: rgba(12, 19, 36, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 6px 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: all 0.25s ease;
}

.scan-form-box:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

.input-inner-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 12px;
}

.search-symbol {
    color: #60a5fa;
    display: flex;
    align-items: center;
}

.input-inner-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1rem;
    font-family: var(--font-mono);
}

.input-inner-wrapper input::placeholder {
    color: #64748b;
    font-family: var(--font-main);
    font-size: 0.9rem;
}

.clear-btn-x {
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px 6px;
    display: none;
}

.clear-btn-x:hover { color: #ffffff; }

/* The Glowing Blue Button: "Get Started ->" style */
.btn-glowing-cta {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6), 0 4px 15px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.btn-glowing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.85), 0 6px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.btn-glowing-cta:active {
    transform: translateY(0);
}

/* Quick Target Pills */
.quick-pills-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pills-caption {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.preset-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.preset-pill:hover {
    color: #ffffff;
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.12);
}

.pill-myip {
    border-color: rgba(96, 165, 250, 0.4);
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.1);
}

.pill-spam {
    border-color: rgba(255, 77, 109, 0.35);
    color: #fca5a5;
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.dot-blue { background-color: #60a5fa; }
.dot-cyan { background-color: #00d9f5; }
.dot-red { background-color: #ff4d6d; }

/* ==========================================================================
   Hero Visual Column: 3D Torus Sphere Cluster & Interactive Reticle
   ========================================================================== */
.hero-visual-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    perspective: 1200px;
}

.hero-3d-stage {
    position: relative;
    width: 100%;
    max-width: 540px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    cursor: crosshair;
}

#hero3DCanvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 2;
    pointer-events: auto;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.7));
}

/* Central Neon Cyan/Violet Glow Backdrop */
.hero-3d-glow-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 245, 255, 0.28) 0%, rgba(168, 85, 247, 0.22) 38%, rgba(217, 70, 239, 0.08) 55%, transparent 72%);
    filter: blur(32px);
    pointer-events: none;
    z-index: 1;
    animation: heroCoreGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes heroCoreGlowPulse {
    0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.75; }
    100% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

/* Interactive White Reticle / Targeting Cursor */
.hero-3d-cursor-reticle {
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 72px;
    pointer-events: none;
    z-index: 6;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reticle-ring {
    position: absolute;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.8), inset 0 0 12px rgba(0, 245, 255, 0.4);
    animation: reticleSpin 12s linear infinite;
}

.reticle-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.45);
}

.reticle-center-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffffff, 0 0 20px #00f5ff;
}

.reticle-bracket-tl,
.reticle-bracket-br {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: rgba(255, 255, 255, 0.85);
    border-style: solid;
}

.reticle-bracket-tl {
    top: 2px;
    left: 2px;
    border-width: 2px 0 0 2px;
}

.reticle-bracket-br {
    bottom: 2px;
    right: 2px;
    border-width: 0 2px 2px 0;
}

.reticle-tag {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    background: rgba(10, 15, 30, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 0.65rem;
    font-family: 'JetBrains Mono', monospace;
    color: #ffffff;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.tag-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00f5ff;
    box-shadow: 0 0 6px #00f5ff;
    animation: pulseDot 1.5s infinite;
}

.tag-label {
    color: #60a5fa;
    font-weight: 700;
}

.tag-coord {
    color: #e2e8f0;
}

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

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* Floating Cyber Security Badges around 3D Torus */
.hero-glass-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    z-index: 4;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: auto;
    cursor: default;
}

.hero-glass-chip:hover {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(0, 245, 255, 0.25);
}

.chip-top-right {
    top: 25px;
    right: -10px;
}

.chip-bottom-left {
    bottom: 30px;
    left: -15px;
}

.chip-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chip-icon-box.cyan-glow {
    background: rgba(0, 245, 255, 0.12);
    border: 1px solid rgba(0, 245, 255, 0.35);
    color: #00f5ff;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.25);
}

.chip-icon-box.purple-glow {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #d946ef;
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.25);
}

.chip-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chip-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.chip-val {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.float-chip-1 {
    animation: floatChip1 5s ease-in-out infinite;
}

.float-chip-2 {
    animation: floatChip2 6s ease-in-out infinite 0.8s;
}

@keyframes floatChip1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* ==========================================================================
   3 Feature Pillars (Matching bottom row in image)
   ========================================================================== */
.pillars-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 0;
}

.pillar-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.pillar-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pillar-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.pillar-subtext {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.45;
}

/* ==========================================================================
   Results Dashboard Stage (Appears dynamically)
   ========================================================================== */
.results-stage {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 20px;
    animation: fadeIn 0.3s ease-out;
}

/* Stream Progress Card */
.stream-progress-card {
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 16px 22px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.stream-flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.stream-info-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.laser-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-glow);
    box-shadow: 0 0 12px var(--blue-glow);
    animation: pulseBeacon 1.2s infinite;
}

@keyframes pulseBeacon {
    0%, 100% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
}

.stream-status-text {
    font-weight: 600;
    color: var(--text-pure);
}

.stream-telemetry-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
}

.telemetry-sep { color: var(--text-low); }

.stream-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.stream-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #00f5a0);
    border-radius: var(--radius-full);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Analytics Bento Grid (3 Columns)
   ========================================================================== */
.analytics-bento-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.35fr 1.15fr;
    gap: 22px;
}

.bento-glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.bento-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.head-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bento-head-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-mint-glow {
    background: rgba(0, 245, 160, 0.15);
    color: var(--mint-glow);
    border: 1px solid rgba(0, 245, 160, 0.3);
}

.icon-blue-glow {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.icon-purple-glow {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.head-title-wrap h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-pure);
}

.bento-sub {
    font-size: 0.72rem;
    color: var(--text-low);
    font-weight: 600;
}

/* Status Pills */
.status-pill {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.pill-clean {
    background: rgba(0, 245, 160, 0.12);
    color: var(--mint-glow);
    border: 1px solid rgba(0, 245, 160, 0.3);
    box-shadow: 0 0 15px rgba(0, 245, 160, 0.2);
}

.pill-warning {
    background: rgba(251, 191, 36, 0.12);
    color: var(--amber-glow);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.pill-danger {
    background: rgba(255, 77, 109, 0.12);
    color: var(--red-glow);
    border: 1px solid rgba(255, 77, 109, 0.3);
}

.pill-neutral {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-mid);
    border: 1px solid var(--border-subtle);
}

/* Radial Gauge in Bento */
.bento-radial-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.radial-ring-box {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}

.radial-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.radial-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 9;
}

.radial-fill {
    fill: none;
    stroke: var(--mint-glow);
    stroke-width: 9;
    stroke-dasharray: 301.59;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.4s ease;
    filter: drop-shadow(0 0 8px rgba(0, 245, 160, 0.4));
}

.radial-score-val {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-large {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-pure);
}

.score-base {
    font-size: 0.7rem;
    color: var(--text-low);
    font-weight: 600;
}

.score-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

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

.breakdown-label { color: var(--text-mid); }
.breakdown-val { font-weight: 700; }

/* Dossier Rows */
.dossier-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.dossier-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 6px;
}

.dossier-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dossier-key {
    color: var(--text-low);
    font-size: 0.78rem;
}

.dossier-val-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dossier-val {
    font-weight: 600;
    text-align: right;
}

.text-truncate {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn-mini {
    background: none;
    border: none;
    color: var(--text-low);
    cursor: pointer;
    padding: 2px;
}

.copy-btn-mini:hover { color: #60a5fa; }

/* Google Card in Bento */
.google-panel-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
}

.google-detail-text {
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.5;
}

.link-google-transparency {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
}

.link-google-transparency:hover {
    text-decoration: underline;
}

.bento-export-row {
    display: flex;
    gap: 8px;
}

.btn-bento-tool {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-pure);
    border-radius: var(--radius-md);
    padding: 9px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-bento-tool:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
}

/* ==========================================================================
   Matrix Table Card
   ========================================================================== */
.matrix-table-card {
    padding: 0;
    overflow: hidden;
}

.matrix-toolbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.25);
}

.matrix-filter-capsules {
    display: flex;
    gap: 6px;
    overflow-x: auto;
}

.filter-capsule {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-mid);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.filter-capsule:hover {
    color: var(--text-pure);
    background: rgba(255, 255, 255, 0.05);
}

.filter-capsule.active {
    color: #ffffff;
    background: #2563eb;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.filter-capsule.capsule-danger { color: #f87171; }

.matrix-search-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    color: var(--text-low);
}

.matrix-search-wrapper input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-pure);
    font-size: 0.85rem;
    width: 210px;
}

.matrix-table-viewport {
    overflow-x: auto;
    max-height: 600px;
}

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

.chain-table th {
    background: rgba(5, 8, 17, 0.6);
    color: var(--text-low);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 24px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.chain-table td {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-mid);
}

.chain-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.chain-table tr.threat-row td {
    background: rgba(255, 77, 109, 0.06);
}

.provider-main {
    font-weight: 700;
    color: var(--text-pure);
}

.provider-domain {
    font-size: 0.72rem;
    color: var(--text-low);
    font-family: var(--font-mono);
}

.cat-tag {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-mid);
    text-transform: capitalize;
}

.link-delist-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
}

.link-delist-inline:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
/* ==========================================================================
   Premium Site Footer — IndoBSD Branding
   ========================================================================== */
.site-footer {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.25) 100%);
    padding: 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Footer Brand Column */
.footer-brand-col { max-width: 380px; }

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    flex-shrink: 0;
    border-radius: 8px;
    filter: drop-shadow(0 2px 8px rgba(232, 82, 63, 0.3));
}

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

.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-high);
    letter-spacing: -0.02em;
}

.footer-brand-tagline {
    font-size: 0.72rem;
    color: var(--text-low);
    letter-spacing: 0.02em;
    font-style: italic;
}

.footer-company-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.footer-company-desc {
    font-size: 0.82rem;
    color: var(--text-low);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social-row {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-mid);
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-social-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-high);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Footer Column Titles & Links */
.footer-col-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-mid);
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links li {
    font-size: 0.82rem;
    color: var(--text-low);
}

.footer-links a {
    color: var(--text-low);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--mint-glow);
}

.footer-tech-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(0, 245, 160, 0.08);
    border: 1px solid rgba(0, 245, 160, 0.15);
    color: var(--mint-glow);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    margin-right: 4px;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.76rem;
    color: var(--text-low);
}

.footer-bottom-center {
    text-align: center;
}

.footer-product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-mid);
}

.footer-product-badge svg {
    color: var(--mint-glow);
    flex-shrink: 0;
}

.footer-bottom-right {
    text-align: right;
}

.footer-bottom-right strong {
    color: #E8523F;
    font-weight: 700;
}

.footer-bottom-left strong {
    color: var(--text-mid);
}

/* Keep old class for print/compat */
.chain-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    font-size: 0.8rem;
    color: var(--text-low);
}

/* ==========================================================================
   Modal Dialog
   ========================================================================== */
.modal-screen {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
    animation: fadeIn 0.15s ease-out;
}

.modal-floating-card {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 530px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.modal-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
    border-bottom: 1px solid var(--border-glass);
}

.modal-card-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-card-top h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-pure);
}

.modal-card-sub {
    font-size: 0.76rem;
    color: var(--text-low);
}

.modal-btn-close {
    background: none;
    border: none;
    color: var(--text-low);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
}

.modal-btn-close:hover { color: var(--text-pure); }

.modal-card-body {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.setting-input-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.password-box-wrap {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 0 14px;
}

.password-box-wrap:focus-within {
    border-color: #60a5fa;
}

.password-box-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 0;
    color: var(--text-pure);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.toggle-eye-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.7;
}

.toggle-eye-btn:hover { opacity: 1; }

.setting-hint {
    font-size: 0.75rem;
    color: var(--text-low);
    line-height: 1.4;
}

.guide-glass-callout {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: 0.8rem;
    color: var(--text-mid);
}

.guide-callout-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 6px;
}

.guide-num-list {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guide-num-list a {
    color: #60a5fa;
    text-decoration: none;
}

.modal-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 26px;
    border-top: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.25);
}

.foot-left-group {
    display: flex;
    gap: 8px;
}

.btn-foot-test {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-pure);
    border-radius: var(--radius-full);
    padding: 9px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-foot-test:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: #60a5fa;
}

.btn-foot-clear {
    background: transparent;
    border: 1px solid transparent;
    color: var(--red-glow);
    padding: 9px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: var(--radius-full);
}

/* Floating Toast */
.toast-popup-pill {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--bg-card-solid);
    color: var(--text-pure);
    border: 1px solid #60a5fa;
    padding: 14px 22px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.35);
    z-index: 4000;
    animation: toastPop 0.25s ease-out;
}

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

.hidden { display: none !important; }

.spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Content Section Blocks (Why Us & Platform Matrix)
   ========================================================================== */
.content-section-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    scroll-margin-top: 90px;
}

.section-head-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.eyebrow-bracket {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cyan-glow);
}

.eyebrow-bracket .bracket {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.section-title-large {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle-text {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Why Us Bento Grid */
.whyus-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1040px) {
    .whyus-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .whyus-bento-grid {
        grid-template-columns: 1fr;
    }
}

.whyus-card {
    display: flex;
    flex-direction: column;
    padding: 26px 22px;
    background: rgba(10, 16, 32, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.whyus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whyus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.15);
}

.whyus-card:hover::before {
    opacity: 1;
}

.whyus-icon-head {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.icon-cyan-glow {
    background: rgba(0, 245, 160, 0.1);
    border: 1px solid rgba(0, 245, 160, 0.25);
    color: var(--mint-glow);
    box-shadow: 0 0 15px rgba(0, 245, 160, 0.15);
}

.whyus-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.whyus-card-text {
    font-size: 0.86rem;
    color: #94a3b8;
    line-height: 1.55;
    flex-grow: 1;
    margin-bottom: 18px;
}

.whyus-card-text code {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: var(--cyan-glow);
    font-size: 0.8rem;
}

.whyus-tag {
    align-self: flex-start;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-mid);
}

/* Stats Metrics Bar */
.stats-metrics-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(10, 16, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
    .stats-metrics-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .stat-metric-divider {
        display: none;
    }
}

.stat-metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.stat-metric-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
}

/* Platform Table Card */
.matrix-table-card {
    padding: 24px;
    background: rgba(10, 16, 32, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
}

.matrix-toolbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.matrix-filter-capsules {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.matrix-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 240px;
}

.matrix-search-wrapper svg {
    position: absolute;
    left: 12px;
    color: #64748b;
    pointer-events: none;
}

.matrix-search-wrapper input {
    width: 100%;
    padding: 8px 14px 8px 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    color: #ffffff;
    font-size: 0.82rem;
    outline: none;
    transition: all 0.2s ease;
}

.matrix-search-wrapper input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #3b82f6;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
}

.matrix-search-wrapper input::placeholder {
    color: #64748b;
}

.matrix-table-viewport {
    overflow-x: auto;
    max-height: 520px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
}

.matrix-table-viewport::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.matrix-table-viewport::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.matrix-table-viewport::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.matrix-table-viewport::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cat-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}

.provider-main {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.88rem;
}

.provider-domain {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: #64748b;
    margin-top: 2px;
}

.link-delist-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.link-delist-inline:hover {
    color: #93c5fd;
    text-decoration: underline;
}

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

.chain-table thead {
    position: sticky;
    top: 0;
    background: rgba(8, 12, 24, 0.95);
    backdrop-filter: blur(12px);
    z-index: 10;
}

.chain-table th {
    padding: 12px 16px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chain-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

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

.threat-row td {
    background: rgba(255, 77, 109, 0.08) !important;
}

/* ==========================================================================
   Email & Domain Authentication Suite Styles
   ========================================================================== */
.audit-mode-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
    .audit-mode-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mode-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #94a3b8;
    font-size: 0.80rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.mode-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.mode-tab-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(99, 102, 241, 0.25));
    border-color: #60a5fa;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
}

.tab-badge-new {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #00f5a0, #00d9f5);
    color: #040711;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.beacon-mint {
    background: var(--mint-glow) !important;
    box-shadow: 0 0 12px var(--mint-glow) !important;
}

.email-card-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Raw DNS Record Code Box */
.raw-record-box {
    background: rgba(4, 7, 17, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.raw-record-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.06em;
}

.copy-record-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #93c5fd;
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-record-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: #60a5fa;
}

.raw-code-text {
    font-size: 0.78rem;
    color: #cbd5e1;
    word-break: break-all;
    line-height: 1.45;
}

/* SPF Metadata Row */
.spf-meta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.meta-tag-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-label {
    color: #64748b;
    font-weight: 600;
}

.sub-caption {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 6px;
}

.mechanisms-container {
    display: flex;
    flex-direction: column;
}

.mechanisms-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 120px;
    overflow-y: auto;
}

.mech-pill {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.22);
    color: #93c5fd;
}

.mech-pill.qual-soft {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.25);
    color: #fde047;
}

.mech-pill.qual-hard {
    background: rgba(0, 245, 160, 0.08);
    border-color: rgba(0, 245, 160, 0.25);
    color: var(--mint-glow);
}

.mech-pill.qual-bad {
    background: rgba(255, 77, 109, 0.1);
    border-color: rgba(255, 77, 109, 0.3);
    color: var(--red-glow);
}

/* DMARC Tags Grid */
.dmarc-tags-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.dmarc-tag-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dmarc-tag-key {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.dmarc-tag-val {
    font-size: 0.84rem;
    font-weight: 700;
}

.dmarc-reporting-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rua-emails-list {
    font-size: 0.76rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 10px;
    border-radius: 6px;
}

/* DKIM Probe & Selectors */
.dkim-selector-probe-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dkim-selector-probe-box label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.selector-input-group {
    display: flex;
    gap: 6px;
}

.selector-input-group input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 6px 10px;
    color: #ffffff;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    outline: none;
}

.selector-input-group input:focus {
    border-color: #3b82f6;
}

.btn-probe-mini {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid #3b82f6;
    color: #93c5fd;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-probe-mini:hover {
    background: #3b82f6;
    color: #ffffff;
}

.discovered-selectors-wrap {
    display: flex;
    flex-direction: column;
}

.selector-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.selector-chip {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: rgba(0, 245, 160, 0.08);
    border: 1px solid rgba(0, 245, 160, 0.25);
    color: var(--mint-glow);
    cursor: pointer;
    transition: all 0.2s ease;
}

.selector-chip:hover, .selector-chip.active {
    background: rgba(0, 245, 160, 0.2);
    border-color: var(--mint-glow);
}

.chip-empty {
    font-size: 0.74rem;
    color: #64748b;
    font-style: italic;
}

/* MX Hosts Scrollbox */
.mx-hosts-scrollbox {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
}

.mx-host-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 8px 12px;
}

.mx-host-left {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.mx-pref-badge {
    font-size: 0.7rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    padding: 2px 6px;
    border-radius: 4px;
}

.mx-host-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
}

.mx-ips-list {
    font-size: 0.74rem;
    font-family: var(--font-mono);
    color: #64748b;
    margin-top: 2px;
}

.mx-ptr-tag {
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    background: rgba(0, 245, 160, 0.1);
    color: var(--mint-glow);
    border: 1px solid rgba(0, 245, 160, 0.2);
}

/* BIMI & MTA-STS */
.protocol-split-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.proto-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.proto-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.bimi-preview-wrap {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bimi-logo-img {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mta-mode-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.font-xs { font-size: 0.72rem !important; }

/* In-Card Guidance & Recommendation Box */
.card-guidance-box {
    background: rgba(4, 7, 17, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.guidance-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.guidance-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.guidance-text {
    font-size: 0.78rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0;
}

.guidance-text code {
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 5px;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: var(--cyan-glow);
    font-size: 0.74rem;
}

/* Example DNS Record Box */
.example-record-wrapper {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.example-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.example-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #60a5fa;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.copy-example-btn {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-example-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: #60a5fa;
    color: #ffffff;
}

.example-code-text {
    font-size: 0.74rem;
    color: #a7f3d0;
    word-break: break-all;
    line-height: 1.4;
    user-select: all;
}

/* Remediation Checklist */
.email-remediation-card {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.remediations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.remediation-card-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.remediation-card-item:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.remediation-card-item.sev-critical {
    border-color: rgba(255, 77, 109, 0.3);
    background: rgba(255, 77, 109, 0.05);
}

.remediation-card-item.sev-warning {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.05);
}

.remediation-card-item.sev-optimization {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
}

.remediation-card-item.sev-good {
    border-color: rgba(0, 245, 160, 0.25);
    background: rgba(0, 245, 160, 0.04);
}

.rem-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.rem-tags-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rem-comp-badge {
    font-size: 0.68rem;
    font-weight: 800;
    font-family: var(--font-mono);
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    letter-spacing: 0.05em;
}

.rem-sev-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rem-sev-badge.badge-critical {
    background: rgba(255, 77, 109, 0.15);
    color: var(--red-glow);
    border: 1px solid rgba(255, 77, 109, 0.3);
}

.rem-sev-badge.badge-warning {
    background: rgba(251, 191, 36, 0.15);
    color: var(--amber-glow);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.rem-sev-badge.badge-optimization {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.rem-sev-badge.badge-good {
    background: rgba(0, 245, 160, 0.15);
    color: var(--mint-glow);
    border: 1px solid rgba(0, 245, 160, 0.3);
}

.rem-item-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.rem-item-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rem-issue-row, .rem-action-row {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #cbd5e1;
    margin: 0;
}

.rem-issue-row strong {
    color: #f87171;
}

.rem-action-row strong {
    color: var(--mint-glow);
}

.rem-issue-row code, .rem-action-row code {
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 5px;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: var(--cyan-glow);
    font-size: 0.76rem;
}

.rem-example-container {
    background: rgba(4, 7, 17, 0.7);
    border: 1px solid rgba(0, 245, 160, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rem-example-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rem-example-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--mint-glow);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rem-example-code {
    font-size: 0.76rem;
    color: #a7f3d0;
    word-break: break-all;
    line-height: 1.4;
    user-select: all;
}

/* ==========================================================================
   Header Inspector & Dropzone Styling
   ========================================================================== */
.header-input-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.header-textarea-wrap {
    position: relative;
    width: 100%;
}

#rawHeaderTextarea {
    width: 100%;
    min-height: 130px;
    background: rgba(4, 7, 17, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.45;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#rawHeaderTextarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}

.drop-zone-overlay {
    position: absolute;
    inset: 0;
    background: rgba(59, 130, 246, 0.15);
    border: 2px dashed #60a5fa;
    border-radius: var(--radius-md);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #93c5fd;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.header-tools-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-samples-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-upload {
    cursor: pointer;
    background: rgba(147, 197, 253, 0.08);
    border-color: rgba(147, 197, 253, 0.2);
}

.pill-upload:hover {
    background: rgba(147, 197, 253, 0.18);
    border-color: #93c5fd;
}

/* Relay Hops Timeline */
.relay-hops-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
    position: relative;
}

.relay-hops-container::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(180deg, var(--cyan-glow) 0%, rgba(59, 130, 246, 0.4) 50%, var(--mint-glow) 100%);
    z-index: 1;
}

.relay-hop-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.relay-hop-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateX(3px);
}

.hop-index-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #040711;
    border: 2px solid var(--cyan-glow);
    color: var(--cyan-glow);
    font-weight: 800;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.hop-details-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.hop-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.hop-hosts-text {
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
}

.hop-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.76rem;
    color: #94a3b8;
}

.hop-delay-tag {
    font-size: 0.68rem;
    font-weight: 800;
    font-family: var(--font-mono);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(0, 245, 160, 0.12);
    color: var(--mint-glow);
    border: 1px solid rgba(0, 245, 160, 0.25);
}

.hop-delay-tag.delay-warning {
    background: rgba(251, 191, 36, 0.12);
    color: #fde047;
    border-color: rgba(251, 191, 36, 0.3);
}

.btn-pdf-glow {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(249, 115, 22, 0.2)) !important;
    border: 1px solid rgba(249, 115, 22, 0.4) !important;
    color: #fed7aa !important;
}

.btn-pdf-glow:hover {
    background: linear-gradient(135deg, #ef4444, #f97316) !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4) !important;
}

/* Screen hiding for print container */
.executive-print-dossier {
    display: none;
}

/* ==========================================================================
   Official Executive PDF & Audit Print Stylesheet (@media print)
   ========================================================================== */
@media print {
    @page {
        size: A4 portrait;
        margin: 12mm 14mm 14mm 14mm;
    }

    *, *::before, *::after {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    html, body {
        background: #ffffff !important;
        color: #0f172a !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Helvetica, Arial, sans-serif !important;
        font-size: 8.5pt !important;
        line-height: 1.45 !important;
        margin: 0 !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Hide ALL screen-only web app elements */
    .space-viewport, .navbar-chain, .hero-split-stage, .stats-ticker-strip,
    .why-us-section, .platform-matrix-section, .api-docs-preview-section,
    .chain-footer, .results-stage, .scan-input-card, .modal-screen,
    .toast-popup-pill, button, #toast, #settingsBtn, #progressBanner,
    #emailProgressBanner, .stream-progress-card {
        display: none !important;
    }

    .app-canvas {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Reveal Executive Print Dossier */
    .executive-print-dossier {
        display: block !important;
        width: 100% !important;
        background: #ffffff !important;
        color: #0f172a !important;
    }

    /* 1. Header & Letterhead */
    .print-doc-header {
        border-bottom: 2px solid #0f172a;
        padding-bottom: 12px;
        margin-bottom: 14px;
    }

    .print-header-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
    }

    .print-brand-block {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .print-logo-row {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .print-logo-emblem {
        font-size: 1.4rem;
        line-height: 1;
    }

    .print-logo-text {
        font-size: 1.4rem;
        font-weight: 900;
        letter-spacing: -0.03em;
        color: #0f172a;
    }

    .print-text-accent {
        color: #0284c7;
    }

    .print-tagline {
        font-size: 7.5pt;
        color: #475569;
        margin: 0;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .print-meta-block {
        text-align: right;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 3px;
    }

    .print-classification-badge {
        font-size: 6.5pt;
        font-weight: 800;
        letter-spacing: 0.08em;
        padding: 2px 8px;
        border-radius: 3px;
        background: #fef2f2;
        color: #dc2626;
        border: 1px solid #fecaca;
        display: inline-block;
        margin-bottom: 2px;
    }

    .print-ref-row {
        font-size: 7.5pt;
        color: #475569;
        display: flex;
        gap: 6px;
    }

    .print-meta-label {
        font-weight: 600;
    }

    .print-meta-val {
        color: #0f172a;
        font-weight: 700;
    }

    .print-header-divider {
        height: 1px;
        background: #e2e8f0;
        margin: 10px 0;
    }

    .print-target-strip {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        border-left: 4px solid #0284c7;
        padding: 8px 14px;
        border-radius: 4px;
    }

    .print-target-left, .print-target-right {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .print-target-label {
        font-size: 6.5pt;
        font-weight: 800;
        letter-spacing: 0.06em;
        color: #64748b;
        text-transform: uppercase;
    }

    .print-target-name {
        font-size: 1.15rem;
        font-weight: 800;
        color: #0f172a;
        margin: 0;
        font-family: var(--font-mono, monospace);
    }

    .print-target-mode {
        font-size: 8.5pt;
        font-weight: 700;
        color: #0284c7;
        text-align: right;
    }

    /* 2. Section Styles */
    .print-section {
        margin-bottom: 16px;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .print-section-title {
        font-size: 9.5pt;
        font-weight: 800;
        color: #0f172a;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        border-bottom: 1.5px solid #cbd5e1;
        padding-bottom: 4px;
        margin: 0 0 10px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Executive Scorecard */
    .print-summary-grid {
        display: grid;
        grid-template-columns: 140px 1fr;
        gap: 14px;
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        padding: 12px;
    }

    .print-score-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 10px;
        text-align: center;
    }

    .print-score-circle {
        display: flex;
        align-items: baseline;
        justify-content: center;
        margin-bottom: 4px;
    }

    .print-score-val {
        font-size: 2.2rem;
        font-weight: 900;
        color: #0f172a;
        line-height: 1;
        font-family: var(--font-mono, monospace);
    }

    .print-score-max {
        font-size: 0.85rem;
        color: #64748b;
        font-weight: 700;
        margin-left: 2px;
    }

    .print-grade-pill {
        font-size: 7pt;
        font-weight: 800;
        letter-spacing: 0.04em;
        padding: 3px 8px;
        border-radius: 4px;
        text-transform: uppercase;
    }

    .print-grade-pill.grade-clean {
        background: #ecfdf5;
        color: #15803d;
        border: 1px solid #bbf7d0;
    }

    .print-grade-pill.grade-warning {
        background: #fffbeb;
        color: #b45309;
        border: 1px solid #fde68a;
    }

    .print-grade-pill.grade-danger {
        background: #fef2f2;
        color: #b91c1c;
        border: 1px solid #fecaca;
    }

    .print-synopsis-p {
        font-size: 8.5pt;
        color: #334155;
        line-height: 1.45;
        margin: 0 0 10px 0;
    }

    .print-key-metrics-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .print-metric-box {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 4px;
        padding: 6px 8px;
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .print-metric-lbl {
        font-size: 6.5pt;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
    }

    .print-metric-val {
        font-size: 8.5pt;
        font-weight: 800;
        color: #0f172a;
        font-family: var(--font-mono, monospace);
    }

    .print-metric-val.text-green { color: #16a34a !important; }
    .print-metric-val.text-amber { color: #d97706 !important; }
    .print-metric-val.text-red { color: #dc2626 !important; }

    /* 3. Forensic Content & Tables */
    .print-forensic-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .print-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 8pt;
        margin-top: 4px;
    }

    .print-table th {
        background: #f1f5f9 !important;
        color: #0f172a !important;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 6.8pt;
        letter-spacing: 0.04em;
        padding: 6px 8px;
        border: 1px solid #cbd5e1;
        text-align: left;
    }

    .print-table td {
        padding: 5px 8px;
        border: 1px solid #e2e8f0;
        color: #1e293b;
    }

    .print-table tr:nth-child(even) td {
        background: #f8fafc;
    }

    .print-table tr.threat-row td {
        background: #fef2f2 !important;
    }

    .print-tag {
        font-size: 6.5pt;
        font-weight: 800;
        padding: 2px 6px;
        border-radius: 3px;
        display: inline-block;
        font-family: var(--font-mono, monospace);
    }

    .print-tag.tag-pass {
        background: #dcfce7;
        color: #15803d;
        border: 1px solid #86efac;
    }

    .print-tag.tag-fail {
        background: #fee2e2;
        color: #b91c1c;
        border: 1px solid #fca5a5;
    }

    .print-tag.tag-warn {
        background: #fef3c7;
        color: #92400e;
        border: 1px solid #fcd34d;
    }

    .print-tag.tag-neutral {
        background: #f1f5f9;
        color: #475569;
        border: 1px solid #cbd5e1;
    }

    .print-info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .print-info-card {
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        border-radius: 4px;
        padding: 8px 10px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .print-info-card h4 {
        font-size: 7.5pt;
        font-weight: 800;
        text-transform: uppercase;
        color: #0284c7;
        margin: 0 0 4px 0;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 2px;
    }

    .print-info-row {
        display: flex;
        justify-content: space-between;
        font-size: 7.8pt;
        gap: 8px;
    }

    .print-info-row .lbl {
        color: #64748b;
        font-weight: 600;
    }

    .print-info-row .val {
        color: #0f172a;
        font-weight: 700;
        text-align: right;
    }

    .print-raw-box {
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        border-left: 3px solid #0284c7;
        border-radius: 3px;
        padding: 6px 8px;
        font-family: var(--font-mono, monospace);
        font-size: 7.2pt;
        color: #0f172a;
        word-break: break-all;
        white-space: pre-wrap;
        margin-top: 4px;
    }

    /* 4. Recommendations */
    .print-recs-container {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .print-rec-item {
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        border-radius: 4px;
        padding: 8px 10px;
        display: flex;
        flex-direction: column;
        gap: 3px;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .print-rec-item.sev-critical {
        border-left: 4px solid #dc2626;
        background: #fff5f5;
    }

    .print-rec-item.sev-warning {
        border-left: 4px solid #d97706;
        background: #fffbeb;
    }

    .print-rec-item.sev-good {
        border-left: 4px solid #16a34a;
        background: #f0fdf4;
    }

    .print-rec-item.sev-opt {
        border-left: 4px solid #0284c7;
        background: #f0f9ff;
    }

    .print-rec-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .print-rec-title {
        font-size: 8.2pt;
        font-weight: 800;
        color: #0f172a;
    }

    .print-rec-sev {
        font-size: 6.5pt;
        font-weight: 800;
        padding: 1px 6px;
        border-radius: 3px;
        text-transform: uppercase;
    }

    .print-rec-body {
        font-size: 7.8pt;
        color: #334155;
        line-height: 1.4;
    }

    .print-rec-body code {
        background: #e2e8f0;
        padding: 1px 4px;
        border-radius: 2px;
        font-family: var(--font-mono, monospace);
        font-size: 7.2pt;
        color: #0f172a;
    }

    /* 5. Footer */
    .print-doc-footer {
        border-top: 1.5px solid #cbd5e1;
        padding-top: 8px;
        margin-top: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 7pt;
        color: #64748b;
        page-break-inside: avoid;
    }

    .print-footer-notice {
        margin: 0;
        max-width: 60%;
        line-height: 1.35;
    }

    .print-sign-off {
        font-weight: 700;
        color: #0f172a;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
}

/* ==========================================================================
   Delisting Hub & Blacklist Removal Styles
   ========================================================================== */
.btn-delist-glow {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.35) !important;
    color: #fca5a5 !important;
}

.btn-delist-glow:hover {
    background: rgba(239, 68, 68, 0.22) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.35) !important;
}

.delist-modal-card {
    max-width: 680px !important;
}

.delist-direct-card {
    background: rgba(4, 7, 17, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.delist-direct-info {
    flex: 1;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.delist-provider-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
}

.delist-instructions {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}

.delist-meta-tags {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.btn-delist-launch {
    padding: 10px 18px !important;
    font-size: 0.84rem !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.delist-divider-line {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 10px 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #64748b;
}

.delist-divider-line::before, .delist-divider-line::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.delist-divider-line span {
    padding: 0 10px;
}

.appeal-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 600px) {
    .appeal-form-grid {
        grid-template-columns: 1fr;
    }
}

.appeal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.appeal-field label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
}

.appeal-select, .appeal-input {
    background: rgba(4, 7, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: #ffffff;
    padding: 8px 12px;
    font-size: 0.82rem;
    outline: none;
}

.appeal-select:focus, .appeal-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.25);
}

.generated-appeal-box {
    background: rgba(4, 7, 17, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.appeal-box-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.appeal-subject-text {
    font-size: 0.78rem;
    font-weight: 700;
}

.appeal-head-actions {
    display: flex;
    gap: 6px;
}

.appeal-body-textarea {
    width: 100%;
    min-height: 140px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    color: #cbd5e1;
    font-size: 0.76rem;
    padding: 10px;
    line-height: 1.45;
    resize: vertical;
    outline: none;
}

/* ==========================================================================
   DNS Record Pills & Status Styles
   ========================================================================== */
.rec-pill {
    padding: 4px 10px !important;
    font-size: 0.76rem !important;
    font-family: var(--font-mono);
}

.rec-pill.active {
    background: rgba(0, 245, 160, 0.2) !important;
    border-color: var(--mint-glow) !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(0, 245, 160, 0.3) !important;
}

/* Status Tags for Port Recon & DNS Propagation */
.status-pill.pill-open {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.status-pill.pill-filtered {
    background: rgba(100, 116, 139, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.status-pill.pill-critical {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
    border: 1px solid #ef4444;
}

.status-pill.pill-high {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border: 1px solid #f59e0b;
}

.status-pill.pill-medium {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-pill.pill-low {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.node-region-badge {
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1040px) {
    .hero-split-stage {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-visual-col {
        min-height: 440px;
        height: 440px;
    }
    .hero-3d-stage {
        max-width: 100%;
        height: 440px;
    }
    .chip-top-right {
        right: 10px;
        top: 10px;
    }
    .chip-bottom-left {
        left: 10px;
        bottom: 10px;
    }
    .headline-bold {
        font-size: 2.6rem;
    }
    .pillars-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   DNS Traverse / Delegation Visualizer Styles (Refined & Premium)
   ========================================================================== */
.traverse-flow-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-top: 14px;
    position: relative;
}

.traverse-step-block {
    display: flex;
    flex-direction: column;
    position: relative;
}

.traverse-tree-card {
    background: rgba(10, 14, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.traverse-tree-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.traverse-tree-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

.traverse-step-block.level-root .traverse-tree-card {
    border-left: 5px solid #3b82f6;
}

.traverse-step-block.level-tld .traverse-tree-card {
    border-left: 5px solid #8b5cf6;
}

.traverse-step-block.level-auth .traverse-tree-card {
    border-left: 5px solid var(--mint-glow);
}

.traverse-step-block.level-answer .traverse-tree-card {
    border-left: 5px solid var(--cyan-glow);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(16, 185, 129, 0.05));
}

.traverse-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.traverse-step-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.traverse-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.18);
    border: 1.5px solid rgba(139, 92, 246, 0.45);
    color: #c4b5fd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.84rem;
    font-weight: 800;
    font-family: var(--font-mono);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
}

.traverse-level-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.06em;
}

.badge-level-root {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.badge-level-tld {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.35);
}

.badge-level-auth {
    background: rgba(0, 245, 160, 0.15);
    color: var(--mint-glow);
    border: 1px solid rgba(0, 245, 160, 0.35);
}

.badge-level-answer {
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan-glow);
    border: 1px solid rgba(6, 182, 212, 0.35);
}

.traverse-zone-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-mono);
    letter-spacing: -0.01em;
}

.traverse-badges-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Query Node Banner */
.traverse-queried-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 10px 16px;
}

.traverse-queried-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.traverse-queried-lbl {
    font-size: 0.70rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.traverse-queried-host {
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-mono);
}

.traverse-queried-ip {
    font-size: 0.78rem;
    color: var(--cyan-glow);
    font-family: var(--font-mono);
    background: rgba(6, 182, 212, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.traverse-queried-op {
    font-size: 0.78rem;
    color: #94a3b8;
}

/* Section Subhead */
.traverse-subhead-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.traverse-subhead-title {
    font-size: 0.74rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.traverse-subhead-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan-glow);
    box-shadow: 0 0 6px var(--cyan-glow);
}

/* Nameserver Cards Grid */
.traverse-ns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    margin-top: 4px;
}

.traverse-ns-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.2s ease;
}

.traverse-ns-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-1px);
}

.traverse-ns-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.traverse-ns-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-mono);
    word-break: break-all;
}

.traverse-ns-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
}

.traverse-glue-pill {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--cyan-glow);
    background: rgba(6, 182, 212, 0.1);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.traverse-glue-missing {
    font-size: 0.70rem;
    color: #64748b;
    font-style: italic;
}

/* Final Answer Hero Box */
.traverse-answers-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.traverse-answer-hero-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.08);
}

.traverse-answer-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.traverse-rectype-pill {
    font-size: 0.76rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: rgba(6, 182, 212, 0.2);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--cyan-glow);
    letter-spacing: 0.05em;
}

.traverse-answer-val {
    font-size: 1.05rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--cyan-glow);
    word-break: break-all;
}

.traverse-answer-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Lineage Connector with Transition Pill */
.traverse-connector-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    position: relative;
}

.traverse-connector-line {
    width: 2px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.6), rgba(6, 182, 212, 0.6));
    position: absolute;
}

.traverse-connector-pill {
    position: relative;
    z-index: 2;
    background: rgba(10, 14, 26, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-mono);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.6);
}

.badge-aa-active {
    background: rgba(0, 245, 160, 0.15) !important;
    color: var(--mint-glow) !important;
    border-color: rgba(0, 245, 160, 0.3) !important;
}

.badge-referral {
    background: rgba(139, 92, 246, 0.15) !important;
    color: #c4b5fd !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

.badge-lame {
    background: rgba(255, 77, 109, 0.2) !important;
    color: var(--red-glow) !important;
    border-color: rgba(255, 77, 109, 0.4) !important;
}

/* ==========================================================================
   Footer Responsive
   ========================================================================== */
@media (max-width: 1040px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand-col {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .footer-bottom-left,
    .footer-bottom-right {
        text-align: center;
    }
}
