/* ===========================
   LunaCredit - Premium Fintech Design System
   Complete CSS Redesign
   =========================== */

/* ===========================
   CSS Custom Properties
   =========================== */
:root {
    /* Primary palette */
    --primary: #6C5CE7;
    --primary-dark: #5A4BD1;
    --primary-darker: #4834B8;
    --primary-light: #A29BFE;
    --primary-lighter: #DDD6FE;
    --primary-bg: #F5F3FF;

    /* Accent */
    --accent: #00D2FF;
    --accent-dark: #00B8E6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #5A4BD1 0%, #6C5CE7 100%);
    --gradient-hero: linear-gradient(135deg, #0F0E1A 0%, #1a1a3e 50%, #2d1b69 100%);
    --gradient-card: linear-gradient(135deg, rgba(108,92,231,0.03) 0%, rgba(162,155,254,0.06) 100%);
    --gradient-accent: linear-gradient(135deg, #6C5CE7 0%, #00D2FF 100%);

    /* Neutral */
    --secondary: #2D3436;
    --text: #1a1a2e;
    --text-secondary: #636e72;
    --text-light: #b2bec3;
    --bg: #FFFFFF;
    --bg-alt: #F8F7FF;
    --bg-dark: #0F0E1A;
    --border: #E8E6F0;

    /* Semantic */
    --success: #10B981;
    --success-bg: #f0fdf4;
    --success-border: #bbf7d0;
    --warning: #F59E0B;
    --warning-bg: #FEF3C7;
    --error: #EF4444;
    --error-bg: #fef2f2;
    --error-border: #fecaca;

    /* Radius */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(108,92,231,0.06);
    --shadow: 0 4px 20px rgba(108,92,231,0.08);
    --shadow-lg: 0 12px 40px rgba(108,92,231,0.12);
    --shadow-xl: 0 20px 60px rgba(108,92,231,0.15);
    --shadow-glow: 0 0 30px rgba(108,92,231,0.25);
    --shadow-glow-lg: 0 0 60px rgba(108,92,231,0.3);

    /* Transitions */
    --transition: 0.2s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Spacing rhythm (8px base) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-10: 56px;
    --space-12: 96px;
}

/* ===========================
   Keyframe Animations
   =========================== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108,92,231,0.4); }
    50% { box-shadow: 0 0 0 12px rgba(108,92,231,0); }
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25px, 25px) scale(0.95); }
    66% { transform: translate(20px, -15px) scale(1.05); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    -webkit-appearance: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Global overflow prevention */
img, video, iframe, svg, table, pre, code {
    max-width: 100%;
}

.container, .article-body, .article-content,
section, .hero, .section, .section-alt,
.page-hero, .footer, .comparison-section {
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input {
    font-family: inherit;
}

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Utility Classes
   =========================== */
.hidden {
    display: none !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
}

.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.glow {
    box-shadow: var(--shadow-glow);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.gradient-border {
    position: relative;
    border: none !important;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ===========================
   Header & Nav (v5 - full rebuild)
   =========================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    border-bottom: 1px solid var(--border);
}

.header .container {
    overflow: visible;
}

.header.scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
}

.logo-icon {
    font-size: 24px;
    color: var(--primary);
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
}

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

/* Desktop nav */
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav > a,
.nav-dropdown-toggle {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    line-height: 60px;
}

.nav > a:hover,
.nav-dropdown-toggle:hover {
    color: var(--primary-dark);
}

.nav > a::after,
.nav-dropdown-toggle::after {
    display: none;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-chevron {
    transition: transform 0.2s;
}

.nav-dropdown.active .nav-dropdown-chevron {
    transform: rotate(180deg);
}

/* Dropdown menu - use padding-top instead of margin-top to keep hover zone connected */
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 4px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 100;
}

.nav-dropdown-menu > a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

/* First link gets top border-radius background */
.nav-dropdown-menu > a:first-child {
    border-radius: 8px 8px 0 0;
}

.nav-dropdown-menu > a:last-child {
    border-radius: 0 0 8px 8px;
}

.nav-dropdown-menu > a:hover {
    background: var(--bg-alt);
    color: var(--primary-dark);
}

.nav-dropdown-menu > a::after {
    display: none;
}

/* Visual card for the dropdown (applied via box-shadow on the container) */
.nav-dropdown-menu {
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid var(--border);
}

/* Show dropdown on hover or active */
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown.active > .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* Hamburger - hidden on desktop */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    margin-right: -10px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===========================
   Mobile Nav (max-width: 768px)
   =========================== */
@media (max-width: 768px) {
    .header-inner {
        height: 56px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav.active {
        display: flex;
    }

    .nav > a,
    .nav-dropdown-toggle {
        line-height: normal;
    }

    .nav > a {
        display: block;
        padding: 14px 20px;
        font-size: 15px;
        color: var(--text);
        text-align: left;
        border-bottom: 1px solid var(--border);
    }

    .nav > a:last-child {
        border-bottom: none;
    }

    .nav-dropdown {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 20px;
        font-size: 15px;
        color: var(--text);
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        padding-top: 0;
        min-width: 0;
        width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        background: var(--bg-alt);
    }

    .nav-dropdown.active > .nav-dropdown-menu {
        max-height: 300px;
        padding: 4px 0;
    }

    .nav-dropdown-menu > a {
        padding: 12px 20px 12px 36px;
        font-size: 14px;
        border-radius: 0;
    }
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(108,92,231,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108,92,231,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    color: white;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(108,92,231,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(108,92,231,0.3);
    transform: translateY(-1px);
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    color: var(--primary-dark);
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 8px 18px;
    font-size: 13px;
}

/* Shimmer CTA Button effect */
.btn-primary.btn-cta {
    background-size: 200% auto;
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 25%, var(--primary) 50%, var(--primary-light) 75%, var(--primary) 100%);
    animation: shimmer 3s linear infinite;
}

/* Pulse effect for simulator CTA */
.simulator-body .btn-primary {
    animation: pulseGlow 2.5s ease-in-out infinite;
}

.simulator-body .btn-primary:hover {
    animation: none;
}

/* ===========================
   Hero Section - Dark Fintech Design
   =========================== */
.hero {
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: var(--gradient-hero);
    color: white;
}

/* Dot grid overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(108,92,231,0.15) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 1;
}

/* Floating glow orb 1 */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108,92,231,0.2) 0%, rgba(108,92,231,0.05) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-bg-decoration {
    position: absolute;
    top: -100px;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,210,255,0.12) 0%, rgba(162,155,254,0.06) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: orbFloat2 15s ease-in-out infinite;
}

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

.hero-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    background: var(--primary);
    color: white;
}

/* Glassmorphism badges in hero */
.hero .badge {
    background: rgba(108,92,231,0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(162,155,254,0.25);
    color: rgba(255,255,255,0.95);
}

.hero .badge-outline {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
}

.badge-outline {
    background: var(--primary-bg);
    color: var(--primary);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: white;
}

/* Override text-gradient in hero for bright effect */
.hero .text-gradient {
    background: linear-gradient(135deg, #A29BFE 0%, var(--accent) 50%, #DDD6FE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.92);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 520px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
}

.hero-feature svg {
    color: var(--accent);
}

/* ===========================
   Simulator Card
   =========================== */
.simulator-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1);
    border: 1px solid rgba(232,230,240,0.3);
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    position: relative;
}

.simulator-card:hover {
    box-shadow: 0 30px 90px rgba(0,0,0,0.3), 0 0 40px rgba(108,92,231,0.15);
    transform: translateY(-2px);
}

.simulator-header {
    background: var(--gradient-primary);
    padding: 24px 28px;
    color: white;
    position: relative;
    overflow: hidden;
}

.simulator-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 150px;
    height: 200%;
    background: rgba(255,255,255,0.05);
    transform: rotate(15deg);
    pointer-events: none;
}

.simulator-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.simulator-header p {
    font-size: 14px;
    opacity: 0.85;
}

.simulator-body {
    padding: 28px;
}

/* Slider */
.slider-group {
    margin-bottom: 24px;
}

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

.slider-label span:first-child {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.slider-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 1px 2px rgba(108,92,231,0.1);
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    outline: none;
    cursor: pointer;
    position: relative;
}

/* Note: the gradient fill is handled by JS dynamically. The track bg is the unfilled portion. */
.slider::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 4px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary);
    box-shadow: 0 2px 8px rgba(108,92,231,0.35), 0 0 0 4px rgba(108,92,231,0.1);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    margin-top: -9px;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 12px rgba(108,92,231,0.45), 0 0 0 6px rgba(108,92,231,0.12);
}

.slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 8px rgba(108,92,231,0.35), 0 0 0 4px rgba(108,92,231,0.1);
    cursor: pointer;
}

.slider::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: var(--border);
}

.slider-range {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-light);
}

/* Summary */
.simulator-summary {
    background: var(--gradient-card);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(108,92,231,0.06);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.summary-row:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.summary-highlight {
    color: var(--success);
    font-weight: 700;
}

.summary-total {
    color: var(--text);
    font-weight: 800;
    font-size: 18px;
}

.simulator-note {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 20px;
}

/* ===========================
   Trust Bar
   =========================== */
.trust-bar {
    background: linear-gradient(180deg, var(--bg-alt) 0%, white 100%);
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
}

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

.trust-number {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(108,92,231,0.15);
    letter-spacing: -0.5px;
}

.trust-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
}

/* ===========================
   Sections
   =========================== */
.section {
    padding: var(--space-10) 0;
    scroll-snap-align: start;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
}

.section-tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text);
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   Steps (How It Works)
   =========================== */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
}

.step-card {
    flex: 1;
    max-width: 240px;
    text-align: center;
    padding: 0 12px;
    position: relative;
    transition: transform 0.3s ease;
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(108,92,231,0.3);
    position: relative;
    z-index: 2;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--gradient-card);
    margin: 0 auto 16px;
    position: relative;
    border: 1px solid rgba(108,92,231,0.1);
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: var(--primary-bg);
    border-color: var(--primary-light);
    box-shadow: 0 8px 24px rgba(108,92,231,0.12);
}

.step-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

/* Replace SVG connector with gradient line */
.step-connector::before {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
    border-radius: 1px;
}

/* ===========================
   Benefits
   =========================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: var(--primary-lighter);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-bg);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Diverse icon colors per card */
.benefit-card:nth-child(1) .benefit-icon { background: #F0F0FF; }
.benefit-card:nth-child(1) .benefit-icon svg { color: #6C5CE7; }
.benefit-card:nth-child(2) .benefit-icon { background: #E8FAFE; }
.benefit-card:nth-child(2) .benefit-icon svg { color: #0891B2; }
.benefit-card:nth-child(3) .benefit-icon { background: #ECFDF5; }
.benefit-card:nth-child(3) .benefit-icon svg { color: #059669; }
.benefit-card:nth-child(4) .benefit-icon { background: #FFF7ED; }
.benefit-card:nth-child(4) .benefit-icon svg { color: #D97706; }
.benefit-card:nth-child(5) .benefit-icon { background: #EFF6FF; }
.benefit-card:nth-child(5) .benefit-icon svg { color: #2563EB; }
.benefit-card:nth-child(6) .benefit-icon { background: #FDF2F8; }
.benefit-card:nth-child(6) .benefit-icon svg { color: #DB2777; }

.benefit-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ===========================
   Requirements
   =========================== */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.requirement-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-bg);
}

/* ===========================
   Testimonials
   =========================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--border);
    position: relative;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

/* Decorative quote mark */
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 72px;
    font-family: Georgia, serif;
    line-height: 1;
    color: var(--primary-lighter);
    opacity: 0.5;
    pointer-events: none;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    position: relative;
}

/* Gradient ring around avatar */
.testimonial-avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.3;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-light);
}

/* ===========================
   FAQ
   =========================== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-item.active {
    border-left: 3px solid var(--primary);
    padding-left: 16px;
    background: rgba(108,92,231,0.02);
    margin-left: -16px;
    margin-right: -16px;
    padding-right: 16px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition);
    letter-spacing: -0.2px;
}

.faq-question:hover {
    color: var(--primary-dark);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-light);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer p {
    padding-bottom: 22px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   CTA Section
   =========================== */
.section-cta {
    background: linear-gradient(135deg, #4834B8 0%, var(--primary) 25%, #5A4BD1 50%, var(--primary) 75%, #4834B8 100%);
    background-size: 300% 300%;
    animation: gradientMove 8s ease-in-out infinite;
    padding: 56px 0;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.cta-content p {
    font-size: 17px;
    color: white;
    margin-bottom: 28px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.section-cta .btn-white {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.5);
    font-weight: 700;
}

.section-cta .btn-white:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.92);
    padding: 64px 0 0;
    position: relative;
}

/* Subtle texture overlay */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(108,92,231,0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 1;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 16px;
    margin-bottom: 20px;
}

.footer-brand .logo {
    color: white;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(108,92,231,0.12);
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(108,92,231,0.15);
    transition: all 0.3s ease;
}

.footer-badge svg path {
    fill: rgba(255,255,255,0.7);
}

.footer-badge:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}

.footer-links {
    position: relative;
    z-index: 1;
}

.footer-links h4 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    padding: 6px 0;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: white;
    padding-left: 6px;
}

.footer-disclaimer {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 1;
}

.footer-disclaimer p {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
}

/* ===========================
   Modal
   =========================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,14,26,0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 36px;
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 90px rgba(0,0,0,0.3);
}

.modal::-webkit-scrollbar {
    display: none;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-light);
    transition: all var(--transition);
}

.modal-close:hover {
    background: var(--bg-alt);
    color: var(--text);
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.modal-loan-summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 8px 18px;
    background: var(--primary-bg);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.modal-loan-divider {
    color: var(--primary-light);
}

.modal-edit-btn {
    font-size: 12px;
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group label .required {
    color: var(--error);
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    transition: all 0.3s ease;
    color: var(--text);
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108,92,231,0.1);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.form-group.error input {
    border-color: var(--error);
}

.form-error {
    display: none;
    font-size: 12px;
    color: var(--error);
    margin-top: 6px;
}

.form-group.error .form-error {
    display: block;
}

/* Phone Input */
.phone-input {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    overflow: hidden;
}

.phone-input:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108,92,231,0.1);
}

.phone-prefix {
    padding: 14px 12px 14px 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-alt);
    border-right: 2px solid var(--border);
}

.phone-input input {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.phone-input input:focus {
    box-shadow: none !important;
}

.form-group.error .phone-input {
    border-color: var(--error);
}

/* Checkboxes */
.form-checkboxes {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 5px;
    margin-top: 1px;
    position: relative;
    transition: all var(--transition);
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

.form-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-light);
}

/* ===========================
   Loading State
   =========================== */
.loading-container {
    text-align: center;
    padding: 20px 0;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
}

.spinner-ring {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(108,92,231,0.1);
    border-top-color: var(--primary);
    border-right-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

.loading-container h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.loading-container p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.loading-progress {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 28px;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s ease-in-out infinite;
    background-size: 200% 100%;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.loading-step.active {
    color: var(--primary);
}

.loading-step.done {
    color: var(--success);
}

/* ===========================
   Offers
   =========================== */
.offers-header {
    text-align: center;
    margin-bottom: 24px;
}

.offers-check {
    margin-bottom: 16px;
}

.offers-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text);
}

.offers-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.offers-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

/* --- Offer Card v2 --- */
.offer-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    transition: all 0.3s ease;
    background: white;
    overflow: hidden;
    position: relative;
}

.offer-card:hover {
    border-color: var(--border);
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.offer-card.featured {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 4px 24px rgba(108,92,231,0.12);
}

.offer-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.offer-badge {
    position: absolute;
    top: 12px;
    right: 16px;
    padding: 5px 12px;
    background: var(--gradient-accent);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(108,92,231,0.3);
    letter-spacing: 0.2px;
    z-index: 1;
}

.offer-card.featured .offer-header {
    padding-right: 40px;
}

/* Header: logo + brand + TAE */
.offer-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 28px 0;
}

.offer-logo-wrap {
    flex-shrink: 0;
    width: 160px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8fa;
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 6px 14px;
}

.offer-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.offer-logo[alt]::after {
    display: block;
    content: attr(alt);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

.offer-header-info {
    flex: 1;
    min-width: 0;
}

.offer-brand {
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.offer-tae {
    display: inline-block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--success);
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

/* Body */
.offer-body {
    padding: 20px 28px;
}

.offer-usp {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 16px;
}

/* Stats grid */
.offer-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    background: white;
}

.offer-stat {
    padding: 14px 8px;
    text-align: center;
    background: white;
    border-right: 1px solid #F1F5F9;
}

.offer-stat:last-child {
    border-right: none;
}

.offer-stat:not(:last-child)::after {
    display: none;
}

.offer-stat-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.offer-stat-value {
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
    overflow-wrap: break-word;
}

/* Legal */
.offer-legal {
    font-size: 10.5px;
    color: var(--text-light);
    line-height: 1.45;
    margin: 0 0 14px;
}

/* CTA button - gradient accent */
.offer-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    min-height: 48px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 12px rgba(108,92,231,0.25);
}

.offer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108,92,231,0.35);
    color: white;
    filter: brightness(1.1);
}

