/* ═══════════════════════════════════════════
   K-RYPTA — Landing Page Fusionada
   Color Principal: Lila Neón (#B026FF)
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   K-RYPTA DESIGN SYSTEM v2.0
   Skills: ui-ux-pro-max + brand-guidelines-community
   ═══════════════════════════════════════════════════════ */

/* ═══ DESIGN TOKENS ═══ */
:root {
    /* ── Backgrounds ── */
    --bg: #030305;
    --bg-alt: #0a0a14;
    --bg-tertiary: #13111c;
    --bg-elevated: #1a1726;

    /* ── Brand Accent (Neon Purple) ── */
    --accent: #B026FF;
    --accent-bright: #D67DFF;
    --accent-deep: #7000B0;
    --accent-neon: #E066FF;
    --accent-cyan: #00F0FF;
    --glow: #E879F9;

    /* ── Text (WCAG AA+ compliant) ── */
    --text: #ffffff;
    /* 21:1 contrast */
    --text-sec: #94a3b8;
    /* 5.2:1 contrast */
    --text-muted: #64748b;
    /* 4.6:1 contrast */
    --text-accent: var(--accent-neon);

    /* ── Semantic Colors ── */
    --success: #10B981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --warning: #F59E0B;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --error: #EF4444;
    --error-bg: rgba(239, 68, 68, 0.1);
    --info: #3B82F6;
    --info-bg: rgba(59, 130, 246, 0.1);

    /* ── Borders ── */
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(176, 38, 255, 0.4);
    --border-strong: rgba(255, 255, 255, 0.15);

    /* ── Glassmorphism ── */
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-highlight: rgba(255, 255, 255, 0.10);
    --glass-blur: blur(12px);

    /* ── Border Radii ── */
    --radius-xs: 6px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* ── Spacing Scale (4px base) ── */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-6: 1.5rem;
    /* 24px */
    --space-8: 2rem;
    /* 32px */
    --space-10: 2.5rem;
    /* 40px */
    --space-12: 3rem;
    /* 48px */
    --space-16: 4rem;
    /* 64px */
    --space-20: 5rem;
    /* 80px */
    --space-24: 6rem;
    /* 96px */

    /* ── Z-Index Scale ── */
    --z-base: 0;
    --z-raised: 10;
    --z-sticky: 20;
    --z-overlay: 30;
    --z-modal: 50;
    --z-nav: 10000;
    --z-cursor: 100001;

    /* ── Animation Durations ── */
    --dur-fast: 150ms;
    --dur-base: 250ms;
    --dur-slow: 400ms;
    --dur-slower: 600ms;
    --dur-slowest: 800ms;

    /* ── Easing Curves ── */
    --ease-default: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ── Shadows & Glow ── */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 24px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px -4px rgba(0, 0, 0, 0.5);
    --glow-accent: 0 0 30px rgba(176, 38, 255, 0.5), 0 0 60px rgba(176, 38, 255, 0.2);
    --glow-btn: 0 4px 15px rgba(176, 38, 255, 0.35);
    --glow-text: 0 0 40px rgba(176, 38, 255, 0.4);

    /* ── Typography ── */
    --font-h: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-b: 'Inter', system-ui, sans-serif;

    /* ── Layout ── */
    --container: 1280px;

    /* ── Legacy (backward compat) ── */
    --transition: all var(--dur-slow) var(--ease-default);
}

/* ═══ RESET ═══ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

body {
    font-family: var(--font-b);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ═══ UTILITIES ═══ */
.text-center {
    text-align: center;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.d-inline-flex {
    display: inline-flex;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.icon-neon-wrapper {
    color: var(--accent-neon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.mobile-pad {
    padding-top: 2rem;
    padding-bottom: 2rem;
}


.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}


/* ═══ ESTILOS BASE ═══ */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-neon);
    outline-offset: 4px;
    border-radius: 4px;
}

button {
    font-family: var(--font-b);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-h);
    font-weight: 700;
    color: var(--text);
}

p {
    color: var(--text-sec);
}

