/* ============================================
   FinPro Landing Page — Design System & Styles
   ============================================ */

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

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --navy: #0B1A3B;
    --navy-light: #132952;
    --navy-mid: #1A3366;
    --accent-blue: #3B82F6;
    --accent-blue-light: #60A5FA;
    --accent-blue-glow: rgba(59, 130, 246, 0.45);
    --white: #FFFFFF;
    --white-70: rgba(255, 255, 255, 0.7);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-15: rgba(255, 255, 255, 0.15);
    --white-08: rgba(255, 255, 255, 0.08);
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-500: #64748B;
    --gray-700: #334155;
    --gray-900: #0F172A;
    --green: #22C55E;
    --red: #EF4444;
    --glass-bg: rgba(19, 41, 82, 0.55);
    --glass-border: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-py: 120px;
    --container-max: 1200px;
    --container-px: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-med: 0.4s ease;
    --transition-slow: 0.7s ease;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* --- Utility --- */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-blue-light);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--white-70);
    max-width: 640px;
    line-height: 1.7;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.nav.scrolled {
    background: rgba(11, 26, 59, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--glass-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-logo .logo-icon {
    width: 36px;
    height: 36px;
}

/* Stacked diamond SVG logo */
.logo-icon .diamond {
    fill: var(--accent-blue-light);
    opacity: 0.7;
}

.logo-icon .diamond:last-child {
    opacity: 1;
    fill: var(--accent-blue);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white-70);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width var(--transition-fast);
}

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

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

/* Remove hover underline from nav CTA button */
.nav-links li:last-child a::after {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
    box-shadow: 0 0 0 0 var(--accent-blue-glow);
}

.btn-primary:hover {
    background: #2563EB;
    box-shadow: 0 0 24px 4px var(--accent-blue-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--white-15);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

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

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Radial glow behind dashboard */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

/* Grid pattern */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--white-08) 1px, transparent 1px),
        linear-gradient(90deg, var(--white-08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

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

.hero-content {
    max-width: 560px;
}

.hero-badge-row {
    margin-bottom: 20px;
}

.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.hero-content .section-label {
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--white-70);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

/* ---- Abstract Universe Container ---- */
.hero-universe {
    position: relative;
    width: 500px;
    height: 500px;
}

/* ---- Central Orb ---- */
.universe-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.core-glow {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    animation: corePulse 3s ease-in-out infinite;
}

.core-logo {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.5));
}

/* Expanding rings around the core */
.core-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.core-ring-1 {
    inset: -40px;
    animation: ringPulse 4s ease-in-out infinite;
}

.core-ring-2 {
    inset: -80px;
    border-color: rgba(59, 130, 246, 0.1);
    animation: ringPulse 4s ease-in-out 1s infinite;
}

.core-ring-3 {
    inset: -130px;
    border-color: rgba(59, 130, 246, 0.06);
    animation: ringPulse 4s ease-in-out 2s infinite;
}

@keyframes corePulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@keyframes ringPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.06);
    }
}

/* ---- Orbiting KPI Nodes ---- */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    pointer-events: none;
}

.orbit-node {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 6px 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
}

.orbit-node span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-blue-light);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* Position each node and animate */
.orbit-1 {
    animation: orbit1 18s linear infinite;
}

.node-1 {
    top: -180px;
    left: -25px;
}

.orbit-2 {
    animation: orbit2 22s linear infinite;
}

.node-2 {
    top: 75px;
    left: 195px;
}

.orbit-3 {
    animation: orbit3 15s linear infinite;
}

.node-3 {
    top: 145px;
    left: -170px;
}

.orbit-4 {
    animation: orbit4 25s linear infinite;
}

.node-4 {
    top: -95px;
    left: 170px;
}

.orbit-5 {
    animation: orbit5 20s linear infinite;
}

.node-5 {
    top: 170px;
    left: 50px;
}

