/* CSS Reset y Variables */
:root {
    --bg-dark: #090b14;
    --bg-darker: #05060b;
    --color-primary: #1e5dd9;
    --color-primary-light: #4981f5;
    --color-accent: #00d2ff;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-dark: #04101F;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glow-primary: rgba(30, 93, 217, 0.4);
    --glow-accent: rgba(0, 210, 255, 0.4);

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: #FBFCFC;
    color: #04101F;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-orb {
    position: fixed;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}

.orb-1 {
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(30, 93, 217, 0.6) 0%, transparent 60%);
}

.orb-2 {
    top: 40%;
    right: -20%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(30, 93, 217, 0.4) 0%, transparent 60%);
}

.orb-3 {
    bottom: -10%;
    left: 20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, transparent 60%);
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/* Typography - Cascada SEO: un solo h1 con máximo peso, luego h2 > h3 > h4 */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

h1 {
    font-size: 48px;
    font-weight: 700;
}

h2 {
    font-size: 40px;
    font-weight: 600;
}

h3 {
    font-size: 28px;
    font-weight: 600;
}

h4 {
    font-size: 20px;
    font-weight: 600;
}

/* Paragraph Cascade: p1 (16px) > p2 (15px) > p3 (14px) > p4 (13px) */
p,
.p3 {
    font-size: 14px;
}

.p1 {
    font-size: 16px;
    font-weight: 400;
}

.p2 {
    font-size: 15px;
    font-weight: 400;
}

.p4 {
    font-size: 13px;
    font-weight: 400;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-red {
    background: linear-gradient(90deg, #ff4b4b, #ff8f71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.mt-5 {
    margin-top: 48px;
}

.mb-4 {
    margin-bottom: 32px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.w-800 {
    max-width: 800px;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 40px;
}

.glass-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 64px;
}

/* Enhancements para Glow */
.glow-blue {
    position: relative;
}

.glow-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 0 50px rgba(0, 210, 255, 0.1);
    border-radius: inherit;
    z-index: -1;
    pointer-events: none;
}

.glow-red {
    position: relative;
}

.glow-red::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 0 50px rgba(255, 75, 75, 0.1);
    border-radius: inherit;
    z-index: -1;
    pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    color: white;
}

.btn-demo:hover {
    border: auto !important;
}

.btn-primary:hover {
    box-shadow: 0 4px 20px var(--glow-primary);
}

.btn-medium {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
}

.btn-small {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
}

.btn-large {
    padding: 16px 40px;
    font-size: 17.6px;
    font-weight: 600;
}

.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-accent), var(--color-primary), var(--color-accent));
    z-index: -1;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
    opacity: 1;
}

/* Button Demo Transversal: borde giratorio + hover orgánico */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.btn-demo {
    position: relative;
    border: 2px solid transparent;
    background:
        linear-gradient(#0e2a5c, #0e2a5c) padding-box,
        conic-gradient(from var(--border-angle),
            transparent 25%,
            var(--color-accent) 35%,
            var(--color-primary-light) 40%,
            transparent 50%) border-box;
    box-shadow: 0 0 14px rgba(30, 93, 217, 0.3);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
    color: white !important;
    z-index: 1;
    animation: btn-border-spin 3s linear infinite;
}

/* Hover: fondo gradiente animado */
.btn-demo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(120deg,
            var(--color-primary) 0%,
            var(--color-accent) 25%,
            var(--color-primary-light) 50%,
            var(--color-accent) 75%,
            var(--color-primary) 100%);
    background-size: 300% 300%;
    background-position: 0% 50%;
    opacity: 0;
    transition: opacity 0.15s ease-out;
}



@keyframes btn-border-spin {
    to {
        --border-angle: 360deg;
    }
}