/* ═══ CONTAINER ═══ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ═══ CUSTOM CURSOR ═══ */
/* Por defecto ocultos */
.cursor-dot,
.cursor-ring {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 100001;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-neon);
    border-radius: 50%;
    transition: background 0.25s, transform 0.15s;
    box-shadow: 0 0 10px var(--accent-neon), 0 0 20px rgba(176, 38, 255, 0.3);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    transition: width 0.35s cubic-bezier(.4, 0, .2, 1), height 0.35s cubic-bezier(.4, 0, .2, 1), border-color 0.25s;
}

/* Solo activar lógica visual cuando la clase existe */
body.custom-cursor-enabled {
    cursor: none;
}

body.custom-cursor-enabled a,
body.custom-cursor-enabled button {
    cursor: none;
}

body.custom-cursor-enabled .cursor-dot,
body.custom-cursor-enabled .cursor-ring {
    display: block;
}

body.cursor-hover .cursor-ring {
    width: 56px;
    height: 56px;
    background: rgba(176, 38, 255, 0.05);
    border-color: var(--accent-neon);
}

body.cursor-btn .cursor-dot {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

body.cursor-btn .cursor-ring {
    width: 48px;
    height: 48px;
    border-color: rgba(255, 255, 255, 0.8);
    background: transparent;
}

/* ═══ GLASSPAMORPHISM UTILS ═══ */
.glass-panel {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-md);
}

.glass-panel:hover {
    background: var(--glass-highlight);
    border-color: rgba(176, 38, 255, 0.3);
}

/* ═══ SCROLL PROGRESS ═══ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-neon), var(--accent-cyan));
    z-index: 100002;
    pointer-events: none;
    box-shadow: 0 0 10px var(--accent);
}

/* ═══ PARTICLE CANVAS ═══ */
#particle-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ═══ MOBILE MENU OVERLAY ═══ */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.97);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
    backdrop-filter: blur(20px);
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.mobile-nav-link {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-h);
    color: white;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: var(--accent-neon);
}

/* ═══ NAVBAR ═══ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    transition: background 0.4s, box-shadow 0.4s;
}

.navbar-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar.scrolled {
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    z-index: 2;
    text-decoration: none;
    color: var(--text);
}

.navbar-logo .k {
    color: var(--accent-neon);
    text-shadow: 0 0 20px rgba(176, 38, 255, 0.5);
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: block;
    border-radius: 6px;
    /* Soft rounding for icon app look */
    object-fit: contain;
    transition: transform var(--dur-fast) var(--ease-default);
}

.navbar-logo:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.3);
    /* Subtle outer glow */
}

.navbar-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.navbar-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-sec);
    position: relative;
    padding: 6px 0;
    transition: color 0.3s;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-neon);
    transition: width 0.3s ease, left 0.3s ease;
    box-shadow: 0 0 8px var(--accent);
}

.navbar-links a:hover {
    color: var(--text);
}

.navbar-links a:hover::after {
    width: 100%;
    left: 0;
}

/* ═══ BUTTONS ═══ */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 24px;
    border: none;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--accent-deep), var(--accent), var(--accent-neon));
    color: #fff;
    transition: box-shadow 0.3s, transform 0.2s;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: var(--glow-btn);
}

.btn-cta:hover {
    box-shadow: var(--glow-accent);
    transform: translateY(-2px);
}

.btn-cta .shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.btn-cta:hover .shimmer {
    animation: shimmer 0.7s forwards;
}

@keyframes shimmer {
    to {
        left: 100%;
    }
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    transition: var(--transition);
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(176, 38, 255, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(176, 38, 255, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
}

.btn-nav-cta {
    font-size: 0.82rem;
    padding: 8px 20px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 10001;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ═══ HERO ═══ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
    background-image: url('images/imagen hero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Overlay oscuro para legibilidad del texto */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(5, 5, 8, 0.92) 0%,
            rgba(5, 5, 8, 0.75) 50%,
            rgba(5, 5, 8, 0.4) 100%);
    z-index: 1;
}

.hero-bg-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    right: 8%;
    top: 12%;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.18) 0%, rgba(217, 70, 255, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.15s ease-out;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 2;
}

.hero-left {
    flex: 1.2;
    min-width: 0;
}

.hero-right {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(176, 38, 255, 0.08);
    border: 1px solid rgba(176, 38, 255, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-neon);
    margin-bottom: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-neon);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--accent-neon);
}

@keyframes pulseDot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(217, 70, 255, 0.6);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(217, 70, 255, 0);
    }
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 18px;
}

