:root {
    /* Colors */
    --primary: #002E3B;
    /* Deep Petrol */
    --primary-light: #004e64;
    --accent: #FDB813;
    /* Solar Yellow */
    --accent-hover: #e5a50a;
    --bg-white: #FFFFFF;
    --bg-light: #F5F5F7;
    /* Apple Light Grey */
    --text-main: #1D1D1F;
    /* Apple Dark */
    --text-secondary: #86868b;
    --success: #10B981;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, var(--text-main) 0%, #434344 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
    margin-left: 12px;
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.btn-text {
    color: var(--text-main);
    font-weight: 500;
}

.btn-text:hover {
    color: var(--primary);
}

.btn.small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.logo .dot {
    color: var(--accent);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-selector {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    padding-right: 28px;
}

.lang-selector:hover, .lang-selector:focus {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    overflow: hidden;
}

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

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #0C8A4A 0%, #9BE15D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    display: inline-block;
}

/* Brand Gradient for Bloo Energy */
.brand-gradient {
    background: linear-gradient(135deg, #0C8A4A 0%, #9BE15D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.trust-badge i {
    color: var(--success);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: visible;
    /* Allow floating cards to overflow */
}

.image-wrapper img {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
    animation: float 6s ease-in-out infinite;
}

.card-production {
    top: 20%;
    left: -40px;
}

.card-return {
    bottom: 20%;
    right: -40px;
    animation-delay: 3s;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(253, 184, 19, 0.2);
    color: var(--accent-hover);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.value {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.text-success {
    color: var(--success);
}

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

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

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

/* How it works */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.step-card {
    text-align: center;
    padding: 32px;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 20px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.section-footer-text {
    text-align: center;
    margin-top: 40px;
    font-weight: 500;
    color: var(--primary);
}

/* Features / Why Invest */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.big-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.unit {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.feature-icon {
    color: var(--primary);
    margin-bottom: 16px;
    width: 32px;
    height: 32px;
}



/* Model Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.model-list ul {
    list-style: none;
    margin-top: 24px;
}

.model-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.model-list li i {
    color: var(--success);
}

.bg-dark {
    background-color: var(--primary);
    color: white;
}

.rounded-box {
    padding: 40px;
    border-radius: var(--radius-lg);
}

.security-list {
    list-style: none;
    margin-top: 24px;
}

.security-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.security-list li i {
    color: var(--accent);
    flex-shrink: 0;
}

.security-list h3 {
    color: white;
}

.security-list p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Impact Section */
.bg-gradient {
    background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
}

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

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.persona-card {
    background: var(--bg-light);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    text-align: center;
}

.persona-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.faq-column {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.category-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0C8A4A 0%, #9BE15D 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.category-icon i {
    width: 24px;
    height: 24px;
}

.faq-category-header h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border-bottom: 1px solid #f0f0f0;
}

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

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.accordion-header:hover {
    color: var(--primary);
}

.accordion-header i {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.accordion-header.active i {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}


/* CTA Section - Modern */
.cta-section-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(155, 225, 93, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-modern-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-modern-content {
    max-width: 600px;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #004D40;
    /* Verde oscuro sólido y serio */
    color: white;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: none;
    /* Sin sombra para look plano/clean */
}

.cta-badge i {
    width: 16px;
    height: 16px;
}

.cta-modern-content h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--primary);
    font-weight: 800;
    /* Refuerzo de peso */
}

.cta-modern-content>p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-modern-form {
    margin-bottom: 40px;
}

.form-group-inline {
    display: flex;
    gap: 16px;
    /* Espaciado aumentado a 16px */
    margin-bottom: 12px;
    /* Reducido para acercar el disclaimer */
    align-items: center;
    /* Alineación vertical forzada */
    width: 100%;
}

.input-with-icon {
    position: relative;
    flex: 1;
}

.input-with-icon i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    /* Gris más oscuro para mejor contraste */
    width: 20px;
    height: 20px;
}

.input-with-icon input {
    width: 100%;
    height: 52px;
    /* Altura fija 52px */
    padding: 0 16px;
    /* Padding limpio, sin espacio para icono */
    border-radius: 6px;
    /* Radio más cuadrado (6px) */
    border: 1px solid #E5E7EB;
    /* Borde muy sutil */
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
    background: white;
    box-sizing: border-box;
    color: #111827;
}

.input-with-icon input::placeholder {
    color: #6B7280;
    opacity: 1;
}

.input-with-icon input:focus {
    border-color: #10B981;
    /* Borde verde fino al enfocar */
    box-shadow: 0 0 0 1px #10B981;
    /* Anillo fino verde */
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
    /* Padding horizontal, vertical por altura */
    /* Degradado sutil y elegante */
    background: linear-gradient(135deg, #6BBF59 0%, #4AA03C 100%);
    color: white;
    border: none;
    border-radius: 6px;
    /* Radio consistente 6px */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 52px;
    /* Altura fija 52px */
}

.btn-cta i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 160, 60, 0.2);
    /* Sombra elegante */
}

.btn-cta:hover i {
    transform: translateX(3px);
    /* Efecto push en la flecha */
}

.btn-cta:active {
    transform: translateY(0);
}

.cta-disclaimer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 12px;
}

.urgency-text-elegant {
    font-size: 14px;
    color: #4B5563;
    /* Gris oscuro elegante */
    margin-top: 8px;
    line-height: 1.4;
}

.cta-disclaimer i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.cta-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 0;
    border-top: 1px solid #e5e7eb;
}

.cta-stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cta-stat-divider {
    width: 1px;
    height: 40px;
    background: #e5e7eb;
}

/* Urgency Section Styles */
.urgency-section {
    margin-top: 32px;
    border-top: 1px solid #e5e7eb;
    padding-top: 32px;
}

.urgency-counters {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
}

.urgency-counter-box {
    flex: 1;
}

.urgency-value {
    font-size: 1.75rem;
    font-weight: 600;
    /* Peso ajustado a 600 */
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 4px;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.urgency-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    /* Peso ajustado a 400 */
}

.urgency-divider {
    width: 1px;
    height: 50px;
    background-color: #e5e7eb;
}

.urgency-cta p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.urgency-cta .btn {
    display: none;
    /* Asegurar que el botón azul redundante no se vea */
}

/* Animación +1 */
.plus-one-animation {
    position: absolute;
    top: -10px;
    right: -20px;
    color: #10B981;
    font-weight: 700;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.plus-one-animation.animate {
    animation: floatUpFade 1s ease-out forwards;
}

@keyframes floatUpFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    20% {
        opacity: 1;
        transform: translateY(0);
    }

    80% {
        opacity: 1;
        transform: translateY(-10px);
    }

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

/* Waitlist Counter Styles - Clean Horizontal */
.waitlist-stat-box {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    /* Espacio generoso alrededor del separador */
}

.stat-block-left,
.stat-block-right {
    display: flex;
    align-items: baseline;
    gap: 6px;
    position: relative;
    /* Necesario para posicionar los indicadores flotantes */
}

.stat-divider-vertical {
    width: 1px;
    height: 32px;
    /* Altura ajustada para equilibrio visual */
    background-color: #CDD5DF;
    /* Gris suave solicitado */
    margin-top: -8px;
    /* Ajuste fino para centrar ópticamente con los números, ignorando la barra de progreso */
}

/* Indicadores Flotantes (+1 / -1) */
.floating-indicator {
    position: absolute;
    font-size: 18px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    top: -10px;
}

.floating-indicator.plus {
    color: #22C55E;
    /* Verde */
    left: 100%;
    /* A la derecha del número */
    margin-left: 4px;
}

.floating-indicator.minus {
    color: #EF4444;
    /* Rojo */
    left: 100%;
    margin-left: 4px;
}

/* Animaciones Keyframes */
@keyframes floatUpFadeGreen {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }

    20% {
        opacity: 1;
        transform: translateY(-5px) scale(1.1);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px) scale(1);
    }
}