@keyframes btn-demo-bg-flow {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 30%;
    }

    50% {
        background-position: 60% 90%;
    }

    75% {
        background-position: 20% 70%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Anular glow-effect en btn-demo */
.btn-demo.glow-effect::before {
    display: none;
}

.btn-demo.glow-effect:hover::before {
    display: none;
}

/* Header */
.glass-header {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 16px;
    transition: all 0.3s ease;
}

/* Cuando el menú está abierto, el nav-container debe estar encima del overlay para que la X sea visible */
.glass-header.menu-open .nav-container {
    position: relative;
    z-index: 10000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: transparent;
    box-shadow: none;
}

/* Barra del header: ancho máx 1143px, centrada, efecto glass tal cual Figma (siempre) */
.glass-header .nav-container {
    max-width: 1143px;
    margin: 0 auto;
    padding: 16px 24px;
    border-radius: 16px;
    /* Background: gradiente sutil Figma */
    background: linear-gradient(-5.59deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    /* Background blur */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    /* Inner shadow + dos drop shadows (Figma) */
    box-shadow:
        inset 0 0 8px 0 rgba(255, 255, 255, 0.25),
        0 2px 4px 0 rgba(0, 0, 0, 0.1),
        0 4px 6px 0 rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-header.header-over-light .nav-container {
    background: linear-gradient(252.57deg, #04101F -3.06%, #0107A0 31%, #005BFF 75.7%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.glass-header.header-over-light .nav-links a,
.glass-header.header-over-light .nav-login {
    color: #ffffff;
}

.glass-header.header-over-light .nav-links a:hover,
.glass-header.header-over-light .nav-login:hover {
    color: rgba(255, 255, 255, 0.85);
}

.glass-header.header-over-light .logo img {
    filter: none;
}

/* Botón del header: pill, fondo blanco, texto #303A47 */
.glass-header .btn-nav {
    border-radius: 9999px;
    background: #fff !important;
    color: #303A47 !important;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.glass-header .btn-nav:hover {
    background: #f0f2f5 !important;
    color: #303A47 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.glass-header .btn-nav.btn-demo {
    background: #fff !important;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.08);
    animation: none;
}

.glass-header .btn-nav.btn-demo::after {
    display: none;
}

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

.logo img {
    height: 32px;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    margin: 0 24px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-login {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-login:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Botón hamburger: solo visible en móvil */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    cursor: pointer;
    gap: 5px;
    transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.glass-header.header-over-light .nav-toggle-bar {
    background: var(--color-dark);
}

.glass-header .nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.glass-header .nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Forzar barras blancas y borde invisible cuando el menú está abierto (fondo oscuro del overlay) */
.glass-header.menu-open .nav-toggle-bar {
    background: #fff !important;
}

.glass-header.menu-open .nav-toggle {
    border-color: rgba(255, 255, 255, 0.25);
}

.glass-header.menu-open .logo img {
    filter: none !important;
}

/* Overlay menú móvil full-screen: encima de todo, fondo sólido */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: #05060b;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-overflow-scrolling: touch;
}

.glass-header.menu-open .nav-overlay {
    opacity: 1;
    visibility: visible;
}

.nav-mobile-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 24px 16px;
    width: 100%;
    max-width: 320px;
}

.nav-mobile-link {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    padding: 14px 24px;
    min-width: 260px;
    text-align: center;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
}

.nav-mobile-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
}

.nav-mobile-login {
    margin-top: 8px;
    color: var(--color-text-muted);
}

.nav-mobile-cta {
    margin-top: 24px;
    width: 100%;
    max-width: 260px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* En mobile el botón del dropdown se ve como el hover del botón del hero (gradiente + borde) */
@media (max-width: 768px) {
    .nav-mobile-cta.btn-demo::after {
        opacity: 1;
        animation: btn-demo-bg-flow 4s ease-in-out infinite;
    }

    .nav-mobile-cta.btn-demo {
        box-shadow: 0 0 30px var(--glow-accent);
    }
}

/* Stats section: mismo estilo que problem-section (glass oscuro, textos claros) */
/* Sección ancho completo y blanca: sin margin (evitar franja gris), espacio con padding */
.stats-section {
    margin: 0;
    padding: 60px 0 60px;
    background: #fff;
    width: 100%;
}

.stats-section-inner.container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 32px;
}

.stats-section .section-title {
    margin-bottom: 16px;
}

.stats-section-intro {
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card estilo Figma: gradiente azul + orbe abajo-izquierda, texto blanco */
.stats-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 40px 32px 48px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, #04101f 0%, #0107A0 50%, #005bff 100%);
}

.stats-card-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #00DCFF;
    filter: blur(50px);
    opacity: 0.5;
    bottom: -30%;
    left: -20%;
    pointer-events: none;
}

.stats-card-num {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 84px;
    line-height: 1;
    letter-spacing: -3.36px;
    color: #fff;
    margin: 0 0 16px;
}

.stats-card-desc {
    position: relative;
    z-index: 1;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: -0.32px;
    color: #fff;
    margin: 0;
}

/* Textos de la card siempre en blanco (evitar override de sección clara) */
.stats-card .stats-card-num,
.stats-card .stats-card-desc,
.stats-card p {
    color: #fff !important;
}

.stats-section-footer {
    color: #5C646F;
}

/* Hero Section — Fondo tipo Figma: gradiente más claro + dos orbes abajo */
.hero {
    position: relative;
    padding: max(100px, 12vh) 0 0px;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(238deg,
            rgb(4, 16, 31) 3%,
            rgb(1, 7, 160) 31%,
            rgb(0, 91, 255) 75.7%);
    overflow: hidden;
}

/* Dos orbes azules solo en la parte inferior del hero */
.hero-orb {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.85;
}

.hero-orb--big {
    width: min(701px, 85vw);
    height: min(270px, 35vw);
    bottom: -10%;
    left: -5%;
    background: radial-gradient(ellipse at center,
            rgba(0, 150, 255, 0.5) 0%,
            rgba(0, 91, 255, 0.25) 40%,
            transparent 70%);
}

.hero-orb--small {
    width: min(421px, 55vw);
    height: min(306px, 40vw);
    bottom: -15%;
    right: -8%;
    background: radial-gradient(ellipse at center,
            rgba(0, 200, 255, 0.45) 0%,
            rgba(0, 91, 255, 0.2) 45%,
            transparent 70%);
}

.hero .container.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.badge-glass {
    display: inline-block;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 32px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    max-width: 90%;
}

.hero-visual {
    margin-top: 24px;
    margin-bottom: -120px;
    /* Hace que se superponga con brands */
    position: relative;
    z-index: 1;
}

.visual-card {
    position: relative;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    animation: float 6s ease-in-out infinite;
}

.floating-img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Brands Section */
.brands {
    margin-top: 0;
    padding: 64px 0;
    background: #fff;
    position: relative;
    z-index: 10;
    /* Se coloca sobre la mitad inferior de hero-visual */
}

.section-label {
    color: var(--color-text-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.brands .section-label {
    color: #303A47;
    text-transform: none;
    font-size: 16px;
}

/* Carrusel infinito de logos (marquee) - comportamiento tipo ubits.com/new-home */
.brands-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    margin-top: 32px;
}

.brand-marquee-track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: brand-marquee 70s linear infinite;
}

.brand-marquee-track:hover {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .brand-marquee-track {
        animation: none;
    }
}

@keyframes brand-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brand-marquee-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-shrink: 0;
    padding: 0 32px;
}

.brand-logo {
    height: auto;
    max-height: 52px;
    max-width: 130px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%);
    opacity: 0.62;
    transition: opacity 0.3s;
}

.brand-logo:hover {
    opacity: 0.85;
}

.brands .brand-logo {
    filter: brightness(0) saturate(100%);
    opacity: 0.385;
    /* #9D9D9D sobre blanco ≈ black at 38.5% opacity */
}

.brands .brand-logo:hover {
    opacity: 0.55;
}

/* Problem Section — Scroll-reveal sticky text (estilo Nuraform) */
.problem-section-wrap {
    position: relative;
    background: linear-gradient(to bottom,
            rgba(251, 252, 252, 0.3) 0%,
            rgba(26, 107, 255, 0.06) 100%);
}

.problem-scroll-spacer {
    height: 300vh;
    pointer-events: none;
}

.problem-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}