.hero h1 .highlight,
.highlight {
    color: var(--accent-neon);
    text-shadow: 0 0 40px rgba(176, 38, 255, 0.4);
}

.hero-desc {
    color: var(--text-sec);
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-ticker {
    color: var(--text-sec);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 24px;
    overflow: hidden;
}

.hero-ticker>span:first-child {
    color: var(--accent-neon);
    font-weight: 600;
}

#hero-ticker-word {
    display: inline-block;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Hero 3D Visual */
.hero-visual {
    position: relative;
    width: 380px;
    height: 380px;
    flex-shrink: 0;
}

.hero-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 38% 32%, #2a0845, #0e0318);
    border-radius: 50%;
    box-shadow: 0 0 80px 30px rgba(176, 38, 255, 0.3), 0 0 120px 50px rgba(217, 70, 255, 0.1), inset 0 0 40px rgba(176, 38, 255, 0.2);
    animation: sphereFloat 6s ease-in-out infinite;
}

@keyframes sphereFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-18px);
    }
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1.5px solid rgba(176, 38, 255, 0.22);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-ring:nth-child(2) {
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%) rotateX(65deg);
    animation: orbit1 20s linear infinite;
}

.orbit-ring:nth-child(3) {
    width: 240px;
    height: 240px;
    border-color: rgba(232, 121, 249, 0.16);
    transform: translate(-50%, -50%) rotateX(55deg) rotateZ(90deg);
    animation: orbit2 28s linear infinite;
}

@keyframes orbit1 {
    to {
        transform: translate(-50%, -50%) rotateX(65deg) rotateZ(360deg);
    }
}

@keyframes orbit2 {
    to {
        transform: translate(-50%, -50%) rotateX(55deg) rotateZ(450deg);
    }
}

.floating-shape {
    position: absolute;
    color: var(--accent);
    font-size: 1.2rem;
    opacity: 0.6;
    animation: shapeFloat 5s ease-in-out infinite;
}

.floating-shape:nth-child(5) {
    top: 10%;
    right: 10%;
}

.floating-shape:nth-child(6) {
    bottom: 15%;
    right: 8%;
    animation-delay: 1.2s;
    animation-duration: 6.5s;
}

.floating-shape:nth-child(7) {
    top: 50%;
    left: 5%;
    animation-delay: 0.6s;
    animation-duration: 5.5s;
}

@keyframes shapeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* ═══ SCROLL ANIMATIONS ═══ */
/* Estados iniciales */
.fade-up,
.fade-in,
.zoom-in,
.slide-left,
.slide-right {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.fade-up {
    transform: translateY(40px);
}

.fade-in {
    transform: scale(0.95);
}

.zoom-in {
    transform: scale(0.8);
}

.slide-left {
    transform: translateX(-40px);
}

.slide-right {
    transform: translateX(40px);
}

/* Estado visible */
.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger (escalonado) */
.stagger-1 {
    transition-delay: 100ms;
}

.stagger-2 {
    transition-delay: 200ms;
}

.stagger-3 {
    transition-delay: 300ms;
}

.stagger-4 {
    transition-delay: 400ms;
}

.hero-anim {
    opacity: 0;
    transform: translateY(28px);
}

/* ═══ STATS ═══ */
.stats-section {
    padding: 70px 0;
    position: relative;
    z-index: 2;
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    color: var(--accent-neon);
    text-shadow: 0 0 30px rgba(176, 38, 255, 0.3);
}

.stat-label {
    color: var(--text-sec);
    font-size: 0.9rem;
    margin-top: 4px;
}

.stat-sep {
    width: 1px;
    height: 50px;
    background: var(--border);
}

.stats-trust {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.stats-trust p {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-sec);
    margin-bottom: 14px;
}

.trust-pills {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-pill {
    padding: 6px 14px;
    background: rgba(176, 38, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-sec);
    transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.trust-pill:hover {
    background: rgba(176, 38, 255, 0.12);
    color: var(--text);
    border-color: var(--border-hover);
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.1);
}

/* ═══ TICKER BAR ═══ */
.ticker-bar {
    overflow: hidden;
    background: rgba(176, 38, 255, 0.03);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: relative;
    z-index: 2;
}

.ticker-bar:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: tickerMove 40s linear infinite;
}

.ticker-track span {
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-sec);
}

