/* ==========================================================================
   kX 3552 Driver Website - Custom Style Sheet (Vanilla CSS)
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --bg-primary: #07090e;
    --bg-secondary: #0c101b;
    --bg-glass: rgba(12, 16, 27, 0.75);
    --bg-glass-card: rgba(20, 26, 43, 0.6);
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glass-glow: rgba(0, 242, 254, 0.35);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-violet: #8b5cf6;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    --gradient-purple: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-blue) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    
    --shadow-neon: 0 0 25px rgba(0, 242, 254, 0.25);
    --shadow-neon-strong: 0 0 35px rgba(0, 242, 254, 0.45);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    
    --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Orbitron', 'Inter', sans-serif;
    --font-code: 'Consolas', 'Courier New', monospace;
    
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-lg: 16px;
    --border-radius-md: 10px;
    --border-radius-sm: 6px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: var(--gradient-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

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

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

.flex-justify-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #020617;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon-strong);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-glow:hover {
    box-shadow: var(--shadow-neon);
}

.btn-nav {
    padding: 8px 18px;
    font-size: 0.85rem;
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.btn-nav:hover {
    background: var(--gradient-primary);
    color: #020617;
    border-color: transparent;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
}

/* Section Header Layout */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Header Navigation Bar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    height: 70px;
    background-color: rgba(6, 9, 14, 0.9);
    border-bottom-color: rgba(0, 242, 254, 0.15);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 12s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% { opacity: 0.8; transform: translateX(-50%) scale(1); }
    100% { opacity: 1.2; transform: translateX(-50%) scale(1.1); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-glass);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Hero Visual Panel Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.visual-panel {
    width: 100%;
    max-width: 420px;
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform 0.5s ease, border-color 0.5s ease;
}

.visual-panel:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-glow);
}