.problem-phrase {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    opacity: 0;
    transition: opacity 0.45s ease-out;
    pointer-events: none;
}

.problem-phrase.active {
    opacity: 1;
    pointer-events: auto;
}

.problem-headline {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -1.6px;
    text-align: center;
    max-width: 944px;
    margin: 0;
}

.problem-headline .word {
    display: inline-block;
    color: #04101f;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.problem-headline .word.revealed {
    opacity: 1;
    transform: translateY(0);
}

.problem-headline .word--gradient {
    -webkit-text-fill-color: transparent;
}

.problem-headline .gradient-group .word--gradient {
    background: linear-gradient(90deg, #ff4b4b, #ff8f71);
    -webkit-background-clip: text;
    background-clip: text;
}

.problem-headline .gradient-group--blue .word--gradient {
    background: linear-gradient(90deg, #04101f 0%, #005bff 61.538%, #00dcff 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.problem-headline-plain {
    color: #04101f;
    font-weight: 400;
}

.problem-headline-gradient {
    background: linear-gradient(90deg, #04101f 0%, #005bff 61.538%, #00dcff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.relative-wrap {
    position: relative;
    overflow: hidden;
}

.relative-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0%;
    width: 200px;
    height: 200px;
    background: rgba(147, 51, 234, 0.2);
    filter: blur(80px);
    transform: translateY(-50%);
}

.section-title {
    margin-bottom: 24px;
    /* Hereda tamaño y peso de h2: 40px, semibold */
}

.section-desc {
    font-size: 16px;
    /* p1 */
    color: var(--color-text-muted);
}

.centered-desc {
    max-width: 700px;
    margin: 0 auto;
}

/* Secciones de fondo claro (2.ª a penúltima): textos y gradientes unificados */
.brands,
.problem-section-wrap,
.solution-section,
.testimonials,
.stats-section,
.how-it-works,
.faq-section {
    color: #04101F;
}

.brands .section-label,
.brands .section-desc,
.problem-section-wrap .section-desc,
.solution-section .section-desc,
.solution-section p,
.testimonials .section-desc,
.testimonials p,
.stats-section .section-desc,
.stats-section p,
.how-it-works .section-desc,
.how-it-works p,
.faq-section .section-desc,
.faq-section p {
    color: #5C646F;
}

.brands .section-title,
.brands h2,
.brands h3,
.brands h4,
.problem-section-wrap .section-title,
.problem-section-wrap h2,
.problem-section-wrap h3,
.problem-section-wrap h4,
.solution-section .section-title,
.solution-section h2,
.solution-section h3,
.solution-section h4,
.testimonials .section-title,
.testimonials h2,
.testimonials h3,
.testimonials h4,
.stats-section .section-title,
.stats-section h2,
.stats-section h3,
.stats-section h4,
.how-it-works .section-title,
.how-it-works h2,
.how-it-works h3,
.how-it-works h4,
.faq-section .section-title,
.faq-section h2,
.faq-section h3,
.faq-section h4 {
    color: #04101F;
}

.brands .text-gradient,
.brands .text-gradient-red,
.problem-section-wrap .text-gradient,
.problem-section-wrap .text-gradient-red,
.solution-section .text-gradient,
.solution-section .text-gradient-red,
.testimonials .text-gradient,
.testimonials .text-gradient-red,
.stats-section .text-gradient,
.stats-section .text-gradient-red,
.how-it-works .text-gradient,
.how-it-works .text-gradient-red,
.faq-section .text-gradient,
.faq-section .text-gradient-red {
    background: linear-gradient(90deg, #04101f 0%, #005bff 61.538%, #00dcff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cajas glass dentro de secciones claras: fondo claro para que el texto #04101F / #5C646F se lea bien */
.solution-section .glass-container,
.how-it-works .step-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(4, 16, 31, 0.1);
}

/* Sticky scroll reveal - Módulos (estilo mission/vision) */
.solution-section {
    margin-top: 60px;
    padding: 0;
    background: #fff;
}

.modules-sticky-wrap {
    position: relative;
}

.modules-sticky-spacer {
    height: 500vh;
    pointer-events: none;
}

.modules-sticky-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 120px;
    pointer-events: none;
}

.modules-sticky-pin>* {
    pointer-events: auto;
}

.modules-sticky-inner {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 64px;
    width: 100%;
    max-width: 1200px;
    padding: 0 32px;
}

.module-sticky-media {
    flex: 1;
    position: relative;
    min-height: 320px;
}

.module-slide-img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.95) translateX(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-slide-img.active {
    position: relative;
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 1;
}

.module-sticky-media .feature-image {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

/* Imagen de módulo limpia: sin bordes, elevation ni glass/glow; solo animación entrada/salida */
.module-sticky-media .feature-image.glass-card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.module-sticky-media .feature-image.glow-blue::before {
    display: none;
}

.module-sticky-media .feature-image img,
.module-sticky-media .feature-image video {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
    box-shadow: none;
}

.module-sticky-media .feature-image video {
    object-fit: cover;
}

.module-sticky-content {
    flex: 1;
    position: relative;
    min-height: 280px;
}

/* Lista de módulos: icono + título siempre visibles; descripción solo en activo */
.module-titles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.module-title-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 14px;
    cursor: pointer;
    transition: color 0.25s ease;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
}

.module-title-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.module-title-icon {
    grid-column: 1;
    grid-row: 1;
    width: 24px;
    height: 24px;
    color: #9ca3af;
    transition: color 0.25s ease, transform 0.25s ease;
}

.module-title-item .module-title-text {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: #5C646F;
    margin: 0;
    transition: font-size 0.25s ease, color 0.25s ease;
}

.module-title-item.active .module-title-icon {
    color: var(--color-primary);
    transform: scale(1.15);
}

.module-title-item.active .module-title-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
}

.module-title-desc {
    grid-column: 1 / -1;
    grid-row: 2;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    padding-left: 0;
}

.module-title-item.active .module-title-desc {
    max-height: 320px;
    opacity: 1;
    margin-top: 8px;
}

.module-title-desc p {
    font-size: 15px;
    line-height: 1.6;
    color: #5C646F;
    margin: 0;
}

.solution-section .module-title-desc p {
    color: #5C646F;
}

@media (max-width: 992px) {
    .modules-sticky-pin {
        padding: 70px 0 40px;
        flex-direction: column;
    }

    .modules-sticky-inner {
        flex-direction: column;
        gap: 32px;
        padding: 0 24px;
    }

    .module-sticky-media {
        min-height: 240px;
        order: 1;
    }

    .module-sticky-media .feature-image {
        max-width: 400px;
    }

    .module-sticky-content {
        min-height: auto;
        order: 2;
    }

    .module-title-item.active .module-title-text {
        font-size: 22px;
    }

    .module-title-desc p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .modules-sticky-spacer {
        height: 500vh;
    }

    .modules-sticky-inner {
        gap: 30px;
    }

    .module-sticky-media .feature-image {
        max-width: 100%;
    }

    .module-title-item .module-title-text {
        font-size: 16px;
    }

    .module-title-item.active .module-title-text {
        font-size: 20px;
    }

    .module-title-icon {
        width: 20px;
        height: 20px;
    }

    .module-title-item.active .module-title-icon {
        transform: scale(1.1);
    }
}

/* Solutions Modules - estilos compartidos (feature-image, etc.) */
.solution-section .feature-image {
    padding: 8px;
}

.solution-section .module-sticky-media .feature-image {
    padding: 0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 64px;
    margin-bottom: 96px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    margin-bottom: 16px;
    color: #fff;
    /* Hereda de h3: 28px, semibold */
}

.feature-text p {
    color: var(--color-text-muted);
    font-size: 15px;
    /* p2 */
}

.feature-image {
    flex: 1;
    padding: 8px;
}

.feature-image img {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.module-icon::after {
    display: none;
}

.module-card h3 {
    margin-bottom: 16px;
    color: #fff;
    /* Hereda de h3: 28px, semibold */
}

.module-card p {
    color: var(--color-text-muted);
    font-size: 14px;
    /* p3 */
}

.hover-glow {
    transition: all 0.4s ease;
}

.hover-glow:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.3);
}

