/* ========================================
   AZ ACADEMY - PREMIUM DESIGN SYSTEM
   ======================================== */

/* === CSS Variables === */
:root {
    /* Primary Colors */
    --primary-color: #1542E8;
    --primary-dark: #0B2BD1;
    --primary-light: #4C73FF;
    
    /* Accent Colors */
    --accent-color: #1F63FF;
    --accent-gradient: linear-gradient(135deg, #0B2BD1 0%, #1F63FF 100%);
    --btn-blue: linear-gradient(135deg, #0B2BD1 0%, #1F63FF 100%);
    --btn-blue-hover: linear-gradient(135deg, #1542E8 0%, #2C7EFF 100%);
    --btn-blue-border: rgba(102, 228, 255, 0.42);
    --btn-blue-shadow: 0 10px 24px rgba(18, 62, 210, 0.34);
    --btn-blue-shadow-hover: 0 14px 28px rgba(30, 90, 255, 0.4);
    
    /* Neutral Colors */
    --dark: #05070D;
    --dark-blue: #0B1020;
    --dark-gray: #1E2740;
    --gray: #5E6A86;
    --light-gray: #A8B2CF;
    --white: #F7FAFF;
    
    /* Semantic Colors */
    --success: #1F63FF;
    --warning: #3B82F6;
    --error: #1542E8;
    --info: #5A86FF;
    
    /* Typography */
    --font-primary: 'Host Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'KORDHER', 'Host Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.24);
    
    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --bg-reveal: 0;
    --hud-border: rgba(90, 134, 255, 0.32);
    --hud-glow: rgba(31, 99, 255, 0.28);
    --neon-cyan: #66E4FF;
}

/* === Font Face - Local Kopdher === */
@font-face {
    font-family: 'Kopdher-Local';
    src: url('../Recursos/Kopdher.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* === Global Resets === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: #F7FAFF;
    background: #03050B;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 50% at 18% 8%, rgba(31, 99, 255, 0.26) 0%, transparent 62%),
        radial-gradient(ellipse 64% 44% at 85% 0%, rgba(76, 115, 255, 0.18) 0%, transparent 58%),
        radial-gradient(ellipse 110% 70% at 50% 100%, rgba(11, 43, 209, 0.20) 0%, transparent 54%);
    pointer-events: none;
    animation: bgShift 14s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle, rgba(31, 99, 255, 0.18) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(ellipse 95% 90% at 50% 40%, black 26%, transparent 78%);
    pointer-events: none;
    animation: gridPulse 7s ease-in-out infinite;
}

body.loaded::after {
    animation: gridPulse 7s ease-in-out infinite, noiseDrift 18s linear infinite;
}

@keyframes noiseDrift {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-12px, 18px, 0); }
}

@keyframes bgShift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        filter: saturate(1);
    }
    100% {
        transform: translate3d(0, -2.5%, 0) scale(1.06);
        filter: saturate(1.08);
    }
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.52; }
    50% { opacity: 0.78; }
}

#video-zone {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    clip-path: inset(calc((1 - var(--bg-reveal)) * 40vh) 0 0 0);
    transition: clip-path 0.2s linear;
    mask-image: radial-gradient(circle at 50% 2%, black calc(18% + (var(--bg-reveal) * 58%)), transparent calc(44% + (var(--bg-reveal) * 58%)));
}

#video-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(3, 5, 11, 0.52) 0%, rgba(3, 5, 11, 0.28) 36%, rgba(3, 5, 11, 0.58) 100%);
    z-index: 2;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.88;
    filter: saturate(1.14) contrast(1.16) brightness(0.74);
}

