/* ============================================
   WICHITA COMPUTER SOLUTIONS - CYBERPUNK THEME
   ============================================ */

:root {
    /* Core Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #0d1117;
    --bg-card: rgba(13, 17, 23, 0.8);

    /* Neon Colors */
    --neon-green: #00ff41;
    --neon-green-dim: #00cc33;
    --neon-green-glow: rgba(0, 255, 65, 0.5);
    --neon-blue: #00d4ff;
    --neon-purple: #bf00ff;

    /* Text Colors */
    --text-primary: #00ff41;
    --text-secondary: #7fcc7f;
    --text-muted: #4a5568;
    --text-white: #e0e0e0;

    /* Accents */
    --border-color: rgba(0, 255, 65, 0.3);
    --border-glow: rgba(0, 255, 65, 0.6);

    /* Fonts */
    --font-mono: 'Share Tech Mono', 'Courier New', monospace;
    --font-display: 'Orbitron', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 8px 16px;
    background: var(--neon-green);
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: bold;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Visually Hidden (for screen readers) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Indicators */
:focus-visible {
    outline: 2px solid var(--neon-green);
    outline-offset: 2px;
}

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

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

body {
    font-family: var(--font-mono);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Matrix Background Canvas */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.15;
}

/* Scanlines Overlay */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
}

/* ============================================
   NAVIGATION - Tech Terminal Style
   ============================================ */

.cyber-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.cyber-nav.scrolled {
    box-shadow: 0 0 30px var(--neon-green-glow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
    letter-spacing: 3px;
}

.logo-bracket {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch:hover::before,
.glitch:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch:hover::before {
    animation: glitch-1 0.3s infinite;
    color: var(--neon-blue);
    z-index: -1;
}

.glitch:hover::after {
    animation: glitch-2 0.3s infinite;
    color: var(--neon-purple);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(50% 0 30% 0); transform: translate(-3px, 0); }
    50% { clip-path: inset(10% 0 60% 0); transform: translate(3px, 0); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(30% 0 50% 0); transform: translate(3px, 0); }
    50% { clip-path: inset(60% 0 10% 0); transform: translate(-3px, 0); }
}

/* Nav Terminal Display */
.nav-terminal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.prompt {
    color: var(--neon-blue);
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    letter-spacing: 2px;
    border: 1px solid transparent;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--neon-green-glow), transparent);
    transition: var(--transition-normal);
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    border-color: var(--border-glow);
    background: rgba(0, 255, 65, 0.1);
    text-shadow: 0 0 10px var(--neon-green-glow);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.link-decorator {
    color: var(--neon-blue);
    font-weight: bold;
    transition: var(--transition-fast);
}

.nav-link:hover .link-decorator {
    transform: translateX(5px);
}

.link-status {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.nav-link:hover .link-status {
    color: var(--neon-green);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.menu-toggle:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px var(--neon-green-glow);
}

.toggle-bar {
    width: 25px;
    height: 2px;
    background: var(--neon-green);
    transition: var(--transition-fast);
}

.menu-toggle.active .toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 2rem 2rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
}

/* System Status */
.system-status {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    letter-spacing: 3px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--neon-green);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Hero Title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    text-shadow:
        0 0 10px var(--neon-green-glow),
        0 0 20px var(--neon-green-glow),
        0 0 40px var(--neon-green-glow);
}

.glitch-text {
    position: relative;
    animation: text-flicker 4s infinite;
}

@keyframes text-flicker {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.8; }
    94% { opacity: 1; }
    95% { opacity: 0.9; }
    96% { opacity: 1; }
}

/* Tagline */
.hero-tagline {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.tagline-prefix {
    color: var(--neon-blue);
    font-weight: bold;
}

/* Location */
.hero-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.location-icon {
    color: var(--neon-purple);
}

/* Service Tags */
.hero-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.service-tag {
    padding: 0.5rem 1.25rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--neon-blue);
    transition: var(--transition-fast);
}

.service-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-decoration: none;
    border: 2px solid;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--neon-green);
    border-color: var(--neon-green);
    color: var(--bg-primary);
}

.cta-button.primary:hover {
    background: transparent;
    color: var(--neon-green);
    box-shadow:
        0 0 20px var(--neon-green-glow),
        inset 0 0 20px rgba(0, 255, 65, 0.1);
}

.cta-button.secondary {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.cta-button.secondary:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 20px var(--neon-green-glow);
}

.btn-icon {
    font-size: 0.8rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--neon-green);
    border-bottom: 2px solid var(--neon-green);
    transform: rotate(45deg);
}

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

/* ============================================
   SECTIONS - Common Styles
   ============================================ */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.terminal-header {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    min-width: 250px;
}

.terminal-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

.terminal-controls .control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neon-green);
    opacity: 0.7;
}

.terminal-controls .control:first-child {
    background: #ff5f56;
}

.terminal-controls .control:nth-child(2) {
    background: #ffbd2e;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-shadow: 0 0 20px var(--neon-green-glow);
}

.title-decorator {
    color: var(--neon-blue);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    position: relative;
    transition: var(--transition-normal);
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 65, 0.1);
    border-color: var(--border-glow);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--neon-green);
}