.offer-card.featured .offer-btn {
    background: var(--primary);
    font-size: 16px;
    padding: 16px 20px;
    box-shadow: 0 4px 16px rgba(108,92,231,0.3);
}

.offer-card.featured .offer-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(108,92,231,0.4);
}

/* Footer */
.offer-footer {
    padding: 0 28px 28px;
}

.offers-disclaimer {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

/* Legacy grid classes keep working for static pages */
.offer-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.offer-details-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

.offer-detail-label {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-detail-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.offer-detail-value.highlight {
    color: var(--success);
}

.offer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.offer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===========================
   Cookie Banner - Glassmorphism
   =========================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(232,230,240,0.5);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.08);
    z-index: 3000;
    padding: 18px 24px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
}

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

/* ===========================
   Pillar Pages (Category)
   =========================== */

/* Page Hero (subpages) */
.page-hero {
    padding: 40px 0 48px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(180deg, var(--primary-bg) 0%, white 100%);
}

/* Floating decoration */
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108,92,231,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: orbFloat1 20s ease-in-out infinite;
}

.page-hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
    color: var(--text);
}

.page-hero-intro {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 640px;
}

/* ===========================
   Comparison Table (Pillar Pages)
   =========================== */
.comparison-section {
    padding: 48px 0;
    background: var(--bg-alt);
}

.comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 0 20px;
    position: relative;
}

/* Mobile scroll indicator */
.comparison-table-wrap::after {
    display: none;
}

/* Comparison table specifics */
.comparison-table {
    min-width: 600px;
}

.comparison-table thead th {
    white-space: nowrap;
}

.comparison-table thead th:not(:last-child)::after {
    display: none;
}

.comparison-table tbody tr.featured td {
    background: #F0FDF4;
}

.comparison-table .tae-free {
    color: #10B981;
    font-weight: 700;
}

.comparison-table .entity-name {
    font-weight: 600;
    color: #1E293B;
    white-space: nowrap;
}

.comparison-table .table-logo {
    width: 72px;
    height: 28px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 4px;
}

.comparison-table .table-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.comparison-table .table-btn:hover {
    background: var(--primary-dark);
    color: white;
}

/* ===========================
   Article Content
   =========================== */
.article-content {
    padding: 64px 0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    margin: 48px 0 18px;
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 0;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 32px 0 12px;
}

.article-body p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
    margin: 12px 0 20px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-body li {
    margin-bottom: 8px;
    font-size: 15px;
}

.article-body strong {
    color: var(--text);
    font-weight: 600;
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.article-body a:hover {
    color: var(--primary-dark);
}

/* Blockquotes */
.article-body blockquote,
.article-content blockquote {
    border-left: 3px solid #D1D5DB;
    background: transparent;
    padding: 4px 0 4px 24px;
    margin: 28px 0;
    border-radius: 0;
    position: relative;
}

.article-body blockquote::before,
.article-content blockquote::before {
    display: none;
    line-height: 1;
}

.article-body blockquote p,
.article-content blockquote p {
    margin-bottom: 0;
    color: #6B7280;
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
}

/* Tables in articles */
.article-body table,
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.article-body th, .article-body td,
.article-content th, .article-content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.article-body th,
.article-content th {
    background: var(--primary-bg);
    font-weight: 600;
    color: var(--text);
}

.article-body td,
.article-content td {
    color: var(--text-secondary);
}

/* Info Box */
.info-box {
    background: var(--primary-bg);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
    margin: 24px 0;
    position: relative;
}

.info-box::before {
    content: '\2139';
    position: absolute;
    top: 20px;
    left: -14px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
}

.info-box p {
    color: var(--text);
    margin: 0;
    font-size: 15px;
}

.warning-box {
    background: var(--warning-bg);
    border-left: 4px solid var(--warning);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
    margin: 24px 0;
    position: relative;
}

.warning-box::before {
    content: '!';
    position: absolute;
    top: 20px;
    left: -14px;
    width: 24px;
    height: 24px;
    background: var(--warning);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
}

.warning-box p {
    color: #92400E;
    margin: 0;
    font-size: 15px;
}

/* Inline Simulator */
.inline-simulator {
    padding: 64px 0;
    background: var(--bg-alt);
}

.inline-simulator-inner {
    max-width: 500px;
    margin: 0 auto;
}

/* Related Pages */
.related-pages {
    padding: 64px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.related-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.related-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.related-card .related-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.related-card:hover .related-arrow {
    gap: 8px;
}

/* ===========================
   Blog Page Styles
   (consolidated from inline <style>)
   =========================== */
.blog-hero {
    padding: 40px 0 48px;
    background: linear-gradient(180deg, var(--primary-bg) 0%, white 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108,92,231,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.blog-hero h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
    text-align: center;
    position: relative;
}

.blog-hero p {
    font-size: 17px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Breadcrumb (used across many subpages) */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
}

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

.breadcrumb svg {
    width: 12px;
    height: 12px;
    color: var(--text-light);
}

/* Breadcrumb inside dark hero */
.hero .breadcrumb {
    color: rgba(255,255,255,0.6);
}

.hero .breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.hero .breadcrumb a:hover {
    color: white;
}

.hero .breadcrumb svg {
    color: rgba(255,255,255,0.4);
}

/* Blog Grid */
.blog-section {
    padding: 60px 0 80px;
}

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

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(108,92,231,0.12);
    border-color: var(--primary-light);
}

.blog-card-image {
    height: 180px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.1) 100%);
}

.blog-card-image svg {
    width: 48px;
    height: 48px;
    color: rgba(255,255,255,0.8);
    position: relative;
    z-index: 1;
}

.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-body h2 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
    color: var(--text);
}

.blog-card-body h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-body h2 a:hover {
    color: var(--primary-dark);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

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

.blog-card-date {
    font-size: 13px;
    color: var(--text-light);
}

.blog-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease, color 0.2s ease;
}

.blog-card-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

/* ===========================
   Article / Blog Post Styles
   (consolidated from inline <style>)
   =========================== */
.article-hero {
    padding: 40px 0 32px;
    background: white;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* No decoration on article hero - clean */
.article-hero::before {
    display: none;
}

.article-hero .article-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
}

.article-hero h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 760px;
    position: relative;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    position: relative;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-meta span:not(:last-child)::after {
    content: '\00b7';
    margin-left: 8px;
    color: var(--text-light);
    font-size: 18px;
}

/* Article Layout with TOC sidebar */
.article-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 56px;
    padding: 48px 0 64px;
    align-items: start;
}

/* Table of Contents - Sticky */
.article-toc {
    position: sticky;
    top: 80px;
    background: transparent;
    padding: 0;
    border: none;
    border-left: 2px solid var(--border);
    padding-left: 20px;
}

