/* ===========================
   DOS Terminal - Global Reset
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Share+Tech+Mono&family=Fira+Code:wght@400;500&subset=latin,latin-ext&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    background: #0a0a0a;
    font-family: 'VT323', 'Share Tech Mono', 'Courier New', monospace;
    color: #00ff41;
    overflow-x: hidden;
}

/* ============================
   DOS Header
   ============================ */
.dos-header {
    background: #0c0c0c;
    border-bottom: 2px solid #00ff41;
    padding: 0;
    position: relative;
    overflow: visible;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.15), inset 0 0 60px rgba(0, 0, 0, 0.5);
}

/* CRT Scanline Effect */
.dos-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 10;
}

/* Flicker effect */
.dos-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 65, 0.02);
    animation: flicker 0.15s infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes flicker {
    0% { opacity: 0.97; }
    5% { opacity: 0.95; }
    10% { opacity: 0.98; }
    15% { opacity: 0.96; }
    20% { opacity: 0.99; }
    50% { opacity: 0.96; }
    80% { opacity: 0.98; }
    100% { opacity: 0.97; }
}

/* Top bar - C:\KODVOX> prompt */
.dos-top-bar {
    padding: 12px 20px 8px 20px;
    font-size: 18px;
    letter-spacing: 2px;
    color: #00ff41;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
    transition: all 0.5s ease;
}

/* Intro centered state */
.dos-top-bar.intro-centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    font-size: 22px;
    padding: 0;
    white-space: nowrap;
}

.dos-top-bar.intro-moving {
    position: fixed;
    top: 12px;
    left: 20px;
    transform: translate(0, 0);
    z-index: 9999;
    font-size: 18px;
    padding: 0;
}

.dos-top-bar.intro-done {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    z-index: 6;
}

.dos-prompt {
    color: #00cc33;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

.dos-prompt-link {
    text-decoration: none;
    color: inherit;
}

/* Blinking cursor */
.dos-blink {
    animation: blink 0.8s step-end infinite;
    font-weight: bold;
    font-size: 20px;
}

/* Typing text in prompt */
.dos-typing {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    margin-left: 4px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Intro overlay */
.dos-intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 9998;
    transition: opacity 0.5s ease;
}

.dos-intro-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Hidden state for nav and border during intro */
.dos-nav.intro-hidden,
.dos-bottom-border.intro-hidden {
    opacity: 0;
    visibility: hidden;
}

.dos-nav.intro-visible,
.dos-bottom-border.intro-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease;
}

/* ============================
   DOS Navigation Menu
   ============================ */
.dos-nav {
    padding: 5px 20px;
}