section,
footer,
.container {
    position: relative;
    z-index: 4;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: #2D6BFF;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    color: #FFFFFF;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Container === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* === Gradient Text === */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Buttons === */
.btn-primary,
.btn-secondary,
.btn-hero-primary,
.btn-hero-secondary,
.btn-whatsapp,
.btn-service,
.btn-submit,
.btn-urgent {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    white-space: nowrap;
}

.btn-primary,
.btn-hero-primary {
    background: var(--btn-blue);
    color: var(--white);
    border: 1px solid var(--btn-blue-border);
    box-shadow: var(--btn-blue-shadow);
}

.btn-primary:hover,
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary,
.btn-hero-secondary {
    background: var(--btn-blue);
    color: var(--white);
    border: 1px solid var(--btn-blue-border);
    box-shadow: var(--btn-blue-shadow);
}

.btn-secondary:hover,
.btn-hero-secondary:hover {
    background: var(--btn-blue-hover);
    box-shadow: var(--btn-blue-shadow-hover);
}

.btn-whatsapp {
    background: var(--btn-blue);
    color: var(--white);
    border: 1px solid var(--btn-blue-border);
    box-shadow: var(--btn-blue-shadow);
}

.btn-whatsapp:hover {
    background: var(--btn-blue-hover);
    transform: scale(1.05);
}

.btn-service {
    width: 100%;
    justify-content: center;
    background: var(--btn-blue);
    border: 1px solid var(--btn-blue-border);
    box-shadow: var(--btn-blue-shadow);
    color: var(--white);
}

.btn-service:hover {
    background: var(--btn-blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--btn-blue-shadow-hover);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    background: var(--btn-blue);
    border: 1px solid var(--btn-blue-border);
    color: var(--white);
    padding: 1.25rem 2rem;
    box-shadow: var(--btn-blue-shadow);
}

.btn-submit:hover {
    background: var(--btn-blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--btn-blue-shadow-hover);
}

.btn-urgent {
    background: var(--btn-blue);
    border: 1px solid var(--btn-blue-border);
    box-shadow: var(--btn-blue-shadow);
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes mobileCtaGlow {
    0%, 100% {
        filter: brightness(1) saturate(1);
    }
    50% {
        filter: brightness(1.08) saturate(1.04);
    }
}

@keyframes mobileBlueBreathe {
    0%, 100% {
        box-shadow: 0 10px 24px rgba(19, 71, 255, 0.28);
    }
    50% {
        box-shadow: 0 14px 34px rgba(102, 228, 255, 0.32);
    }
}

@keyframes mobileBlueSweep {
    0% {
        transform: translateX(-135%);
        opacity: 0;
    }
    20% {
        opacity: 0.34;
    }
    100% {
        transform: translateX(145%);
        opacity: 0;
    }
}

@keyframes mobileWhatsappPulse {
    0%, 100% {
        box-shadow: 0 8px 22px rgba(31, 99, 255, 0.28);
        filter: saturate(1);
    }
    50% {
        box-shadow: 0 12px 32px rgba(102, 228, 255, 0.34);
        filter: saturate(1.07) brightness(1.05);
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .btn-secondary,
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-whatsapp,
    .btn-submit,
    .btn-urgent {
        -webkit-tap-highlight-color: transparent;
        transition: transform 180ms ease, box-shadow 220ms ease, filter 220ms ease;
        will-change: transform, box-shadow, filter;
        animation: mobileCtaGlow 2.8s ease-in-out infinite;
    }

    .btn-primary,
    .btn-hero-primary,
    .btn-submit {
        position: relative;
        overflow: hidden;
        animation: mobileBlueBreathe 2.4s ease-in-out infinite;
    }

    .btn-primary::after,
    .btn-hero-primary::after,
    .btn-submit::after {
        content: '';
        position: absolute;
        top: -35%;
        left: 0;
        width: 42%;
        height: 170%;
        background: linear-gradient(100deg, transparent 0%, rgba(186, 245, 255, 0.38) 52%, transparent 100%);
        transform: translateX(-135%);
        animation: mobileBlueSweep 2.6s ease-in-out infinite;
        pointer-events: none;
    }

    .btn-whatsapp {
        animation: mobileWhatsappPulse 1.9s ease-in-out infinite;
    }

    .btn-primary:active,
    .btn-secondary:active,
    .btn-hero-primary:active,
    .btn-hero-secondary:active,
    .btn-whatsapp:active,
    .btn-submit:active,
    .btn-urgent:active {
        transform: translateY(1px) scale(0.97);
        filter: brightness(1.18) saturate(1.12);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(115deg, rgba(5, 7, 13, 0.96) 0%, rgba(11, 16, 32, 0.96) 38%, rgba(11, 43, 209, 0.92) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(76, 115, 255, 0.35);
    box-shadow: 0 8px 32px rgba(2, 4, 12, 0.5);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: linear-gradient(115deg, rgba(5, 7, 13, 0.98) 0%, rgba(11, 16, 32, 0.98) 38%, rgba(11, 43, 209, 0.95) 100%);
    border-bottom: 1px solid rgba(76, 115, 255, 0.42);
    box-shadow: 0 12px 36px rgba(2, 4, 12, 0.58);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    gap: var(--spacing-md);
}

.nav-system-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(102, 228, 255, 0.42);
    border-radius: 999px;
    background: rgba(5, 15, 34, 0.72);
    color: #D3EDFF;
    font-size: 0.74rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 0 18px rgba(102, 228, 255, 0.18);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(102, 228, 255, 0.95);
    animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.35); opacity: 1; }
}

.logo-horizontal {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.logo-mark {
    width: 40px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(31, 99, 255, 0.45));
}

.logo-wordmark {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 900;
    color: #F7FAFF;
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: var(--transition-base);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 900;
    color: #F7FAFF;
    letter-spacing: -0.5px;
}

.logo a:hover .logo-wordmark {
    opacity: 0.8;
}

.logo-wordmark .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: 500;
    color: rgba(247, 250, 255, 0.84);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: #F7FAFF;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #F7FAFF;
    font-weight: 700;
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: var(--spacing-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #F7FAFF;
    border-radius: 3px;
    transition: var(--transition-base);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.orbital-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(102, 228, 255, 0.22);
    box-shadow: 0 0 40px rgba(31, 99, 255, 0.18) inset;
    pointer-events: none;
}

.ring-1 {
    width: 520px;
    height: 520px;
    right: -120px;
    top: -140px;
    animation: spinSlow 26s linear infinite;
}

.ring-2 {
    width: 320px;
    height: 320px;
    left: -70px;
    top: 90px;
    animation: spinReverse 20s linear infinite;
}

.scan-beam {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(102, 228, 255, 0.08) 50%, transparent 62%);
    mix-blend-mode: screen;
    animation: beamSweep 5s ease-in-out infinite;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spinReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes beamSweep {
    0% { transform: translateX(-35%); opacity: 0; }
    20% { opacity: 1; }
    50% { transform: translateX(18%); opacity: 0.72; }
    100% { transform: translateX(36%); opacity: 0; }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(11, 43, 209, 0.06) 0%, 
        rgba(31, 99, 255, 0.05) 100%);
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(21, 66, 232, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 66, 232, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

#particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.62;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hud-panel {
    position: relative;
    overflow: hidden;
}

.hud-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(90, 134, 255, 0.9) 50%, transparent 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(25, 70, 200, 0.38) 0%, rgba(22, 58, 170, 0.28) 100%);
    border: 1px solid rgba(102, 228, 255, 0.32);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    font-family: 'Kopdher-Local', 'KORDHER', var(--font-display);
    color: #66E4FF;
    text-shadow: 0 0 18px rgba(102, 228, 255, 0.42);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.stat-item {
    padding: var(--spacing-md);
    background: linear-gradient(160deg, rgba(12, 32, 92, 0.8) 0%, rgba(8, 25, 70, 0.7) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(102, 228, 255, 0.28);
    box-shadow: 0 12px 32px rgba(11, 43, 209, 0.22), 0 0 0 1px rgba(31, 99, 255, 0.18) inset;
    transition: var(--transition-base);
}

.hero .stat-item {
    backdrop-filter: blur(8px);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-number.animated {
    animation: countUp 2s ease-out forwards;
    opacity: 0;
}

@keyframes countUp {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stat-label {
    font-size: 0.9rem;
    color: #FFFFFF;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--gray);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gray);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.5; top: 20px; }
}

/* ========================================
   SECTION STYLING
   ======================================== */
section {
    padding: var(--spacing-3xl) 0;
}

section.scan-transition {
    overflow: hidden;
}

section.scan-transition::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -42%;
    width: 28%;
    background: linear-gradient(110deg, rgba(102, 228, 255, 0) 0%, rgba(102, 228, 255, 0.2) 45%, rgba(102, 228, 255, 0.04) 100%);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}

section.scan-transition.scan-active::after {
    animation: sectionSweep 980ms ease-out 1;
}

@keyframes sectionSweep {
    0% {
        opacity: 0;
        transform: translateX(0);
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(560%);
    }
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(21, 66, 232, 0.12) 0%, rgba(76, 115, 255, 0.12) 100%);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.section-title {
    margin-bottom: var(--spacing-md);
    font-family: 'Kopdher-Local', 'KORDHER', var(--font-display);
    color: #66E4FF;
    text-shadow: 0 0 14px rgba(102, 228, 255, 0.34);
    font-size: clamp(1.8rem, 3.7vw, 2.7rem);
    line-height: 1.2;
    max-width: 23ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.about .section-title,
.operational-flow .section-title,
.signal-wall .section-title,
.services .section-title,
.opportunity-window .section-title,
.contact .section-title {
    color: #66E4FF;
    font-size: clamp(1.55rem, 3.3vw, 2.35rem);
    line-height: 1.16;
    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.hero-title .gradient-text,
.section-title .gradient-text {
    background: none;
    -webkit-text-fill-color: #66E4FF;
    color: #66E4FF;
}

.fixed-two-line {
    color: #66E4FF !important;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    line-height: 1.14;
    max-width: none;
    text-wrap: initial;
}

.fixed-two-line .title-line {
    display: block;
    white-space: nowrap;
}

.about .section-title.fixed-two-line {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.about .section-title.fixed-two-line .title-line {
    text-align: center;
}

.fixed-hero-two-line {
    color: #66E4FF !important;
    font-size: clamp(1.55rem, 3.6vw, 2.65rem);
    line-height: 1.12;
    text-align: center;
    max-width: 24ch;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 14px rgba(102, 228, 255, 0.34);
}

.fixed-hero-two-line .title-line {
    display: block;
    white-space: nowrap;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #FFFFFF;
    line-height: 1.7;
}

.section-badge {
    border: 1px solid rgba(102, 228, 255, 0.28);
    box-shadow: 0 0 16px rgba(102, 228, 255, 0.14);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: linear-gradient(180deg, rgba(14, 39, 118, 0.22) 0%, rgba(11, 31, 94, 0.14) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.command-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
    align-items: stretch;
}

.about-card {
    padding: var(--spacing-xl);
    background: linear-gradient(155deg, rgba(18, 48, 146, 0.46) 0%, rgba(16, 38, 118, 0.36) 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    text-align: center;
    border: 1px solid rgba(76, 115, 255, 0.34);
    box-shadow: 0 12px 36px rgba(11, 43, 209, 0.18), 0 0 0 1px rgba(31, 99, 255, 0.18) inset;
}

.command-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    --mx: 50%;
    --my: 35%;
}

.command-grid .command-card {
    text-align: center;
    align-items: center;
    min-height: 0;
    height: 100%;
    padding: 1.35rem;
}

.command-grid .command-icon {
    margin: 0 auto var(--spacing-lg);
}

.command-grid .command-card p {
    max-width: 38ch;
    margin-left: auto;
    margin-right: auto;
}

.command-card::before {
    content: '';
    position: absolute;
    inset: -30% -10%;
    background: radial-gradient(circle at var(--mx) var(--my), rgba(102, 228, 255, 0.22) 0%, rgba(76, 115, 255, 0.12) 26%, rgba(12, 22, 52, 0) 62%);
    opacity: 0;
    transition: opacity 260ms ease;
    pointer-events: none;
    z-index: 0;
}

.command-card > * {
    position: relative;
    z-index: 1;
}

.command-card:hover::before {
    opacity: 1;
}

.command-card::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4C73FF;
    box-shadow: 0 0 12px rgba(76, 115, 255, 0.9);
}

.command-card.is-synced::after {
    animation: pulseDot 1.1s ease-in-out 2;
}

.command-meta {
    margin-top: auto;
    font-size: 0.9rem;
    color: #C9D6FF;
    border-top: 1px solid rgba(76, 115, 255, 0.25);
    padding-top: var(--spacing-sm);
    letter-spacing: 0.2px;
}

.command-meta span {
    color: #7DA0FF;
    font-weight: 700;
    margin-right: 0.45rem;
}

/* ========================================
   OPERATIONAL FLOW
   ======================================== */
.operational-flow {
    background: linear-gradient(180deg, rgba(16, 44, 132, 0.26) 0%, rgba(12, 35, 108, 0.16) 100%);
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: var(--spacing-lg);
}

.flow-step {
    background: linear-gradient(162deg, rgba(18, 50, 148, 0.46) 0%, rgba(14, 39, 122, 0.36) 100%);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 28px rgba(6, 16, 45, 0.5);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.flow-visual {
    position: relative;
    width: 78px;
    height: 78px;
    margin-inline: auto;
    margin-bottom: var(--spacing-md);
}

.flow-ring {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    border: 1px solid rgba(102, 228, 255, 0.5);
    box-shadow: 0 0 18px rgba(102, 228, 255, 0.22);
    animation: flowRingSpin 12s linear infinite;
}

.flow-ring.ring-b {
    inset: 7px;
    border-radius: 16px;
    border-color: rgba(125, 160, 255, 0.62);
    animation-direction: reverse;
    animation-duration: 8s;
}

.flow-core {
    position: absolute;
    inset: 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(20, 56, 167, 0.76) 0%, rgba(16, 45, 136, 0.62) 100%);
    border: 1px solid rgba(102, 228, 255, 0.3);
    box-shadow: inset 0 0 0 1px rgba(153, 189, 255, 0.18), 0 0 18px rgba(31, 99, 255, 0.3);
}

.flow-core i {
    font-size: 1.35rem;
    color: #A9DEFF;
    text-shadow: 0 0 10px rgba(102, 228, 255, 0.35);
    animation: flowIconFloat 2.8s ease-in-out infinite;
}

.flow-step:nth-child(1) .flow-core i { animation-delay: 0s; }
.flow-step:nth-child(2) .flow-core i { animation-delay: 0.18s; }
.flow-step:nth-child(3) .flow-core i { animation-delay: 0.36s; }
.flow-step:nth-child(4) .flow-core i { animation-delay: 0.54s; }

.flow-step:hover .flow-ring {
    border-color: rgba(102, 228, 255, 0.82);
    box-shadow: 0 0 24px rgba(102, 228, 255, 0.34);
}

.flow-step:hover .flow-core {
    box-shadow: inset 0 0 0 1px rgba(168, 205, 255, 0.26), 0 0 26px rgba(102, 228, 255, 0.38);
}

@keyframes flowRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes flowIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.flow-step::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(76, 115, 255, 0) 0%, #66E4FF 50%, rgba(76, 115, 255, 0) 100%);
    border-radius: 4px 4px 0 0;
}

.flow-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(12, 34, 94, 0.48), 0 0 16px var(--hud-glow);
}

.flow-index {
    margin-top: var(--spacing-sm);
    margin-bottom: 0.8rem;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #CDEBFF;
    border: 1px solid rgba(102, 228, 255, 0.45);
    background: rgba(16, 49, 146, 0.42);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
}

.flow-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.45rem;
}

.flow-step p {
    margin-bottom: 0.9rem;
    color: #E7EEFF;
}

.flow-stage {
    margin-bottom: 0.8rem;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: #9DDCFF;
}

.flow-points {
    margin: 0 0 var(--spacing-md);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.42rem;
}

.flow-points li {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: #EAF3FF;
    line-height: 1.35;
    text-align: left;
}

.flow-points i {
    color: #66E4FF;
    margin-top: 0.08rem;
}

.flow-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #F7FAFF;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--btn-blue-border);
    background: var(--btn-blue);
    box-shadow: var(--btn-blue-shadow);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.flow-link:hover {
    color: #F7FCFF;
    border-color: rgba(145, 226, 255, 0.88);
    background: var(--btn-blue-hover);
    box-shadow: var(--btn-blue-shadow-hover);
}

.flow-step:nth-child(1) .flow-link {
    background: var(--btn-blue);
    border-color: var(--btn-blue-border);
    box-shadow: var(--btn-blue-shadow);
}

.flow-step:nth-child(1) .flow-link:hover {
    background: var(--btn-blue-hover);
}

.flow-step:nth-child(2) .flow-link {
    background: var(--btn-blue);
    border-color: var(--btn-blue-border);
    box-shadow: var(--btn-blue-shadow);
}

.flow-step:nth-child(2) .flow-link:hover {
    background: var(--btn-blue-hover);
}

.flow-step:nth-child(3) .flow-link {
    background: var(--btn-blue);
    border-color: var(--btn-blue-border);
    box-shadow: var(--btn-blue-shadow);
}

.flow-step:nth-child(3) .flow-link:hover {
    background: var(--btn-blue-hover);
}

.flow-step:nth-child(4) .flow-link {
    background: var(--btn-blue);
    border-color: var(--btn-blue-border);
    box-shadow: var(--btn-blue-shadow);
}

.flow-step:nth-child(4) .flow-link:hover {
    background: var(--btn-blue-hover);
}

.flow-step.is-synced .flow-ring {
    border-color: rgba(102, 228, 255, 0.9);
    box-shadow: 0 0 28px rgba(102, 228, 255, 0.42);
}

.flow-step.is-synced .flow-core {
    box-shadow: inset 0 0 0 1px rgba(180, 215, 255, 0.34), 0 0 28px rgba(102, 228, 255, 0.4);
    animation: flowCorePulse 920ms ease-in-out 1;
}

@keyframes flowCorePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.07); }
    100% { transform: scale(1); }
}