@keyframes orbit1 {
    0% {
        transform: rotate(0deg) translateX(2px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(2px) rotate(-360deg);
    }
}

@keyframes orbit2 {
    0% {
        transform: rotate(0deg) translateY(3px) rotate(0deg);
    }

    100% {
        transform: rotate(-360deg) translateY(3px) rotate(360deg);
    }
}

@keyframes orbit3 {
    0% {
        transform: rotate(0deg) translateX(-2px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(-2px) rotate(-360deg);
    }
}

@keyframes orbit4 {
    0% {
        transform: rotate(0deg) translateY(-2px) rotate(0deg);
    }

    100% {
        transform: rotate(-360deg) translateY(-2px) rotate(360deg);
    }
}

@keyframes orbit5 {
    0% {
        transform: rotate(0deg) translateX(3px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(3px) rotate(-360deg);
    }
}

/* ---- SVG Chart Lines ---- */
.hero-chart-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.chart-line {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: drawLine 3s ease-out forwards;
}

.chart-line-2 {
    animation-delay: 0.5s;
}

.chart-line-3 {
    animation-delay: 1s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* ---- Floating Particles ---- */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent-blue-light);
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

.p1 {
    left: 20%;
    top: 70%;
    animation-delay: 0s;
}

.p2 {
    left: 45%;
    top: 80%;
    animation-delay: 0.8s;
}

.p3 {
    left: 70%;
    top: 65%;
    animation-delay: 1.6s;
}

.p4 {
    left: 30%;
    top: 85%;
    animation-delay: 2.4s;
}

.p5 {
    left: 55%;
    top: 75%;
    animation-delay: 3.2s;
}

.p6 {
    left: 80%;
    top: 55%;
    animation-delay: 4s;
}

.p7 {
    left: 15%;
    top: 60%;
    animation-delay: 4.8s;
}

.p8 {
    left: 65%;
    top: 50%;
    animation-delay: 5.5s;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    20% {
        opacity: 0.7;
        transform: translateY(-30px) scale(1);
    }

    80% {
        opacity: 0.3;
        transform: translateY(-100px) scale(0.8);
    }

    100% {
        opacity: 0;
        transform: translateY(-140px) scale(0.3);
    }
}

/* ==========================================
   PARALLAX FLOATING SHAPES
   ========================================== */
.parallax-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.pshape {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    transition: transform 0.1s linear;
}

.pshape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -5%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.10) 0%, transparent 70%);
}

.pshape-2 {
    width: 300px;
    height: 300px;
    top: 40%;
    right: -3%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.08) 0%, transparent 70%);
}

.pshape-3 {
    width: 200px;
    height: 200px;
    top: 70%;
    left: 15%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
}

.pshape-4 {
    width: 350px;
    height: 350px;
    top: 120%;
    right: 20%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.06) 0%, transparent 70%);
}

.pshape-5 {
    width: 180px;
    height: 180px;
    top: 200%;
    left: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.10) 0%, transparent 70%);
}

.pshape-6 {
    width: 260px;
    height: 260px;
    top: 300%;
    left: 5%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.08) 0%, transparent 70%);
}


/* ==========================================
   PROBLEM VS SOLUTION
   ========================================== */
.problem-section {
    padding: var(--section-py) 0;
    position: relative;
}

.problem-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.problem-card,
.solution-card {
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.problem-card {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.08), rgba(11, 26, 59, 0.5));
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.solution-card {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(11, 26, 59, 0.5));
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.problem-card h3,
.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.problem-card .icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-card .icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-card ul,
.solution-card ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.problem-card li,
.solution-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--white-70);
    line-height: 1.6;
}

.problem-card li::before {
    content: '✕';
    color: var(--red);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.solution-card li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Decorative spreadsheet lines in problem card */
.problem-card .deco-lines {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 160px;
    height: 120px;
    opacity: 0.06;
}

.problem-card .deco-lines line {
    stroke: var(--white);
    stroke-width: 1;
}


/* ==========================================
   QUÉ NO ES FINPRO SECTION
   ========================================== */
.not-finpro-section {
    padding: var(--section-py) 0;
    position: relative;
}

.not-finpro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--white-15), transparent);
}

.not-finpro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