.ticker-track .sep {
    color: var(--accent-neon);
    text-shadow: 0 0 10px var(--accent);
}

@keyframes tickerMove {
    to {
        transform: translateX(-50%);
    }
}

/* ═══ SECTION COMMON ═══ */
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-neon);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.section-title {
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 44px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-label::before {
    display: none;
}

/* ═══ SERVICES — FLIP CARDS ═══ */
.services-section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
    background: var(--bg-alt);
}

.flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card-flip {
    background-color: transparent;
    width: 100%;
    height: 320px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(.25, .8, .25, 1);
    transform-style: preserve-3d;
}

.card-flip:hover .card-inner,
.card-flip.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.card-front {
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
}

.card-front:hover {
    border-color: var(--border-hover);
    box-shadow: 0 10px 40px rgba(176, 38, 255, 0.2);
}

.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(19, 17, 28, 0.98), rgba(30, 10, 45, 0.98));
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(176, 38, 255, 0.2);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(176, 38, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    color: var(--accent-neon);
}

.card-front:hover .icon-wrapper {
    background: rgba(176, 38, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.2);
}

.card-flip h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-short-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.card-back h3 {
    color: var(--accent-neon);
}

.card-back p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.3);
}

/* Imagen en el frente de las flip cards */
.card-flip {
    height: 360px;
}

.card-front {
    padding: 0;
    overflow: hidden;
    justify-content: flex-end;
}

.card-front-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 65%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius) var(--radius) 0 0;
    transition: transform 0.6s ease;
}

.card-flip:hover .card-front-img {
    transform: scale(1.05);
}

.card-front-body {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.2rem 1.4rem;
    background: linear-gradient(to top, rgba(10, 8, 20, 0.98) 0%, rgba(10, 8, 20, 0.85) 100%);
    border-radius: 0 0 var(--radius) var(--radius);
    text-align: left;
}

.card-front-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.card-front-body .card-short-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0;
}

/* ═══ DARK PANEL ═══ */
.dark-panel {
    padding: 100px 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg, #12052b, #1f0845, #0a0a14);
    overflow: hidden;
    text-align: center;
}

.dark-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
}

.orbit-dec {
    position: absolute;
    border: 1px solid rgba(176, 38, 255, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-dec:nth-child(1) {
    width: 450px;
    height: 450px;
    top: -80px;
    right: -120px;
}

.orbit-dec:nth-child(2) {
    width: 380px;
    height: 380px;
    bottom: -60px;
    left: -100px;
}

.dark-panel .container {
    position: relative;
    z-index: 1;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.metric-item {
    text-align: center;
    padding: 20px 0;
}

.metric-number {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--accent-neon);
    text-shadow: 0 0 25px rgba(176, 38, 255, 0.4);
}

.metric-label {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 14px;
    background: rgba(176, 38, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.76rem;
    color: var(--text-sec);
}

/* ═══ SERVICE LIST ACCORDION ═══ */
.service-list-section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
}

.service-row {
    display: flex;
    align-items: center;
    padding: 18px 16px;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.3s, padding-left 0.3s;
    position: relative;
}

.service-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), var(--accent-neon));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s;
    box-shadow: 0 0 10px var(--accent);
}

.service-row:hover::before,
.service-row.active::before {
    transform: scaleY(1);
}

.service-row:hover {
    background: rgba(176, 38, 255, 0.04);
    padding-left: 20px;
}

.service-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--text-sec);
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
}

.service-row:hover .service-radio,
.service-row.active .service-radio {
    border-color: var(--accent-neon);
    background: var(--accent);
    box-shadow: 0 0 10px rgba(176, 38, 255, 0.4);
}

.service-row-name {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
}

.service-row-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(176, 38, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-bright);
    font-size: 0.8rem;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
}

.service-row:hover .service-row-arrow {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.3);
}

.service-row-desc {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    font-size: 0.88rem;
    color: var(--text-sec);
    line-height: 1.55;
    padding: 0 16px 0 46px;
}

.service-row-desc.open {
    max-height: 100px;
    padding: 10px 16px 16px 46px;
}