.article-toc h3 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    color: var(--text-light);
}

.article-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.article-toc li {
    margin-bottom: 6px;
    counter-increment: toc-counter;
}

.article-toc a {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.4;
    display: block;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.article-toc a:hover {
    color: var(--text);
}

.article-toc a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Article content (when within layout grid) */
.article-layout .article-content {
    max-width: 760px;
    padding: 0;
}

.article-layout .article-content h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin: 48px 0 16px;
    padding: 0;
    color: var(--text);
}

.article-layout .article-content h2:first-child {
    margin-top: 0;
}

.article-layout .article-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 28px 0 12px;
}

.article-layout .article-content p {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-layout .article-content ul,
.article-layout .article-content ol {
    margin: 0 0 20px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-layout .article-content li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #374151;
}

.article-layout .article-content strong {
    color: var(--text);
}

/* Pros & Cons boxes (blog articles) */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.pros-cons-card {
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
}

.pros-cons-card.pros {
    background: var(--success-bg);
    border-color: var(--success-border);
}

.pros-cons-card.cons {
    background: var(--error-bg);
    border-color: var(--error-border);
}

.pros-cons-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pros-cons-card.pros h4 { color: #16a34a; }
.pros-cons-card.cons h4 { color: #dc2626; }

.pros-cons-card.pros h4::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #16a34a;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.pros-cons-card.cons h4::before {
    content: '\2717';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.pros-cons-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-cons-card li {
    font-size: 14px;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
}

.pros-cons-card.pros li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

.pros-cons-card.cons li::before {
    content: '\2212';
    position: absolute;
    left: 2px;
    color: #dc2626;
    font-weight: 700;
}

/* icon-list inside pros-cons: clean minimal style */
.pros-cons-card .icon-list {
    margin: 0;
    gap: 0;
}

.pros-cons-card .icon-list li {
    padding: 12px 0 12px 30px;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
}

.pros-cons-card .icon-list li:last-child {
    border-bottom: none;
}

.pros-cons-card .icon-list li::before {
    display: none;
}

.pros-cons-card .icon-list li:hover {
    background: transparent;
}

.pros-cons-card .icon-list .li-icon {
    background: none;
    width: auto;
    height: auto;
    font-size: 16px;
    font-weight: 700;
    border-radius: 0;
    top: 12px;
    left: 4px;
}

.pros-cons-card.pros .icon-list .li-icon {
    color: #16a34a;
}

.pros-cons-card.cons .icon-list .li-icon {
    color: #dc2626;
}

/* Article Related */
.article-related {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 32px;
    margin-top: 48px;
    border: none;
}

.article-related h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.article-related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.article-related-link {
    display: block;
    padding: 16px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-related-link:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.article-related-link h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.article-related-link p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* CTA Box (in articles) */
.cta-box {
    background: var(--text);
    border-radius: 12px;
    padding: 36px 32px;
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.cta-box h3,
.article-content .cta-box h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 8px;
    position: relative;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cta-box p,
.article-content .cta-box p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
    font-size: inherit;
    line-height: 1.6;
}

.cta-box .btn {
    position: relative;
}

/* ===========================
   Review / Opiniones Styles
   (consolidated from inline <style>)
   =========================== */
.review-score {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.review-score::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.review-score-number {
    font-size: 52px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.review-score-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.review-score-stars {
    display: flex;
    gap: 3px;
    margin-top: 4px;
}

.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.review-pros,
.review-cons {
    padding: 24px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.review-pros {
    background: var(--success-bg);
    border: 1px solid var(--success-border);
}

.review-cons {
    background: var(--error-bg);
    border: 1px solid var(--error-border);
}

.review-pros:hover,
.review-cons:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.review-pros h3,
.review-cons h3 {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-pros h3 { color: #16A34A; }
.review-cons h3 { color: #DC2626; }

.review-pros h3::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #16a34a;
    color: white;
    border-radius: 50%;
    font-size: 12px;
}

.review-cons h3::before {
    content: '\2717';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    font-size: 12px;
}

.review-pros li,
.review-cons li {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

/* Review Info Table */
/* review-info-table defined in unified table section above */

.review-cta-box {
    text-align: center;
    padding: 36px;
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    margin: 32px 0;
    border: 1px solid rgba(108,92,231,0.1);
}

.review-cta-box h3 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
}

/* ===========================
   Comparador Page Styles
   (consolidated from inline <style>)
   =========================== */
.comp-hero {
    padding: 40px 0 48px;
    background: linear-gradient(180deg, var(--primary-bg) 0%, white 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.comp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108,92,231,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.comp-hero h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    position: relative;
}

.comp-hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
    position: relative;
}

.comp-simulator {
    padding: 60px 0;
}

.comp-simulator-inner {
    max-width: 500px;
    margin: 0 auto;
}

.comp-table-section {
    padding: 60px 0;
    background: var(--bg-alt);
}

.comp-table-section h2 {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 32px;
}

.asnef-yes {
    color: var(--success);
    font-weight: 600;
}

.asnef-no {
    color: var(--error);
    font-weight: 600;
}

.comp-content {
    padding: 60px 0;
}

.comp-content-inner {
    max-width: 800px;
    margin: 0 auto;
}

.comp-content-inner h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 40px 0 16px;
}

.comp-content-inner h2:first-child {
    margin-top: 0;
}

.comp-content-inner p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.comp-content-inner ul {
    margin: 0 0 20px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.comp-content-inner li {
    margin-bottom: 8px;
    font-size: 16px;
}

.comp-content-inner strong {
    color: var(--text);
}

/* ===========================
   Contact Page Styles
   (consolidated from inline <style>)
   =========================== */
.contact-hero {
    padding: 40px 0 32px;
    background: linear-gradient(180deg, var(--primary-bg) 0%, white 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108,92,231,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 12px;
    position: relative;
}

.contact-hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
    position: relative;
}

.contact-section {
    padding: 56px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: flex-start;
}

/* Contact Form Card */
.contact-form-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 40px;
    transition: box-shadow 0.3s ease;
}

.contact-form-card:hover {
    box-shadow: var(--shadow-xl);
}

.contact-form-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
}

.contact-form-card > p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    color: var(--text);
    background: white;
}

.contact-form .form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%23636e72' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form .form-group textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108,92,231,0.1);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: var(--text-light);
}

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

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.contact-info-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-bg);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: var(--gradient-primary);
}

.contact-info-card:hover .contact-info-icon svg {
    color: white;
}

.contact-info-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.contact-address-card {
    background: var(--gradient-primary);
    border-radius: var(--radius);
    padding: 28px;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-address-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200%;
    background: rgba(255,255,255,0.05);
    transform: rotate(15deg);
    pointer-events: none;
}

.contact-address-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.contact-address-card p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
}

/* Contact FAQ */
.contact-faq {
    padding: 56px 0;
    background: var(--bg-alt);
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-faq-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-faq-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.contact-faq-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.contact-faq-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================
   Como Funciona Page Styles
   (consolidated from inline <style>)
   =========================== */
.page-hero-cf {
    padding: 40px 0 48px;
    background: linear-gradient(180deg, var(--primary-bg) 0%, white 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-hero-cf::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108,92,231,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero-cf h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 760px;
    position: relative;
}

.page-hero-cf p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
    position: relative;
}

/* Detailed Steps */
.steps-detailed {
    padding: 56px 0;
}

.step-detail-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
    transition: all 0.3s ease;
}

.step-detail-card:hover {
    padding-left: 12px;
}

.step-detail-card:last-child {
    border-bottom: none;
}

.step-detail-number {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--gradient-card);
    border: 1px solid rgba(108,92,231,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.step-detail-card:hover .step-detail-number {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(108,92,231,0.3);
}

.step-detail-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.step-detail-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Info Section */
.info-section {
    padding: 56px 0;
    background: var(--bg-alt);
}

/* info-grid defined in content components section below */

.info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.info-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
}

.partners-section h2 {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.partners-section > p,
.partners-text {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ===========================
   Sobre Nosotros (About) Page Styles
   (consolidated from inline <style>)
   =========================== */
.about-hero {
    padding: 40px 0 48px;
    background: linear-gradient(180deg, var(--primary-bg) 0%, white 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108,92,231,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-hero h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 16px;
    position: relative;
}

.about-hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
    position: relative;
}

.about-mission {
    padding: 56px 0;
}

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

.about-mission-content h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    color: var(--text);
}

.about-mission-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-mission-visual {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-mission-visual::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300%;
    background: rgba(255,255,255,0.04);
    transform: rotate(15deg);
    pointer-events: none;
}

.about-mission-visual .mission-icon {
    font-size: 64px;
    margin-bottom: 24px;
    display: block;
    position: relative;
}

.about-mission-visual h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.about-mission-visual p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
}

.about-how {
    padding: 56px 0;
    background: var(--bg-alt);
}

.about-how-content {
    max-width: 720px;
    margin: 0 auto;
}

.about-how-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-align: center;
}

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

.about-how-step {
    text-align: center;
    padding: 28px 20px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.about-how-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.about-how-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(108,92,231,0.3);
}

.about-how-step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.about-how-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 0;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(108,92,231,0.12);
    border-color: transparent;
}

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

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--primary-bg);
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--gradient-primary);
    box-shadow: 0 6px 16px rgba(108,92,231,0.3);
}

