/* ==========================================================================
   QUANTUM SPEED - ULTRA-PREMIUM ENTERPRISE SAAS DESIGN SYSTEM
   Inspired by Apple, Vercel, and Linear UI Aesthetics.
   Matte Obsidian Backdrops, Razor-Thin Borders, Masterclass Typography,
   and Minimalist Glow Micro-Animations.
   ========================================================================== */

:root {
    /* Color System - Slate & Obsidian */
    --bg-pure: #030303;
    --bg-dark: #050508;
    --bg-card: #0c0c10;
    --bg-card-hover: #121217;

    /* Semantic Colors - Minimalist High Contrast */
    --accent-primary: #ffffff;
    --accent-cyan: #00f2fe;
    --accent-blue: #0076ff;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;

    /* Data Colors */
    --color-download: #00f2fe;
    --color-upload: #0076ff;
    --color-ping: #10b981;
    --color-jitter: #f59e0b;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Borders & Glass */
    --border-thin: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(0, 242, 254, 0.15);
    --card-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.4);

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Standard Transitions */
    --transition-luxury: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASE SYSTEM --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    background-color: var(--bg-pure);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Premium Webkit Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

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

/* --- ULTRA-CLEAN OBSIDIAN BACKGROUND --- */
.space-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 30%, #0c0d14 0%, var(--bg-pure) 80%);
    z-index: -5;
    pointer-events: none;
}

/* Static faint grid system (Extremely minimal) */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    opacity: 0.8;
}

/* Faded radial glow at center */
.radar-scan {
    position: absolute;
    width: 100vw;
    height: 100vw;
    top: -20vw;
    left: 0;
    background: radial-gradient(circle, rgba(0, 118, 255, 0.025) 0%, transparent 60%);
    pointer-events: none;
}

/* --- VERCEL-STYLE HEADER BAR --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-thin);
    padding: 0;
    height: 64px;
    transition: background 0.3s ease, height 0.3s ease;
}

.mobile-menu-trigger {
    display: none;
    /* Hidden by default on desktop */
}

.nav-container {
    width: 88%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.logo-icon {
    font-size: 1.3rem;
    color: #ffffff;
    margin-right: 0.5rem;
}

.brand-text .accent-text {
    font-weight: 400;
    color: #888888;
    margin-left: 0.15rem;
}

.connection-status {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #888888;
}

.status-indicator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin-right: 0.45rem;
}

.status-indicator.online {
    background-color: var(--accent-emerald);
    box-shadow: 0 0 6px var(--accent-emerald);
}

.status-indicator.testing {
    background-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: blinkGlow 1s ease-in-out infinite;
}

@keyframes blinkGlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.nav-links {
    display: flex;
    gap: 1.25rem;
}

.nav-link {
    text-decoration: none;
    color: #888888;
    font-size: 0.82rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-quick);
}

.nav-link i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

/* --- CONTENT WRAPPER --- */
.app-wrapper {
    width: 88%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    flex: 1 0 auto;
    /* Force vertical stretch to push footer exactly to the bottom */
}

/* --- HERO SPEEDOMETER SECTION --- */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.hero-header {
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    padding: 0.25rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.hero-subtitle {
    color: #888888;
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}

/* --- MINIMALIST APPLE-STYLE SPEEDOMETER --- */
.gauge-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gauge-pulse-aura {
    display: none;
    /* Removed gaming style rings */
}

.gauge-hud-container {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(10, 10, 12, 0.4);
    border: 1px solid var(--border-thin);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--card-shadow);
}

.speedometer-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: visible !important;
}

/* Very thin clean circles */
.scale-track {
    stroke: rgba(255, 255, 255, 0.015);
    stroke-width: 2px;
}

/* Segmented Progress Paths */
.gauge-background-segmented-path,
.gauge-active-segmented-path {
    stroke-dasharray: 2.2 1.3;
    /* Segmented rectangular dashes */
    stroke-linecap: butt;
    transform-origin: center;
}

.gauge-active-segmented-path {
    transition: stroke 0.4s ease;
}

/* Curved Rotating Text at Outer Edge */
.gauge-curved-text {
    font-family: var(--font-display);
    font-size: 3.6px;
    font-weight: 500;
    fill: rgba(255, 255, 255, 0.12);
    /* Subtle rotating text */
    letter-spacing: 1.1px;
    text-transform: uppercase;
    transform-origin: 100px 100px;
    animation: rotate-curved-text 50s linear infinite;
    /* Slower and sleeker */
}

@keyframes rotate-curved-text {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Inner Dot Scale Ring */
.gauge-inner-dots {
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.15));
}