.not-finpro-col {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.not-finpro-col:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
}

.not-col {
    border-top: 3px solid var(--red);
}

.yes-col {
    border-top: 3px solid var(--green);
}

.not-col-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.not-finpro-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.not-finpro-col li {
    font-size: 0.95rem;
    color: var(--white-70);
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.not-col li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
    font-size: 0.8rem;
}

.yes-col li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 0.85rem;
}


/* ==========================================
   TRUST / POR QUÉ CONFIAR SECTION
   ========================================== */
.trust-section {
    padding: var(--section-py) 0;
    position: relative;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--white-15), transparent);
}

.trust-content {
    margin-top: 48px;
}

.trust-expert {
    display: flex;
    gap: 28px;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.trust-expert:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
}

.expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.expert-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.expert-role {
    color: var(--accent-blue-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.expert-bio {
    color: var(--white-70);
    font-size: 0.92rem;
    line-height: 1.65;
}

.trust-team-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    margin-top: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.trust-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
}

.trust-team-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-blue-light);
}

.trust-team-card p {
    color: var(--white-70);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 10px;
}

.trust-team-card p:last-child {
    margin-bottom: 0;
}

.trust-team-mission {
    font-style: italic;
    color: var(--white-50) !important;
}

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

.trust-stat {
    text-align: center;
    padding: 24px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.trust-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
}

.trust-stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-blue-light);
    margin-bottom: 4px;
}

.trust-stat-label {
    font-size: 0.82rem;
    color: var(--white-50);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ==========================================
   SELECT DROPDOWN STYLING
   ========================================== */
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--white-15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    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 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-group select:focus {
    border-color: var(--accent-blue);
    background-color: rgba(59, 130, 246, 0.06);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group select.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-group select option {
    background: var(--navy);
    color: var(--white);
}


/* ==========================================
   COOKIE CONSENT BANNER
   ========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1500;
    padding: 16px 24px;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    animation: slideUpBanner 0.4s ease;
}

.cookie-banner.visible {
    display: flex;
}

.cookie-banner p {
    font-size: 0.88rem;
    color: var(--white-70);
    margin: 0;
}

.cookie-banner a {
    color: var(--accent-blue-light);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
}

@keyframes slideUpBanner {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


/* ==========================================
   ASSESSMENT CTA BUTTON
   ========================================== */
.btn-assessment {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(245, 158, 11, 0.15));
    border: 1.5px solid rgba(245, 158, 11, 0.4);
    transition: all var(--transition-fast);
}

.btn-assessment:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(245, 158, 11, 0.25));
    border-color: rgba(245, 158, 11, 0.7);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
    transform: translateY(-2px);
}


/* ==========================================
   ASSESSMENT MID-PAGE BANNER
   ========================================== */
.assessment-banner {
    padding: 48px 0;
}

.assessment-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 40px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(245, 158, 11, 0.06));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.assessment-banner-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.08);
}

.assessment-banner-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.assessment-banner-text p {
    font-size: 0.92rem;
    color: var(--white-70);
    margin: 0;
}


/* ==========================================
   STACKED LAYERS DIVIDER
   ========================================== */