/* ========================================
   SIGNAL WALL
   ======================================== */
.signal-wall {
    background: linear-gradient(180deg, rgba(12, 34, 106, 0.28) 0%, rgba(10, 29, 90, 0.18) 100%);
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: var(--spacing-lg);
}

.signal-card {
    padding: var(--spacing-lg);
    background: linear-gradient(155deg, rgba(17, 46, 138, 0.48) 0%, rgba(13, 37, 116, 0.38) 100%);
    border: 1px solid rgba(102, 228, 255, 0.24);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 30px rgba(9, 24, 64, 0.46), 0 0 24px rgba(102, 228, 255, 0.08);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.signal-visual {
    position: relative;
    width: 74px;
    height: 74px;
    margin: 0 auto var(--spacing-md);
}

.signal-ring {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    border: 1px solid rgba(102, 228, 255, 0.46);
    box-shadow: 0 0 16px rgba(102, 228, 255, 0.18);
    animation: signalSpin 12s linear infinite;
}

.signal-ring.ring-b {
    inset: 7px;
    border-radius: 16px;
    border-color: rgba(139, 178, 255, 0.6);
    animation-direction: reverse;
    animation-duration: 8s;
}

.signal-core {
    position: absolute;
    inset: 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(21, 58, 175, 0.74) 0%, rgba(16, 46, 140, 0.62) 100%);
    border: 1px solid rgba(102, 228, 255, 0.3);
    box-shadow: inset 0 0 0 1px rgba(163, 198, 255, 0.2), 0 0 16px rgba(31, 99, 255, 0.3);
}