.value-card:hover .value-icon svg {
    color: white;
}

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

.value-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-team {
    padding: 56px 0;
}

.about-team-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-team-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #8B7CF7 25%, var(--primary-light) 50%, var(--primary) 75%, #8B7CF7 100%);
    background-size: 300% 300%;
    animation: gradientMove 8s ease-in-out infinite;
    padding: 56px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about-cta h2 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    position: relative;
}

.about-cta p {
    font-size: 17px;
    color: white;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* ===========================
   Simulador Page Styles
   (consolidated from inline <style>)
   =========================== */
.sim-page-hero {
    padding: 40px 0 48px;
    background: linear-gradient(180deg, var(--primary-bg) 0%, white 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.sim-page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108,92,231,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sim-page-hero h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
    text-align: center;
    position: relative;
}

.sim-page-hero p {
    font-size: 17px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Simulator Full Page */
.sim-full {
    padding: 60px 0;
}

.sim-full-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.sim-full-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    position: sticky;
    top: 88px;
}

.sim-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sim-result-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
    transition: all 0.3s ease;
}

.sim-result-card:hover {
    box-shadow: var(--shadow);
}

.sim-result-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.sim-result-card .sim-result-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.sim-result-card .sim-result-label {
    font-size: 13px;
    color: var(--text-secondary);
}

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

.sim-result-small {
    text-align: center;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.sim-result-small .sim-result-value {
    font-size: 22px;
}

/* Cost Table */
.cost-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -12px;
    padding: 0 12px;
}

/* Cost table extras */
.cost-table {
    min-width: 400px;
}

.cost-table .highlight-row {
    background: var(--primary-bg);
}

.cost-table .highlight-row td {
    color: var(--primary);
    font-weight: 600;
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: var(--bg-alt);
}

.content-block {
    max-width: 760px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.content-block h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 24px 0 12px;
}

.content-block p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.content-block ul,
.content-block ol {
    margin: 0 0 16px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-block li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* Tip Box */
.tip-box {
    background: var(--primary-bg);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
    margin: 24px 0;
}

.tip-box p {
    color: var(--text);
    margin-bottom: 0;
}

.tip-box strong {
    color: var(--primary);
}

/* ===========================
   FAQ Page Styles
   (consolidated from inline <style>)
   =========================== */
.faq-hero {
    padding: 40px 0 48px;
    background: linear-gradient(180deg, var(--primary-bg) 0%, white 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108,92,231,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faq-hero h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    position: relative;
}

.faq-hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
    position: relative;
}

.faq-section {
    padding: 60px 0;
}

.faq-category {
    margin-bottom: 48px;
}

.faq-category h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-bg);
    color: var(--text);
}

.faq-section .faq-list {
    max-width: 100%;
}

/* ===========================
   Legal Pages Styles
   (consolidated from inline <style>)
   =========================== */
.legal-hero {
    padding: 40px 0 32px;
    background: linear-gradient(180deg, var(--primary-bg) 0%, white 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108,92,231,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.legal-hero h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
    position: relative;
}

.legal-content {
    padding: 60px 0 80px;
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-bg);
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--text);
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-updated {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-top: 12px;
}