.stacked-layers {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layer {
    position: absolute;
    width: 70%;
    max-width: 800px;
    height: 6px;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(-120px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.layer-1 {
    background: rgba(96, 165, 250, 0.15);
    transition-delay: 0s;
}

.layer-2 {
    background: rgba(96, 165, 250, 0.25);
    transition-delay: 0.15s;
}

.layer-3 {
    background: rgba(96, 165, 250, 0.35);
    transition-delay: 0.3s;
}

.layer-4 {
    background: rgba(96, 165, 250, 0.5);
    transition-delay: 0.45s;
}

.layer-5 {
    background: rgba(59, 130, 246, 0.7);
    transition-delay: 0.6s;
}

.stacked-layers.in-view .layer {
    opacity: 1;
    transform: translateY(0);
}

.stacked-layers.in-view .layer-1 {
    transform: translateY(-32px);
}

.stacked-layers.in-view .layer-2 {
    transform: translateY(-16px);
}

.stacked-layers.in-view .layer-3 {
    transform: translateY(0);
}

.stacked-layers.in-view .layer-4 {
    transform: translateY(16px);
}

.stacked-layers.in-view .layer-5 {
    transform: translateY(32px);
}


/* ==========================================
   FEATURES SECTION (White background)
   ========================================== */
.features-section {
    padding: var(--section-py) 0;
    padding-top: calc(var(--section-py) + 60px);
    padding-bottom: calc(var(--section-py) + 40px);
    position: relative;
    background: linear-gradient(to bottom,
            var(--navy) 0%,
            var(--white) 80px,
            var(--white) calc(100% - 40px),
            var(--white) 100%);
    color: var(--gray-900);
}

.features-section .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.features-section .section-label {
    color: var(--accent-blue);
}

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

.features-section .section-subtitle {
    margin: 0 auto;
    color: var(--gray-500);
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: transform var(--transition-med), border-color var(--transition-med), box-shadow var(--transition-med);
    position: relative;
    overflow: hidden;
}

/* Animated gradient bar — slides in from left on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light), var(--accent-blue));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle glow on hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.08),
        0 0 40px rgba(59, 130, 246, 0.06);
}

.feature-card:hover::before {
    transform: scaleX(1);
    animation: gradientSlide 2s linear infinite;
}

.feature-card:hover::after {
    opacity: 1;
}

@keyframes gradientSlide {
    0% {
        background-position: 0% 0%;
    }

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-4deg);
    background: rgba(59, 130, 246, 0.14);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-blue);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    stroke: #2563EB;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Mini SVG chart inside feature card */
.feature-chart {
    margin-top: 24px;
    height: 60px;
    position: relative;
}

.feature-chart svg {
    width: 100%;
    height: 100%;
}

.chart-line {
    fill: none;
    stroke: var(--accent-blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 1.5s ease;
}

.in-view .chart-line {
    stroke-dashoffset: 0;
}

.chart-area {
    fill: url(#chartGradient);
    opacity: 0;
    transition: opacity 1s ease 0.5s;
}

.in-view .chart-area {
    opacity: 0.3;
}


/* ==========================================
   PRICING SECTION (White background)
   ========================================== */
.pricing-section {
    padding: var(--section-py) 0;
    padding-bottom: calc(var(--section-py) + 60px);
    position: relative;
    background: linear-gradient(to bottom,
            var(--gray-50) 0%,
            var(--gray-50) calc(100% - 80px),
            var(--navy) 100%);
    color: var(--gray-900);
}

.pricing-section .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.pricing-section .section-label {
    color: var(--accent-blue);
}

.pricing-section .section-title {
    color: var(--gray-900);
}

.pricing-section .section-subtitle {
    margin: 0 auto;
    color: var(--gray-500);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-med);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.08),
        0 0 40px rgba(59, 130, 246, 0.06);
}

/* Popular / highlighted tier */
.pricing-card.popular {
    border-color: var(--accent-blue);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.06) 0%, var(--white) 40%);
}

.pricing-card.popular::before {
    content: 'Más Popular';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-tier {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.pricing-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.pricing-card .pricing-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 28px;
    flex-grow: 1;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--green);
    fill: none;
    stroke-width: 2;
    margin-top: 2px;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.pricing-card .btn-outline {
    color: var(--gray-900);
    border-color: var(--gray-200);
}

.pricing-card .btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.06);
}

/* ==========================================
   TIMELINE / IMPLEMENTATION SECTION
   ========================================== */
.timeline-section {
    padding: var(--section-py) 0;
    position: relative;
}

.timeline-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.timeline-section .section-subtitle {
    margin: 0 auto;
}

.timeline {
    display: flex;
    justify-content: center;
    position: relative;
    gap: 0;
    isolation: isolate;
}

/* Connecting line */
.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08), transparent);
    z-index: -1;
}

/* Animated progress line that fills on reveal */
.timeline::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    z-index: -1;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), rgba(59, 130, 246, 0.4), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.timeline.in-view::after {
    transform: scaleX(1);
}