.signal-core i {
    font-size: 1.2rem;
    color: #DCEEFF;
    text-shadow: 0 0 12px rgba(102, 228, 255, 0.32);
}

.signal-time .signal-core i { color: #9CD8FF; }
.signal-growth .signal-core i { color: #AFC6FF; }
.signal-capital .signal-core i { color: #B9D7FF; }

@keyframes signalSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.signal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(9, 24, 64, 0.62), 0 0 34px rgba(102, 228, 255, 0.2);
}

.signal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.signal-head h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.signal-tag {
    font-size: 0.72rem;
    padding: 0.25rem 0.55rem;
    border: 1px solid rgba(102, 228, 255, 0.55);
    border-radius: 999px;
    color: #D8F4FF;
    letter-spacing: 0.8px;
}

.signal-card p {
    margin-bottom: var(--spacing-md);
    color: #E8F0FF;
}

.signal-meter {
    height: 14px;
    border-radius: 999px;
    background: rgba(100, 137, 214, 0.2);
    border: 1px solid rgba(132, 177, 255, 0.32);
    position: relative;
    overflow: hidden;
}

.signal-meter::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    bottom: 1px;
    width: var(--meter);
    border-radius: 999px;
    background: linear-gradient(90deg, #2D6BFF 0%, #66E4FF 100%);
    box-shadow: 0 0 14px rgba(102, 228, 255, 0.5);
    animation: meterPulse 2.2s ease-in-out infinite;
}

.signal-meter span {
    position: absolute;
    right: 8px;
    top: -24px;
    color: #9FD8FF;
    font-size: 0.82rem;
    font-weight: 700;
}

.signal-card.live .signal-tag {
    border-color: rgba(102, 228, 255, 0.86);
    box-shadow: 0 0 16px rgba(102, 228, 255, 0.28);
}

@media (prefers-reduced-motion: reduce) {
    #particle-canvas,
    .scan-beam,
    .orbital-ring,
    section.scan-transition::after {
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .signal-meter::before,
    .membership-badge,
    .why-now-badge,
    .command-membership-grid::before {
        animation: none !important;
    }

    .signal-ring {
        animation: none !important;
    }

    .opportunity-ring,
    .opportunity-card.is-synced .opportunity-core {
        animation: none !important;
    }

    .icon-ring {
        animation: none !important;
    }

    .flow-ring,
    .flow-core i {
        animation: none !important;
    }

    .command-card::before,
    .command-card.is-synced .icon-core,
    .command-card.is-synced::after {
        animation: none !important;
        opacity: 0 !important;
    }

    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
    }

    .hud-track span {
        transition: none !important;
    }
}

@keyframes meterPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.command-icon {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 0 0 var(--spacing-lg);
    background: transparent;
}

.icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    border: 1px solid rgba(102, 228, 255, 0.45);
    box-shadow: 0 0 16px rgba(102, 228, 255, 0.16);
    transform: rotate(0deg);
    animation: iconSpin 14s linear infinite;
}

.icon-ring.ring-b {
    inset: 8px;
    border-radius: 18px;
    border-color: rgba(124, 154, 255, 0.55);
    animation-direction: reverse;
    animation-duration: 10s;
}

.icon-core {
    position: absolute;
    inset: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(8, 24, 58, 0.95) 0%, rgba(14, 35, 82, 0.88) 100%);
    border: 1px solid rgba(102, 228, 255, 0.28);
    color: #E8F6FF;
    font-size: 1.55rem;
    box-shadow: inset 0 0 0 1px rgba(121, 170, 255, 0.2), 0 0 16px rgba(31, 99, 255, 0.22);
}