/* ═══ BENEFITS ═══ */
.benefits-section {
    position: relative;
    z-index: 2;
    background: var(--bg-alt);
    /* Sin padding propio — lo gestiona el scroll container */
}

/* ── Scroll container: altura total para el efecto ── */
.beneficios-scroll-container {
    position: relative;
    height: 500vh;
}

/* ── Contenido sticky ── */
.beneficios-sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 2;
}

.benefits-content {
    display: flex;
    gap: 64px;
    align-items: center;
    width: 100%;
}

.benefits-left {
    flex: 1.1;
    min-width: 0;
}

.benefits-right {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

/* ── Trigger zones invisibles ── */
.beneficio-trigger {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
}

.beneficio-trigger[data-index="0"] {
    top: 0;
}

.beneficio-trigger[data-index="1"] {
    top: 100vh;
}

.beneficio-trigger[data-index="2"] {
    top: 200vh;
}

.beneficio-trigger[data-index="3"] {
    top: 300vh;
}

.beneficio-trigger[data-index="4"] {
    top: 400vh;
}

/* ── Lista de beneficios ── */
.beneficios-lista {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.beneficio-item {
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 16px 16px 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: opacity 0.5s ease;
    opacity: 0.3;
    position: relative;
    overflow: hidden;
}

.beneficio-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.beneficio-item.active {
    opacity: 1;
}

/* Línea indicadora */
.linea-indicador {
    width: 3px;
    border-radius: 3px;
    background: transparent;
    flex-shrink: 0;
    align-self: stretch;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.beneficio-item.active .linea-indicador {
    background: linear-gradient(180deg, var(--accent-neon), var(--accent));
    box-shadow: 0 0 12px rgba(176, 38, 255, 0.8), 0 0 24px rgba(176, 38, 255, 0.3);
}

.beneficio-texto {
    flex: 1;
    min-width: 0;
}

.beneficio-texto h4 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-sec);
    transition: color 0.4s;
}

.beneficio-item.active .beneficio-texto h4 {
    color: #fff;
}

/* Descripción corta */
.desc-corta {
    color: var(--text-sec);
    font-size: 0.83rem;
    line-height: 1.5;
    margin: 0 0 8px;
    transition: opacity 0.4s;
}

.beneficio-item:not(.active) .desc-corta {
    opacity: 0.6;
}

/* Descripción extendida — frases animadas */
.desc-extendida {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.beneficio-item.active .desc-extendida {
    max-height: 200px;
}

.desc-extendida .frase {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.beneficio-item.active .desc-extendida .frase:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.beneficio-item.active .desc-extendida .frase:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.22s;
}

.beneficio-item.active .desc-extendida .frase:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.34s;
}

/* ── Flip Card ── */
.beneficio-flip-container {
    perspective: 1000px;
    width: 440px;
    height: 340px;
}

.beneficio-flip-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(176, 38, 255, 0.3),
        0 12px 50px rgba(176, 38, 255, 0.18),
        0 0 100px rgba(176, 38, 255, 0.07);
}

.beneficio-flip-card.flipped {
    transform: rotateY(180deg);
}

.beneficio-flip-front,
.beneficio-flip-back {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    border: 1px solid rgba(176, 38, 255, 0.25);
}

.beneficio-flip-front img,
.beneficio-flip-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.beneficio-flip-back {
    transform: rotateY(180deg);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .beneficios-scroll-container {
        height: 350vh;
    }

    .benefits-content {
        flex-direction: column;
        gap: 32px;
    }

    .beneficio-flip-container {
        width: 100%;
        height: 220px;
    }

    .beneficio-trigger[data-index="0"] {
        top: 0;
    }

    .beneficio-trigger[data-index="1"] {
        top: 70vh;
    }

    .beneficio-trigger[data-index="2"] {
        top: 140vh;
    }

    .beneficio-trigger[data-index="3"] {
        top: 210vh;
    }

    .beneficio-trigger[data-index="4"] {
        top: 280vh;
    }
}