.card-text {
    color: var(--text-white);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-status {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Mission Terminal */
.about-mission {
    max-width: 800px;
    margin: 0 auto;
}

.mission-terminal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

.terminal-line {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.terminal-line .prompt {
    color: var(--neon-green);
}

.terminal-line .command {
    color: var(--text-white);
}

.terminal-output {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.info-label {
    font-size: 0.8rem;
    color: var(--neon-blue);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a.info-value:hover {
    text-shadow: 0 0 15px var(--neon-green-glow);
}

.info-value.blink {
    animation: blink 1s infinite;
}

.contact-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.form-header {
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-title {
    font-size: 0.9rem;
    color: var(--neon-blue);
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--neon-green);
    border: 2px solid var(--neon-green);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.submit-button:hover {
    background: transparent;
    color: var(--neon-green);
    box-shadow: 0 0 30px var(--neon-green-glow);
}

.submit-button:hover::before {
    left: 100%;
}

/* ============================================
   FOOTER
   ============================================ */

.cyber-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--neon-green);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.footer-links .divider {
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-terminal {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-link {
        padding: 1rem;
        justify-content: center;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-services {
        gap: 0.5rem;
    }

    .service-tag {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .section-container {
        padding: 4rem 1rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ============================================
   SPEED TEST MODAL
   ============================================ */

.speed-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.speed-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.speed-modal-content {
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.terminal-window {
    background: #0d0d0d;
    border: 1px solid var(--neon-green);
    box-shadow:
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

.terminal-window .terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border-bottom: 1px solid var(--border-color);
}

.terminal-window .terminal-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.terminal-window .terminal-controls {
    display: flex;
    gap: 8px;
}

.terminal-window .terminal-controls .control {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.terminal-window .control.minimize { background: #ffbd2e; color: #000; }
.terminal-window .control.maximize { background: #28c940; color: #000; }
.terminal-window .control.close { background: #ff5f56; color: #000; }

.terminal-window .control:hover {
    transform: scale(1.2);
}

.terminal-body {
    padding: 1.5rem;
    min-height: 200px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 0.5rem;
}

.terminal-line .prompt-user {
    color: var(--neon-green);
}

.terminal-line .command {
    color: var(--text-white);
    margin-left: 0.5rem;
}

.terminal-line.output {
    color: var(--text-secondary);
}

.terminal-line .info {
    color: var(--neon-blue);
}

.terminal-line .success {
    color: var(--neon-green);
}

.terminal-line .warning {
    color: #ffbd2e;
}

.terminal-line .error {
    color: #ff5f56;
}

.ascii-art {
    display: block;
    font-size: 0.55rem;
    line-height: 1.2;
    color: var(--neon-green);
    white-space: pre;
    margin: 1rem 0;
    text-shadow: 0 0 10px var(--neon-green-glow);
}

/* Speed Results Display */
.speed-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 255, 65, 0.03);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.result-box {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.result-box:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.result-box.active {
    border-color: var(--neon-green);
    animation: pulse-border 1s infinite;
}

@keyframes pulse-border {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 65, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 65, 0.6); }
}

.result-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.result-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
    transition: var(--transition-fast);
}

.result-box.download .result-value { color: var(--neon-green); }
.result-box.upload .result-value { color: var(--neon-blue); }
.result-box.latency .result-value { color: var(--neon-purple); }

.result-unit {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Terminal Actions */
.terminal-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    justify-content: center;
}

.terminal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 2px;
    background: var(--neon-green);
    border: 2px solid var(--neon-green);
    color: var(--bg-primary);
    cursor: pointer;
    transition: var(--transition-normal);
}

.terminal-btn:hover {
    background: transparent;
    color: var(--neon-green);
    box-shadow: 0 0 20px var(--neon-green-glow);
}

.terminal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.terminal-btn.secondary {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.terminal-btn.secondary:hover {
    border-color: var(--text-secondary);
    color: var(--text-white);
}

.terminal-btn .btn-icon {
    font-size: 0.8rem;
}

/* Speed CTA */
.speed-cta {
    display: none;
    padding: 1.5rem;
    text-align: center;
    background: rgba(0, 255, 65, 0.05);
    border-top: 1px solid var(--border-color);
}

.speed-cta.visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

.speed-cta p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.speed-cta .cta-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: var(--neon-green);
    text-decoration: none;
    border: 1px solid var(--neon-green);
    transition: var(--transition-normal);
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.speed-cta .cta-link:hover {
    background: var(--neon-green);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--neon-green-glow);
}

/* Progress Bar */
.progress-container {
    margin: 1rem 0;
    padding: 0 1.5rem;
}

.progress-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

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

/* Mobile Responsive */
@media (max-width: 600px) {
    .speed-modal-content {
        width: 95%;
    }

    .ascii-art {
        font-size: 0.35rem;
    }

    .speed-results {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .result-value {
        font-size: 1.5rem;
    }

    .terminal-actions {
        flex-direction: column;
    }

    .terminal-btn {
        width: 100%;
        justify-content: center;
    }
}
