/* ============================================
   AM Inversión & Finanzas — Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --bg-primary: #04101e;
    --bg-secondary: #0a192f;
    --bg-tertiary: #112240;
    --bg-card: #0d213b;
    --bg-card-hover: #142d4f;
    --bg-glass: rgba(10, 25, 47, 0.7);

    --text-primary: #f0f2f7;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dim: #475569;

    --accent-gold: #d4af37;
    --accent-gold-light: #eadd71;
    --accent-gold-dark: #b5952f;
    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-teal: #00b4d8;
    --accent-emerald: #10b981;

    --gradient-primary: linear-gradient(135deg, #00b4d8 0%, #48cae4 50%, #00b4d8 100%);
    --gradient-text: linear-gradient(135deg, #d4af37 0%, #eadd71 40%, #f7e69b 60%, #d4af37 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-dark: linear-gradient(180deg, #04101e 0%, #0a192f 100%);
    --gradient-card: linear-gradient(145deg, rgba(13, 33, 59, 0.8) 0%, rgba(10, 25, 47, 0.9) 100%);

    --border-subtle: rgba(148, 163, 184, 0.08);
    --border-medium: rgba(148, 163, 184, 0.12);
    --border-accent: rgba(212, 168, 83, 0.3);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(212, 168, 83, 0.15);

    /* Typography */
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-padding: 7rem 0;
    --container-max: 1200px;
    --container-padding: 0 1.5rem;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Border radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

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

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-gold);
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
    background: rgba(212, 168, 83, 0.06);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    line-height: 1.4;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #0a0e17;
    box-shadow: var(--shadow-md), 0 0 20px rgba(212, 168, 83, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 168, 83, 0.35);
}

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

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(212, 168, 83, 0.06);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-xl {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(6, 9, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.logo-mark {
    display: inline-flex;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    letter-spacing: -0.03em;
}

.logo-a {
    color: #3ECF8E;
}

.logo-m {
    color: #e0e4ea;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 500;
    color: #e0e4ea;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    align-self: flex-end;
    margin-bottom: 0.15rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-base);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width var(--transition-base);
}

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

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

.nav-cta {
    font-size: 0.8125rem !important;
    padding: 0.625rem 1.25rem !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

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

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 9, 15, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-links a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition-base);
}

.mobile-links a:hover {
    color: var(--accent-gold);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 12s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    bottom: -50px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-gold);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    background: rgba(212, 168, 83, 0.05);
    animation: fadeInUp 0.8s ease-out;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-emerald);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-number::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

.stat-icon {
    color: var(--accent-gold);
    display: flex;
    align-items: center;
}

.stat-icon + .stat-label {
    margin-top: 0;
}

.stat:last-child .stat-number::after {
    content: none;
}

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

/* ============================================
   PROBLEMS / DOLORES
   ============================================ */
.problems {
    padding: var(--section-padding);
    position: relative;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.problem-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

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

.problem-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(212, 168, 83, 0.08);
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
}

.problem-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.problem-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================
   ABOUT / SOBRE MÍ
   ============================================ */
.about {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 1.25rem;
}

.about-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.about-lead {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-content > p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2.5rem;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.about-features li svg {
    flex-shrink: 0;
    color: var(--accent-emerald);
    margin-top: 2px;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-photo-placeholder {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-xl);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.photo-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-dim);
}

.photo-placeholder-inner span {
    font-size: 0.8125rem;
    font-weight: 500;
}

.about-floating-card {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(15, 22, 41, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: float 8s ease-in-out infinite;
}

.floating-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(212, 168, 83, 0.1);
    color: var(--accent-gold);
}

.about-floating-card strong {
    display: block;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.about-floating-card small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   PROCESS / CÓMO FUNCIONA
   ============================================ */
.process {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 42px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue), var(--accent-emerald));
    opacity: 0.3;
    border-radius: 1px;
}

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

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================
   INSTRUMENTS
   ============================================ */
.instruments {
    padding: var(--section-padding);
    position: relative;
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.instrument-item {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
    text-align: center;
}

.instrument-item:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.instrument-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.instrument-item h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.instrument-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   PLANS / PLANES
   ============================================ */
.plans {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

.plans::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.plan-card {
    border-radius: var(--radius-xl);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.plan-card.featured {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}

.plan-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: var(--shadow-glow), var(--shadow-xl);
}

.plan-badge-popular {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0a0e17;
    background: var(--gradient-primary);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

.plan-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.plan-tier {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.5rem;
}

.plan-gold .plan-tier { color: var(--accent-gold); }
.plan-platinum .plan-tier { color: var(--text-secondary); }
.plan-black .plan-tier { color: var(--text-primary); }

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-ideal {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-style: italic;
}

.plan-body {
    padding: 1.5rem 2rem;
    flex: 1;
}

.plan-body h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.plan-body h4:first-child {
    margin-top: 0;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.plan-features li svg {
    flex-shrink: 0;
    color: var(--accent-emerald);
    margin-top: 2px;
}

.plan-features-highlight li {
    color: var(--accent-gold-light);
}

.plan-features-highlight li svg {
    color: var(--accent-gold);
}

.plan-cta {
    margin: 1.5rem 2rem 2rem;
    text-align: center;
    width: calc(100% - 4rem);
}

/* ============================================
   COMPOUND / INTERÉS COMPUESTO
   ============================================ */
.compound {
    padding: var(--section-padding);
    position: relative;
}

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

.compound-content .section-tag {
    margin-bottom: 1.25rem;
}

.compound-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1.5rem;
    text-align: center;
}

.compound-content > p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.compound-result-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.compound-result {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.compound-result-card {
    flex: 1;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid var(--border-accent);
    text-align: center;
}

.compound-result-saving {
    border-color: var(--border-subtle);
}

.compound-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.compound-result-saving .compound-label {
    color: var(--text-muted);
}

.compound-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.compound-value.dim {
    color: var(--text-dim);
}

.compound-sub {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.compound-vs {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dim);
    flex-shrink: 0;
}

.compound-note {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.compound-content .section-tag {
    display: block;
    text-align: center;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--border-medium);
}

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

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
    list-style: none;
    transition: color var(--transition-base);
}

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

.faq-item summary::marker {
    display: none;
    content: '';
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition-base);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.final-cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.final-cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-links-group h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links-group a {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-base);
}

.footer-links-group a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-dim);
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    max-width: 600px;
    line-height: 1.5;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 990;
    transition: all var(--transition-base);
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 5rem 0;
    }

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

    .plan-card.featured {
        transform: none;
        order: -1;
    }

    .plan-card.featured:hover {
        transform: translateY(-4px);
    }

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

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        order: -1;
    }

    .about-photo-placeholder {
        max-width: 300px;
        aspect-ratio: 1;
    }

    .about-floating-card {
        right: auto;
        left: 50%;
        bottom: -0.5rem;
        transform: translateX(-50%);
        animation: none;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 7rem 0 4rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 2.75rem);
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .stat-divider {
        display: none;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .process-steps::before {
        display: none;
    }

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

    .compound-result {
        flex-direction: column;
    }

    .compound-vs {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 54px;
        height: 54px;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .plan-header {
        padding: 1.5rem;
    }

    .plan-body {
        padding: 1rem 1.5rem;
    }

    .plan-cta {
        margin: 1.25rem 1.5rem 1.5rem;
        width: calc(100% - 3rem);
    }
}

/* ============================================
   PERFORMANCE: Reduce motion for users who prefer it
   ============================================ */
@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;
    }

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