.phone-mockup {
    width: 260px;
    height: 460px;
    background: linear-gradient(160deg, #1f0845, #0e0318);
    border-radius: 30px;
    border: 2px solid rgba(176, 38, 255, 0.3);
    padding: 10px;
    transform: perspective(900px) rotateY(-8deg) rotateX(2deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: -16px 20px 60px rgba(176, 38, 255, 0.15), 0 0 0 1px rgba(176, 38, 255, 0.1), 0 0 40px rgba(176, 38, 255, 0.05);
    flex-shrink: 0;
}

.phone-mockup:hover {
    transform: perspective(900px) rotateY(-3deg) rotateX(1deg);
    box-shadow: -8px 12px 40px rgba(176, 38, 255, 0.25), 0 0 60px rgba(176, 38, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    background: linear-gradient(180deg, #15062c, #080312);
    overflow: hidden;
}

.phone-bar {
    width: 55%;
    height: 6px;
    background: rgba(176, 38, 255, 0.3);
    border-radius: 3px;
    margin: 14px auto 10px;
}

.phone-chart {
    width: 82%;
    margin: 6px auto;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(176, 38, 255, 0.15), rgba(217, 70, 255, 0.4));
}

.phone-lines {
    padding: 14px;
}

.phone-line {
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 7px;
}

.phone-line:nth-child(odd) {
    width: 78%;
}

.phone-line:nth-child(even) {
    width: 58%;
}

/* ═══ SHOWCASE ═══ */
.showcase {
    padding: 90px 0;
    position: relative;
    z-index: 2;
    background: var(--bg-tertiary);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.showcase-card {
    border-radius: var(--radius);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
}

.showcase-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(176, 38, 255, 0.1);
}

.showcase-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.showcase-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.showcase-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

.showcase-metric {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-neon);
    margin-top: 1rem;
    text-shadow: 0 0 15px rgba(176, 38, 255, 0.3);
}

/* ═══ BLOG ═══ */
.blog-section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
    background: #f8f7ff;
}

.blog-section .section-label {
    color: var(--accent);
}

.blog-section .section-label::before {
    background: var(--accent);
}

.blog-section .section-title {
    color: #0d0d1a;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    margin-bottom: 36px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid rgba(176, 38, 255, 0.12);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 16px rgba(176, 38, 255, 0.06);
}

.blog-card:hover {
    border-color: var(--accent-neon);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(176, 38, 255, 0.15);
}

.blog-card-img {
    height: 200px;
    background: linear-gradient(135deg, #1f0845, #3d1870, #1f0845);
    position: relative;
}

.blog-card-body {
    padding: 22px;
    background: #ffffff;
}

.blog-card-body .tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(176, 38, 255, 0.1);
    border-radius: 100px;
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
    border: 1px solid rgba(176, 38, 255, 0.2);
}

.blog-card-body h3 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #0d0d1a;
    line-height: 1.3;
}

.blog-card-body p {
    color: #5a5a7a;
    font-size: 0.84rem;
    line-height: 1.5;
}

.blog-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.blog-side .blog-card-img {
    height: 110px;
}

.blog-section .btn-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-bright));
    color: #fff;
}

/* ═══ FAQ ═══ */
.faq-section {
    padding: 100px 0 80px;
    position: relative;
    z-index: 2;
    background: var(--bg);
    clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%);
    margin-top: -36px;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s;
}

.faq-item.active {
    border-left: 3px solid var(--accent-neon);
    padding-left: 16px;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    gap: 16px;
}

.faq-q:hover {
    color: var(--accent-neon);
}

.faq-icon {
    font-size: 1.3rem;
    color: var(--accent-neon);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    color: var(--text-sec);
    font-size: 0.88rem;
    line-height: 1.6;
}

.faq-item.active .faq-a {
    max-height: 180px;
    padding-bottom: 18px;
}

/* ═══ CTA BANNER ═══ */
.cta-banner {
    padding: 80px 0;
    text-align: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg, #1f0845, #3d1870, #1f0845);
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(217, 70, 255, 0.4), transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ctaPulse 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ctaPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.8;
    }
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 460px;
    margin: 0 auto 24px;
    font-size: 0.95rem;
}

/* ═══ CONTACT ═══ */
.contact-section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
    background: var(--bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-alt);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-data {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-neon);
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.15);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8.5L1 3.5h10L6 8.5z' fill='%239898b8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg);
    color: var(--text);
}

/* ═══ FOOTER ═══ */
.footer {
    padding: 56px 0 28px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-brand .navbar-logo {
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-sec);
    font-size: 0.84rem;
    line-height: 1.55;
    max-width: 260px;
}

