@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================
   VARIABLES & RESET
   ========================================== */
:root {
    --navy-900: #011025;
    --navy-800: #061b3a;
    --navy-700: #0c2d5a;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --cyan-400: #22d3ee;
    --cyan-300: #67e8f9;
    --emerald-500: #10b981;
    --amber-500: #f59e0b;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   NAV
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: var(--navy-900);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.nav.scrolled {
    padding: 10px 0;
}

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

.nav-logo img {
    height: 90px;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--cyan-300);
}

.nav-cta {
    background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Hamburger menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(59, 130, 246, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(34, 211, 238, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.falling-pattern-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.falling-pattern-bg {
    position: absolute;
    inset: 0;
    background-color: var(--navy-900);
    background-image: 
        radial-gradient(4px 100px at 0px 235px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(4px 100px at 300px 235px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(1.5px 1.5px at 150px 117.5px, rgba(34, 211, 238, 0.2) 100%, transparent 150%),
        radial-gradient(4px 100px at 0px 252px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(4px 100px at 300px 252px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(1.5px 1.5px at 150px 126px, rgba(34, 211, 238, 0.2) 100%, transparent 150%),
        radial-gradient(4px 100px at 0px 150px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(4px 100px at 300px 150px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(1.5px 1.5px at 150px 75px, rgba(34, 211, 238, 0.2) 100%, transparent 150%),
        radial-gradient(4px 100px at 0px 253px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(4px 100px at 300px 253px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(1.5px 1.5px at 150px 126.5px, rgba(34, 211, 238, 0.2) 100%, transparent 150%),
        radial-gradient(4px 100px at 0px 204px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(4px 100px at 300px 204px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(1.5px 1.5px at 150px 102px, rgba(34, 211, 238, 0.2) 100%, transparent 150%),
        radial-gradient(4px 100px at 0px 134px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(4px 100px at 300px 134px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(1.5px 1.5px at 150px 67px, rgba(34, 211, 238, 0.2) 100%, transparent 150%),
        radial-gradient(4px 100px at 0px 179px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(4px 100px at 300px 179px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(1.5px 1.5px at 150px 89.5px, rgba(34, 211, 238, 0.2) 100%, transparent 150%),
        radial-gradient(4px 100px at 0px 299px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(4px 100px at 300px 299px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(1.5px 1.5px at 150px 149.5px, rgba(34, 211, 238, 0.2) 100%, transparent 150%),
        radial-gradient(4px 100px at 0px 215px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(4px 100px at 300px 215px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(1.5px 1.5px at 150px 107.5px, rgba(34, 211, 238, 0.2) 100%, transparent 150%),
        radial-gradient(4px 100px at 0px 281px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(4px 100px at 300px 281px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(1.5px 1.5px at 150px 140.5px, rgba(34, 211, 238, 0.2) 100%, transparent 150%),
        radial-gradient(4px 100px at 0px 158px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(4px 100px at 300px 158px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(1.5px 1.5px at 150px 79px, rgba(34, 211, 238, 0.2) 100%, transparent 150%),
        radial-gradient(4px 100px at 0px 210px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(4px 100px at 300px 210px, rgba(34, 211, 238, 0.2), transparent), radial-gradient(1.5px 1.5px at 150px 105px, rgba(34, 211, 238, 0.2) 100%, transparent 150%);
    background-size: 
        300px 235px, 300px 235px, 300px 235px, 300px 252px, 300px 252px, 300px 252px, 300px 150px, 300px 150px, 300px 150px, 300px 253px, 300px 253px, 300px 253px, 300px 204px, 300px 204px, 300px 204px, 300px 134px, 300px 134px, 300px 134px, 300px 179px, 300px 179px, 300px 179px, 300px 299px, 300px 299px, 300px 299px, 300px 215px, 300px 215px, 300px 215px, 300px 281px, 300px 281px, 300px 281px, 300px 158px, 300px 158px, 300px 158px, 300px 210px, 300px 210px;
    animation: falling-bg 150s linear infinite;
}

.falling-pattern-overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(8px);
    background-image: radial-gradient(circle at 50% 50%, transparent 0, transparent 2px, var(--navy-900) 2px);
    background-size: 8px 8px;
    opacity: 0.85;
}

@keyframes falling-bg {
    0% {
        background-position: 0px 220px, 3px 220px, 151.5px 337.5px, 25px 24px, 28px 24px, 176.5px 150px, 50px 16px, 53px 16px, 201.5px 91px, 75px 224px, 78px 224px, 226.5px 230.5px, 100px 19px, 103px 19px, 251.5px 121px, 125px 120px, 128px 120px, 276.5px 187px, 150px 31px, 153px 31px, 301.5px 120.5px, 175px 235px, 178px 235px, 326.5px 384.5px, 200px 121px, 203px 121px, 351.5px 228.5px, 225px 224px, 228px 224px, 376.5px 364.5px, 250px 26px, 253px 26px, 401.5px 105px, 275px 75px, 278px 75px, 426.5px 180px;
    }
    100% {
        background-position: 0px 6800px, 3px 6800px, 151.5px 6917.5px, 25px 13632px, 28px 13632px, 176.5px 13758px, 50px 5416px, 53px 5416px, 201.5px 5491px, 75px 17175px, 78px 17175px, 226.5px 17301.5px, 100px 5119px, 103px 5119px, 251.5px 5221px, 125px 8428px, 128px 8428px, 276.5px 8495px, 150px 9876px, 153px 9876px, 301.5px 9965.5px, 175px 13391px, 178px 13391px, 326.5px 13540.5px, 200px 14741px, 203px 14741px, 351.5px 14848.5px, 225px 18770px, 228px 18770px, 376.5px 18910.5px, 250px 5082px, 253px 5082px, 401.5px 5161px, 275px 6375px, 278px 6375px, 426.5px 6480px;
    }
}

/* .hero::after eliminado para que el azul complete el alto de la pantalla */

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

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 6px 16px;
    border-radius: 100px;
    color: var(--cyan-300);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan-400);
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
    color: var(--white);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

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

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-visual img {
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrar hijos horizontalmente */
}

.hero-stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center; /* Centrar número horizontalmente */
    height: 60px;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-number.infinity {
    font-size: 64px;
    height: 60px;
    position: relative;
    top: 2px;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--slate-400);
    font-weight: 500;
    white-space: nowrap; /* Evitar saltos de línea para mantener alineación */
}

/* ==========================================
   PROBLEM SECTION
   ========================================== */
.problem {
    padding: 100px 0;
    background: var(--white);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue-500);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
    border-radius: 2px;
}

.section-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: var(--slate-800);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--slate-500);
    max-width: 600px;
    line-height: 1.7;
}

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

.problem-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f97316);
    opacity: 0;
    transition: opacity 0.4s;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fef2f2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 10px;
}

.problem-card p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ==========================================
   SOLUTION SECTION
   ========================================== */
.solution {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}

.solution .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.solution-visual {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 600px; /* Altura para coincidir con el bloque de texto */
}

.scroll-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.infinite-scroll {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: max-content;
    animation: scroll-up 40s linear infinite;
}

.infinite-scroll:hover {
    animation-play-state: paused;
}

.image-item {
    flex-shrink: 0;
    width: 100%; /* Ocupa todo el ancho disponible */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--slate-200);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-item:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    z-index: 10;
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.solution-content .section-title {
    max-width: 480px;
}

.solution-content .section-subtitle {
    margin-bottom: 32px;
}

.solution-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.solution-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.solution-check {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--emerald-500), #34d399);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.solution-list li div h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 2px;
}

.solution-list li div p {
    font-size: 14px;
    color: var(--slate-500);
}

/* ==========================================
   FEATURES
   ========================================== */
.features {
    padding: 100px 0;
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 10% 70%, rgba(34, 211, 238, 0.04) 0%, transparent 60%);
}

.features .section-label {
    color: var(--cyan-300);
}

.features .section-title {
    color: var(--white);
}

.features .section-subtitle {
    color: var(--slate-400);
}

.features-text {
    text-align: center;
    position: relative;
    z-index: 1;
}

.features-text .section-subtitle {
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue-400);
}

.feature-icon.cyan {
    background: rgba(34, 211, 238, 0.15);
    color: var(--cyan-300);
}

.feature-icon.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.feature-icon.amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.feature-icon.purple {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.7;
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
}

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

.how-text .section-subtitle {
    margin: 0 auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 18%;
    right: 18%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400), var(--emerald-500));
    opacity: 0.3;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    position: relative;
    z-index: 1;
}

.step-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: var(--slate-500);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================
   TRUST / SECURITY
   ========================================== */
.trust {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}

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

.trust-text .section-subtitle {
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.trust-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    transition: all 0.3s;
}

.trust-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.trust-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    color: var(--cyan-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.trust-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 6px;
}

.trust-card p {
    font-size: 13px;
    color: var(--slate-500);
    line-height: 1.6;
}

/* ==========================================
   ISOLATION BANNER
   ========================================== */
.isolation {
    padding: 80px 0;
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.isolation::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
}

.isolation .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.isolation-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(34, 211, 238, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: var(--cyan-300);
    flex-shrink: 0;
}

.isolation-content h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.isolation-content p {
    font-size: 16px;
    color: var(--slate-400);
    max-width: 700px;
    line-height: 1.7;
}

.isolation-content strong {
    color: var(--cyan-300);
}

/* ==========================================
   FINAL CTA
   ========================================== */
.final-cta {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.final-cta .section-title {
    max-width: 600px;
    margin: 0 auto 16px;
}

.final-cta .section-subtitle {
    margin: 0 auto 40px;
    max-width: 520px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 450px;
    margin: 0 auto 32px;
}

.cta-form input {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid var(--slate-200);
    font-size: 16px;
    transition: all 0.3s;
    background: var(--slate-50);
}

.cta-form input:focus {
    outline: none;
    border-color: var(--blue-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.cta-form .btn-primary {
    justify-content: center;
    width: 100%;
}


.cta-trust-signals {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--slate-500);
    font-weight: 500;
}

.cta-trust-item i {
    color: var(--emerald-500);
    font-size: 16px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 60px 0 40px;
    background: var(--navy-900);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 30px;
}

.footer-logo img {
    height: 70px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--slate-400);
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 13px;
    color: var(--slate-500);
}

.footer-text a {
    color: var(--cyan-300);
    transition: color 0.3s;
}

.footer-text a:hover {
    color: var(--cyan-400);
}

.footer-compliance {
    transition: opacity 0.3s;
}

.footer-compliance:hover {
    opacity: 0.9;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 36px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        justify-content: center;
    }

    .solution .container {
        grid-template-columns: 1fr;
    }

    .solution-visual {
        order: 2;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-logo img {
        height: 50px;
    }

    .hero {
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(1, 16, 37, 0.98);
        padding: 24px;
        gap: 16px;
        backdrop-filter: blur(20px);
    }

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

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

    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps::before {
        display: none;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .isolation .container {
        flex-direction: column;
        text-align: center;
    }

    .footer .container {
        display: flex;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        justify-content: center;
    }

    .footer-logo img {
        height: 50px; /* Logo más proporcional en móvil */
        margin: 0 auto;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        justify-content: center;
    }
}