/* Testimonios — título centro, 4 cards flotando, gradiente radial 4CE6FF→blanco, orbes detrás de cards */
.testimonials {
    margin-top: 0;
    padding: 80px 24px 100px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle 450px at 50% 50%,
            #4CE6FF 0%,
            rgba(76, 230, 255, 0.4) 30%,
            rgba(255, 255, 255, 0.97) 60%,
            #fff 100%);
}

.testimonials::before,
.testimonials::after {
    content: '';
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
}

.testimonials::before {
    width: 400px;
    height: 400px;
    background: #C181FF;
    top: 50%;
    left: 38%;
    transform: translate(-50%, -50%);
}

.testimonials::after {
    width: 350px;
    height: 350px;
    background: #C181FF;
    bottom: 45%;
    right: 28%;
    transform: translate(50%, 50%);
}

.testimonials-orb {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    background: #1A6BFF;
    filter: blur(70px);
    opacity: 0.2;
    pointer-events: none;
    width: 320px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.testimonials-stage {
    position: relative;
    z-index: 2;
    max-width: 1136px;
    margin: 0 auto;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-title {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -1.6px;
    color: #04101f;
    text-align: center;
    max-width: 560px;
    margin: 0;
}

/* Cards flotando alrededor del título */
.testimonial-card {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    max-width: 420px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: testimonial-float 4s ease-in-out infinite;
}

.testimonial-card--tl {
    top: 2%;
    left: 0;
    animation-delay: 0s;
}

.testimonial-card--tr {
    top: 2%;
    right: 0;
    animation-delay: 0.5s;
}

.testimonial-card--bl {
    bottom: 2%;
    left: 0;
    animation-delay: 1s;
}

.testimonial-card--br {
    bottom: 2%;
    right: 0;
    animation-delay: 1.5s;
}

@keyframes testimonial-float {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    50% {
        transform: translateY(-8px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

.testimonial-card-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.testimonial-card-quote {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.33;
    letter-spacing: -0.24px;
    color: #5c646f;
    margin: 0;
}

.testimonial-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.testimonial-card-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.25;
    letter-spacing: -0.26px;
    color: #303a47;
}

.testimonial-card-divider {
    font-size: 11px;
    color: #a2a6ad;
}

.testimonial-card-role {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: -0.22px;
    color: #a2a6ad;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

/* How it Works */
.how-it-works {
    margin-top: 60px;
    padding: 0;
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.step-box {
    flex: 1;
    text-align: center;
    padding: 48px 32px;
    position: relative;
    z-index: 2;
    background: rgba(9, 11, 20, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

.step-num {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 24px;
    box-shadow: 0 0 20px var(--glow-primary);
}

.step-box h3 {
    margin-bottom: 16px;
    /* Hereda de h3: 28px, semibold */
}

.step-box p {
    color: var(--color-text-muted);
}

.step-line {
    flex: 0.5;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: 0 -20px;
    opacity: 0.5;
}

/* FAQ / Objeciones */
.faq-section {
    margin-top: 60px;
    padding: 0;
}

/* Estructura tipo container + modules-sticky-inner: mismo ancho y padding que esa sección, dos columnas, gap 64px (clases propias, sin sticky) */
.faq-inner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.faq-col-left,
.faq-col-right {
    flex: 1;
    min-width: 0;
}

.faq-col-left .section-title {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .faq-inner {
        flex-direction: column;
        gap: 32px;
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .faq-inner {
        gap: 30px;
    }
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: 400;
    font-family: var(--font-heading);
}

/* Botón circular tipo Figma: blanco, borde gris, icono plus/minus */
.faq-toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #d0d2d5;
    border-radius: 50%;
    background: #fff;
    color: #5C646F;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.faq-toggle:hover {
    border-color: #b0b2b5;
    color: #04101F;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    transition: none;
}

.faq-icon svg {
    width: 100%;
    height: 100%;
}

.faq-icon-minus {
    display: none;
}

.faq-item.active .faq-icon-plus {
    display: none;
}

.faq-item.active .faq-icon-minus {
    display: flex;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: var(--color-text-muted);
}

.faq-answer p {
    padding-top: 16px;
}

.faq-item.active .faq-answer {
    max-height: 220px;
}


/* Final CTA — fullwidth, pegada al footer, diseño Figma */
.final-cta {
    margin-top: 60px;
    margin-bottom: 0;
    padding: 80px 24px 96px;
    width: 100%;
    color: #fff;
    font-family: var(--font-heading);
}

.final-cta-inner {
    max-width: 938px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.final-cta-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.36px;
    color: #00dcff;
    margin: 0 0 -24px 0;
}

.final-cta-title {
    font-size: 72px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -2.88px;
    color: #fff;
    margin: 0;
}

/* Input glass tipo Figma: pill, blur, borde sutil */
.final-cta-input-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 555px;
    min-height: 56px;
    padding: 4px 4px 4px 24px;
    border-radius: 1000px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(-13.4deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        inset 0 0 8px 0 rgba(255, 255, 255, 0.25);
}

.final-cta-input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px 12px 0;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.32px;
    color: #edeeef;
    outline: none;
}

/* Fix browser auto-fill overriding transparent background */
.final-cta-input:-webkit-autofill,
.final-cta-input:-webkit-autofill:hover, 
.final-cta-input:-webkit-autofill:focus, 
.final-cta-input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #edeeef !important;
}

.final-cta-input::placeholder {
    color: #edeeef;
    opacity: 0.9;
}

.final-cta-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #d0d2d5;
    border-radius: 50%;
    background: #fff;
    color: #04101f;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.final-cta-btn:hover {
    border-color: #b0b2b5;
    background: #f5f5f5;
}

.final-cta-btn svg {
    width: 16px;
    height: 16px;
}

.final-cta-error-msg {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 16px;
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 8px;
    color: #ff8a80;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    animation: slideUpFade 0.3s ease-out;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.final-cta-error-msg svg {
    flex-shrink: 0;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer — diseño Figma (653:2190) */
.footer {
    background: #04101f;
    color: #fff;
    padding: 57px 32px 18px;
    position: relative;
    z-index: 10;
}

.footer-inner {
    max-width: 1136px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    gap: 96px;
    flex-wrap: wrap;
}

.footer-logo-wrap {
    display: block;
    flex-shrink: 0;
}

.footer-logo {
    width: 91px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: -0.3px;
    color: #00dcff;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: -0.3px;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

.footer-links a:hover {
    color: #00dcff;
}

.footer-col-app .footer-app-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-app-badge {
    display: block;
    line-height: 0;
    transition: opacity 0.2s;
}

.footer-app-badge:hover {
    opacity: 0.85;
}

.footer-app-badge img {
    display: block;
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid #354252;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: -0.3px;
    color: #fff;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #00dcff;
}

.footer-bottom p {
    margin: 0;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-up.visible,
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive Design & Breakpoints Standardization */

/* --- Tweak for Hero in Desktop (Above The Fold Enforcement) --- */
@media (min-width: 993px) {
    .hero {
        min-height: 100svh;
        /* Ocupar todo el viewport */
        padding-top: max(120px, 15vh);
    }

    .hero-title {
        font-size: clamp(36px, 5vw, 48px);
        margin-bottom: 24px;
    }

    .hero-subtitle {
        margin-bottom: clamp(24px, 4vh, 48px);
    }

    /* Deja fluir la imagen con su tamaño natural */
    .hero-visual {
        transform: translateY(0) !important;
        margin-top: 32px !important;
        margin-bottom: -150px;
        /* En desktop se solapa más profundo */
    }

    .hero-visual img {
        height: auto;
        width: 100%;
        max-width: 1000px;
        display: block;
    }
}

/* --- Breakpoint 1: 1200px (Laptops pequeñas / Tablets Horizontales) --- */
@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }

    .hero-title {
        font-size: 44px;
    }

    h2 {
        font-size: 36px;
    }
}

/* --- Breakpoint 2: 992px (Tablets Portrait) --- */
@media (max-width: 992px) {
    .hero {
        padding-top: max(100px, 10vh);
        min-height: 100svh;
    }

    .hero-title {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 24px;
    }

    .hero-visual {
        transform: translateY(20px) !important;
    }

    .feature-row {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    .steps-container {
        flex-direction: column;
        gap: 24px;
    }

    .step-box {
        width: 100%;
    }

    .step-line {
        display: none;
    }

    .testimonials {
        padding: 48px 16px 64px;
    }

    .testimonials-stage {
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .testimonials-title {
        font-size: 28px;
        letter-spacing: -1px;
        margin-bottom: 32px;
        order: 0;
    }

    .testimonial-card {
        position: static;
        max-width: 100%;
        animation: none;
        order: 1;
        margin-bottom: 20px;
    }

    .testimonial-card:last-child {
        margin-bottom: 0;
    }

    /* Header: mostrar hamburguesa, ocultar nav desktop */
    .nav-toggle {
        display: flex;
    }

    .nav-links,
    .nav-right {
        display: none;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* --- Breakpoint 3: 768px (Móviles Grandes / Phablets) --- */
@media (max-width: 768px) {

    .glass-container {
        padding: 32px 16px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }

    .hero-title {
        font-size: clamp(28px, 6vw, 36px);
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: clamp(14px, 3vw, 16px);
        margin-bottom: 24px;
    }

    .hero-visual {
        transform: translateY(0) !important;
        margin-top: 24px !important;
        margin-bottom: -80px;
    }

    .hero-visual img {
        height: auto;
        width: 100%;
        display: block;
    }

    .problem-section-wrap,
    .solution-section,
    .testimonials,
    .stats-section {
        padding: 40px 0 40px;
    }

    .stats-section-inner.container {
        padding: 0 16px;
    }

    .how-it-works,
    .faq-section {
        margin-top: 40px;
        padding: 0 16px;
    }

    .final-cta {
        margin-top: 40px;
        padding: 60px 16px 72px;
    }

    .final-cta-title {
        font-size: clamp(36px, 8vw, 56px);
        letter-spacing: -1.5px;
    }

    .problem-section-wrap {
        padding: 0;
    }

    .problem-headline {
        font-size: 32px;
        letter-spacing: -1.2px;
    }

    .brands {
        margin-top: 0;
        padding: 48px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-card-num {
        font-size: 64px;
        letter-spacing: -2.5px;
    }
}

/* --- Breakpoint 4: 576px (Móviles Estándar) --- */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .brand-marquee-group {
        gap: 32px;
        padding: 0 24px;
    }

    .brand-logo {
        height: 30px;
    }

    .hero-title {
        font-size: clamp(26px, 8vw, 32px);
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 16px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-visual {
        margin-bottom: -60px;
    }

    .problem-section-wrap {
        padding: 0;
    }

    .problem-headline {
        font-size: clamp(24px, 6vw, 28px);
        letter-spacing: -0.8px;
    }

    .hero-actions .btn {
        width: 100%;
        display: block;
    }

    .footer {
        padding: 40px 16px 24px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-inner {
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .problem-section-wrap,
    .solution-section,
    .how-it-works,
    .testimonials,
    .faq-section {
        margin-top: 40px;
        padding: 0 16px;
    }

    .testimonials {
        padding-bottom: 40px;
    }

    .final-cta {
        margin-top: 40px;
        padding: 48px 16px 64px;
    }

    .final-cta-subtitle {
        font-size: 16px;
    }

    .final-cta-title {
        font-size: clamp(28px, 7vw, 40px);
        letter-spacing: -1px;
    }

    .final-cta-inner {
        gap: 32px;
    }

    .final-cta-input-wrap {
        padding-left: 16px;
    }

    .final-cta-btn {
        width: 44px;
        height: 44px;
    }

    .brands {
        margin-top: 0;
        padding: 48px 0;
    }
}

.divider {
  border: none;
  height: 1px;
  background: #E2E8F0;
  margin: 12px 0;
}