.dos-menu {
    list-style: none;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.dos-menu-item {
    position: relative;
    opacity: 0;
    animation: typeSlide 0.5s ease forwards;
}

@keyframes typeSlide {
    0% {
        opacity: 0;
        transform: translateX(-40px);
        filter: blur(2px);
    }
    60% {
        opacity: 0.7;
        transform: translateX(5px);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

/* Menu links */
.dos-link {
    display: block;
    padding: 8px 14px;
    color: #00ff41;
    text-decoration: none;
    font-size: 17px;
    letter-spacing: 1.5px;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    transition: all 0.15s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.dos-link:hover {
    color: #0c0c0c;
    background: repeating-linear-gradient(
        0deg,
        #00ff41,
        #00ff41 2px,
        rgba(0, 200, 30, 0.85) 2px,
        rgba(0, 200, 30, 0.85) 4px
    );
    text-shadow: none;
    border-color: #00ff41;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

/* ============================
   Dropdown Submenu
   ============================ */
.dos-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background: #0c0c0c;
    border: 1px solid #00ff41;
    min-width: 220px;
    padding: 5px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.dos-menu-item:hover > .dos-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dos-submenu li a {
    display: block;
    padding: 8px 16px;
    color: #00cc33;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.1s ease;
    text-shadow: 0 0 4px rgba(0, 255, 65, 0.3);
    white-space: nowrap;
}

.dos-submenu li a:hover {
    background: #00ff41;
    color: #0c0c0c;
    text-shadow: none;
    padding-left: 24px;
}

/* Arrow indicator for items with submenus */
.dos-menu-item:has(.dos-submenu) > .dos-link::after {
    content: ' ▼';
    font-size: 12px;
    opacity: 0.7;
}

/* ============================
   DOS Hero Section
   ============================ */
.dos-hero {
    background: #0a0a0a;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.dos-hero .dos-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 2;
}

.dos-hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
    padding: 40px 20px;
    max-width: 800px;
}

/* Hero Logo Transition */
.hero-logo-container {
    position: relative;
    width: 340px;
    height: 340px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
}

.hero-logo-img {
    position: absolute;
    width: 300px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(108, 60, 224, 0.4)) drop-shadow(0 0 60px rgba(0, 191, 255, 0.2));
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.4, 0, 0.2, 1), filter 1s ease;
    z-index: 1;
    mix-blend-mode: lighten;
}

.hero-logo-img.revealed {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-logo-img.glitch {
    animation: logoGlitch 0.4s ease;
}

@keyframes logoGlitch {
    0% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(108, 60, 224, 0.4)) drop-shadow(0 0 60px rgba(0, 191, 255, 0.2)); }
    10% { transform: translate(-3px, 2px) scale(1.01); filter: drop-shadow(3px 0 0 rgba(0, 255, 65, 0.7)) drop-shadow(-3px 0 0 rgba(168, 85, 247, 0.7)); }
    20% { transform: translate(3px, -1px) scale(0.99); filter: drop-shadow(-2px 0 0 rgba(0, 191, 255, 0.7)) drop-shadow(2px 0 0 rgba(255, 0, 100, 0.5)); }
    30% { transform: translate(-1px, 3px) skewX(2deg); filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.6)); }
    40% { transform: translate(2px, -2px) skewX(-1deg); filter: drop-shadow(2px 0 0 rgba(168, 85, 247, 0.8)) drop-shadow(-2px 0 0 rgba(0, 191, 255, 0.8)); }
    50% { transform: translate(0, 1px) scale(1.02); filter: drop-shadow(0 0 20px rgba(0, 255, 65, 0.5)) drop-shadow(0 0 40px rgba(0, 191, 255, 0.3)); }
    60% { transform: translate(-2px, -1px); filter: drop-shadow(3px 0 0 rgba(255, 0, 100, 0.6)) drop-shadow(-3px 0 0 rgba(0, 255, 65, 0.6)); }
    70% { transform: translate(1px, 2px) skewX(1deg); filter: drop-shadow(-1px 0 0 rgba(168, 85, 247, 0.5)); }
    80% { transform: translate(0, -1px); filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.4)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(108, 60, 224, 0.4)) drop-shadow(0 0 60px rgba(0, 191, 255, 0.2)); }
}

.hero-logo-ascii {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 3.6px;
    line-height: 1.05;
    letter-spacing: 0.3px;
    color: #ffffff;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
    white-space: pre;
    opacity: 1;
    z-index: 2;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    max-width: 100vw;
}

.hero-logo-ascii.dissolving {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.03);
    filter: blur(3px);
    transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
    z-index: 1;
}

/* Pixel scatter particles */
.hero-pixel-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 1px;
    pointer-events: none;
    z-index: 5;
}

@keyframes pixelScatter {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--px-x), var(--px-y)) scale(0); }
}

.dos-hero-title {
    color: #00ff41;
    font-size: 48px;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.7), 0 0 30px rgba(0, 255, 65, 0.3);
    margin-bottom: 20px;
    line-height: 1.2;
    min-height: 60px;
}

.dos-hero-subtitle {
    color: #00cc33;
    font-size: 22px;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
    line-height: 1.5;
    min-height: 35px;
}

.dos-hero-title .dos-cursor,
.dos-hero-subtitle .dos-cursor {
    animation: blink 0.8s step-end infinite;
    font-weight: bold;
}

.dos-section-title {
    color: #00ff41;
    font-size: 28px;
    letter-spacing: 3px;
    text-shadow: 0 0 12px rgba(0, 255, 65, 0.6), 0 0 25px rgba(0, 255, 65, 0.2);
    line-height: 1.4;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    .dos-section-title {
        font-size: 22px;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .dos-section-title {
        font-size: 18px;
        letter-spacing: 1px;
        margin-bottom: 25px;
    }
}

/* ============================
   DOS Cards Section
   ============================ */
.dos-cards-section {
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    padding: 50px 20px;
}

.dos-cards-section .dos-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 2;
}

