/* ==============================================================================
   DC SPEED — CYBER HUD DESIGN SYSTEM 2.0
   Inspirado na arquitetura visual de DCIPCHECK & DCCALCGENIUS
   Alta Retenção, Cyberpunk Dark HUD, Zero Poluição Invasiva
   ============================================================================== */

:root {
    --cyber-bg: #05070f;
    --cyber-surface: #0b0f1d;
    --cyber-surface-card: rgba(14, 20, 38, 0.75);
    --cyber-surface-hover: rgba(22, 32, 58, 0.9);
    --cyber-border: rgba(0, 212, 255, 0.18);
    --cyber-border-glow: rgba(0, 212, 255, 0.45);
    
    --neon-cyan: #00d4ff;
    --neon-green: #10b981;
    --neon-purple: #a855f7;
    --neon-amber: #f59e0b;
    --neon-red: #ef4444;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-heading: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', monospace, monospace;
}

/* ==============================================================================
   LIGHT THEME PALETTE (AUTOMATIC BY LOCAL TIME OR TOGGLED BY USER)
   ============================================================================== */
html[data-theme="light"] {
    --cyber-bg: #f8fafc;
    --cyber-surface: #ffffff;
    --cyber-surface-card: rgba(255, 255, 255, 0.94);
    --cyber-surface-hover: #f1f5f9;
    --cyber-border: rgba(0, 160, 220, 0.25);
    --cyber-border-glow: rgba(0, 160, 220, 0.5);
    
    --neon-cyan: #0284c7;
    --neon-green: #059669;
    --neon-purple: #9333ea;
    --neon-amber: #d97706;
    --neon-red: #dc2626;

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
}

html[data-theme="light"] body {
    background-color: var(--cyber-bg) !important;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(147, 51, 234, 0.05) 0%, transparent 50%),
        linear-gradient(rgba(248, 250, 252, 0.97), rgba(248, 250, 252, 0.97)),
        linear-gradient(0deg, rgba(2, 132, 199, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 132, 199, 0.05) 1px, transparent 1px) !important;
    color: var(--text-primary) !important;
}

html[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid var(--cyber-border) !important;
}

html[data-theme="light"] .site-logo a {
    color: #0f172a !important;
}

html[data-theme="light"] .main-navigation a {
    color: #334155 !important;
}

html[data-theme="light"] .main-navigation a:hover {
    color: var(--neon-cyan) !important;
}