.legal-info-box {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.legal-info-box p {
    margin-bottom: 8px;
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

/* ===========================
   Responsive - 960px
   =========================== */
@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .steps-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 32px;
    }

    .step-connector {
        display: none;
    }

    .step-card {
        flex: 0 0 calc(50% - 16px);
        max-width: none;
    }

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

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

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

    .page-hero h1 {
        font-size: 32px;
    }

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

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

    .article-toc {
        position: static;
    }

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

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

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

/* ===========================
   Responsive - 768px (Tablet/Mobile)
   =========================== */
@media (max-width: 768px) {
    :root {
        --space-10: 40px;
    }


    .hero {
        padding: 40px 0 60px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-badges {
        flex-wrap: wrap;
    }

    .simulator-card {
        max-width: 100%;
    }

    .trust-grid {
        flex-wrap: wrap;
        gap: 24px;
    }

    .trust-divider {
        display: none;
    }

    .trust-item {
        flex: 0 0 calc(50% - 12px);
    }

    .section-header h2 {
        font-size: 26px;
    }

    .step-card {
        flex: 0 0 100%;
    }

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

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

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

    .cta-content h2 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .modal-overlay {
        padding: 12px;
        align-items: center;
        justify-content: center;
    }

    .modal {
        padding: 24px;
        margin: 0 auto;
        max-height: 90vh;
        border-radius: var(--radius-lg);
    }

    /* Modal form */
    .modal-header {
        margin-bottom: 20px;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-checkboxes {
        font-size: 13px;
    }

    /* Modal loading */
    .loading-spinner {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
    }

    .loading-container h2 {
        font-size: 18px;
    }

    .loading-progress {
        margin-bottom: 20px;
    }

    .loading-steps {
        gap: 10px;
    }

    /* Modal offers */
    .offers-header {
        margin-bottom: 16px;
    }

    .offers-header h2 {
        font-size: 20px;
    }

    .offers-check svg {
        width: 36px;
        height: 36px;
    }

    .offers-list {
        gap: 12px;
    }

    /* Offer cards inside modal - compact */
    .modal .offer-card {
        border-radius: var(--radius);
    }

    .modal .offer-header {
        padding: 14px 14px 0;
        gap: 10px;
    }

    .modal .offer-logo-wrap {
        width: 90px;
        height: 36px;
        padding: 3px 8px;
    }

    .modal .offer-brand {
        font-size: 15px;
    }

    .modal .offer-tae {
        font-size: 11px;
    }

    .modal .offer-body {
        padding: 10px 14px;
    }

    .modal .offer-usp {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .modal .offer-stats {
        border-radius: 8px;
    }

    .modal .offer-stat {
        padding: 8px 4px;
    }

    .modal .offer-stat-label {
        font-size: 10px;
    }

    .modal .offer-stat-value {
        font-size: 12px;
    }

    .modal .offer-legal {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .modal .offer-footer {
        padding: 0 14px 14px;
    }

    .modal .offer-btn {
        padding: 11px 14px;
        font-size: 13px;
        min-height: 44px;
    }

    .modal .offer-card.featured .offer-header {
        padding-right: 14px;
    }

    .modal .offer-badge {
        position: static;
        display: inline-block;
        margin: 12px 0 0 14px;
        font-size: 10px;
    }

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

    .cookie-actions .btn,
    .cookie-actions button {
        min-height: 44px;
        padding: 12px 20px;
        width: 100%;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .page-hero h1 {
        font-size: 26px;
    }

    .page-hero-intro {
        font-size: 16px;
    }

    .article-body h2 {
        font-size: 22px;
    }

    .article-body h3 {
        font-size: 18px;
    }

    /* Blog responsive */
    .blog-hero h1 {
        font-size: 28px;
    }

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

    /* Article responsive */
    .article-hero h1 {
        font-size: 26px;
    }

    .article-layout .article-content h2 {
        font-size: 22px;
    }

    .pros-cons {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pros-cons-card {
        padding: 16px;
    }

    .pros-cons-card h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .pros-cons-card h4::before {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    .pros-cons-card .icon-list li {
        padding: 10px 0 10px 26px;
        font-size: 14px;
    }

    .pros-cons-card .icon-list .li-icon {
        font-size: 14px;
        top: 10px;
        left: 2px;
    }

    .article-related-grid {
        grid-template-columns: 1fr;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Review responsive */
    .review-pros-cons {
        grid-template-columns: 1fr;
    }

    /* Comparador responsive */
    .comp-hero h1 {
        font-size: 28px;
    }

    .comp-table-section h2 {
        font-size: 22px;
    }

    /* Show scroll indicator on mobile tables */
    .comparison-table-wrap::after {
        opacity: 1;
    }

    /* Contact responsive */
    .contact-hero h1 {
        font-size: 28px;
    }

    .contact-form-card {
        padding: 24px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-faq-grid {
        grid-template-columns: 1fr;
    }

    /* Como funciona responsive */
    .page-hero-cf h1 {
        font-size: 28px;
    }

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

    .step-detail-card {
        grid-template-columns: 56px 1fr;
        gap: 20px;
    }

    .step-detail-number {
        width: 48px;
        height: 48px;
        font-size: 22px;
        border-radius: 14px;
    }

    .step-detail-content h3 {
        font-size: 18px;
    }

    /* About responsive */
    .about-hero h1 {
        font-size: 28px;
    }

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

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

    .about-cta h2 {
        font-size: 28px;
    }

    /* Simulator page responsive */
    .sim-full {
        padding: 16px 0;
    }

    .sim-full-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        overflow: hidden;
    }

    .sim-full-card {
        position: static;
        border-radius: var(--radius);
        box-shadow: none;
        border: none;
        margin: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .sim-results {
        gap: 14px;
    }

    .sim-result-card {
        padding: 16px;
    }

    .cost-table {
        min-width: auto;
    }

    .cost-table-wrap {
        margin: 0;
        padding: 0;
    }

    .sim-page-hero h1 {
        font-size: 26px;
    }

    .sim-page-hero p {
        font-size: 14px;
    }

    .sim-result-row {
        grid-template-columns: 1fr;
    }

    .content-block h2 {
        font-size: 24px;
    }

    /* FAQ page responsive */
    .faq-hero h1 {
        font-size: 28px;
    }

    .faq-category h2 {
        font-size: 20px;
    }

    /* --- Offer Card mobile fixes --- */
    .offer-header {
        gap: 10px;
        padding: 16px 16px 0;
    }

    .offer-logo-wrap {
        width: 110px;
        height: 44px;
        padding: 4px 10px;
    }

    .offer-tae {
        font-size: 11px;
        padding: 1px 6px;
    }

    .offer-body {
        padding: 12px 16px;
    }

    .offer-usp {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .offer-stat {
        padding: 8px 4px;
    }

    .offer-stat-label {
        font-size: 10px;
        letter-spacing: 0.3px;
    }

    .offer-stat-value {
        font-size: 12px;
    }

    .offer-legal {
        font-size: 11px;
    }

    .offer-badge {
        font-size: 11px;
        top: 10px;
        right: 12px;
        padding: 3px 10px;
    }

    .offer-footer {
        padding: 0 16px 16px;
    }

    .offer-detail-label {
        font-size: 11px;
    }

    .offer-detail-value {
        font-size: 13px;
    }


    /* --- Comparison table mobile --- */
    .comparison-table {
        min-width: 520px;
    }

    .comparison-table thead th {
        padding: 12px 10px;
        font-size: 11px;
    }

    .comparison-table tbody td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .comparison-table .table-logo {
        width: 44px;
        height: 18px;
        margin-right: 0;
        display: block;
    }

    .comparison-table .entity-name {
        font-size: 12px;
    }

    .comparison-table .table-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* --- Touch-friendly: larger tap targets --- */
    .faq-question {
        padding: 18px 0;
        min-height: 48px;
    }

    .btn {
        padding: 16px 28px;
        min-height: 48px;
    }

    .btn-small {
        padding: 10px 18px;
        min-height: 44px;
    }

    .offer-btn {
        min-height: 48px;
        font-size: 15px;
    }

    /* --- Hero mobile --- */
    .hero-badges .badge {
        font-size: 11px;
        padding: 4px 10px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-feature span {
        font-size: 13px;
    }

    /* --- Simulator mobile --- */
    .simulator-card {
        border-radius: var(--radius);
    }

    .simulator-header {
        padding: 20px;
    }

    .simulator-body {
        padding: 20px;
    }

    .simulator-header h2 {
        font-size: 18px;
    }

    .summary-total {
        font-size: 20px;
    }

    /* --- Footer mobile --- */
    .footer-disclaimer {
        font-size: 12px;
    }

    .footer-disclaimer p {
        font-size: 12px;
        line-height: 1.6;
    }

    /* --- Page hero mobile --- */
    .page-hero {
        padding: 32px 0 40px;
    }

    .page-hero-intro {
        font-size: 15px;
    }

    /* --- Section padding mobile --- */
    .section {
        padding: 48px 0;
    }

    .section-alt {
        padding: 48px 0;
    }

    /* --- CTA section mobile --- */
    .section-cta {
        padding: 48px 0;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-content p {
        font-size: 15px;
    }

    /* --- Modal mobile --- */
    .modal-header h2 {
        font-size: 20px;
    }

    .modal-header p {
        font-size: 14px;
    }

    .modal-loan-summary {
        font-size: 14px;
    }

    .offers-header h2 {
        font-size: 20px;
    }

    /* --- Loading step mobile --- */
    .loading-step span {
        font-size: 13px;
    }
}

/* ===========================
   Responsive - 480px (Small Mobile)
   =========================== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 24px;
        line-height: 1.25;
    }

    .hero {
        padding: 32px 0 40px;
    }

    .hero-features {
        flex-direction: column;
        gap: 8px;
    }

    .hero-badges {
        gap: 6px;
    }

    .hero-badges .badge,
    .badge {
        font-size: 11px;
        padding: 4px 8px;
    }

    .slider-value {
        font-size: 18px;
    }

    .slider-label span:first-child {
        font-size: 13px;
    }

    .trust-grid {
        gap: 16px;
    }

    .trust-number {
        font-size: 22px;
    }

    .trust-label {
        font-size: 12px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .section-header p {
        font-size: 14px;
    }

    /* --- Offer card small phone --- */
    .offer-card {
        border-radius: var(--radius);
    }

    .offer-header {
        gap: 10px;
        padding: 14px 14px 0;
    }

    .offer-logo-wrap {
        width: 96px;
        height: 38px;
        padding: 3px 8px;
        border-radius: 6px;
    }

    .offer-body {
        padding: 10px 14px;
    }

    .offer-footer {
        padding: 0 14px 14px;
    }

    .offer-stats {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 8px;
    }

    .offer-stat:nth-child(2)::after {
        display: none;
    }

    .offer-stat {
        padding: 8px 4px;
    }

    .offer-stat-value {
        font-size: 11px;
    }

    .offer-stat-label {
        font-size: 10px;
    }

    .offer-badge {
        font-size: 10px;
        top: 8px;
        right: 10px;
        padding: 2px 8px;
    }

    .offer-usp {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .offer-legal {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .offer-btn {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 8px;
    }

    .offer-details,
    .offer-details-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* --- Comparison table small phone --- */
    .comparison-table {
        min-width: 440px;
        font-size: 12px;
    }

    .comparison-table thead th {
        padding: 10px 8px;
        font-size: 10px;
    }

    .comparison-table tbody td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .comparison-table .table-logo {
        width: 36px;
        height: 16px;
    }

    .comparison-table .table-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    /* --- Simulator small phone --- */
    .simulator-body {
        padding: 16px;
    }

    .simulator-header {
        padding: 16px;
    }

    .simulator-header h2 {
        font-size: 16px;
    }

    .simulator-header p {
        font-size: 13px;
    }

    .slider-label span:first-child {
        font-size: 13px;
    }

    .simulator-note {
        font-size: 11px;
    }

    .summary-row {
        font-size: 13px;
    }

    /* --- Modal small phone --- */
    .modal-overlay {
        padding: 8px;
        align-items: center;
        justify-content: center;
    }

    .modal {
        padding: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        max-height: 92vh;
        max-height: 92dvh;
        border-radius: var(--radius);
    }

    .modal-header {
        margin-bottom: 16px;
    }

    .modal-header h2 {
        font-size: 18px;
    }

    .modal-header p {
        font-size: 12px;
    }

    .modal-loan-summary {
        font-size: 12px;
        padding: 6px 12px;
        gap: 6px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input {
        padding: 12px 14px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    /* Loading compact */
    .loading-spinner {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .spinner-icon {
        font-size: 22px;
    }

    .loading-container h2 {
        font-size: 16px;
    }

    .loading-container p {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .loading-progress {
        margin-bottom: 16px;
        height: 4px;
    }

    .loading-step {
        font-size: 12px;
        gap: 8px;
    }

    .loading-step svg {
        width: 16px;
        height: 16px;
    }

    /* Offers compact */
    .offers-header {
        margin-bottom: 12px;
    }

    .offers-header h2 {
        font-size: 18px;
    }

    .offers-check {
        margin-bottom: 10px;
    }

    .offers-check svg {
        width: 32px;
        height: 32px;
    }

    .offers-list {
        gap: 10px;
    }

    .offers-disclaimer {
        font-size: 10px;
    }

    /* Offer cards inside modal - extra compact */
    .modal .offer-header {
        padding: 12px 12px 0;
        gap: 8px;
    }

    .modal .offer-logo-wrap {
        width: 72px;
        height: 30px;
        padding: 2px 6px;
        border-radius: 6px;
    }

    .modal .offer-brand {
        font-size: 14px;
    }

    .modal .offer-body {
        padding: 8px 12px;
    }

    .modal .offer-usp {
        font-size: 11px;
        margin-bottom: 6px;
        line-height: 1.5;
    }

    .modal .offer-stats {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 6px;
        margin-bottom: 8px;
    }

    .modal .offer-stat {
        padding: 6px 4px;
    }

    .modal .offer-stat-value {
        font-size: 11px;
    }

    .modal .offer-stat-label {
        font-size: 9px;
    }

    .modal .offer-legal {
        font-size: 9px;
        margin-bottom: 6px;
    }

    .modal .offer-footer {
        padding: 0 12px 12px;
    }

    .modal .offer-btn {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 8px;
    }

    .modal .offer-badge {
        font-size: 9px;
        padding: 2px 6px;
        margin: 10px 0 0 12px;
    }

    /* --- Step cards small phone --- */
    .step-card h3 {
        font-size: 16px;
    }

    .step-card p {
        font-size: 13px;
    }

    /* --- Benefit cards small phone --- */
    .benefit-card h3 {
        font-size: 16px;
    }

    .benefit-card p {
        font-size: 13px;
    }

    /* --- FAQ small phone --- */
    .faq-question span {
        font-size: 14px;
    }

    .faq-answer p {
        font-size: 13px;
    }

    /* --- Testimonial small phone --- */
    .testimonial-text {
        font-size: 14px;
    }

    .testimonial-author strong {
        font-size: 14px;
    }

    .testimonial-author span {
        font-size: 12px;
    }

    /* --- Footer small phone --- */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-brand p {
        font-size: 13px;
    }

    .footer-links h4 {
        font-size: 15px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    /* --- CTA small phone --- */
    .cta-content h2 {
        font-size: 22px;
    }

    .cta-content p {
        font-size: 14px;
    }

    /* Phone input: ensure 16px to prevent iOS zoom */
    .phone-prefix {
        font-size: 16px;
    }

    /* Cookie banner small phone */
    .cookie-content p {
        font-size: 12px;
    }
}

/* ===========================
   Content Components (v2)
   =========================== */

/* --- Callout / Info Box --- */
.callout {
    border-radius: 8px;
    padding: 18px 22px;
    margin: 28px 0;
    line-height: 1.65;
    font-size: 14px;
    overflow-wrap: break-word;
    border-left-width: 3px;
    border-left-style: solid;
    word-break: break-word;
}

.callout-icon {
    display: none;
}

.callout-info {
    background: #EFF6FF;
    border-left-color: #3B82F6;
    color: var(--text);
}

.callout-success {
    background: var(--success-bg);
    border-left: 4px solid var(--success);
    color: var(--text);
}

.callout-warning {
    background: #FFFBEB;
    border-left-color: #F59E0B;
    color: var(--text);
}

.callout-tip {
    background: #F0FDF4;
    border-left-color: #10B981;
    color: var(--text);
}

.callout p {
    margin: 0;
}

.callout strong {
    color: var(--text);
}

/* --- Stat Highlight Card --- */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.stat-card {
    background: white;
    border: none;
    border-radius: 12px;
    padding: 22px 14px;
    text-align: center;
    overflow: hidden;
    word-break: break-word;
    min-width: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
}

.stat-card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.06);
}

.stat-card-value {
    display: block;
    font-size: clamp(17px, 3.5vw, 24px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 6px;
}

.stat-card-label {
    font-size: 12px;
    color: #94A3B8;
    font-weight: 500;
    line-height: 1.4;
}

/* --- Icon List --- */
.icon-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.icon-list li {
    position: relative;
    padding: 14px 16px 14px 48px;
    background: #F9FAFB;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.65;
    transition: background 0.2s ease;
    color: #4B5563;
}

.icon-list li:hover {
    background: #F3F4F6;
}

.icon-list li strong {
    color: var(--text);
}

.icon-list .li-icon {
    position: absolute;
    left: 14px;
    top: 14px;
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.icon-list--check .li-icon {
    background: var(--success);
}

.icon-list--cross .li-icon {
    background: var(--error);
}

.icon-list--num .li-icon {
    background: var(--primary);
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
}

/* ===========================
   Unified Table Design System
   =========================== */
/* ===========================
   Tables — Blog Articles
   =========================== */
.article-content table,
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 14px;
}

.article-content table thead th,
.article-body table thead th {
    background: #1E293B;
    color: white;
    font-weight: 600;
    font-size: 13px;
    padding: 12px 18px;
    text-align: left;
}

.article-content table thead th:first-child,
.article-body table thead th:first-child {
    border-radius: 8px 0 0 0;
}

.article-content table thead th:last-child,
.article-body table thead th:last-child {
    border-radius: 0 8px 0 0;
}

.article-content table tbody td,
.article-body table tbody td {
    padding: 12px 18px;
    color: #374151;
    border-bottom: 1px solid #E5E7EB;
    font-size: 14px;
}

.article-content table tbody tr:last-child td,
.article-body table tbody tr:last-child td {
    border-bottom: none;
}

.article-content table tbody tr:nth-child(odd) td,
.article-body table tbody tr:nth-child(odd) td {
    background: white;
}

.article-content table tbody tr:nth-child(even) td,
.article-body table tbody tr:nth-child(even) td {
    background: #F8FAFC;
}

.article-content table tbody td:first-child,
.article-body table tbody td:first-child {
    font-weight: 600;
    color: #1E293B;
}

/* ===========================
   Tables — Review Info (key-value)
   =========================== */
.review-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.review-info-table td {
    padding: 12px 18px;
    font-size: 14px;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: middle;
}

.review-info-table tr:last-child td {
    border-bottom: none;
}

.review-info-table tr:nth-child(odd) td {
    background: white;
}

.review-info-table tr:nth-child(even) td {
    background: #F8FAFC;
}

.review-info-table td:first-child {
    color: #64748B;
    font-size: 13px;
    font-weight: 500;
    width: 40%;
}

.review-info-table td:last-child {
    color: #1E293B;
    font-weight: 600;
}

/* ===========================
   Tables — Cost / Comparison (shared)
   =========================== */
.cost-table,
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 14px;
}

.cost-table th,
.comparison-table thead th {
    background: #1E293B;
    color: white;
    font-weight: 600;
    font-size: 13px;
    padding: 12px 18px;
    text-align: left;
}

.cost-table td,
.comparison-table tbody td {
    padding: 12px 18px;
    color: #374151;
    border-bottom: 1px solid #E5E7EB;
    font-size: 14px;
    vertical-align: middle;
}

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

.cost-table tr:nth-child(even) td,
.comparison-table tbody tr:nth-child(even) td {
    background: #F8FAFC;
}

.cost-table tr:hover td,
.comparison-table tbody tr:hover td {
    background: #EFF6FF;
}

/* --- Pull Quote --- */
.pull-quote {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 24px 28px;
    margin: 28px 0;
    text-align: center;
    border: none;
}

.pull-quote p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.pull-quote strong {
    font-size: 18px;
    color: var(--primary);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

/* --- Content Card --- */
.content-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 24px 0;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    overflow-wrap: break-word;
}

.content-card h3,
.content-card h4 {
    margin-bottom: 12px;
    color: var(--text);
}

.content-card--highlight {
    border: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.content-card--highlight::before {
    display: none;
}

/* Table inside any card - remove card padding so table fills full width */
.content-card table {
    margin: 0 -28px -28px;
    width: calc(100% + 56px);
}

.content-card table:first-child {
    margin-top: -28px;
}

/* Highlight card with only a table - just show the table */
.content-card--highlight table {
    margin: 0;
    width: 100%;
}

/* --- Content Grid (2-3 col cards) --- */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.content-grid .content-card {
    margin: 0;
}

/* --- Pull Quote --- */
.pull-quote {
    border: none;
    border-left: 4px solid var(--primary);
    background: var(--bg-alt);
    padding: 24px 28px;
    margin: 28px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.6;
    font-style: italic;
    position: relative;
    overflow-wrap: break-word;
}

.pull-quote::before {
    content: '\201C';
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 40px;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.5;
}

.pull-quote cite {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-style: normal;
    color: var(--text-secondary);
    font-weight: 600;
}

/* --- Section Divider --- */
.section-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* --- Tag / Badge System --- */
.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

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

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

.tag--warning {
    background: var(--warning-bg);
    color: #92400E;
}

.tag--info {
    background: #EEF2FF;
    color: #3730A3;
}

/* --- Improved Article Body --- */
.article-body h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
}

.article-body h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    padding-left: 14px;
    border-left: 3px solid var(--primary-light);
}

.article-body > p {
    margin-bottom: 18px;
}

.article-body > ul:not(.icon-list),
.article-body > ol:not(.icon-list) {
    margin: 16px 0;
    padding-left: 0;
    list-style: none;
}

.article-body > ul:not(.icon-list) > li,
.article-body > ol:not(.icon-list) > li {
    position: relative;
    padding: 8px 0 8px 28px;
    line-height: 1.7;
}

.article-body > ul:not(.icon-list) > li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 15px;
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
}

.article-body > ol:not(.icon-list) {
    counter-reset: ol-counter;
}

.article-body > ol:not(.icon-list) > li {
    counter-increment: ol-counter;
}

.article-body > ol:not(.icon-list) > li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 8px;
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.article-body > blockquote {
    border: none;
    border-left: 4px solid var(--primary);
    background: var(--bg-alt);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text);
}

.article-body > blockquote p {
    margin: 0;
}

.article-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    font-size: 14px;
}

.article-body table thead th {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

.article-body table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

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

.article-body table tbody tr:nth-child(even) td {
    background: var(--bg-alt);
}

/* --- FAQ Category Styling --- */
.faq-category {
    margin-bottom: 32px;
}

.faq-category > h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    padding: 14px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    margin-bottom: 16px;
}

/* --- Section Alt Backgrounds --- */
.section-alt {
    background: var(--bg-alt);
}

/* --- Info Card Grid --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.info-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

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

.info-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--text);
}

.info-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Review Page Polish --- */
.review-verdict {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 28px 0;
    text-align: center;
}

.review-verdict h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: white;
}

.review-verdict p {
    font-size: 15px;
    margin-bottom: 16px;
    color: white;
}

/* --- Related Pages Cards --- */
.related-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    background: white;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.related-card:hover {
    border-color: var(--primary-dark);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.related-card h3 {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 6px;
}

.related-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* --- Mobile: Content Components --- */
@media (max-width: 768px) {
    .callout {
        padding: 14px 16px;
        font-size: 13px;
    }

    .stat-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 14px 10px;
    }

    .stat-card-value {
        font-size: 18px;
    }

    .stat-card-label {
        font-size: 11px;
    }

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

    .content-card {
        padding: 18px;
    }

    .pull-quote {
        padding: 16px 18px;
        font-size: 14px;
    }

    .icon-list li {
        padding: 12px 14px 12px 44px;
        font-size: 13px;
    }

    .icon-list .li-icon {
        left: 12px;
        top: 12px;
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .article-body table {
        font-size: 13px;
    }

    .article-body th, .article-body td,
    .article-content th, .article-content td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .article-content {
        padding: 40px 0;
    }

    .article-body h2 {
        font-size: 20px;
        margin-top: 32px;
    }

    .article-body h3 {
        font-size: 17px;
    }

}

@media (max-width: 480px) {
    .stat-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card-value {
        font-size: 20px;
    }

    .stat-card-label {
        font-size: 12px;
    }

    .callout {
        padding: 12px 14px;
        font-size: 12px;
    }

    .faq-category > h2 {
        font-size: 17px;
        padding: 12px 16px;
    }
}

/* ===========================
   Amount Grid Cards
   =========================== */
.amount-grid {
    grid-template-columns: repeat(3, 1fr);
}

.amount-card-link {
    text-decoration: none;
    text-align: center;
}

.amount-card-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.amount-card-title {
    font-size: 15px;
}

@media (max-width: 768px) {
    .amount-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .amount-card-value {
        font-size: 20px;
    }

    .amount-card-title {
        font-size: 13px;
    }

    .amount-card-link {
        padding: 18px 12px;
    }

    .amount-card-link p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .amount-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }

    .amount-card-value {
        font-size: 18px;
    }

    .amount-card-title {
        font-size: 11px;
    }

    .amount-card-link {
        padding: 14px 8px;
    }

    .amount-card-link p {
        font-size: 11px;
    }
}

/* ===========================
   Print Styles
   =========================== */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .modal-overlay,
    .section-cta {
        display: none !important;
    }

    .hero {
        background: white !important;
        color: var(--text) !important;
    }

    .hero h1 {
        color: var(--text) !important;
    }

    body {
        font-size: 14px;
    }
}

/* ===========================
   Reduced Motion
   =========================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===========================
   Focus Visible (Accessibility)
   =========================== */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* ===========================
   Selection
   =========================== */
::selection {
    background: var(--primary-lighter);
    color: var(--primary-darker);
}

/* ===========================
   Simulador Mobile Fix
   =========================== */
@media (max-width: 768px) {
    .sim-full,
    .sim-full-grid,
    .sim-full-card,
    .sim-results,
    .sim-result-card {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .sim-full-card {
        border: none !important;
        box-shadow: none !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    .simulator-header {
        padding: 18px 16px !important;
    }

    .simulator-body {
        padding: 16px !important;
    }

    .slider-value {
        font-size: 18px !important;
    }

    .slider-label span:first-child {
        font-size: 13px !important;
    }

    .slider-range {
        font-size: 11px !important;
    }

    .cost-table {
        min-width: auto !important;
        font-size: 13px !important;
    }

    .cost-table th,
    .cost-table td {
        padding: 10px 12px !important;
    }
}