.dos-cards-container {
    display: flex;
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.dos-card {
    flex: 1;
    background: #0c0c0c;
    border: 1px solid #00ff41;
    padding: 25px 20px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.1), inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.dos-card:hover {
    border-color: #00ff41;
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.3), inset 0 0 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
}

.dos-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.dos-card-icon {
    color: #00ff41;
    font-size: 18px;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
}

.dos-card-title {
    color: #00bfff;
    font-size: 18px;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.5);
}

.dos-card-border {
    color: #00ff41;
    opacity: 0.4;
    margin-bottom: 12px;
    font-size: 14px;
}

.dos-card-text {
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1.6;
    text-shadow: none;
    margin-bottom: 18px;
}

.dos-card-arrow {
    color: #00cc33;
    text-shadow: 0 0 4px rgba(0, 255, 65, 0.3);
}

.dos-card-footer {
    border-top: 1px solid rgba(0, 255, 65, 0.2);
    padding-top: 12px;
}

.dos-card-prompt {
    color: #00cc33;
    font-size: 15px;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
}

.dos-card-link {
    color: #00bfff;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 191, 255, 0.5);
    transition: all 0.2s ease;
}

.dos-card-link:hover {
    color: #0c0c0c;
    background: repeating-linear-gradient(
        0deg,
        #00bfff,
        #00bfff 2px,
        rgba(0, 150, 220, 0.85) 2px,
        rgba(0, 150, 220, 0.85) 4px
    );
    text-shadow: none;
    padding: 2px 6px;
}

@media (max-width: 768px) {
    .dos-cards-container {
        flex-direction: column;
        gap: 20px;
    }

    .dos-card-title {
        font-size: 16px;
    }

    .dos-card-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .dos-cards-section {
        padding: 30px 12px;
    }

    .dos-card {
        padding: 18px 14px;
    }

    .dos-card-title {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .dos-card-text {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .dos-hero {
        min-height: 50vh;
    }

    .hero-logo-container {
        width: 200px;
        height: 200px;
        margin-bottom: 24px;
    }

    .hero-logo-img {
        width: 180px;
    }

    .hero-logo-ascii {
        font-size: 2.2px;
    }

    .dos-hero-title {
        font-size: 30px;
        letter-spacing: 2px;
    }

    .dos-hero-subtitle {
        font-size: 16px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .dos-hero {
        min-height: 45vh;
    }

    .hero-logo-container {
        width: 160px;
        height: 160px;
        margin-bottom: 20px;
    }

    .hero-logo-img {
        width: 140px;
    }

    .hero-logo-ascii {
        font-size: 1.6px;
    }

    .dos-hero-title {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .dos-hero-subtitle {
        font-size: 14px;
    }
}

/* ============================
   Bottom Border Line
   ============================ */
.dos-bottom-border {
    color: #00ff41;
    font-size: 14px;
    padding: 4px 20px 10px 20px;
    letter-spacing: 0;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.4);
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.dos-bottom-border.border-visible {
    opacity: 1;
    transform: translateX(0);
}

.dos-bottom-border.border-hidden {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.2s ease;
}

/* ============================
   CRT Screen Glow
   ============================ */
.dos-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 255, 65, 0.03) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 1;
}

/* Ensure nav content is above effects */
.dos-top-bar,
.dos-bottom-border {
    position: relative;
    z-index: 6;
}

.dos-nav {
    position: relative;
    z-index: 20;
}

/* ============================
   Hamburger Button (Mobile)
   ============================ */

/* ============================
   Section Divider
   ============================ */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff41 20%, #00bfff 50%, #00ff41 80%, transparent);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3), 0 0 20px rgba(0, 191, 255, 0.15);
}

/* ============================
   Impact Section
   ============================ */
.impact-section {
    background: #111111;
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 191, 255, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 255, 65, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.impact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.impact-title {
    font-family: 'Fira Code', 'Share Tech Mono', 'Courier New', monospace;
    color: #e0e0e0;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 16px;
    line-height: 1.3;
    background: linear-gradient(90deg, #00bfff, #e0e0e0, #00ff41);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-subtitle {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    color: #888;
    font-size: 16px;
    letter-spacing: 1.5px;
    font-weight: 400;
}

/* Impact Cards */
.impact-cards {
    display: flex;
    gap: 24px;
    max-width: 1100px;
    margin: 50px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.impact-card {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    border-color: #3a3a3a;
}

.impact-card-icon {
    margin-bottom: 20px;
}

.impact-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bfff 0%, #00ff41 100%);
    color: #111;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Share Tech Mono', monospace;
}

.impact-card-title {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    color: #e0e0e0;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.impact-card-text {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    color: #888;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
}

.impact-card-btn {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    color: #00bfff;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.25s ease;
}

.impact-card-btn:hover {
    color: #00ff41;
}

/* Impact Wide Card */
.impact-wide-card {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 30px auto 0;
    padding: 40px 36px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    position: relative;
    z-index: 2;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.impact-wide-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    border-color: #3a3a3a;
}

.impact-wide-left {
    flex: 1.5;
}

.impact-wide-title {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    color: #e0e0e0;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #00bfff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-wide-text {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    color: #888;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.impact-wide-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.impact-stat {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.impact-stat-number {
    font-family: 'Share Tech Mono', monospace;
    font-size: 32px;
    font-weight: 700;
    color: #00bfff;
    letter-spacing: 1px;
}

.impact-stat-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    color: #888;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .impact-section {
        padding: 50px 20px;
    }

    .impact-title {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .impact-subtitle {
        font-size: 14px;
    }

    .impact-cards {
        flex-direction: column;
        gap: 18px;
        padding: 0;
    }

    .impact-card {
        padding: 28px 22px;
    }

    .impact-wide-card {
        flex-direction: column;
        gap: 28px;
        padding: 28px 22px;
    }

    .impact-stat {
        justify-content: center;
    }

    .impact-wide-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .impact-section {
        padding: 40px 15px;
    }

    .impact-title {
        font-size: 20px;
    }

    .impact-subtitle {
        font-size: 12px;
    }

    .impact-card-title {
        font-size: 17px;
    }

    .impact-card-text {
        font-size: 13px;
    }

    .impact-wide-card {
        padding: 22px 16px;
    }

    .impact-stat-number {
        font-size: 26px;
    }
}

/* ============================
   AI Section Divider
   ============================ */
.ai-divider {
    position: relative;
    height: 3px;
    background: #0e0e0e;
    overflow: visible;
}

.ai-divider-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        #6c3ce0 15%,
        #00bfff 35%,
        #a855f7 50%,
        #00bfff 65%,
        #6c3ce0 85%,
        transparent 100%
    );
    box-shadow:
        0 0 12px rgba(168, 85, 247, 0.4),
        0 0 30px rgba(0, 191, 255, 0.2);
}