/* Numeric Scale Labels and Koenigsegg-Style Dynamic Active State */
.gauge-numeric-markers {
    opacity: 0;
    transform: scale(0.96);
    transform-origin: 100px 104px;
    /* SVG arc center */
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.testing-active .gauge-numeric-markers {
    opacity: 1;
    transform: scale(1);
}

.scale-num {
    font-family: var(--font-display);
    font-size: 7.5px;
    /* Symmetrical crisp size at R=120 */
    font-weight: 600;
    fill: rgba(255, 255, 255, 0.18) !important;
    /* Dimmed dashboard-unlit look by default */
    text-anchor: middle;
    dominant-baseline: middle;
    transition: fill 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-num-bg {
    fill: rgba(0, 0, 0, 0.4) !important;
    /* Low-opacity dark physical recess */
    stroke: rgba(255, 255, 255, 0.04) !important;
    /* Subtle thin ring housing */
    stroke-width: 0.6px;
    transition: fill 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        stroke 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Elite dynamic phase glow highlight as speedometer needle sweeps past */
.scale-num.active-glow {
    fill: rgba(255, 255, 255, 0.95) !important;
    filter: drop-shadow(0 0 2px var(--accent-cyan, #00f2fe)) !important;
}

.scale-num-bg.active-glow-bg {
    fill: rgba(255, 255, 255, 0.02) !important;
    stroke: var(--accent-cyan, #00f2fe) !important;
    filter: drop-shadow(0 0 1px var(--accent-cyan, #00f2fe)) !important;
}

/* Visual Outer Connecting Flow Tracks Visibilities */
.gauge-outer-dots,
.gauge-outer-active-segmented-path {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.testing-active .gauge-outer-dots,
.testing-active .gauge-outer-active-segmented-path {
    opacity: 1;
}

/* Dynamically Controlled Mask Paths */
.gauge-fill-mask-path {
    transform-origin: center;
    transition: stroke-dashoffset 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#gauge-fill {
    stroke-dasharray: 386;
    stroke-dashoffset: 386;
}

#gauge-fill-outer {
    stroke-dasharray: 493;
    stroke-dashoffset: 493;
}

/* Sleek White Needle with Neon Glow Pointer Tip */
.hud-needle-glow {
    position: absolute;
    width: 2px;
    height: 140px;
    bottom: 50%;
    left: calc(50% - 1px);
    background: linear-gradient(to top, transparent 40%, rgba(255, 255, 255, 0.2) 65%, #ffffff 100%);
    transform-origin: bottom center;
    transform: rotate(0deg);
    opacity: 0;
    transition: transform 0.2s cubic-bezier(0.34, 1.3, 0.64, 1);
    pointer-events: none;
    z-index: 3;
}

.hud-needle-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 5px;
    background: #ffffff;
    border-radius: 1px;
    box-shadow: 0 0 6px var(--accent-cyan), 0 0 12px var(--accent-cyan);
}

.testing-active .hud-needle-glow {
    opacity: 0.85;
}

/* Center HUD container */
.hud-center-content {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    transition: var(--transition-luxury);
}

/* Inner glass element supporting organic wave layers */
.hud-inner-glass {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #030303;
    border: 1px solid var(--border-thin);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Organic Liquid wave pulsing backgrounds */
.hud-liquid-wave-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.liquid-wave {
    position: absolute;
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    border-radius: 43%;
}

.liquid-wave.layer-1 {
    background: radial-gradient(circle, rgba(127, 0, 255, 0.08) 0%, transparent 68%);
    animation: wave-morph-1 12s infinite linear;
}

.liquid-wave.layer-2 {
    background: radial-gradient(circle, rgba(255, 42, 95, 0.05) 0%, transparent 68%);
    animation: wave-morph-2 16s infinite linear;
}

.liquid-wave.layer-3 {
    background: radial-gradient(circle, rgba(0, 242, 254, 0.04) 0%, transparent 68%);
    animation: wave-morph-3 20s infinite linear;
}

@keyframes wave-morph-1 {
    0% {
        transform: rotate(0deg) scale(1);
        border-radius: 43% 47% 41% 45%;
    }

    50% {
        transform: rotate(180deg) scale(1.06);
        border-radius: 47% 42% 46% 40%;
    }

    100% {
        transform: rotate(360deg) scale(1);
        border-radius: 43% 47% 41% 45%;
    }
}

@keyframes wave-morph-2 {
    0% {
        transform: rotate(360deg) scale(1.04);
        border-radius: 45% 41% 47% 43%;
    }

    50% {
        transform: rotate(180deg) scale(0.96);
        border-radius: 41% 46% 42% 47%;
    }

    100% {
        transform: rotate(0deg) scale(1.04);
        border-radius: 45% 41% 47% 43%;
    }
}

@keyframes wave-morph-3 {
    0% {
        transform: rotate(180deg) scale(0.98);
        border-radius: 42% 45% 43% 46%;
    }

    50% {
        transform: rotate(0deg) scale(1.04);
        border-radius: 46% 41% 47% 42%;
    }

    100% {
        transform: rotate(180deg) scale(0.98);
        border-radius: 42% 45% 43% 46%;
    }
}

.test-started .hud-center-content {
    opacity: 1;
    transform: scale(1);
}

/* Align text fields in front of waves */
.hud-stage-badge,
.hud-counter-box,
.hud-speed-unit,
.hud-server-info {
    position: relative;
    z-index: 5;
}

.hud-stage-badge {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: #888888;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

/* Minimalist stages */
.stage-pinging {
    color: var(--accent-emerald);
}

.stage-downloading {
    color: var(--accent-cyan);
}

.stage-uploading {
    color: var(--accent-blue);
}

.stage-complete {
    color: #ffffff;
}

.hud-counter-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.15rem;
}

.hud-speed-num {
    font-family: var(--font-display);
    font-size: 4.8rem;
    font-weight: 700;
    /* Bold numbers to match screenshot */
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.05em;
}

.hud-speed-decimal {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    /* Bold decimals */
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: -0.02em;
}

.hud-speed-unit {
    font-family: var(--font-display);
    font-weight: 800;
    /* Heavy weight unit text */
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    opacity: 0.95;
}

.hud-server-info {
    color: #666666;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- THE SLEEK MINIMAL START CORE TRIGGER --- */
.core-trigger-btn {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid var(--border-thin);
    background: #09090c;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-luxury);
    outline: none;
}

.core-trigger-btn::before {
    display: none;
    /* Remove rotating gaming dashed border */
}

.trigger-core-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.015) 0%, transparent 60%);
    transition: var(--transition-luxury);
}

.trigger-label {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    color: #888888;
    z-index: 2;
    transition: var(--transition-luxury);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    animation: pulseRingMinimal 3s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes pulseRingMinimal {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.core-trigger-btn:hover {
    background: #0e0e14;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.core-trigger-btn:hover .trigger-label {
    color: #ffffff;
    letter-spacing: 0.1em;
}

.core-trigger-btn:active {
    transform: scale(0.97);
}

.test-started .core-trigger-btn {
    transform: scale(0.8);
    opacity: 0;
    pointer-events: none;
}

/* --- QUICK TELEMETRY BAR --- */
.quick-telemetry-row {
    display: flex;
    align-items: center;
    background: #09090c;
    border: 1px solid var(--border-thin);
    border-radius: 100px;
    padding: 0.65rem 2.2rem;
    gap: 2.2rem;
    box-shadow: var(--card-shadow);
}

.quick-metric {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.quick-metric .label {
    font-size: 0.6rem;
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #666666;
}

.quick-metric .value {
    font-size: 0.95rem;
    font-family: var(--font-display);
    font-weight: 500;
    color: #ffffff;
}

.quick-telemetry-row .divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.06);
}

/* --- HEADERS --- */
.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.section-title i {
    color: #ffffff;
    font-size: 1rem;
    opacity: 0.6;
}

.section-title.text-center {
    justify-content: center;
}

.section-subtitle {
    color: #666666;
    font-size: 0.88rem;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

/* --- SLEEK OBSIDIAN DASHBOARD GRID --- */
.saas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.saas-card {
    background: var(--bg-card);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-quick);
    min-height: 155px;
}

/* Remove moving gloss overlays */
.card-glow-barrier {
    display: none;
}

.saas-card:hover {
    transform: none;
    /* Remove gaming scale effects */
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--bg-card-hover);
}

.saas-card.active-run {
    border-color: rgba(0, 242, 254, 0.25);
}

.card-icon-header {
    padding: 1.1rem 1.2rem 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.card-icon-header i {
    font-size: 0.9rem;
    filter: none !important;
    /* Remove neon blur shadows */
}

.card-icon-header .card-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: #666666;
    text-transform: uppercase;
}

/* Card Icons minimal styling */
.download-gradient i {
    color: var(--color-download);
}

.upload-gradient i {
    color: var(--color-upload);
}

.ping-gradient i {
    color: var(--color-ping);
}

.jitter-gradient i {
    color: var(--color-jitter);
}

.tech-gradient i {
    color: #888888;
}

.grade-gradient i {
    color: #ffffff;
}

.saas-card .card-body {
    padding: 0.35rem 1.2rem 1.1rem;
    flex-grow: 1;
}

.saas-card .main-metric {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
}

.saas-card .metric-num {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 2.1rem;
    line-height: 1.1;
    color: #ffffff;
}

.saas-card .metric-unit {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: #555555;
}

/* High performance clean sparklines */
.sparkline-container {
    width: 100%;
    height: 40px;
    margin-top: 0.5rem;
}

.saas-card .card-footer {
    padding: 0.65rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    background: rgba(255, 255, 255, 0.005);
}

.footer-status {
    font-size: 0.62rem;
    font-weight: 600;
    color: #555555;
    letter-spacing: 0.02em;
}

.footer-status i {
    font-size: 0.65rem;
    opacity: 0.8;
}

/* Text card grids */
.text-data-box {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 0.2rem;
}

.text-data-box .meta-label {
    font-size: 0.58rem;
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #555555;
}

.text-data-box .meta-big-text {
    font-size: 1.05rem;
    font-family: var(--font-display);
    font-weight: 500;
    color: #ffffff;
}

.text-data-box .meta-sub-badge {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.05rem 0.35rem;
    border-radius: 3px;
    font-size: 0.6rem;
    font-family: var(--font-sans);
    font-weight: 700;
    color: #666666;
}

/* Ping radial */
.radial-progress-hud {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.mini-radial-svg {
    width: 24px;
    height: 24px;
}

.mini-hud-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.02em;
    color: #666666;
}

/* Jitter bar */
.jitter-variance-bar {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.jitter-variance-bar .variance-fill {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1px;
}

.jitter-variance-bar .variance-fill::before {
    border-radius: 1px;
}

.jitter-variance-bar .variance-text {
    font-size: 0.62rem;
    color: #666666;
}

/* SaaS Grade Card */
.grade-card .card-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    padding-top: 0.45rem;
}

.grade-badge-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
    box-shadow: none;
}

.grade-badge-circle.grade-elite {
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.02);
}

.grade-badge-circle.grade-good {
    border-color: var(--accent-emerald);
    background: rgba(16, 105, 129, 0.02);
}

.grade-badge-circle.grade-fair {
    border-color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.02);
}

.grade-badge-circle.grade-poor {
    border-color: var(--accent-rose);
    background: rgba(244, 63, 94, 0.02);
}

.grade-letter {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.8rem;
}

.grade-analysis-box {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.grade-analysis-box .grade-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.88rem;
    color: #ffffff;
}

.grade-analysis-box .grade-desc {
    font-size: 0.65rem;
    line-height: 1.35;
    color: #666666;
}

/* --- THE SaaS PANEL ACTIONS --- */
.control-suite-panel {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.2rem;
    width: 100%;
}

.action-btn {
    background: #09090c;
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-sm);
    color: #888888;
    padding: 0.65rem 1.4rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: var(--transition-quick);
}

.action-btn i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.action-btn:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: #0e0e14;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

#retest-btn {
    background: #ffffff;
    color: #030303;
    border: 1px solid #ffffff;
    font-weight: 700;
}

#retest-btn:hover {
    background: #e5e5e5;
    border-color: #e5e5e5;
    color: #030303;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.action-btn.disabled {
    opacity: 0.2;
    pointer-events: none;
}

/* --- REAL-TIME TELEMETRY GRAPH --- */
.telemetry-chart-section {
    width: 100%;
}

.chart-glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
}