@keyframes floatUpFadeRed {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }

    20% {
        opacity: 1;
        transform: translateY(5px) scale(1.1);
    }

    /* Baja un poco */
    100% {
        opacity: 0;
        transform: translateY(8px) scale(1.1);
    }

    100% {
        opacity: 0;
        transform: translateY(25px) scale(1);
    }
}

.animate-plus {
    animation: floatUpFadeGreen 1s ease-out forwards;
}

.animate-minus {
    animation: floatUpFadeRed 1s ease-out forwards;
}

/* Transición suave para números */
.stat-number-main,
.stat-total,
.stat-number-highlight {
    transition: color 0.3s ease;
}

/* Responsive para el contador */
@media (max-width: 480px) {
    .waitlist-stat-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .stat-divider-vertical {
        width: 100%;
        height: 1px;
    }

    .stat-block-left-wrapper {
        width: 100%;
    }

    .stat-number-main {
        font-size: 32px;
    }

    .stat-separator-text {
        font-size: 26px;
    }

    .stat-total {
        font-size: 26px;
    }
}

/* CTA Visual Cards */
.cta-modern-visual {
    display: flex;
    flex-direction: column;
    /* Apilar verticalmente */
    gap: 20px;
    /* Espaciado consistente de 20px */
    position: relative;
}