.command-icon .icon-core i {
    color: #9FD8FF;
    text-shadow: 0 0 12px rgba(102, 228, 255, 0.34);
    animation: iconCoreFloat 3.2s ease-in-out infinite;
}

.command-card.is-synced .icon-core {
    box-shadow: inset 0 0 0 1px rgba(121, 170, 255, 0.32), 0 0 22px rgba(102, 228, 255, 0.42);
    animation: corePulse 980ms ease-in-out 1;
}

.command-card.is-synced .icon-ring {
    border-color: rgba(102, 228, 255, 0.78);
    box-shadow: 0 0 22px rgba(102, 228, 255, 0.36);
}

@keyframes corePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.about-grid .about-card:nth-child(1) .command-icon .icon-core i { animation-delay: 0s; }
.about-grid .about-card:nth-child(2) .command-icon .icon-core i { animation-delay: 0.18s; }
.about-grid .about-card:nth-child(3) .command-icon .icon-core i { animation-delay: 0.36s; }
.about-grid .about-card:nth-child(4) .command-icon .icon-core i { animation-delay: 0.54s; }
.about-grid .about-card:nth-child(5) .command-icon .icon-core i { animation-delay: 0.72s; }
.about-grid .about-card:nth-child(6) .command-icon .icon-core i { animation-delay: 0.9s; }