.chart-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.chart-desc {
    font-size: 0.75rem;
    color: #666666;
}

.chart-desc i {
    color: #888888;
}

.chart-indicators {
    display: flex;
    gap: 0.85rem;
}

.indicator-tag {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.down-dot {
    background-color: var(--accent-cyan);
}

.up-dot {
    background-color: var(--accent-blue);
}

.canvas-wrapper {
    width: 100%;
    height: 280px;
}

/* --- HISTORICAL REPORT DATA TABLE --- */
.history-table-section {
    width: 100%;
}

.history-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.history-section-header .section-title {
    margin-bottom: 0;
}

.clear-history-btn {
    background: transparent;
    border: 1px solid rgba(244, 63, 94, 0.15);
    color: rgba(244, 63, 94, 0.7);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-quick);
}

.clear-history-btn:hover {
    background: rgba(244, 63, 94, 0.04);
    border-color: var(--accent-rose);
    color: #ffffff;
}

.table-glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th {
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 0.9rem 1.2rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    color: #555555;
    text-transform: uppercase;
}

.history-table td {
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.015);
    font-size: 0.8rem;
    color: #888888;
}

.history-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.005);
}

.history-table td .isp-col {
    color: #ffffff;
    font-weight: 500;
}

.history-table td .speed-col {
    font-family: var(--font-display);
    font-weight: 600;
}