.footer-col h4 {
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.footer-col li {
    margin-bottom: 9px;
}

.footer-col a {
    color: var(--text-sec);
    font-size: 0.84rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent-neon);
}

.footer-copy {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.76rem;
    color: var(--text-sec);
}

/* ═══ UTILITY ═══ */
.text-center {
    text-align: center;
}

.gap-center {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .flip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-visual {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    a,
    button {
        cursor: auto;
    }

    .navbar-links,
    .btn-nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .hero-left {
        order: 2;
    }

    .hero-right {
        order: 1;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-ticker {
        justify-content: center;
    }

    .hero-visual {
        width: 240px;
        height: 240px;
    }

    .hero-sphere {
        width: 120px;
        height: 120px;
    }

    .orbit-ring:nth-child(2) {
        width: 190px;
        height: 190px;
    }

    .orbit-ring:nth-child(3) {
        width: 160px;
        height: 160px;
    }

    .flip-grid {
        grid-template-columns: 1fr;
    }

    .benefits-content {
        flex-direction: column;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .stat-sep {
        display: none;
    }

    .stats-row {
        gap: 32px;
    }

    .metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ═══ GLOBAL NOISE FILTER ═══ */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

/* ═══ RESTORED SCROLL REVEAL (STICKY + SPACER) ═══ */
/* ═══ GATE REVEAL SECTION ═══ */
.gate-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

/* El contenido que se revela (está detrás) */
.gate-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Detrás de las puertas */
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1a052e 0%, #000 80%);
}

.central-column {
    width: 100%;
    max-width: 800px;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(30px);
    /* Inicialmente oculto, GSAP lo mostrará */
}

/* Puertas */
.gate-left,
.gate-right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 2;
    /* Delante del contenido */
    background-size: cover;
    background-repeat: no-repeat;
    /* Sombras para dar profundidad al abrirse */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    will-change: transform;
    /* Optimización */
}

.gate-left {
    left: 0;
    background-image: url('images/imagen transicion descubre mas.jpeg');
    background-size: 200% 100%;
    background-position: left center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.gate-right {
    right: 0;
    background-image: url('images/imagen transicion descubre mas.jpeg');
    background-size: 200% 100%;
    background-position: right center;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Texto superpuesto inicial */
.gate-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
    display: flex;
    gap: 2rem;
}

.gate-text {
    font-family: 'Clash Display', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    mix-blend-mode: difference;
}

/* Estilos de Lista (Reutilizados) */
.premium-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.premium-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.premium-item:hover {
    background: rgba(176, 38, 255, 0.15);
    border-color: var(--accent-neon);
    transform: scale(1.02);
}

.p-item-info h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.p-item-info p {
    font-size: 0.85rem;
    color: #999;
}

.p-item-btn {
    font-size: 1.2rem;
    color: var(--accent-neon);
    opacity: 0.5;
}

.premium-item:hover .p-item-btn {
    opacity: 1;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .gate-text {
        font-size: 2rem;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .central-column {
        padding: 0 1rem;
    }

    .premium-item {
        padding: 1rem;
    }
}

/* ═══ NEW IMAGES STYLES ═══ */

/* Hero Brain Image */
.hero-brain-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: contain;
    /* Difuminar bordes para integrar con fondo negro */
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    filter: drop-shadow(0 0 30px rgba(176, 38, 255, 0.4));
    animation: float 6s ease-in-out infinite;
}

/* Benefits Dashboard Image */
.benefits-visual-wrapper {
    position: relative;
    perspective: 1500px;
    width: 100%;
    max-width: 600px;
}

.benefits-dashboard-img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(176, 38, 255, 0.15);
    transition: transform 0.5s ease;
    /* Efecto 3D sutil */
    transform: rotateY(-15deg) rotateX(5deg);
}

.benefits-visual-wrapper:hover .benefits-dashboard-img {
    transform: rotateY(-5deg) rotateX(2deg) scale(1.02);
}

.glow-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: var(--accent-neon);
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
    transform: translate(-50%, -50%);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ═══ PHONE GROUP (prefijo + número) ═══ */
.phone-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    width: 100%;
    padding: 0 !important;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    overflow: visible;
    transition: var(--transition);
    box-sizing: border-box;
}

.phone-group:focus-within {
    border-color: var(--accent-neon);
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.15);
}