.timeline-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 16px;
    /* Sequential reveal: hidden by default, animated via JS */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.timeline-step.step-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-step .step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--navy);
    border: 2px solid var(--white-15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    transition: border-color 0.6s ease, box-shadow 0.6s ease, background 0.6s ease;
}

/* Bubble glow-up when step becomes visible — smooth inner radiance */
.timeline-step.step-visible .step-icon {
    border-color: var(--accent-blue);
    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.25),
        0 0 40px rgba(59, 130, 246, 0.08),
        inset 0 0 20px rgba(59, 130, 246, 0.15);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0.06) 70%);
}

.timeline-step .step-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white-50);
    fill: none;
    stroke-width: 1.5;
    transition: stroke 0.5s ease;
}

.timeline-step.step-visible .step-icon svg {
    stroke: var(--accent-blue-light);
}

.timeline-step .step-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.timeline-step h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-step p {
    font-size: 0.9rem;
    color: var(--white-70);
    line-height: 1.6;
}

.timeline-step .step-badge {
    display: inline-block;
    margin-top: 16px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==========================================
   LIVING DATA COUNTERS
   ========================================== */
.counter-row {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.counter-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.03), transparent);
}

.counter-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, var(--white), var(--gray-50));
    pointer-events: none;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.counter-item .counter-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.counter-item .counter-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ==========================================
   CTA / CONTACT FORM SECTION
   ========================================== */
.cta-section {
    padding: var(--section-py) 0;
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
}

.cta-info>p {
    font-size: 1.05rem;
    color: var(--white-70);
    line-height: 1.7;
    margin-bottom: 28px;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--white-70);
}

.cta-benefits li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--green);
    fill: none;
    stroke-width: 2;
}

/* Form card — glassmorphism */
.cta-form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white-70);
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--white-15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--white-50);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.06);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Validation error state */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit button */
.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
    margin-top: 4px;
    font-size: 1rem;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Success message */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 20px 0 0;
}

.form-success.visible {
    display: flex;
    animation: fadeInUp 0.5s ease;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--green);
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Form submission error */
.form-error-message {
    font-size: 0.88rem;
    color: var(--red);
    text-align: center;
    margin-top: 12px;
    animation: fadeInUp 0.4s ease;
}


/* Contact email below form */
.cta-contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--white-50);
}

.cta-contact-email svg {
    flex-shrink: 0;
    color: var(--accent-blue-light);
}

.cta-contact-email a {
    color: var(--accent-blue-light);
    transition: color var(--transition-fast);
}

.cta-contact-email a:hover {
    color: var(--white);
}


/* ==========================================
   MODAL OVERLAY & PANEL
   ========================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    background: linear-gradient(145deg, var(--navy-light), var(--navy));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white-50);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.modal-close:hover {
    color: var(--white);
    background: var(--white-08);
}

.modal-body {
    padding: 48px 40px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--white-15) transparent;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--white-15);
    border-radius: 3px;
}

.modal-body h2,
.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--white);
}

.modal-date {
    font-size: 0.85rem;
    color: var(--white-50);
    margin-bottom: 32px;
}

.modal-body h3,
.modal-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-blue-light);
    margin-top: 28px;
    margin-bottom: 12px;
}

.modal-body p {
    font-size: 0.92rem;
    color: var(--white-70);
    line-height: 1.7;
    margin-bottom: 12px;
}

.modal-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
    list-style: none;
}

.modal-body li {
    font-size: 0.92rem;
    color: var(--white-70);
    line-height: 1.7;
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
}

.modal-body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

.modal-body a {
    color: var(--accent-blue-light);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.modal-body a:hover {
    color: var(--white);
}


/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--glass-border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

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

.footer-links a {
    font-size: 0.85rem;
    color: var(--white-50);
    transition: color var(--transition-fast);
}

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

.footer-copy {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--white-08);
    font-size: 0.8rem;
    color: var(--white-50);
}

/* ==========================================
   SCROLL REVEAL ANIMATION BASE
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ==========================================
   BACKGROUND SVG CHARTS
   ========================================== */