.history-table td .speed-col.down-col {
    color: var(--accent-cyan);
}

.history-table td .speed-col.up-col {
    color: var(--accent-blue);
}

.history-table td .badge-grade {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.history-table td .badge-grade.elite-col {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.02);
}

.history-table td .badge-grade.good-col {
    border-color: var(--accent-emerald);
    color: var(--accent-emerald);
    background: rgba(16, 129, 90, 0.02);
}

.history-table td .badge-grade.fair-col {
    border-color: var(--accent-amber);
    color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.02);
}

.history-table td .badge-grade.poor-col {
    border-color: var(--accent-rose);
    color: var(--accent-rose);
    background: rgba(244, 63, 94, 0.02);
}

.row-delete-btn {
    color: #444444;
}

.row-delete-btn:hover {
    color: var(--accent-rose);
}

.table-empty-box {
    padding: 2.5rem 1rem;
}

.empty-icon {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.015);
}

.empty-title {
    font-size: 0.85rem;
    color: #666666;
}

.empty-subtitle {
    font-size: 0.68rem;
    color: #444444;
}

.history-table tbody.collapsed-view tr:nth-child(n+10) {
    display: none;
}

.history-expand-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.history-expand-wrapper .expand-action {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.history-expand-wrapper .expand-action:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}

/* --- NETWORK QUALITY SCORE --- */
.quality-score-section {
    width: 100%;
}

.quality-glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    padding: 1.5rem 2rem;
}

.quality-score-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.quality-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.quality-item.separator {
    color: rgba(255, 255, 255, 0.05);
    font-size: 1.2rem;
}

.quality-label {
    font-family: var(--font-sans);
    font-weight: 500;
    color: #999999;
    font-size: 0.9rem;
}

.q-badge {
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.q-pending {
    background: rgba(255, 255, 255, 0.02);
    color: #555555;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.q-excellent {
    background: rgba(16, 129, 90, 0.08);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 129, 90, 0.2);
}

.q-good {
    background: rgba(0, 242, 254, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.q-fair {
    background: rgba(245, 158, 11, 0.08);
    color: var(--accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.q-bad {
    background: rgba(244, 63, 94, 0.08);
    color: var(--accent-rose);
    border: 1px solid rgba(244, 63, 94, 0.2);
}

/* --- SERVER ROUTING MAP --- */
.routing-map-section {
    width: 100%;
}

.map-glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.map-visual-container {
    height: 250px;
    background: linear-gradient(180deg, rgba(3, 3, 3, 0.5) 0%, rgba(3, 3, 3, 0) 100%);
    position: relative;
    border-bottom: 1px solid var(--border-thin);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

.live-map-iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) contrast(1.1);
}

.map-nodes-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 70%;
    max-width: 500px;
}

.map-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.node-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
}

.client-dot {
    background: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.server-dot {
    background: var(--accent-amber);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
    color: #fff;
    width: 24px;
    height: 24px;
    font-size: 0.6rem;
}

.node-label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8rem;
    color: #cccccc;
    letter-spacing: 0.05em;
    background: rgba(3, 3, 3, 0.8);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-thin);
}

.map-route-path {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 1rem;
    position: relative;
    overflow: hidden;
}

.map-route-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-amber));
}

.map-route-line.active-route {
    animation: routePulse 2s ease-in-out infinite;
}