.visual-card {
    background: white;
    border-radius: 8px;
    /* Radio consistente de 8px */
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Sombra sutil y elegante */
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.visual-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.visual-card.card-1 {
    animation-delay: 0s;
}

.visual-card.card-2 {
    animation-delay: 2s;
    margin-left: 40px;
}

.visual-card.card-3 {
    animation-delay: 4s;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    /* Radio consistente de 8px */
    background: linear-gradient(135deg, #7ACC70 0%, #4CA835 100%);
    /* Coherencia con botón CTA */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.card-icon i {
    width: 28px;
    height: 28px;
}

.card-content {
    flex: 1;
}

.card-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

@keyframes float {

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

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

/* Footer */
.footer {
    background-color: #111;
    color: white;
    padding: 80px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    color: #888;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
}

.link-group a {
    display: block;
    color: #888;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #888;
}

.social-links a:hover {
    color: white;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

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

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

.delay-3 {
    animation-delay: 0.6s;
}

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

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

    .hero-sub {
        margin: 0 auto 2rem;
    }

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

    .trust-badge {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

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

    .mobile-menu-btn {
        display: block;
    }

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

    .split-layout {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .cta-form {
        flex-direction: column;
    }

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

    .faq-cta {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .faq-cta-content {
        flex-direction: column;
        text-align: center;
    }

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

    .cta-modern-content h2 {
        font-size: 2rem;
    }

    .form-group-inline {
        flex-direction: column;
    }

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

    .cta-stats,
    .urgency-counters {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .cta-stat-divider,
    .urgency-divider {
        width: 100%;
        height: 1px;
    }

    .visual-card.card-2 {
        margin-left: 0;
    }

    .floating-card {
        display: none;
        /* Hide floating cards on mobile for cleaner look */
    }

    /* Mobile-first optimizations */
    .navbar {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(0,0,0,0.02);
    }

    /* Swipeable cards (only for project list now) */
    .project-list {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        -webkit-overflow-scrolling: touch;
        margin: 0 -20px; /* Pull to edges */
        padding: 10px 20px 30px 20px;
    }
    
    .project-list::-webkit-scrollbar {
        display: none;
    }

    .project-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        opacity: 1 !important;
        transform: translateY(0) !important;
        margin-bottom: 0;
    }

    /* Vertically stacked sections (reverting horizontal swipe) */
    .steps-grid,
    .features-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0;
        padding: 10px 0;
    }

    /* Card Refinements */
    .step-card {
        opacity: 1 !important;
        transform: translateY(0) !important;
        background: white;
        padding: 28px 24px;
        border-radius: var(--radius-md);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.03);
    }

    .feature-card {
        opacity: 1 !important;
        transform: translateY(0) !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.03);
    }

    /* Icon Soft Shadows */
    .step-icon,
    .feature-icon-box {
        box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15); /* Soft primary shadow */
        background: white;
        border: 1px solid rgba(16, 185, 129, 0.1);
    }
    /* Sliders touch area */
    input[type=range]::-webkit-slider-thumb {
        height: 44px;
        width: 44px;
        margin-top: -20px;
    }
    input[type=range]::-moz-range-thumb {
        height: 44px;
        width: 44px;
    }

    /* Chart maximization */
    .calculator-container {
        padding: 24px 12px;
    }
    
    .chart-container, .app-chart-container {
        margin-left: -12px;
        margin-right: -12px;
        width: calc(100% + 24px) !important;
    }

    /* Floating CTA */
    .mobile-floating-cta {
        display: block;
        position: fixed;
        bottom: 16px;
        left: 16px;
        right: 16px;
        z-index: 999;
    }
    
    .mobile-floating-cta .btn {
        width: 100%;
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
        padding: 16px;
        font-size: 1.1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.mobile-floating-cta {
    display: none;
}
/* Calculator Section */
.calculator-container {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.intro-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.control-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.range-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary);
    cursor: pointer;
    margin-top: -10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #ddd;
    border-radius: 2px;
}

input[type=range]:focus {
    outline: none;
}

.range-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    align-self: flex-end;
}

/* Switch */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked+.slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.switch-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Results */
.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.chart-container {
    position: relative;
    height: 350px;
    width: 100%;
}

.results-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.result-card {
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    text-align: center;
}

.result-card.nova {
    background: rgba(0, 46, 59, 0.03);
    border-color: rgba(0, 46, 59, 0.1);
}

.result-card.bank {
    background: #f9fafb;
}

.result-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.result-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.result-diff {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--success);
}

.result-card.bank .result-diff {
    color: var(--text-secondary);
}

/* App Simulation Section */
.app-demo-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.app-dashboard {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.app-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.app-logo-small {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.app-tabs {
    display: flex;
    gap: 24px;
}

.app-tab {
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.app-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.app-user-icon {
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.app-user-icon i {
    width: 16px;
    height: 16px;
}

.app-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.app-main-card {
    background: #fff;
    border-radius: 16px;
}

.app-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.app-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.app-roi-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(16, 185, 129, 0.1);

    color: #10B981;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.app-roi-badge i {
    width: 16px;
    height: 16px;
}

.app-chart-container {
    height: 220px;
    width: 100%;
}

.app-metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.app-metric-card {
    background: #f9fafb;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.metric-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.metric-icon i {
    width: 20px;
    height: 20px;
}

.app-metric-value {
    display: block;
    font-size: 1.1rem;
    color: var(--primary);
}

.app-controls-panel {
    background: #f9fafb;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.range-value-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

.highlight-val {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Sidebar Projects */
.app-projects-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.sidebar-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--accent);
}

.project-card.selected {
    border-color: var(--primary);
    background: #f0fdf4;
    /* Light green bg */
}

.project-card.selected::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.project-tag {
    font-size: 0.75rem;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.project-roi {
    color: #10B981;
    font-weight: 700;
    font-size: 0.9rem;
}

.project-card h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.project-details {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.project-details span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-details i {
    width: 14px;
    height: 14px;
}

.btn-simulate {
    width: 100%;
    padding: 8px;
    background: white;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-simulate:hover {
    background: var(--primary);
    color: white;
}

.project-card.selected .btn-simulate {
    background: var(--primary);
    color: white;
    content: "Añadido";
}

@media (max-width: 1024px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .chart-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .results-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .app-demo-wrapper {
        grid-template-columns: 1fr;
    }
}

/* --- New App Simulation Styles --- */

/* Portfolio Summary Header */
.value-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-profit-line {
    font-size: 0.95rem;
    color: #10B981;
    font-weight: 600;
    margin: 8px 0 4px 0;
}

.app-subtext {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
    max-width: 90%;
}

/* Period Selector */
.chart-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.period-selector {
    display: flex;
    background: #f3f4f6;
    padding: 4px;
    border-radius: 999px;
    gap: 4px;
}

.period-btn {
    background: transparent;
    border: none;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.period-btn:hover {
    color: var(--primary);
}

.period-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

/* Real-time Tags */
.realtime-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
    background: rgba(0, 0, 0, 0.03);
    padding: 2px 8px;
    border-radius: 4px;
}

.realtime-tag.text-success {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

.pulse {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Input Fields */
.input-wrapper {
    position: relative;
}

.app-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    outline: none;
    transition: border-color 0.2s;
    background: white;
}

.app-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 46, 59, 0.1);
}

/* Tooltips */
.info-icon {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
    cursor: help;
    vertical-align: middle;
    margin-left: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.info-icon:hover {
    opacity: 1;
    color: var(--primary);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    color: var(--text-main);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 4px solid var(--success);
    animation: slideIn 0.3s ease-out forwards;
}

.toast.fade-out {
    animation: fadeOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

@keyframes fadeOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile Responsiveness Adjustments */
@media (max-width: 768px) {
    .app-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .value-row {
        flex-wrap: wrap;
    }

    .app-metrics-row {
        grid-template-columns: 1fr;

        /* Project Investment Inputs */
        .project-investment-input {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid #f0f0f0;
            display: none;
            /* Hidden by default */
            animation: slideDown 0.3s ease-out forwards;
        }

        .project-card.selected .project-investment-input {
            display: block;
        }

        .slider-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .slider-label {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-secondary);
        }

        .slider-value {
            font-size: 1rem;
            font-weight: 700;
            color: var(--primary);
        }

        .slider-container {
            position: relative;
            padding: 4px 0;
        }

        .project-slider {
            -webkit-appearance: none;
            width: 100%;
            height: 6px;
            border-radius: 3px;
            background: #e5e7eb;
            outline: none;
            margin: 0;
            cursor: pointer;
        }

        /* Slider Track Fill Logic will be handled via inline style background-image linear-gradient */

        .project-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: white;
            border: 1px solid #e5e7eb;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
            cursor: pointer;
            transition: transform 0.1s ease, box-shadow 0.1s ease;
            margin-top: -7px;
            /* Center thumb on track height 6px */
        }

        /* Firefox Thumb */
        .project-slider::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: white;
            border: 1px solid #e5e7eb;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
            cursor: pointer;
            transition: transform 0.1s ease, box-shadow 0.1s ease;
        }

        /* Firefox Track */
        .project-slider::-moz-range-track {
            width: 100%;
            height: 6px;
            border-radius: 3px;
            background: #e5e7eb;
        }

        .project-slider::-webkit-slider-thumb:hover {
            transform: scale(1.15);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
        }

        .project-slider::-webkit-slider-runnable-track {
            width: 100%;
            height: 6px;
            cursor: pointer;
            border-radius: 3px;
            /* Background handled inline for fill effect */
        }

        .slider-footer {
            margin-top: 8px;
            display: flex;
            justify-content: flex-end;
        }

        .portfolio-share-text {
            font-size: 0.75rem;
            color: var(--text-secondary);
            background: #f9fafb;
            padding: 2px 8px;
            border-radius: 12px;
            border: 1px solid #f0f0f0;
        }

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

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

        /* Project Investment Inputs */
    }

    /* Portfolio Breakdown */
    .portfolio-breakdown {
        margin-top: 24px;
        background: white;
        padding: 20px;
        border-radius: 16px;
        border: 1px solid #f0f0f0;
    }

    .breakdown-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 16px;
    }

    .breakdown-header h4 {
        font-size: 0.95rem;
        color: var(--text-main);
        margin: 0;
    }

    .total-invested-display {
        text-align: right;
    }

    .total-invested-label {
        display: block;
        font-size: 0.75rem;
        color: var(--text-secondary);
        text-transform: uppercase;
    }

    .total-invested-value {
        display: block;
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--primary);
    }

    .breakdown-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .breakdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.85rem;
    }

    .breakdown-color {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--accent);
        flex-shrink: 0;
    }

    .breakdown-name {
        flex: 1;
        color: var(--text-secondary);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .breakdown-amount {
        font-weight: 600;
        color: var(--text-main);
    }

    .breakdown-percent {
        color: var(--text-secondary);
        width: 40px;
        text-align: right;
    }

    .empty-portfolio-msg {
        text-align: center;
        color: var(--text-secondary);
        font-size: 0.9rem;
        padding: 20px 0;
        font-style: italic;
    }

    /* Impact Section - Fintech Style */
    .impact-fintech-section {
        padding: 120px 0;
        /* Fondo verde muy suave "ambient light" como en el diseño original */
        background: linear-gradient(180deg, #F0FDF9 0%, #E0F2FE 100%);
        position: relative;
        overflow: hidden;
    }

    .impact-header {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 80px;
    }

    .impact-header h2 {
        font-size: 3rem;
        font-weight: 600;
        color: #0E2A2A;
        /* Dark Green Brand */
        margin-bottom: 24px;
        letter-spacing: -0.02em;
    }

    .impact-subtitle {
        font-size: 1.2rem;
        color: #6A737B;
        /* Gris medio fintech */
        line-height: 1.6;
        max-width: 700px;
        margin: 0 auto;
    }

    .impact-metrics-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
        max-width: 1000px;
        margin: 0 auto 60px;
        text-align: center;
    }

    .metric-minimal {
        padding: 20px;
    }

    .metric-value {
        font-size: 48px;
        font-weight: 700;
        color: #0E2A2A;
        line-height: 1.1;
        margin-bottom: 12px;
        letter-spacing: -0.03em;
    }

    .metric-label {
        font-size: 0.85rem;
        /* Más pequeño */
        color: #6B7280;
        /* Gris suave */
        font-weight: 600;
        line-height: 1.5;
        text-transform: uppercase;
        /* Mayúsculas */
        letter-spacing: 0.05em;
        /* Tracking sutil */
    }

    .impact-footer {
        text-align: center;
        margin-top: 40px;
    }

    .impact-footer p {
        font-size: 0.9rem;
        color: #9CA3AF;
        font-style: italic;
    }

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

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

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

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

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

    /* Responsive */
    @media (max-width: 768px) {
        .impact-fintech-section {
            padding: 80px 0;
        }

        .impact-header h2 {
            font-size: 2.25rem;
        }

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

        .metric-value {
            font-size: 40px;
        }
    }
}

/* --- Legal Hub Styles (Premium Fintech) --- */

.legal-page {
    /* Fondo degradado sutil "ambient light" */
    background: linear-gradient(180deg, #F9FAFB 0%, #F0FDF9 100%);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
}

.legal-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-main {
    padding-top: 80px;
    padding-bottom: 120px;
}

.legal-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #0E2A2A;
    /* Dark Green Brand */
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.legal-header p {
    color: #6B7280;
    /* Cool Gray */
    font-size: 1.1rem;
    line-height: 1.6;
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

/* Sidebar Navigation (Premium Card Style) */
.legal-sidebar {
    position: sticky;
    top: 100px;
}

.legal-nav {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav li {
    margin-bottom: 8px;
}

.legal-nav li:last-child {
    margin-bottom: 0;
}

.legal-nav a {
    display: block;
    padding: 12px 16px;
    color: #4B5563;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.legal-nav a:hover {
    background-color: #F3F4F6;
    color: #111827;
}

.legal-nav a.active {
    background-color: #ECFDF5;
    /* Light Green bg */
    color: #059669;
    /* Green text */
    font-weight: 600;
}

/* Content Area (Clean Card) */
.legal-content {
    background: white;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.legal-section {
    scroll-margin-top: 120px;
    margin-bottom: 80px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.section-title-wrapper i {
    color: #059669;
    /* Brand Green */
    width: 28px;
    height: 28px;
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
    margin: 0;
}

.section-intro {
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E5E7EB;
}

.legal-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 16px;
}

.legal-divider {
    border: 0;
    border-top: 1px solid #E5E7EB;
    margin: 60px 0;
    opacity: 0.5;
}

.legal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px 0;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.9rem;
    background: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 90;
    color: #4B5563;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #059669;
    color: white;
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legal-sidebar {
        position: relative;
        top: 0;
        z-index: 10;
    }

    .legal-nav {
        padding: 16px;
        overflow-x: auto;
    }

    .legal-nav ul {
        display: flex;
        gap: 12px;
        white-space: nowrap;
    }

    .legal-nav li {
        margin-bottom: 0;
    }

    .legal-nav a {
        padding: 10px 16px;
        background: #F9FAFB;
    }

    .legal-content {
        padding: 32px;
        border-radius: 16px;
    }

    .legal-header h1 {
        font-size: 2.2rem;
    }
}