@keyframes iconCoreFloat {
    0%,
    100% {
        transform: translateY(0);
        filter: brightness(1);
    }
    50% {
        transform: translateY(-2px);
        filter: brightness(1.14);
    }
}

@keyframes iconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   ROBOT FACE DISASSEMBLE EFFECT ON HOVER
   ======================================== */
.command-card:hover .icon-ring {
    animation-play-state: paused;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.command-card:hover .icon-ring:first-of-type {
    inset: -12px;
    opacity: 0.5;
    border-color: rgba(102, 228, 255, 0.8);
    box-shadow: 0 0 28px rgba(102, 228, 255, 0.4);
}

.command-card:hover .icon-ring.ring-b {
    inset: -6px;
    opacity: 0.6;
    border-color: rgba(124, 154, 255, 0.8);
    box-shadow: 0 0 24px rgba(124, 154, 255, 0.4);
}

.command-card:hover .icon-core {
    transform: scale(1.15);
    box-shadow: inset 0 0 0 2px rgba(121, 170, 255, 0.6), 0 0 32px rgba(102, 228, 255, 0.6);
    animation: iconDisassemble 0.6s ease-out;
}

.command-card:hover .icon-core i {
    animation: iconShake 0.4s ease-in-out;
}

@keyframes iconDisassemble {
    0% { transform: scale(1); }
    30% { transform: scale(0.9) rotate(-5deg); }
    60% { transform: scale(1.2) rotate(5deg); }
    100% { transform: scale(1.15) rotate(0deg); }
}

@keyframes iconShake {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    10% { transform: translateY(-3px) rotate(-8deg); }
    20% { transform: translateY(3px) rotate(8deg); }
    30% { transform: translateY(-3px) rotate(-6deg); }
    40% { transform: translateY(3px) rotate(6deg); }
    50% { transform: translateY(-2px) rotate(-4deg); }
    60% { transform: translateY(2px) rotate(4deg); }
    70% { transform: translateY(-1px) rotate(-2deg); }
    80% { transform: translateY(1px) rotate(2deg); }
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.about-card p {
    color: #FFFFFF;
    margin-bottom: 0;
}

.mission-statement {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    background: linear-gradient(165deg, rgba(18, 47, 142, 0.5) 0%, rgba(12, 33, 105, 0.4) 100%);
    color: var(--white);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.mission-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.mission-statement blockquote {
    font-size: 1.25rem;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    background: linear-gradient(180deg, rgba(15, 42, 126, 0.24) 0%, rgba(10, 29, 90, 0.14) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: linear-gradient(160deg, rgba(18, 50, 146, 0.48) 0%, rgba(15, 40, 124, 0.38) 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(76, 115, 255, 0.3);
    box-shadow: 0 14px 38px rgba(11, 43, 209, 0.16), 0 0 0 1px rgba(31, 99, 255, 0.16) inset;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(11, 43, 209, 0.32), 0 0 28px rgba(31, 99, 255, 0.25);
}

.service-card.alumnos {
    border-color: rgba(21, 66, 232, 0.28);
}

.service-card.pymes {
    border-color: rgba(31, 99, 255, 0.28);
}

.service-card.alianzas {
    border-color: rgba(76, 115, 255, 0.24);
}

.service-card.inversionistas {
    border-color: rgba(11, 43, 209, 0.24);
}

.service-header {
    padding: var(--spacing-xl);
    text-align: center;
    background: linear-gradient(135deg, rgba(21, 66, 232, 0.16) 0%, rgba(31, 99, 255, 0.12) 100%);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
}

.service-card.pymes .service-icon {
    background: linear-gradient(135deg, #1F63FF 0%, #0B2BD1 100%);
}

.service-card.alianzas .service-icon {
    background: linear-gradient(135deg, #4C73FF 0%, #1542E8 100%);
}

.service-card.inversionistas .service-icon {
    background: linear-gradient(135deg, #0B2BD1 0%, #1F63FF 100%);
}

.service-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.service-tagline {
    color: #FFFFFF;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.service-content {
    padding: var(--spacing-xl);
    flex-grow: 1;
}

.service-content > p {
    color: #FFFFFF;
    margin-bottom: var(--spacing-lg);
}

.service-features {
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    color: #FFFFFF;
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.service-price {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(11, 43, 209, 0.18);
    border-radius: var(--radius-md);
}

.price-label {
    display: block;
    font-size: 0.875rem;
    color: #FFFFFF;
    margin-bottom: var(--spacing-xs);
}

.price-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-color);
}

.service-footer {
    padding: 0 var(--spacing-xl) var(--spacing-xl);
}

.command-strip {
    margin-top: var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.command-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(102, 228, 255, 0.35);
    background: rgba(7, 16, 36, 0.72);
    color: #D6ECFF;
    font-size: 0.78rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.command-chip i {
    color: #66E4FF;
}

.membership-hud-board {
    margin-top: var(--spacing-md);
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 0.8rem;
}

.hud-metric-card {
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(102, 228, 255, 0.25);
    border-radius: var(--radius-md);
    background: linear-gradient(155deg, rgba(18, 48, 142, 0.46) 0%, rgba(13, 35, 108, 0.32) 100%);
    box-shadow: inset 0 0 0 1px rgba(127, 169, 255, 0.12);
}

.hud-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #A8C6FF;
}

.hud-value {
    display: block;
    margin-top: 0.2rem;
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: #DDF3FF;
}

.hud-track {
    margin-top: 0.45rem;
    height: 8px;
    background: rgba(112, 148, 226, 0.2);
    border-radius: 999px;
    overflow: hidden;
}

.hud-track span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #2D6BFF 0%, #66E4FF 100%);
    box-shadow: 0 0 10px rgba(102, 228, 255, 0.42);
    transition: width 920ms ease;
}

.command-membership-grid {
    position: relative;
    border: 1px solid rgba(102, 228, 255, 0.18);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    background: linear-gradient(160deg, rgba(18, 45, 136, 0.42) 0%, rgba(14, 33, 103, 0.3) 100%);
    overflow: hidden;
}

.command-membership-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: -25%;
    width: 24%;
    height: 100%;
    background: linear-gradient(98deg, rgba(102, 228, 255, 0) 0%, rgba(102, 228, 255, 0.17) 60%, rgba(102, 228, 255, 0) 100%);
    animation: membershipSweep 7.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes membershipSweep {
    0% { transform: translateX(0); opacity: 0; }
    20% { opacity: 0.7; }
    55% { opacity: 0.25; }
    100% { transform: translateX(540%); opacity: 0; }
}

.membership-card {
    overflow: hidden;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(76, 115, 255, 0) 0%, rgba(102, 228, 255, 0.9) 50%, rgba(76, 115, 255, 0) 100%);
    opacity: 0.6;
}

/* ========================================
   WHY NOW SECTION
   ======================================== */
.why-now {
    background: linear-gradient(180deg, rgba(4, 8, 20, 0.96) 0%, rgba(3, 7, 16, 0.98) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.why-now::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(31, 99, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 99, 255, 0.12) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.why-now-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.why-now-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    background: rgba(31, 99, 255, 0.2);
    border: 2px solid #2D6BFF;
    border-radius: 50px;
    color: #9DB7FF;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    animation: warning-pulse 2s infinite;
}

@keyframes warning-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(21, 66, 232, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(21, 66, 232, 0); }
}

.why-now h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-lg);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
    color: var(--light-gray);
}

.urgency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-2xl) 0;
}

.urgency-card {
    padding: var(--spacing-xl);
    background: linear-gradient(160deg, rgba(19, 52, 154, 0.44) 0%, rgba(15, 40, 124, 0.34) 100%);
    border: 1px solid rgba(76, 115, 255, 0.32);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
    position: relative;
}

.urgency-card::after {
    content: 'ONLINE';
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: #88A9FF;
}

.urgency-card:hover {
    background: linear-gradient(160deg, rgba(25, 66, 190, 0.52) 0%, rgba(18, 49, 152, 0.42) 100%);
    transform: translateY(-5px);
}

.urgency-stat {
    font-size: 3rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

.urgency-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.why-now-cta {
    margin-top: var(--spacing-2xl);
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   OPPORTUNITY WINDOW
   ======================================== */
.opportunity-window {
    background: linear-gradient(180deg, rgba(17, 47, 140, 0.3) 0%, rgba(12, 34, 108, 0.2) 100%);
    position: relative;
    overflow: hidden;
}

.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: var(--spacing-lg);
}

.opportunity-card {
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(102, 228, 255, 0.26);
    background: linear-gradient(160deg, rgba(18, 50, 150, 0.44) 0%, rgba(14, 39, 122, 0.34) 100%);
    box-shadow: 0 12px 32px rgba(8, 23, 68, 0.45);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.opportunity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(8, 23, 68, 0.62), 0 0 24px rgba(102, 228, 255, 0.22);
}

.opportunity-card.is-synced .opportunity-ring {
    border-color: rgba(102, 228, 255, 0.88);
    box-shadow: 0 0 26px rgba(102, 228, 255, 0.36);
}

.opportunity-card.is-synced .opportunity-core {
    box-shadow: inset 0 0 0 1px rgba(184, 216, 255, 0.32), 0 0 26px rgba(102, 228, 255, 0.4);
    animation: opportunityCorePulse 920ms ease-in-out 1;
}

.opportunity-visual {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 0 auto var(--spacing-md);
}

.opportunity-ring {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    border: 1px solid rgba(102, 228, 255, 0.46);
    box-shadow: 0 0 16px rgba(102, 228, 255, 0.18);
    animation: opportunitySpin 12s linear infinite;
}

.opportunity-ring.ring-b {
    inset: 7px;
    border-radius: 16px;
    border-color: rgba(139, 178, 255, 0.6);
    animation-direction: reverse;
    animation-duration: 8s;
}

.opportunity-core {
    position: absolute;
    inset: 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(20, 56, 168, 0.78) 0%, rgba(16, 45, 136, 0.64) 100%);
    border: 1px solid rgba(102, 228, 255, 0.3);
    box-shadow: inset 0 0 0 1px rgba(163, 198, 255, 0.2), 0 0 16px rgba(31, 99, 255, 0.3);
}

.opportunity-core i {
    font-size: 1.2rem;
    color: #B8D4FF;
    text-shadow: 0 0 12px rgba(102, 228, 255, 0.32);
}

.opportunity-value {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
    color: #D9ECFF;
    margin-bottom: var(--spacing-sm);
}

.opportunity-card p {
    margin: 0;
    color: #ECF4FF;
}

@keyframes opportunitySpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes opportunityCorePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.07); }
    100% { transform: scale(1); }
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: linear-gradient(180deg, rgba(13, 36, 112, 0.24) 0%, rgba(9, 26, 82, 0.14) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.command-contact-grid {
    position: relative;
}

.contact-info {
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(76, 115, 255, 0.24);
    background: linear-gradient(158deg, rgba(18, 49, 146, 0.4) 0%, rgba(14, 38, 116, 0.3) 100%);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.contact-info > p {
    color: #FFFFFF;
    margin-bottom: var(--spacing-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-method {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px dashed rgba(102, 228, 255, 0.2);
}

.contact-method:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.method-info h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.method-info a,
.method-info p {
    color: #FFFFFF;
    margin: 0;
}

.method-info a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: linear-gradient(160deg, rgba(19, 53, 160, 0.44) 0%, rgba(15, 40, 126, 0.34) 100%);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(76, 115, 255, 0.24);
}

.command-form-shell {
    position: relative;
    overflow: hidden;
}

.command-form-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(102, 228, 255, 0.2);
    border-radius: inherit;
}

/* === Circuit Background Canvas === */
#circuit-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.45;
}

.contact-form-frame {
    border-radius: var(--radius-md);
    background: rgba(19, 49, 142, 0.36);
}

.priority-brief {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid #1542E8;
    border: 1px solid rgba(76, 115, 255, 0.26);
    background: linear-gradient(160deg, rgba(21, 66, 232, 0.12) 0%, rgba(7, 16, 37, 0.65) 100%);
}

.priority-brief h4 {
    color: #2D6BFF;
    margin-bottom: var(--spacing-sm);
}

.priority-brief p {
    margin: 0;
    color: #FFFFFF;
}

.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 500ms ease, opacity 500ms ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: #FFFFFF;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(21, 66, 232, 0.14);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
    background: rgba(3, 8, 18, 0.9);
    color: #FFFFFF;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(247, 250, 255, 0.72);
}