@keyframes routePulse {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.routing-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem 2rem;
    gap: 1rem;
}

.route-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.route-detail-item i {
    color: #555555;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.route-lbl {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: #777777;
    font-weight: 500;
}

.route-val {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
}

.route-asn {
    color: var(--accent-cyan);
    font-size: 0.8rem;
}

/* --- DETAILED TELEMETRY --- */
.detailed-telemetry-section {
    width: 100%;
}

.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.telemetry-column {
    background: var(--bg-card);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
}

.telemetry-column h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-icon {
    color: #444444;
    font-size: 0.85rem;
}

.telemetry-measurement-box {
    margin-bottom: 1.5rem;
}

.telemetry-measurement-box:last-child {
    margin-bottom: 0;
}

.measurement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: #999999;
    margin-bottom: 0.8rem;
}

.measurement-header i {
    font-size: 0.7rem;
    color: #444444;
}

.measurement-range-visualizer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.measurement-range-visualizer .unit {
    font-size: 0.7rem;
    color: #555555;
    font-weight: 600;
    width: 30px;
}

.range-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 2px;
    position: relative;
}

.range-bar {
    position: absolute;
    height: 12px;
    top: -4px;
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.5);
    border-radius: 2px;
    transition: left 1s ease, width 1s ease;
}

.range-median {
    position: absolute;
    width: 2px;
    height: 18px;
    background: var(--accent-cyan);
    top: -4px;
    transform: translateX(-50%);
    box-shadow: 0 0 5px var(--accent-cyan);
    transition: left 1s ease;
}

.range-bar.upload-theme {
    background: rgba(111, 38, 255, 0.15);
    border-color: rgba(111, 38, 255, 0.5);
}

.range-bar.upload-theme .range-median {
    background: var(--accent-blue);
    box-shadow: 0 0 5px var(--accent-blue);
}

.range-bar.ping-theme {
    background: rgba(16, 129, 90, 0.15);
    border-color: rgba(16, 129, 90, 0.5);
}

.range-bar.ping-theme .range-median {
    background: var(--accent-emerald);
    box-shadow: 0 0 5px var(--accent-emerald);
}

.range-bar.ping-theme-warn {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.5);
}

.range-bar.ping-theme-warn .range-median {
    background: var(--accent-amber);
    box-shadow: 0 0 5px var(--accent-amber);
}

.range-bar.ping-theme-alert {
    background: rgba(244, 63, 94, 0.15);
    border-color: rgba(244, 63, 94, 0.5);
}

.range-bar.ping-theme-alert .range-median {
    background: var(--accent-rose);
    box-shadow: 0 0 5px var(--accent-rose);
}

.packet-loss-title {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-thin);
}

.packet-loss-alert {
    background: rgba(244, 63, 94, 0.05);
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: 4px;
    padding: 0.8rem;
    color: var(--accent-rose);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.packet-loss-alert.packet-loss-good {
    background: rgba(16, 129, 90, 0.05);
    border-color: rgba(16, 129, 90, 0.2);
    color: var(--accent-emerald);
}

/* --- TECHNICAL HIGHLIGHTS --- */
.features-section {
    width: 100%;
}

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

.feature-card {
    background: #09090c;
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    padding: 1.75rem;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: var(--bg-card);
    transform: none;
}

.feature-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-thin);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-icon-wrapper i {
    font-size: 0.95rem;
    color: #ffffff;
    filter: none;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
    color: #ffffff;
    margin-bottom: 0.45rem;
}

.feature-card p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #666666;
}

/* --- ACCORDION TERMINOLOGY --- */
.faq-accordion-section {
    width: 100%;
    max-width: 1200px;
    /* Matches exact visual boundary alignment of charts and logs grids */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.faq-card.open-faq .faq-content {
    opacity: 1;
}

.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
}

.faq-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    cursor: pointer;
    text-align: left;
    padding: 1.1rem 1.4rem;
    transition: var(--transition-quick);
}

.faq-trigger:hover .faq-question {
    color: #ffffff;
    opacity: 0.95;
}

.faq-question {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.faq-accent-icon {
    font-size: 0.85rem;
}

.faq-chevron {
    font-size: 0.7rem;
    color: #555555;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.faq-card.open-faq .faq-chevron {
    transform: rotate(180deg);
}

.faq-content p {
    padding: 0 1.4rem 1.4rem 1.4rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #888888;
}

/* Premium custom nested list elements */
.faq-content ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-content li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.78rem;
    color: #666666;
    line-height: 1.45;
}

.faq-content li::before {
    content: "•";
    position: absolute;
    left: 0.3rem;
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 0.95rem;
    line-height: 1;
    top: 0.05rem;
}

.faq-content li strong {
    color: #ffffff;
    font-weight: 600;
}

.faq-card.open-faq {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--card-shadow);
}

.faq-card.open-faq .faq-chevron {
    color: #ffffff;
}