.bg-chart {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

.bg-chart svg {
    width: 100%;
    height: 100%;
}

.bg-chart .bg-chart-line {
    fill: none;
    stroke: var(--accent-blue-light);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 2.5s ease;
}

.in-view .bg-chart-line {
    stroke-dashoffset: 0;
}

/* ==========================================
   AUDIENCE / ¿PARA QUIÉN? SECTION
   ========================================== */
.audience-section {
    padding: var(--section-py) 0;
    position: relative;
}

.audience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--white-15), transparent);
}

.audience-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.audience-section .section-subtitle {
    margin: 0 auto;
}

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

.audience-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.audience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
}

.audience-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.audience-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-blue-light);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.audience-card p {
    font-size: 0.92rem;
    color: var(--white-70);
    line-height: 1.7;
}


/* ==========================================
   FAQ SECTION (Homepage)
   ========================================== */
.faq-section {
    padding: var(--section-py) 0;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--white-15), transparent);
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-section .section-subtitle {
    margin: 0 auto;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-item[open] {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent-blue-light);
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(0deg);
}

.faq-item[open] summary {
    color: var(--accent-blue-light);
}

.faq-item p {
    padding: 0 24px 20px;
    font-size: 0.92rem;
    color: var(--white-70);
    line-height: 1.75;
}

.faq-item p a {
    color: var(--accent-blue-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-item p a:hover {
    color: var(--white);
}

.faq-cta {
    text-align: center;
    margin-top: 32px;
}

.faq-cta p {
    font-size: 0.95rem;
    color: var(--white-50);
}

.faq-cta a {
    color: var(--accent-blue-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-cta a:hover {
    color: var(--white);
}


/* ==========================================
   FOOTER — REDESIGNED WITH ENTITY INFO
   ========================================== */
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 320px;
}

.footer-entity {
    margin-top: 16px;
}

.footer-entity p {
    font-size: 0.85rem;
    color: var(--white-50);
    line-height: 1.7;
    margin: 0;
}

.footer-entity strong {
    color: var(--white-70);
}

.footer-entity a {
    color: var(--accent-blue-light);
    transition: color var(--transition-fast);
}

.footer-entity a:hover {
    color: var(--white);
}

.footer-nav {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

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

.footer-nav-col h4,
.footer-col-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white-70);
    margin-bottom: 6px;
}

.footer-nav-col a {
    font-size: 0.85rem;
    color: var(--white-50);
    transition: color var(--transition-fast);
}

.footer-nav-col a:hover {
    color: var(--white);
}


/* ==========================================
   BREADCRUMB BAR
   ========================================== */
.breadcrumb-bar {
    padding: 100px 0 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    padding: 12px 0;
}

.breadcrumb a {
    color: var(--accent-blue-light);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb-sep {
    color: var(--white-50);
}

.breadcrumb-current {
    color: var(--white-50);
}


/* ==========================================
   PAGE HERO (inner pages)
   ========================================== */
.page-hero {
    padding: 60px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: var(--white-70);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.page-hero-subtitle a {
    color: var(--accent-blue-light);
    text-decoration: underline;
}

.page-hero-subtitle a:hover {
    color: var(--white);
}


/* ==========================================
   FAQ PAGE SECTIONS
   ========================================== */
.faq-page-section {
    padding: 0 0 var(--section-py);
}

.faq-group {
    margin-bottom: 60px;
}

.faq-group:last-child {
    margin-bottom: 0;
}

.faq-group-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    color: var(--accent-blue-light);
}

.faq-page-section .faq-item {
    max-width: 100%;
    margin-bottom: 12px;
}


/* ==========================================
   FAQ BOTTOM CTA
   ========================================== */
.faq-bottom-cta {
    padding: var(--section-py) 0;
}

.faq-bottom-cta-inner {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.08), rgba(11, 26, 59, 0.5));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
}

.faq-bottom-cta-inner h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.faq-bottom-cta-inner p {
    font-size: 1.05rem;
    color: var(--white-70);
    margin-bottom: 28px;
}

.faq-bottom-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* ==========================================
   PRODUCT PAGE FEATURES
   ========================================== */
.product-features {
    padding: 0 0 var(--section-py);
}

.product-feature-block {
    margin-bottom: 80px;
}

.product-feature-block:last-child {
    margin-bottom: 0;
}

.product-feature-content {
    max-width: 800px;
}

.feature-icon-large {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon-large svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-blue-light);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-feature-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-feature-content p {
    font-size: 0.95rem;
    color: var(--white-70);
    line-height: 1.75;
    margin-bottom: 16px;
}

.feature-benefits {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-benefits li {
    font-size: 0.92rem;
    color: var(--white-70);
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.feature-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}


/* ==========================================
   COMPARISON TABLE
   ========================================== */
.comparison-section {
    padding: var(--section-py) 0;
}

.comparison-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.comparison-section .section-subtitle {
    margin: 0 auto;
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: left;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--white-08);
}

.comparison-table thead th {
    background: rgba(59, 130, 246, 0.08);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--white-70);
}