.phone-prefix-select {
    flex: 0 0 105px;
    width: 105px;
    height: 52px;
    padding: 0 20px 0 10px;
    background: rgba(176, 38, 255, 0.1);
    border: none;
    border-right: 1px solid var(--border);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    color: var(--text);
    font-family: var(--font-b);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath d='M6 8.5L1 3.5h10L6 8.5z' fill='%23D946FF'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    outline: none;
    transition: background 0.2s;
    box-sizing: border-box;
}

.phone-prefix-select:hover,
.phone-prefix-select:focus {
    background-color: rgba(176, 38, 255, 0.2);
}

.phone-group input[type="tel"] {
    flex: 1 1 auto;
    width: 0 !important;
    min-width: 0;
    height: 52px;
    padding: 0 1rem !important;
    border: none !important;
    border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--text);
    font-family: var(--font-b);
    font-size: 0.95rem;
    outline: none;
    pointer-events: auto;
    cursor: text;
    box-sizing: border-box;
}

/* ═══ BARRA DE PROGRESO — SECCIÓN BENEFICIOS ═══ */

.bp-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
}

/* La línea vertical completa */
.bp-track {
    width: 2px;
    height: 360px;
    position: relative;
    /* Fondo: línea gris oscura (la parte "restante") */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

/* Fill: la parte recorrida, gradiente azul→púrpura de arriba hacia abajo */
.bp-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom,
            #6a8fff 0%,
            #a855f7 60%,
            #b026ff 100%);
    border-radius: 2px;
    transition: height 0.3s ease;
}

/* Estrella de 4 puntas deslizante */
.bp-star {
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    transition: top 0.3s ease;
    /* Glow difuso alrededor de la estrella */
    filter:
        drop-shadow(0 0 8px rgba(176, 38, 255, 1)) drop-shadow(0 0 18px rgba(176, 38, 255, 0.8)) drop-shadow(0 0 36px rgba(130, 80, 255, 0.5));
}

.bp-star svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Puntos de paso y otros elementos eliminados */
.bp-steps,
.bp-step,
.bp-pct,
.bp-label,
.bp-dot {
    display: none;
}

@media (max-width: 900px) {
    .bp-sidebar {
        display: none;
    }
}

/* ═══ MODALES BLOG ═══ */
.blog-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.blog-modal-overlay.open {
    display: flex;
}

.blog-modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(18, 6, 38, 0.97) 0%, rgba(10, 3, 22, 0.99) 100%);
    border: 1px solid rgba(176, 38, 255, 0.2);
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow:
        0 0 0 1px rgba(176, 38, 255, 0.1),
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(176, 38, 255, 0.08);
    animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(176, 38, 255, 0.3) transparent;
}

.blog-modal-content::-webkit-scrollbar {
    width: 4px;
}

.blog-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.blog-modal-content::-webkit-scrollbar-thumb {
    background: rgba(176, 38, 255, 0.3);
    border-radius: 2px;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.blog-modal-close {
    position: sticky;
    top: 16px;
    float: right;
    margin: 16px 16px 0 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(176, 38, 255, 0.25);
    background: rgba(176, 38, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}

.blog-modal-close:hover {
    background: rgba(176, 38, 255, 0.3);
    color: #fff;
}

.blog-modal-header {
    padding: 24px 36px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    clear: both;
}

.blog-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 10px 0 6px;
    line-height: 1.3;
}

.blog-modal-meta {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    letter-spacing: 0.03em;
}

.blog-modal-body {
    padding: 28px 36px 36px;
}

.blog-modal-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(176, 38, 255, 0.1);
}

.blog-modal-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-neon);
    margin: 24px 0 10px;
    letter-spacing: 0.01em;
}

.blog-modal-body p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: 12px;
}

.blog-modal-body strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.blog-modal-body ul {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.blog-modal-body ul li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    padding-left: 18px;
    position: relative;
}

.blog-modal-body ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-neon);
    font-size: 0.8rem;
}

@media (max-width: 600px) {

    .blog-modal-header,
    .blog-modal-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .blog-modal-header h2 {
        font-size: 1.2rem;
    }
}