/* --- HIGH-END CTA DECORATIVE BANNER --- */
.cta-banner-section {
    background: linear-gradient(135deg, #09090c 0%, #030304 100%);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--card-shadow);
}

.cta-glow-emitter {
    display: none;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    background: none;
    -webkit-text-fill-color: initial;
    color: #ffffff;
}

.cta-content p {
    color: #666666;
    font-size: 0.88rem;
    max-width: 500px;
}

.cta-stats-badge {
    gap: 2.5rem;
    margin-top: 1rem;
}

.cta-stat .num {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: none;
}

.cta-stat .lbl {
    font-size: 0.6rem;
    color: #444444;
}

/* --- MINIMALIST FOOTER --- */
/* --- MINIMALIST FOOTER --- */
.app-footer {
    border-top: 1px solid var(--border-thin);
    background: var(--bg-pure);
    padding: 3.5rem 2rem 2.5rem;
    flex-shrink: 0;
    /* Sticky footer parameter */
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    /* Beautiful center alignment with core layout grid */
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1 1 320px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-brand-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.footer-brand-text .accent-text {
    color: #888888;
    font-weight: 400;
}

.footer-desc {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #666666;
}

.footer-links-grid {
    display: flex;
    gap: 5rem;
    /* Wide luxury column gap on large desktop screens */
    flex-wrap: wrap;
}

.footer-col {
    min-width: 150px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.78rem;
    color: #ffffff;
    margin-bottom: 0.85rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col li {
    padding: 0;
    margin: 0;
}

.footer-col a {
    font-size: 0.78rem;
    color: #555555;
    text-decoration: none;
    transition: var(--transition-quick);
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 2.5rem auto 0 auto;
    /* Centered with a beautiful separator padding space */
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.015);
    flex-wrap: wrap;
    gap: 1.25rem;
}

.copyright {
    font-size: 0.7rem;
    color: #444444;
}

.footer-bottom-links a {
    font-size: 0.7rem;
    color: #444444;
}

.footer-bottom-links a:hover {
    color: #666666;
}

/* --- COMPACT MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    /* Float high above navigation bar */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.modal-overlay.open-modal {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.modal-glass-container {
    background: #09090c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-lg);
    max-width: 440px;
    padding: 2rem;
}

.modal-close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-quick);
    z-index: 10;
}

.modal-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.modal-header h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
}

.modal-header p {
    font-size: 0.78rem;
    color: #666666;
}

.modal-summary-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.summary-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: #888888;
}

.summary-logo i {
    color: #ffffff;
}

/* Beautiful absolute position for the Grade Shield in the top right corner of the summary card */
.summary-grade-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-quick);
}

/* Map connection phase colors to the modal grade badge */
.summary-grade-badge.grade-elite {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.02);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.summary-grade-badge.grade-good {
    border-color: var(--accent-emerald);
    color: var(--accent-emerald);
    background: rgba(16, 129, 90, 0.02);
    box-shadow: 0 0 10px rgba(16, 129, 90, 0.1);
}

.summary-grade-badge.grade-fair {
    border-color: var(--accent-amber);
    color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.02);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.1);
}

.summary-grade-badge.grade-poor {
    border-color: var(--accent-rose);
    color: var(--accent-rose);
    background: rgba(244, 63, 94, 0.02);
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.1);
}

/* Grid styling for summary metrics */
.summary-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1rem 0;
}

.summary-metric {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.summary-metric .lbl {
    font-size: 0.58rem;
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #555555;
    text-transform: uppercase;
}

.summary-metric .val {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: #ffffff;
}

.summary-meta-line {
    font-size: 0.65rem;
    font-family: var(--font-sans);
    font-weight: 600;
    color: #555555;
    letter-spacing: 0.02em;
}

.modal-shares-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.share-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-quick);
}

.share-social-btn.twitter {
    background: #ffffff;
    color: #030303;
    font-weight: 700;
}

.share-social-btn.twitter:hover {
    background: #e5e5e5;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.share-social-btn.copy {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-thin);
    color: #ffffff;
}

.share-social-btn.copy:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* --- HIGH-INTEGRITY RESPONSIVE & MOBILE OPTIMIZATION SYSTEM --- */

/* 1. Large Tablets and Small Laptops */
@media (max-width: 1200px) {
    .app-wrapper {
        width: 90%;
    }

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

/* 2. Tablets and Landscape Phones */
@media (max-width: 914px) {
    .navbar {
        height: auto !important;
        /* Dynamically expand sticky header container to prevent floating overlay overflows */
        padding: 0.75rem 1.5rem;
    }

    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
        padding: 0;
        height: auto;
    }

    .mobile-menu-trigger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 1.35rem;
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-sm);
        transition: var(--transition-quick);
    }

    .mobile-menu-trigger:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    /* Hide menu items by default on mobile/tablets for pure minimalism */
    .connection-status,
    .nav-links {
        display: none !important;
    }

    /* Expand and stack menu items inside the sticky header when menu is open */
    .navbar.menu-open .connection-status {
        display: flex !important;
        order: 3;
        margin: 1.25rem auto 0.25rem;
        width: fit-content;
    }

    .navbar.menu-open .nav-links {
        display: flex !important;
        flex-direction: column;
        order: 2;
        width: 100%;
        gap: 0.5rem;
        margin-top: 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 1.25rem;
        text-align: left;
    }

    .navbar.menu-open .nav-link {
        width: 100%;
        padding: 0.65rem 1rem;
        font-size: 0.88rem;
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.015);
        border: 1px solid rgba(255, 255, 255, 0.03);
    }

    .navbar.menu-open .nav-link:hover,
    .navbar.menu-open .nav-link.active {
        background: rgba(0, 242, 254, 0.05);
        border-color: rgba(0, 242, 254, 0.15);
        color: #ffffff;
    }

    .app-wrapper {
        width: 92%;
        gap: 3.5rem;
        padding: 1.5rem 0;
    }

    .hero-section {
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        max-width: 100%;
    }

    /* Perfect transform scaling to shrink dial, needle, and outer R=120 scale numbers synchronously */
    .gauge-wrapper {
        transform: scale(0.9);
        margin: -15px 0;
    }

    .quick-telemetry-row {
        padding: 0.6rem 1.5rem;
        gap: 1rem 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: var(--radius-md);
    }

    .quick-telemetry-row .divider {
        display: none;
    }

    .quick-metric {
        align-items: center;
        text-align: center;
        min-width: 80px;
    }

    .saas-grid {
        grid-template-columns: 1fr;
        /* Stack into spacious single column on all mobile and portrait tablet screen widths */
        gap: 1.25rem;
    }

    .quality-score-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .quality-item.separator {
        display: none;
    }

    .map-nodes-wrapper {
        width: 90%;
    }

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

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

    .control-suite-panel {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.6rem;
    }

    .action-btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        flex: 1 1 45%;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .chart-glass-card {
        padding: 1.1rem;
    }

    .chart-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .chart-indicators {
        width: 100%;
        justify-content: flex-start;
    }

    .canvas-wrapper {
        height: 220px;
    }

    /* Horizontal Swipe Scroll for complex diagnostic data grid */
    .table-scroll-container {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-glass-card {
        border-radius: var(--radius-md);
    }

    .history-table {
        min-width: 750px;
        /* Spacious width giving columns full padding layout with horizontal swipe-scroll support */
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2.5rem;
        align-items: flex-start;
        text-align: left;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* Beautiful side-by-side columns on mobile instead of single cramped column */
        gap: 2rem;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        /* Push legal links above copyright for perfect visual hierarchy on mobile */
        align-items: flex-start;
        text-align: left;
        gap: 1.25rem;
        padding-top: 1.5rem;
        margin-top: 2rem;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        width: 100%;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .summary-metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem !important;
    }
}