.panel-header {
    background: rgba(7, 9, 14, 0.8);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.panel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.panel-dot:nth-child(1) { background-color: #ef4444; }
.panel-dot:nth-child(2) { background-color: #f59e0b; }
.panel-dot:nth-child(3) { background-color: #10b981; }

.panel-title {
    margin-left: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-code);
    text-transform: uppercase;
}

.panel-body {
    padding: 24px;
}

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.status-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.status-icon {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.status-name {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.status-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.status-value.val-active {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.frequency-visualizer {
    height: 60px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-glass);
}

.frequency-visualizer .bar {
    flex: 1;
    height: 10%;
    background: var(--gradient-primary);
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    animation: visualizerBar 1.2s infinite alternate ease-in-out;
}

/* Varied animation delays to make visualizer look real */
.frequency-visualizer .bar:nth-child(1) { animation-delay: 0.1s; height: 30%; }
.frequency-visualizer .bar:nth-child(2) { animation-delay: 0.3s; height: 50%; }
.frequency-visualizer .bar:nth-child(3) { animation-delay: 0.2s; height: 75%; }
.frequency-visualizer .bar:nth-child(4) { animation-delay: 0.5s; height: 40%; }
.frequency-visualizer .bar:nth-child(5) { animation-delay: 0.4s; height: 90%; }
.frequency-visualizer .bar:nth-child(6) { animation-delay: 0.6s; height: 60%; }
.frequency-visualizer .bar:nth-child(7) { animation-delay: 0.25s; height: 35%; }
.frequency-visualizer .bar:nth-child(8) { animation-delay: 0.35s; height: 80%; }
.frequency-visualizer .bar:nth-child(9) { animation-delay: 0.15s; height: 55%; }
.frequency-visualizer .bar:nth-child(10) { animation-delay: 0.45s; height: 70%; }
.frequency-visualizer .bar:nth-child(11) { animation-delay: 0.55s; height: 45%; }
.frequency-visualizer .bar:nth-child(12) { animation-delay: 0.3s; height: 85%; }
.frequency-visualizer .bar:nth-child(13) { animation-delay: 0.2s; height: 50%; }
.frequency-visualizer .bar:nth-child(14) { animation-delay: 0.65s; height: 30%; }
.frequency-visualizer .bar:nth-child(15) { animation-delay: 0.1s; height: 20%; }

@keyframes visualizerBar {
    0% { height: 15%; }
    50% { height: 80%; }
    100% { height: 35%; }
}

/* DSP Simulator Section styling */
.dsp-section {
    padding: 80px 0;
    background: rgba(12, 16, 27, 0.4);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.dsp-workspace-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    margin-top: 40px;
}

.dsp-sidebar {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.dsp-sidebar h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-glass);
}

.preset-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preset-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.preset-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.preset-item.active {
    background: rgba(0, 242, 254, 0.06);
    border-color: var(--border-glass-glow);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.preset-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.preset-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.preset-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.dsp-board {
    position: relative;
    background: #03060c;
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 32px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    box-shadow: var(--shadow-card);
    min-height: 480px;
}

.dsp-cables {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cable-line {
    fill: none;
    stroke: var(--text-muted);
    stroke-width: 2.5;
    opacity: 0.25;
    transition: stroke 0.4s ease, opacity 0.4s ease, stroke-dashoffset 0.4s ease;
}

.cable-line.active {
    stroke: var(--accent-cyan);
    opacity: 0.85;
    stroke-width: 3;
    stroke-dasharray: 8, 8;
    animation: signalFlow 20s infinite linear;
    filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.6));
}

.cable-line.active-purple {
    stroke: var(--accent-violet);
    opacity: 0.85;
    stroke-width: 3;
    stroke-dasharray: 8, 8;
    animation: signalFlow 20s infinite linear;
    filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.6));
}

@keyframes signalFlow {
    to {
        stroke-dashoffset: -1000;
    }
}

.dsp-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.dsp-node-header {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
}

.dsp-node {
    position: relative;
    background: #0b0f1a;
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    cursor: default;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dsp-node.highlighted {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
    background: rgba(0, 242, 254, 0.03);
}

.dsp-node.highlighted-purple {
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
    background: rgba(139, 92, 246, 0.03);
}

.dsp-node.active-effect {
    border-color: rgba(255, 255, 255, 0.12);
}

.node-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.node-subtitle {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-family: var(--font-code);
}

/* Ports on nodes */
.node-port {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #1e293b;
    border: 2px solid var(--text-muted);
    transition: all 0.3s ease;
}

.node-port.port-out {
    right: -5px;
}

.node-port.port-in {
    left: -5px;
}

.dsp-node.highlighted .node-port {
    background-color: var(--bg-primary);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.dsp-node.highlighted-purple .node-port {
    background-color: var(--bg-primary);
    border-color: var(--accent-purple);
    box-shadow: 0 0 8px var(--accent-purple);
}

/* Features Section styling */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.feature-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glass-glow);
    box-shadow: var(--shadow-card);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact & Support Section styling */
.contact-section {
    padding: 80px 0;
    background: rgba(12, 16, 27, 0.3);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(4px);
    border-color: var(--border-glass-glow);
}

.info-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.info-detail {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.info-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.contact-qr-panel {
    display: flex;
    justify-content: center;
}

.qr-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    width: 100%;
}

.qr-wrapper {
    background: #06090f;
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-bottom: 20px;
    display: inline-block;
}

.qr-wrapper img {
    max-width: 100%;
    width: 260px;
    height: 260px;
    display: block;
    border-radius: var(--border-radius-sm);
}

.qr-caption {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Footer Section styling */
.site-footer {
    background-color: #030509;
    border-top: 1px solid var(--border-glass);
    padding-top: 60px;
    margin-top: auto;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-info {
    max-width: 480px;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    background: #020306;
    padding: 24px 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.02);
}

/* Scrollbar customizations */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.3);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding-top: 20px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .dsp-workspace-container {
        grid-template-columns: 1fr;
    }
    
    .downloads-wrapper {
        grid-template-columns: 1fr;
    }
    
    .guide-panel-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .guide-graphic {
        order: -1; /* Place graphics on top on mobile */
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 70px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(7, 9, 14, 0.96);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        padding: 40px;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        z-index: 999;
    }
    
    .nav-links.mobile-active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .btn-nav {
        display: none; /* Hide header download button on small screens to save space */
    }
    
    .dsp-board {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px;
    }
    
    /* Disable interactive lines on mobile as nodes stack vertically */
    .dsp-cables {
        display: none;
    }
    
    .node-port {
        display: none;
    }
    
    .guide-tabs {
        flex-direction: column;
        border-radius: var(--border-radius-md);
        padding: 4px;
    }
    
    .guide-tab-btn {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .guide-content-wrapper {
        padding: 20px;
    }
}

/* ==========================================================================
   6. Payment Modal & Checkout Styling
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 5, 9, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.payment-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 36px 32px;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: scale(0.92);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .payment-card {
    transform: scale(1);
    border-color: var(--border-glass-glow);
    box-shadow: 0 15px 40px -10px rgba(0, 242, 254, 0.15), var(--shadow-card);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

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

.payment-header {
    text-align: center;
    margin-bottom: 24px;
}

.payment-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.payment-price {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.payment-price span {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-left: 4px;
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.payment-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.payment-channels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.channel-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.channel-btn:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.channel-btn.active {
    background: rgba(0, 242, 254, 0.06);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.channel-icon {
    font-size: 1.6rem;
}

.payment-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.payment-qr-wrapper {
    width: 190px;
    height: 190px;
    padding: 10px;
    background: #06090f;
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-qr-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
}

.payment-qr-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 9, 15, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 242, 254, 0.1);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.qr-status {
    font-size: 0.85rem;
    margin-top: 14px;
    color: var(--text-secondary);
    text-align: center;
}

.payment-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
    margin: 8px 0;
}

.payment-success-icon {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 12px;
    animation: bounce 0.8s infinite alternate ease-in-out;
}

@keyframes bounce {
    to { transform: translateY(-8px); }
}

.payment-step h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.success-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
}

.recent-order-item:hover {
    background: rgba(0, 242, 254, 0.08) !important;
    border-color: var(--border-glass-glow) !important;
    transform: translateX(4px);
}