html[data-theme="light"] .cyber-hero-title h1 {
    background: linear-gradient(135deg, #0f172a 45%, #0284c7 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

html[data-theme="light"] .main-content h1,
html[data-theme="light"] .post-title {
    color: #0f172a !important;
}

/* Post Cards in Blog Listing */
html[data-theme="light"] .post-card {
    background: #ffffff !important;
    border: 1px solid rgba(2, 132, 199, 0.22) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="light"] .post-card-title,
html[data-theme="light"] .post-card-title a,
html[data-theme="light"] .post-card h2 a,
html[data-theme="light"] .post-card h3 a {
    color: #0f172a !important;
}

html[data-theme="light"] .post-card-title a:hover {
    color: var(--neon-cyan) !important;
}

html[data-theme="light"] .post-card-excerpt {
    color: #334155 !important;
}

html[data-theme="light"] .post-card-meta {
    color: #64748b !important;
    border-top: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .cyber-gauge-panel,
html[data-theme="light"] .author-bio-box,
html[data-theme="light"] .card {
    background: #ffffff !important;
    border-color: rgba(2, 132, 199, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 0 20px rgba(2, 132, 199, 0.08) !important;
}

/* Single Post / Article Light Theme */
html[data-theme="light"] .single-post-container {
    color: #1e293b !important;
}

html[data-theme="light"] .post-header .post-title {
    color: #0f172a !important;
}

html[data-theme="light"] .post-meta-details,
html[data-theme="light"] .post-meta-details span {
    color: #64748b !important;
}

html[data-theme="light"] .entry-content {
    color: #1e293b !important;
}

html[data-theme="light"] .entry-content p {
    color: #1e293b !important;
}

html[data-theme="light"] .entry-content h2 {
    color: #0f172a !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

html[data-theme="light"] .entry-content h3,
html[data-theme="light"] .entry-content h4 {
    color: #0f172a !important;
}

html[data-theme="light"] .entry-content li {
    color: #1e293b !important;
}

html[data-theme="light"] .entry-content strong {
    color: #0f172a !important;
}

html[data-theme="light"] .entry-content table {
    border: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .entry-content th {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-bottom: 2px solid #cbd5e1 !important;
}

html[data-theme="light"] .entry-content td {
    color: #334155 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .entry-content code {
    background: #f1f5f9 !important;
    color: #0284c7 !important;
    border: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .sources-box,
html[data-theme="light"] .related-box {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
}

html[data-theme="light"] .sources-box h4,
html[data-theme="light"] .related-box h4 {
    color: #0f172a !important;
}

html[data-theme="light"] .sources-box ol,
html[data-theme="light"] .sources-box li {
    color: #334155 !important;
}

html[data-theme="light"] .article-share-bar button,
html[data-theme="light"] .share-pill.share-x {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

html[data-theme="light"] .author-bio-box h3,
html[data-theme="light"] .author-bio-box strong {
    color: #0f172a !important;
}

html[data-theme="light"] .author-bio-box p {
    color: #334155 !important;
}

html[data-theme="light"] .cyber-card-header {
    background: #f1f5f9 !important;
    border-bottom: 1px solid rgba(2, 132, 199, 0.15) !important;
}

html[data-theme="light"] .prompt-cmd {
    color: #0284c7 !important;
    font-weight: 700;
}
html[data-theme="light"] .prompt-user {
    color: #0f172a !important;
    font-weight: 700;
}
html[data-theme="light"] .prompt-path {
    color: #9333ea !important;
}

html[data-theme="light"] .cyber-dial-number {
    color: #0f172a !important;
}

html[data-theme="light"] .cyber-dial-bg {
    stroke: #e2e8f0 !important;
}

html[data-theme="light"] .cyber-metric-card {
    background: #f8fafc !important;
    border-color: rgba(2, 132, 199, 0.2) !important;
}

html[data-theme="light"] .lang-btn,
html[data-theme="light"] .theme-toggle-btn {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

html[data-theme="light"] .lang-dropdown {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] .lang-dropdown a {
    color: #334155 !important;
}

html[data-theme="light"] .lang-dropdown a:hover {
    background: #f1f5f9 !important;
    color: var(--neon-cyan) !important;
}

html[data-theme="light"] .pagination .page-numbers {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

html[data-theme="light"] .pagination .page-numbers.current {
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    color: #ffffff !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--cyber-border);
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.25s ease;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.15);
    margin-left: 8px;
}
.theme-toggle-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.45);
    transform: rotate(15deg) scale(1.05);
}

/* ==============================================================================
   MATRIX DEEPWEB INTRO OVERLAY
   ============================================================================== */
#dc-matrix-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    background: #05070f;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    overflow: hidden;
    animation: autoDismissMatrixOverlay 0.4s ease-out 1.5s forwards;
}

@keyframes autoDismissMatrixOverlay {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

#dc-matrix-overlay.matrix-fadeout {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#dc-matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    pointer-events: none;
}

.matrix-terminal-window {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 580px;
    background: rgba(8, 12, 24, 0.94);
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.25), 0 25px 50px -12px rgba(0, 0, 0, 0.85);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: matrixWindowPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes matrixWindowPop {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.matrix-terminal-header {
    background: rgba(14, 20, 38, 0.95);
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.matrix-terminal-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    gap: 8px;
}

.matrix-skip-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
    font-family: 'Space Mono', monospace, monospace;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.matrix-skip-btn:hover {
    color: #ffffff;
    border-color: var(--neon-cyan);
    background: rgba(0, 212, 255, 0.15);
}

.matrix-terminal-body {
    padding: 20px;
    font-family: 'Space Mono', monospace, monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    color: #f8fafc;
    min-height: 160px;
}

.matrix-log-line {
    margin: 4px 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    word-break: break-all;
    animation: logLineIn 0.15s ease-out;
}

@keyframes logLineIn {
    0% { opacity: 0; transform: translateX(-4px); }
    100% { opacity: 1; transform: translateX(0); }
}

.matrix-log-time {
    color: var(--neon-purple);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.matrix-log-tag {
    color: var(--neon-green);
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.matrix-log-text {
    color: #f8fafc;
    font-size: 0.82rem;
}

.matrix-progress-bar-wrap {
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.6);
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.matrix-progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #10b981);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.8);
    transition: width 0.08s linear;
}

/* ==============================================================================
   TYPEWRITER & DECODING TEXT SCRAMBLER
   ============================================================================== */
.cyber-scramble {
    display: inline-block;
    position: relative;
}

.cyber-cursor {
    display: inline-block;
    width: 0.5em;
    height: 1.1em;
    vertical-align: -0.15em;
    background-color: var(--neon-cyan);
    margin-left: 2px;
    box-shadow: 0 0 8px var(--neon-cyan);
    animation: cyberBlink 0.8s infinite;
}

@keyframes cyberBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* Fundo Imersivo com Grade Cibernética */
body {
    background-color: var(--cyber-bg);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        linear-gradient(rgba(5, 7, 15, 0.96), rgba(5, 7, 15, 0.96)),
        linear-gradient(0deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 24px 24px, 24px 24px;
    color: var(--text-primary);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Header Holográfico */
.site-header {
    background: rgba(5, 7, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--cyber-border);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 14px 24px;
}

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

.site-logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.site-logo span {
    color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

.cyber-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--neon-green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
    animation: cyberPulse 2s infinite ease-in-out;
}

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

/* Hero & Velocímetro Cyber Gauge 2.0 */
.cyber-speed-container {
    max-width: 1100px;
    margin: 30px auto 50px auto;
    padding: 0 20px;
}

.cyber-hero-title {
    text-align: center;
    margin-bottom: 25px;
}

.cyber-hero-title h1 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #ffffff 40%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.cyber-hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
}

/* Painel de Telemetria Central */
.cyber-gauge-panel {
    background: var(--cyber-surface-card);
    border: 1px solid var(--cyber-border);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 212, 255, 0.03);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    padding: 40px 24px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.cyber-gauge-panel:hover {
    border-color: var(--cyber-border-glow);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.12), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

/* Mostrador Circular do Velocímetro */
.cyber-dial-wrapper {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 0 auto 25px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyber-dial-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.cyber-dial-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 12;
}

.cyber-dial-progress {
    fill: none;
    stroke: url(#cyanPurpleGrad);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 691;
    stroke-dashoffset: 691;
    transition: stroke-dashoffset 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cyber-dial-center {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cyber-dial-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.cyber-dial-unit {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.cyber-dial-status {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 6px;
    font-family: var(--font-mono);
}

/* Botão de Ação Cyber Start */
.cyber-start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #00d4ff 0%, #0284c7 100%);
    color: #05070f;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 48px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.25s ease;
}

.cyber-start-btn:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.65);
    transform: translateY(-2px);
}

.cyber-start-btn:active {
    transform: translateY(1px);
}

.cyber-start-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* Grid de Métricas HUD (Download, Upload, Ping, Jitter, Bufferbloat) */
.cyber-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.cyber-metric-card {
    background: rgba(9, 13, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}

.cyber-metric-card:hover {
    border-color: var(--cyber-border);
    transform: translateY(-2px);
    background: rgba(14, 20, 38, 0.85);
}

.cyber-metric-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cyber-metric-val {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
}

.cyber-metric-val.cyan { color: var(--neon-cyan); }
.cyber-metric-val.green { color: var(--neon-green); }
.cyber-metric-val.purple { color: var(--neon-purple); }

.cyber-metric-unit {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Card de Detecção de Rede (ISP, IP e Localização) */
.cyber-network-info {
    margin-top: 24px;
    padding: 14px 20px;
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
}

.network-badge {
    color: var(--neon-cyan);
    font-weight: 700;
    font-family: var(--font-mono);
}

/* Ações pós-teste (Copiar resultado, Compartilhar) */
.cyber-result-actions {
    display: none;
    justify-content: center;
    gap: 14px;
    margin-top: 25px;
}

.cyber-result-actions.visible {
    display: flex;
}

.cyber-action-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--cyber-border);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cyber-action-btn:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--neon-cyan);
    color: #ffffff;
}

/* Toast Moderno Cyberpunk */
.dc-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(11, 15, 29, 0.95);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dc-toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.dc-toast-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
}

.dc-toast-error {
    border-color: var(--neon-red);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}
.dc-toast-error .dc-toast-dot {
    background: var(--neon-red);
    box-shadow: 0 0 8px var(--neon-red);
}

/* Barra de Progresso Fluida */
.cyber-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    margin-top: 20px;
    overflow: hidden;
    display: none;
}

.cyber-progress-track.visible {
    display: block;
}

.cyber-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: width 0.3s ease;
}

/* ==============================================================================
   TERMINAL HUD BAR (Estilo DCIPCHECK / DCCALCGENIUS)
   ============================================================================== */
.cyber-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    margin: -40px -24px 30px -24px;
    background: rgba(4, 7, 14, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-mono, monospace);
    font-size: 0.8rem;
}

.cyber-card-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.cyber-card-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: #ff5f56; box-shadow: 0 0 6px rgba(255, 95, 86, 0.6); }
.dot-yellow { background: #ffbd2e; box-shadow: 0 0 6px rgba(255, 189, 46, 0.6); }
.dot-green { background: #27c93f; box-shadow: 0 0 6px rgba(39, 201, 63, 0.6); }

.cyber-card-title {
    color: #94a3b8;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
}

.cyber-card-title .prompt-user { color: var(--neon-cyan); font-weight: 700; }
.cyber-card-title .prompt-path { color: var(--neon-purple); font-weight: 700; }
.cyber-card-title .prompt-cmd { color: #f8fafc; }

.cyber-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--neon-green);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 999px;
}

/* ==============================================================================
   DC SPEED FAQ — DCIPCHECK / DCCALCGENIUS ACCORDION STYLE
   ============================================================================== */
.faq-wrapper {
    max-width: 860px;
    margin: 35px auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

.faq-item:hover {
    background: rgba(0, 212, 255, 0.035);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 6px 24px -1px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 212, 255, 0.08);
    transform: translateY(-2px);
}

.faq-item[open] {
    background: rgba(12, 18, 34, 0.9);
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 212, 255, 0.12);
}

.faq-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    color: #f8fafc;
    cursor: pointer;
    user-select: none;
    outline: none;
    list-style: none;
    transition: color 0.2s ease;
}

.faq-trigger::-webkit-details-marker,
.faq-trigger::marker {
    display: none !important;
}

.faq-trigger:hover {
    color: var(--neon-cyan);
}

/* Custom Animated Chevron */
.faq-trigger::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300d4ff' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-trigger {
    color: var(--neon-cyan);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item[open] .faq-trigger::after {
    transform: rotate(180deg);
}

.faq-content {
    padding: 20px 24px 24px 24px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.75;
    animation: faqFadeIn 0.3s ease-out;
}

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

/* Informational Cards & Grid Modernization */
.info-card {
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 28px 24px !important;
    backdrop-filter: blur(12px) !important;
    transition: all 0.25s ease !important;
}

.info-card:hover {
    border-color: rgba(0, 212, 255, 0.35) !important;
    background: rgba(0, 212, 255, 0.035) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 212, 255, 0.08) !important;
    transform: translateY(-3px) !important;
}

/* Grid com 4 colunas de métricas */
.cyber-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 30px;
}

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

@media (max-width: 540px) {
    .cyber-metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .cyber-hero-title h1 {
        font-size: 2rem;
    }
    .cyber-dial-wrapper {
        width: 220px;
        height: 220px;
    }
    .cyber-dial-number {
        font-size: 3.2rem;
    }
    .cyber-start-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1.15rem;
    }
    .cyber-network-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