/* 3. Portrait Phones */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.82rem;
    }

    .gauge-wrapper {
        transform: scale(0.82);
        margin: -30px 0;
    }

    .saas-card {
        min-height: 140px;
    }

    .action-btn {
        flex: 1 1 100%;
    }

    .modal-glass-container {
        width: 92%;
        padding: 1.5rem 1rem;
    }


    .cta-banner-section {
        padding: 2.2rem 1.25rem;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 1.45rem;
    }

    .cta-content p {
        font-size: 0.82rem;
    }

    .cta-stats-badge {
        justify-content: center;
        gap: 1.25rem;
    }

    .cta-stat {
        min-width: 100px;
    }
}

/* --- PREMIUM RESET TRANSITIONS & ANIMATIONS --- */
.reset-glowing {
    animation: resetRingPulse 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes resetRingPulse {
    0% {
        box-shadow: 0 0 0px 0px rgba(0, 242, 254, 0), 0 0 0px 0px rgba(176, 38, 255, 0);
    }

    30% {
        box-shadow: 0 0 35px 8px rgba(0, 242, 254, 0.35), 0 0 50px 12px rgba(176, 38, 255, 0.25);
    }

    100% {
        box-shadow: 0 0 0px 0px rgba(0, 242, 254, 0), 0 0 0px 0px rgba(176, 38, 255, 0);
    }
}

/* Springy Start Button Re-Entry */
.start-button-reentry {
    animation: startButtonSpring 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes startButtonSpring {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- DYNAMIC HALO FLOW INDICATOR & STAGE CAPSULES --- */
.flow-indicator-ring {
    position: absolute;
    width: 232px;
    height: 232px;
    border-radius: 50%;
    border: 2px solid transparent;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Download Flow Indicator: Cyan Dashed Clockwise Orbit */
.flow-active-download {
    opacity: 1;
    border: 2px dashed var(--color-download);
    box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.1), 0 0 8px rgba(0, 242, 254, 0.15);
    animation: rotateFlowClockwise 5s linear infinite;
}

/* Upload Flow Indicator: Purple Dashed Counter-Clockwise Orbit */
.flow-active-upload {
    opacity: 1;
    border: 2px dashed var(--color-upload);
    box-shadow: inset 0 0 10px rgba(176, 38, 255, 0.1), 0 0 8px rgba(176, 38, 255, 0.15);
    animation: rotateFlowCounter 5s linear infinite;
}

/* Latency Flow Indicator: Emerald Pulsing Breathing Orbit */
.flow-active-latency {
    opacity: 1;
    border: 2px solid var(--accent-emerald);
    box-shadow: inset 0 0 10px rgba(0, 230, 118, 0.1), 0 0 10px rgba(0, 230, 118, 0.18);
    animation: pulseFlow 1.6s ease-in-out infinite;
}

/* Jitter Flow Indicator: High-Frequency Vibrating Pink Halo */
.flow-active-jitter {
    opacity: 1;
    border: 2px dotted var(--color-jitter);
    box-shadow: inset 0 0 10px rgba(255, 0, 127, 0.1), 0 0 8px rgba(255, 0, 127, 0.18);
    animation: shakeFlow 0.12s linear infinite;
}

@keyframes rotateFlowClockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateFlowCounter {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes pulseFlow {

    0%,
    100% {
        transform: scale(0.99);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.02);
        opacity: 1;
    }
}

@keyframes shakeFlow {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(1px, -1px) rotate(0.2deg);
    }

    50% {
        transform: translate(-1px, 1px) rotate(-0.2deg);
    }

    75% {
        transform: translate(1px, 1px) rotate(0.1deg);
    }
}

/* --- GLASSMORPHIC CIRCULAR ACTIVE ICON BADGES (FLOW PILLS) --- */
.flow-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-down {
    background: rgba(0, 242, 254, 0.08);
    color: var(--color-download);
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25), inset 0 0 8px rgba(0, 242, 254, 0.15);
}

.flow-up {
    background: rgba(176, 38, 255, 0.08);
    color: var(--color-upload);
    border-color: rgba(176, 38, 255, 0.25);
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.25), inset 0 0 8px rgba(176, 38, 255, 0.15);
}