.comparison-table thead th.highlight-col {
    color: var(--accent-blue-light);
    background: rgba(59, 130, 246, 0.15);
}

.comparison-table td {
    color: var(--white-70);
}

.comparison-table td.highlight-col {
    color: var(--green);
    font-weight: 600;
    background: rgba(34, 197, 94, 0.03);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.04);
}

/* Hero summary style */
.hero-summary {
    font-weight: 500;
}


/* ==========================================
   RESPONSIVE — TABLET (≤1024px)
   ========================================== */
@media (max-width: 1024px) {
    :root {
        --section-py: 80px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-visual {
        max-width: 380px;
        margin: 0 auto;
    }

    .hero-universe {
        width: 340px;
        height: 340px;
    }

    .hero-badge {
        display: none;
    }

    .problem-section .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

    .pricing-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .timeline {
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }

    .timeline::before {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 2px;
        height: 100%;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .footer-brand {
        max-width: 100%;
    }

    .footer-nav {
        gap: 40px;
    }
}

/* ==========================================
   RESPONSIVE — MOBILE (≤768px)
   ========================================== */
@media (max-width: 768px) {
    :root {
        --section-py: 60px;
        --container-px: 16px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile menu */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 26, 59, 0.97);
        backdrop-filter: blur(16px);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--glass-border);
    }

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

    .hero-universe {
        width: 280px;
        height: 280px;
    }

    .hero-visual {
        min-height: 300px;
    }

    .node-1 {
        top: -120px;
        left: -10px;
    }

    .node-2 {
        top: 50px;
        left: 120px;
    }

    .node-3 {
        top: 90px;
        left: -100px;
    }

    .node-4 {
        top: -60px;
        left: 110px;
    }

    .node-5 {
        top: 110px;
        left: 30px;
    }

    .not-finpro-grid {
        grid-template-columns: 1fr;
    }

    .trust-expert {
        flex-direction: column;
        text-align: center;
    }

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

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .assessment-banner-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .pricing-card:last-child {
        max-width: 100%;
    }

    .counter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .problem-card,
    .solution-card {
        padding: 32px 24px;
    }

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

    .cta-form-card {
        padding: 32px 24px;
    }

    .timeline-step {
        max-width: 100%;
    }

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

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .footer-main {
        align-items: center;
        text-align: center;
    }

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

    .footer-nav {
        justify-content: center;
        text-align: center;
    }

    .footer-nav-col {
        align-items: center;
    }

    .faq-item summary {
        padding: 16px 20px;
        font-size: 0.92rem;
    }

    .faq-item p {
        padding: 0 20px 16px;
    }

    .faq-bottom-cta-inner {
        padding: 40px 24px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 16px;
        font-size: 0.82rem;
    }
}

/* ==========================================
   PREFERS REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-universe .orbit,
    .hero-universe .particle {
        animation: none;
    }

    .hero-badge {
        animation: none;
    }
}