.ai-divider-pulse {
    position: absolute;
    top: -2px;
    left: 0;
    width: 80px;
    height: 7px;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.9), transparent);
    border-radius: 50%;
    animation: aiPulseSlide 3s ease-in-out infinite;
    filter: blur(1px);
}

@keyframes aiPulseSlide {
    0% { left: -80px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: calc(100% + 80px); opacity: 0; }
}

/* ============================
   AI Chat Section
   ============================ */
.ai-chat-section {
    background: linear-gradient(180deg, #0e0e0e 0%, #111118 50%, #0e0e0e 100%);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.ai-chat-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 25% 50%, rgba(108, 60, 224, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 50%, rgba(0, 191, 255, 0.05) 0%, transparent 55%);
    pointer-events: none;
}

.ai-chat-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

/* Robot Image */
.ai-chat-left {
    flex: 0 0 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-robot-img {
    width: 260px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(108, 60, 224, 0.3));
    animation: aiRobotFloat 4s ease-in-out infinite;
}

@keyframes aiRobotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.ai-robot-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 60, 224, 0.15) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 1;
    animation: aiGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes aiGlowPulse {
    0% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* Chat Box */
.ai-chat-right {
    flex: 1;
    min-width: 0;
}

.ai-chat-box {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(108, 60, 224, 0.25);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ai-chat-messages {
    padding: 28px 24px;
    height: 340px;
    overflow-y: auto;
    overflow-anchor: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-chat-messages::-webkit-scrollbar {
    display: none;
}

/* Chat Bubbles */
.ai-msg {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: 14px;
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    letter-spacing: 0.2px;
    opacity: 0;
    transform: translateY(12px);
    animation: aiMsgAppear 0.4s ease forwards;
}

@keyframes aiMsgAppear {
    to { opacity: 1; transform: translateY(0); }
}

.ai-msg-user {
    align-self: flex-end;
    background: linear-gradient(135deg, #6c3ce0, #5b2fd4);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.ai-msg-ai {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.07);
    color: #d4d4d8;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-msg-ai .ai-msg-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #a855f7;
    margin-bottom: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Typing indicator */
.ai-typing-indicator {
    display: flex;
    gap: 5px;
    padding: 6px 0;
}

.ai-typing-indicator span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a855f7;
    animation: aiTypingDot 1.2s ease-in-out infinite;
}

.ai-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes aiTypingDot {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

/* Input Area */
.ai-chat-input-area {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(15, 15, 25, 0.6);
    border-top: 1px solid rgba(108, 60, 224, 0.15);
}

.ai-chat-input {
    flex: 1;
    min-height: 22px;
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    font-size: 14px;
    color: #e4e4e7;
    letter-spacing: 0.2px;
    position: relative;
}

.ai-chat-input::after {
    content: '|';
    animation: aiCursorBlink 0.8s step-end infinite;
    color: #a855f7;
    font-weight: 300;
}

@keyframes aiCursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.ai-chat-send {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #6c3ce0, #a855f7);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.ai-chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(108, 60, 224, 0.4);
}

.ai-chat-send.sending {
    animation: aiSendPulse 0.3s ease;
}

@keyframes aiSendPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .ai-chat-section {
        padding: 50px 20px;
    }

    .ai-chat-container {
        flex-direction: column;
        gap: 30px;
    }

    .ai-chat-left {
        flex: none;
    }

    .ai-robot-img {
        width: 180px;
    }

    .ai-chat-messages {
        height: 300px;
        padding: 20px 16px;
    }

    .ai-msg {
        max-width: 90%;
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .ai-chat-section {
        padding: 35px 15px;
    }

    .ai-robot-img {
        width: 140px;
    }

    .ai-chat-messages {
        height: 280px;
        padding: 16px 12px;
    }

    .ai-msg {
        font-size: 13px;
        padding: 12px 14px;
    }

    .ai-chat-input-area {
        padding: 12px 14px;
    }
}

/* ============================
   AI Agents Cards
   ============================ */
.ai-agents-section {
    background: linear-gradient(180deg, #0e0e0e 0%, #0c0c14 50%, #0e0e0e 100%);
    padding: 0 40px 80px;
    position: relative;
}

.ai-agents-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ai-agent-card {
    background: rgba(20, 20, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px 24px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    backdrop-filter: blur(8px);
}

.ai-agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.ai-agent-card:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 85, 247, 0.2);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(168, 85, 247, 0.06);
}

.ai-agent-card:hover::before {
    opacity: 1;
}

.ai-agent-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(168, 85, 247, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: background 0.3s ease;
}

.ai-agent-card:hover .ai-agent-icon {
    background: rgba(168, 85, 247, 0.14);
}

.ai-agent-title {
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #f0f0f5;
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}

.ai-agent-desc {
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    font-size: 13.5px;
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 20px;
}

.ai-agent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-agent-tag {
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #c084fc;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 20px;
    padding: 4px 12px;
    letter-spacing: 0.3px;
}

@media (max-width: 1024px) {
    .ai-agents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ai-agents-section {
        padding: 0 20px 50px;
    }

    .ai-agents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ai-agent-card {
        padding: 24px 20px 22px;
    }

    .ai-agent-title {
        font-size: 15px;
    }

    .ai-agent-desc {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .ai-agents-section {
        padding: 0 15px 35px;
    }

    .ai-agents-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ai-agent-card {
        padding: 22px 18px 20px;
    }
}

/* ============================
   Futuristic Divider
   ============================ */
.future-divider {
    position: relative;
    height: 3px;
    background: #08080c;
}

.future-divider-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        #a855f7 10%,
        #6366f1 25%,
        #06b6d4 40%,
        #ffffff 50%,
        #06b6d4 60%,
        #6366f1 75%,
        #a855f7 90%,
        transparent 100%
    );
    box-shadow:
        0 0 16px rgba(168, 85, 247, 0.5),
        0 0 40px rgba(99, 102, 241, 0.2);
}

.future-divider-node {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px #a855f7, 0 0 24px rgba(168, 85, 247, 0.4);
    animation: futureNodePulse 2s ease-in-out infinite;
}

.future-divider-node-2 {
    left: 70%;
    animation-delay: 1s;
}

@keyframes futureNodePulse {
    0%, 100% { box-shadow: 0 0 8px #a855f7, 0 0 16px rgba(168, 85, 247, 0.3); transform: translate(-50%, -50%) scale(1); }
    50% { box-shadow: 0 0 16px #a855f7, 0 0 32px rgba(168, 85, 247, 0.6); transform: translate(-50%, -50%) scale(1.4); }
}

.future-divider-scan {
    position: absolute;
    top: -3px;
    left: 0;
    width: 120px;
    height: 9px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
    animation: futureScanSlide 4s linear infinite;
    filter: blur(2px);
}

@keyframes futureScanSlide {
    0% { left: -120px; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { left: calc(100% + 120px); opacity: 0; }
}

/* ============================
   Futuristic Contact Form
   ============================ */
.future-form-section {
    background: #08080e;
    padding: 90px 40px;
    position: relative;
    overflow: hidden;
}

.future-form-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
}

.future-form-container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.future-form-header {
    text-align: center;
    margin-bottom: 50px;
}

.future-form-badge {
    display: inline-block;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #a855f7;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 24px;
    padding: 6px 20px;
    margin-bottom: 20px;
}

.future-form-title {
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #f0f0f5;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.future-gradient-text {
    background: linear-gradient(135deg, #a855f7, #06b6d4, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.future-form-subtitle {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 16px;
    color: #6b7280;
    letter-spacing: 0.3px;
}

.future-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.future-form-row {
    display: flex;
    gap: 18px;
}

.future-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.future-input-full {
    width: 100%;
}

.future-label {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    letter-spacing: 0.4px;
}

.future-input-wrapper {
    position: relative;
}

.future-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #4b5563;
    z-index: 2;
    transition: color 0.3s ease;
    pointer-events: none;
}

.future-textarea-icon {
    top: 20px;
    transform: none;
}

.future-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: rgba(15, 15, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: #e4e4e7;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 14px;
    letter-spacing: 0.2px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    z-index: 1;
}

.future-input::placeholder {
    color: #3f3f50;
}

.future-input:focus {
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(20, 20, 35, 0.9);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.08), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.future-input:focus ~ .future-input-glow {
    opacity: 1;
}

.future-input-wrapper:focus-within .future-input-icon {
    color: #a855f7;
}

.future-input-glow {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a855f7, #06b6d4, #a855f7, transparent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(1px);
    z-index: 3;
}

.future-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.future-select option {
    background: #14141e;
    color: #e4e4e7;
}

.future-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.7;
}

.future-submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #6c3ce0 0%, #a855f7 50%, #6366f1 100%);
    background-size: 200% 200%;
    animation: futureGradientShift 4s ease infinite;
    color: #fff;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

@keyframes futureGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.future-submit:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(168, 85, 247, 0.3),
        0 0 60px rgba(99, 102, 241, 0.1);
}

.future-submit:active {
    transform: translateY(0);
}

.future-submit-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.future-submit:hover .future-submit-icon {
    transform: translate(3px, -3px);
}

.future-submit-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.future-submit.ripple .future-submit-ripple {
    animation: futureRipple 0.6s ease-out;
}

@keyframes futureRipple {
    to { width: 600px; height: 600px; opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .future-form-section {
        padding: 60px 20px;
    }

    .future-form-title {
        font-size: 28px;
    }

    .future-form-row {
        flex-direction: column;
        gap: 22px;
    }

    .future-form-header {
        margin-bottom: 36px;
    }
}

@media (max-width: 480px) {
    .future-form-section {
        padding: 45px 15px;
    }

    .future-form-title {
        font-size: 24px;
    }

    .future-form-subtitle {
        font-size: 14px;
    }

    .future-input {
        padding: 12px 14px 12px 42px;
        font-size: 13px;
    }

    .future-submit {
        padding: 14px 24px;
        font-size: 14px;
    }

    .future-form-badge {
        font-size: 10px;
        padding: 5px 16px;
    }
}

/* ============================
   Floating Side Buttons
   ============================ */
.side-buttons {
    position: fixed;
    right: 20px;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 999;
}

.side-btn {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    border: none;
    overflow: hidden;
    transition:
        width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        border-radius 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.5s ease,
        border-color 0.5s ease,
        box-shadow 0.5s ease,
        transform 0.25s ease;
}

.side-btn:hover {
    transform: scale(1.08);
}

/* === DOS State (default) === */
.side-btn-whatsapp {
    background: #0a0a0a;
    border: 2px solid #00ff41;
    color: #00ff41;
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.2), inset 0 0 12px rgba(0, 0, 0, 0.5);
}

.side-btn-ai {
    background: #0a0a0a;
    border: 2px solid #00ff41;
    color: #00ff41;
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.2), inset 0 0 12px rgba(0, 0, 0, 0.5);
}

.side-btn-dos-label {
    position: absolute;
    font-family: 'VT323', monospace;
    font-size: 16px;
    color: #00ff41;
    text-shadow: 0 0 4px rgba(0, 255, 65, 0.4);
    letter-spacing: 1px;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.side-btn-icon {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* === Modern State (scrolled) === */
.side-btn.modern {
    border-radius: 50%;
    border: none;
    width: 54px;
    height: 54px;
}

.side-btn.modern .side-btn-dos-label {
    opacity: 0;
}

.side-btn.modern .side-btn-icon {
    opacity: 1;
}

.side-btn-whatsapp.modern {
    background: #25d366;
    color: #fff;
    box-shadow:
        0 4px 16px rgba(37, 211, 102, 0.35),
        0 0 30px rgba(37, 211, 102, 0.1);
}

.side-btn-ai.modern {
    background: linear-gradient(135deg, #6c3ce0, #a855f7);
    color: #fff;
    box-shadow:
        0 4px 16px rgba(168, 85, 247, 0.35),
        0 0 30px rgba(108, 60, 224, 0.1);
}

.side-btn-whatsapp.modern:hover {
    box-shadow:
        0 6px 24px rgba(37, 211, 102, 0.5),
        0 0 40px rgba(37, 211, 102, 0.15);
}

.side-btn-ai.modern:hover {
    box-shadow:
        0 6px 24px rgba(168, 85, 247, 0.5),
        0 0 40px rgba(108, 60, 224, 0.15);
}

/* Pulse ring on modern */
.side-btn.modern::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: sideBtnPulse 2.5s ease-out infinite;
}

@keyframes sideBtnPulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .side-buttons {
        right: 14px;
        bottom: 20px;
        gap: 12px;
    }

    .side-btn {
        width: 46px;
        height: 46px;
    }

    .side-btn.modern {
        width: 48px;
        height: 48px;
    }

    .side-btn-dos-label {
        font-size: 14px;
    }

    .side-btn-icon {
        width: 19px;
        height: 19px;
    }
}

@media (max-width: 480px) {
    .side-buttons {
        right: 10px;
        bottom: 16px;
        gap: 10px;
    }

    .side-btn {
        width: 42px;
        height: 42px;
    }

    .side-btn.modern {
        width: 44px;
        height: 44px;
    }

    .side-btn-dos-label {
        font-size: 13px;
    }
}

/* ============================
   DOS Footer
   ============================ */
.dos-footer {
    background: #0c0c0c;
    border-top: 2px solid #00ff41;
    position: relative;
    overflow: visible;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.15), inset 0 0 60px rgba(0, 0, 0, 0.5);
    padding: 0;
}

.dos-footer .dos-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 10;
}

.dos-footer-border {
    color: #00ff41;
    font-size: 14px;
    padding: 10px 20px 4px 20px;
    letter-spacing: 0;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.4);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 6;
}

.dos-footer-nav {
    padding: 10px 20px;
    position: relative;
    z-index: 6;
}

.dos-footer-menu {
    list-style: none;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.dos-footer-item {
    position: relative;
}

.dos-footer-link {
    display: block;
    padding: 6px 12px;
    color: #00ff41;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    transition: all 0.15s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.dos-footer-link:hover {
    color: #0c0c0c;
    background: #00ff41;
    text-shadow: none;
    border-color: #00ff41;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.dos-footer-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 15px 20px;
    position: relative;
    z-index: 6;
    flex-wrap: wrap;
}

.dos-footer-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dos-footer-label {
    color: #00ff41;
    font-size: 16px;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
    margin-bottom: 4px;
}

.dos-footer-text {
    color: #00cc33;
    font-size: 15px;
    text-decoration: none;
    text-shadow: 0 0 4px rgba(0, 255, 65, 0.3);
    transition: all 0.15s ease;
    letter-spacing: 1px;
}

a.dos-footer-text:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.dos-footer-bottom {
    padding: 10px 20px 12px 20px;
    text-align: center;
    position: relative;
    z-index: 6;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
}

.dos-footer-prompt {
    color: #00cc33;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    font-size: 15px;
}

.dos-footer-copy {
    color: #00ff41;
    font-size: 15px;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.4);
    letter-spacing: 1px;
}

/* ============================
   Hamburger Button (Mobile)
   ============================ */
.dos-hamburger {
    display: none;
    background: none;
    border: 1px solid #00ff41;
    padding: 8px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 38px;
    position: relative;
    z-index: 110;
    transition: all 0.3s ease;
}

.dos-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #00ff41;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.dos-hamburger:hover {
    box-shadow: 0 0 12px rgba(0, 255, 65, 0.5);
}