.flow-ping {
    background: rgba(0, 230, 118, 0.08);
    color: var(--accent-emerald);
    border-color: rgba(0, 230, 118, 0.25);
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.25), inset 0 0 8px rgba(0, 230, 118, 0.15);
}

.flow-jitter {
    background: rgba(255, 0, 127, 0.08);
    color: var(--color-jitter);
    border-color: rgba(255, 0, 127, 0.25);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.25), inset 0 0 8px rgba(255, 0, 127, 0.15);
}

.flow-complete {
    background: rgba(0, 242, 254, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.flow-ready {
    background: rgba(255, 255, 255, 0.03);
    color: #888888;
    border-color: rgba(255, 255, 255, 0.05);
}

.hud-stage-badge {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: #888888;
    text-transform: uppercase;
}

/* De-clutter Dial and Remove Subtext Globally */
.hud-server-info {
    display: none !important;
}

/* ==========================================================================
   NEON LIGHT POWER-DOWN & POWER-UP SYSTEM (DARK LUXURY SHUTDOWN)
   ========================================================================== */

/* Outer Shell Container Shudder & Obsidian Mirror transition */
.gauge-hud-container {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.8s ease,
        border-color 0.8s ease,
        box-shadow 0.8s ease;
}

.gauge-hud-container.power-off {
    background: radial-gradient(circle at center, #030305 0%, #010102 100%) !important;
    border-color: rgba(255, 255, 255, 0.015) !important;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.98), 0 8px 32px rgba(0, 0, 0, 0.9) !important;
    transform: scale(0.96) rotateX(10deg);
    /* 3D flat screen shutdown illusion */
}

/* SVG Swirl and Scale Vortex Collapse */
.gauge-hud-container.power-off .speedometer-svg {
    transform: scale(0.01) rotate(-220deg);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1),
        opacity 0.9s ease;
    transform-origin: center center;
}

/* High Speed Needle Counter-Clockwise Disappearance Sweep */
.gauge-hud-container.power-off .hud-needle-glow {
    transform: rotate(-180deg) scaleY(0) !important;
    opacity: 0 !important;
    transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1),
        opacity 0.5s ease !important;
}

.gauge-hud-container.power-off .hud-needle-glow::after {
    box-shadow: none !important;
    background: #0d0d11 !important;
}

/* LCD Digits CRT Television Flat-Line Shrink */
.gauge-hud-container.power-off .hud-counter-box {
    transform: scaleY(0) scaleX(1.4);
    opacity: 0;
    filter: blur(1px);
    transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1),
        opacity 0.6s ease,
        filter 0.6s ease;
    transform-origin: center center;
}

/* Liquid Waves Sinking and Evaporating */
.gauge-hud-container.power-off .hud-liquid-wave-wrapper {
    transform: translateY(120px) scale(0.7);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1),
        opacity 0.8s ease;
    transform-origin: center bottom;
}

/* Stage Badge Vortex Collapse */
.gauge-hud-container.power-off .hud-stage-badge {
    transform: scale(0) rotate(-90deg);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1),
        opacity 0.6s ease;
    transform-origin: center center;
}

.gauge-hud-container.power-off .hud-speed-unit {
    transform: scale(0);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1),
        opacity 0.6s ease;
}

/* --------------------------------------------------------------------------
   POWER ON - BOOTING IGNITION AND EXPLOSION TRANSITIONS
   -------------------------------------------------------------------------- */

.gauge-hud-container.power-on {
    animation: holo-boot-container 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.gauge-hud-container.power-on .speedometer-svg {
    animation: holo-ignite-svg 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: center center;
}

.gauge-hud-container.power-on .hud-needle-glow {
    animation: holo-ignite-needle 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.gauge-hud-container.power-on .hud-counter-box {
    animation: holo-ignite-counter 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: center center;
}

.gauge-hud-container.power-on .hud-stage-badge {
    animation: holo-ignite-badge 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: center center;
}

/* Keyframes for Holographic Ignition components */
@keyframes holo-boot-container {
    0% {
        transform: scale(0.96) rotateX(10deg);
        background: #020204;
    }

    100% {
        transform: scale(1) rotateX(0deg);
        background: rgba(10, 10, 12, 0.4);
    }
}

@keyframes holo-ignite-svg {
    0% {
        transform: scale(0.01) rotate(-220deg);
        opacity: 0;
    }

    30% {
        opacity: 0.1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes holo-ignite-needle {
    0% {
        transform: rotate(-180deg) scaleY(0);
        opacity: 0;
    }

    50% {
        opacity: 0.85;
    }

    100% {
        transform: rotate(-135deg) scaleY(1);
        opacity: 0.85;
    }
}

@keyframes holo-ignite-counter {
    0% {
        transform: scaleY(0) scaleX(1.4);
        opacity: 0;
    }

    100% {
        transform: scaleY(1) scaleX(1);
        opacity: 1;
    }
}

@keyframes holo-ignite-badge {
    0% {
        transform: scale(0) rotate(-90deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}