.membership-card,
.comparison-table {
    background: linear-gradient(160deg, rgba(19, 52, 156, 0.48) 0%, rgba(16, 41, 126, 0.38) 100%);
    border: 1px solid rgba(76, 115, 255, 0.34);
    box-shadow: 0 14px 38px rgba(11, 43, 209, 0.2), 0 0 0 1px rgba(31, 99, 255, 0.18) inset;
}

.hero .hero-stats .stat-item {
    background: linear-gradient(160deg, rgba(12, 32, 92, 0.8) 0%, rgba(8, 25, 70, 0.7) 100%);
    border: 1px solid rgba(102, 228, 255, 0.28);
    box-shadow: 0 12px 32px rgba(11, 43, 209, 0.22), 0 0 0 1px rgba(31, 99, 255, 0.18) inset;
}

.logo-image {
    width: 190px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(31, 99, 255, 0.55));
}

.footer-logo .logo-image {
    width: 210px;
}

.hero-subtitle,
.lead,
.cta-text,
.footer-col p,
.footer-bottom p,
.footer-col a,
.footer-links a,
.nav-link,
.stat-label,
.section-badge {
    color: #FFFFFF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(21, 66, 232, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(180deg, rgba(16, 44, 132, 0.46) 0%, rgba(12, 34, 108, 0.32) 100%);
    backdrop-filter: blur(6px);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-col p {
    color: var(--light-gray);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-col a {
    color: var(--light-gray);
    transition: var(--transition-base);
}

.footer-col a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    color: var(--light-gray);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: var(--light-gray);
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-base);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.pt-1 { padding-top: var(--spacing-sm); }
.pt-2 { padding-top: var(--spacing-md); }
.pt-3 { padding-top: var(--spacing-lg); }
.pt-4 { padding-top: var(--spacing-xl); }

.pb-1 { padding-bottom: var(--spacing-sm); }
.pb-2 { padding-bottom: var(--spacing-md); }
.pb-3 { padding-bottom: var(--spacing-lg); }
.pb-4 { padding-bottom: var(--spacing-xl); }