/* Hamburger -> X animation */
.dos-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.dos-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.dos-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================
   Responsive - Tablet (768px)
   ============================ */
@media (max-width: 768px) {
    .dos-hamburger {
        display: flex;
        position: fixed;
        top: 12px;
        left: 20px;
        z-index: 200;
    }

    .dos-nav {
        display: flex;
        align-items: center;
        padding: 8px 20px;
    }

    .dos-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: #0c0c0c;
        border-right: 2px solid #00ff41;
        padding: 70px 0 20px 0;
        gap: 0;
        transition: left 0.4s ease;
        overflow-y: auto;
        box-shadow: 5px 0 25px rgba(0, 255, 65, 0.15);
        z-index: 150;
    }

    .dos-menu.open {
        left: 0;
    }

    .dos-menu-item {
        width: 100%;
        animation: none;
        opacity: 0;
    }

    .dos-menu.open .dos-menu-item {
        animation: typeSlide 0.4s ease forwards;
    }

    .dos-link {
        padding: 12px 20px;
        font-size: 16px;
        border-bottom: 1px solid rgba(0, 255, 65, 0.15);
    }

    /* Submenu - mobile: click to open */
    .dos-submenu {
        position: static;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.3s ease;
        border: none;
        border-left: 2px solid #00ff41;
        margin-left: 20px;
        min-width: auto;
        box-shadow: none;
        padding: 0;
    }

    .dos-menu-item:hover > .dos-submenu {
        max-height: 0;
    }

    .dos-menu-item.submenu-open > .dos-submenu {
        max-height: 500px;
        padding: 5px 0;
    }

    .dos-submenu li a {
        padding: 10px 16px;
        font-size: 15px;
    }

    /* Top bar responsive */
    .dos-top-bar {
        font-size: 15px;
        padding: 10px 15px 6px 15px;
        text-align: center;
    }

    .dos-bottom-border {
        font-size: 10px;
        padding: 4px 15px 8px 15px;
    }

    /* Mobile overlay when menu is open */
    .dos-menu.open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 280px;
        width: calc(100vw - 280px);
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: 99;
    }

    /* Footer responsive */
    .dos-footer-info {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .dos-footer-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 3px;
    }

    .dos-footer-link {
        font-size: 13px;
        padding: 5px 8px;
    }

    .dos-footer-border {
        font-size: 10px;
        padding: 8px 15px 3px 15px;
    }

    .dos-footer-bottom {
        font-size: 13px;
    }

    .dos-footer-prompt,
    .dos-footer-copy {
        font-size: 13px;
    }
}

/* ============================
   Responsive - Small Phone (480px)
   ============================ */
@media (max-width: 480px) {
    .dos-menu {
        width: 240px;
    }

    .dos-top-bar {
        font-size: 13px;
        padding: 8px 12px 5px 12px;
        letter-spacing: 1px;
    }

    .dos-link {
        font-size: 14px;
        padding: 10px 15px;
        letter-spacing: 1px;
    }

    .dos-submenu li a {
        font-size: 13px;
        padding: 8px 12px;
    }

    .dos-bottom-border {
        font-size: 8px;
        padding: 3px 10px 6px 10px;
    }

    .dos-nav {
        padding: 8px 12px;
    }

    .dos-menu.open::before {
        left: 240px;
        width: calc(100vw - 240px);
    }

    /* Footer small phone */
    .dos-footer-link {
        font-size: 11px;
        padding: 4px 6px;
        letter-spacing: 0.5px;
    }

    .dos-footer-label {
        font-size: 14px;
    }

    .dos-footer-text {
        font-size: 13px;
    }

    .dos-footer-border {
        font-size: 8px;
    }

    .dos-footer-prompt,
    .dos-footer-copy {
        font-size: 11px;
    }
}
