﻿/* ═══════════════════════════════════════════════════════════
   LANAFY DESIGN SYSTEM — styles.css
   Dark Luxury · Gold #D4AF37 · Green #22C55E
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
    --gold: #D4AF37;
    --gold-dim: rgba(212, 175, 55, 0.15);
    --gold-glow: rgba(212, 175, 55, 0.4);
    --green: #22C55E;
    --green-dim: rgba(34, 197, 94, 0.12);
    --green-glow: rgba(34, 197, 94, 0.35);
    --black: #000000;
    --dark: #09090B;
    --dark2: #111113;
    --surface: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.25);
    --text-primary: #FAFAFA;
    --text-secondary: rgba(250, 250, 250, 0.6);
    --text-muted: rgba(250, 250, 250, 0.35);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --blur: backdrop-filter: blur(24px) saturate(180%);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background-color: var(--black);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font);
}

/* ── PARTICLES ── */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-10vh) scale(1.2);
        opacity: 0;
    }
}

/* ── GRADIENT TEXT ── */
.gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--gold) 0%, #b8942e 100%);
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 100px;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.1);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-radius: 100px;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
}

.btn-xl {
    padding: 18px 48px;
    font-size: 1.05rem;
}

.btn-form {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

/* Glow animation */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px var(--gold-glow), 0 0 40px var(--gold-dim);
    }

    50% {
        box-shadow: 0 0 35px var(--gold-glow), 0 0 70px var(--gold-dim), 0 4px 20px rgba(0, 0, 0, 0.4);
    }
}

.pulse-glow {
    animation: pulseGlow 2.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR — Modern Fintech Navigation
   Clean · Glassmorphism · Gold accents
   ═══════════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 1px 0 rgba(255,255,255,0.03);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* ── Logo ── */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-logo:hover {
    opacity: 0.85;
}

.logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.04em;
}

/* ── Nav Links ── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    position: relative;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    transition: color 0.2s ease;
    text-decoration: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 1.5px;
    background: var(--gold);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* ── CTA Buttons ── */
.nav-cta-ghost {
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: var(--text-primary) !important;
    border-radius: 10px !important;
    padding: 8px 18px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
    background: rgba(255,255,255,0.04) !important;
}

.nav-cta-ghost::after {
    display: none !important;
}

.nav-cta-ghost:hover {
    border-color: rgba(212,175,55,0.4) !important;
    color: var(--gold) !important;
    background: rgba(212,175,55,0.06) !important;
}

.nav-cta-solid {
    background: var(--gold) !important;
    color: #000 !important;
    border-radius: 10px !important;
    padding: 9px 20px !important;
    font-weight: 700 !important;
    transition: all 0.25s ease !important;
    border: none !important;
    box-shadow: 0 0 0 0 rgba(212,175,55,0) !important;
}

.nav-cta-solid::after {
    display: none !important;
}

.nav-cta-solid:hover {
    background: #e0bd45 !important;
    box-shadow: 0 4px 20px rgba(212,175,55,0.3) !important;
    transform: translateY(-1px);
}

/* ── Hamburger ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.hamburger:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, width 0.3s ease;
    transform-origin: center;
}

.hamburger span:nth-child(1) { width: 20px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger span:nth-child(3) { width: 20px; }

/* Hamburger → X animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
    width: 20px;
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
    width: 20px;
}

/* ── HERO ── */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 24px;
    width: fit-content;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-sub strong {
    color: var(--gold);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 1px;
}

.stat-number,
.stat-prefix,
.stat-suffix {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    display: inline;
}

.stat-suffix,
.stat-prefix {
    font-size: 1.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* ── HERO DASHBOARD ── */
.hero-dashboard {
    position: relative;
    width: 540px;
    height: 540px;
    flex-shrink: 0;
}

/* Orbe central */
.orb-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    z-index: 1;
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbRotate linear infinite;
}

.orb-ring-1 {
    width: 180px;
    height: 180px;
    border-color: rgba(212, 175, 55, 0.25);
    animation-duration: 12s;
}

.orb-ring-2 {
    width: 250px;
    height: 250px;
    border-color: rgba(34, 197, 94, 0.15);
    animation-duration: 20s;
    animation-direction: reverse;
    border-style: dashed;
}

.orb-ring-3 {
    width: 330px;
    height: 330px;
    border-color: rgba(212, 175, 55, 0.08);
    animation-duration: 30s;
}

@keyframes orbRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.orb-ring-1::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--gold-glow);
    transform: translateX(-50%);
}

.orb-ring-2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 20%;
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--green-glow);
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    background: radial-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(0, 0, 0, 0.9) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2), inset 0 0 30px rgba(212, 175, 55, 0.05);
    animation: orbPulse 3s ease-in-out infinite;
    overflow: hidden;
}

.orb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0.9;
    filter: saturate(1.4) brightness(1.1);
}

@keyframes orbPulse {

    0%,
    100% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.2), inset 0 0 30px rgba(212, 175, 55, 0.05);
    }

    50% {
        box-shadow: 0 0 60px rgba(212, 175, 55, 0.35), inset 0 0 40px rgba(212, 175, 55, 0.1);
    }
}

/* ── FLOATING CARDS ── */
.fcard {
    position: absolute;
    background: rgba(9, 9, 11, 0.88);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 190px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s;
    z-index: 2;
}

.fcard:hover {
    border-color: var(--border-gold);
}

/* Posiciones: 4 esquinas bien definidas */
.fcard-balance {
    top: 16px;
    left: 0;
    animation: fFloat1 6s ease-in-out infinite;
}

.fcard-tx {
    top: 16px;
    right: 0;
    animation: fFloat2 7s ease-in-out infinite;
}

.fcard-ai {
    bottom: 16px;
    left: 0;
    animation: fFloat3 8s ease-in-out infinite;
}

.fcard-savings {
    bottom: 16px;
    right: 0;
    animation: fFloat4 6.5s ease-in-out infinite;
}

@keyframes fFloat1 {

    0%,
    100% {
        transform: translateY(0px)
    }

    50% {
        transform: translateY(-10px)
    }
}

@keyframes fFloat2 {

    0%,
    100% {
        transform: translateY(0px)
    }

    50% {
        transform: translateY(-14px)
    }
}

@keyframes fFloat3 {

    0%,
    100% {
        transform: translateY(0px)
    }

    50% {
        transform: translateY(-8px)
    }
}

@keyframes fFloat4 {

    0%,
    100% {
        transform: translateY(0px)
    }

    50% {
        transform: translateY(-12px)
    }
}

.fcard-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.fcard-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.fcard-dot.green {
    background: var(--green);
    box-shadow: 0 0 6px var(--green-glow);
}

.fcard-dot.gold {
    background: var(--gold);
    box-shadow: 0 0 6px var(--gold-glow);
}

.pulse-dot {
    animation: pulse 2s ease-in-out infinite;
}

.fcard-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

/* Balance card */
.fcard-amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 4px;
}

.fcard-currency {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.fcard-trend {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.trend-up {
    color: var(--green);
    font-weight: 700;
}

/* TX card */
.fcard-tx-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tx-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.tx-desc {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tx-meta {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.tx-check {
    margin-left: auto;
    color: var(--green);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* AI card */
.fcard-insight {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.fcard-insight strong {
    color: var(--gold);
}

/* Savings card */
.savings-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.savings-pct {
    color: var(--green);
    font-weight: 700;
}

.savings-track {
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.savings-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--green));
    border-radius: 10px;
    animation: savingsGrow 1.5s ease-out forwards;
}

@keyframes savingsGrow {
    from {
        width: 0;
    }
}

.savings-amounts {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ── ORB TECH SVG OVERLAY ── */
.orb-tech-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ── SECTION SHARED ── */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

/* ── FEATURES GRID ── */
.features-section {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    cursor: default;
    perspective: 800px;`r`n    text-align: center;
}

.feature-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-gold);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 20px;
    background: var(--gold-dim);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ── HOW SECTION ── */
.how-section {
    background: var(--dark);
    position: relative;
    z-index: 1;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: border-color var(--transition);
}

.step-card:hover {
    border-color: var(--border-gold);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--gold);
    flex-shrink: 0;
    padding: 0 16px;
    opacity: 0.6;
    font-weight: 300;
}

/* ── PRICING ── */
.pricing-section {
    position: relative;
    z-index: 1;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: background var(--transition), color var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-btn.active {
    background: var(--gold);
    color: #000;
}

.discount-badge {
    background: var(--green);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
}

/* ── Trial Banner ────────────────────────────────────── */
.trial-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(34, 197, 94, 0.08));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: 32px;
    text-align: left;
}
.trial-banner-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}
.trial-banner-content {
    flex: 1;
}
.trial-banner-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 4px;
}
.trial-banner-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}
.trial-banner-cta {
    flex-shrink: 0;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .trial-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.highlight {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.06) 0%, var(--surface) 100%);
    box-shadow: 0 0 0 1px var(--border-gold), 0 30px 80px rgba(212, 175, 55, 0.15);
    transform: scale(1.03);
}

.pricing-card.highlight:hover {
    transform: scale(1.03) translateY(-4px);
}

.plan-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), #b8942e);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.plan-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 6px;
}

.plan-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.plan-annual-total {
    font-size: 0.78rem;
    color: var(--green);
    margin-bottom: 12px;
    font-weight: 500;
}

.plan-annual-total strong {
    font-weight: 700;
    color: var(--green);
}

.plan-price {
    margin-bottom: 8px;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    vertical-align: top;
    margin-top: 8px;
    display: inline-block;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    line-height: 1;
}

.price-period {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.price-original {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 16px;
    display: none;
}

.plan-divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.plan-features {
    margin-bottom: 28px;
}

.plan-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.feature-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-check.yes {
    background: var(--green-dim);
    color: var(--green);
}

.feature-check.no {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
}

.plan-feature-item.unavailable {
    opacity: 0.45;
}

.plan-cta {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.plan-cta.primary-cta {
    background: linear-gradient(135deg, var(--gold), #b8942e);
    color: #000;
}

.plan-cta.primary-cta:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.plan-cta.ghost-cta {
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.plan-cta.ghost-cta:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
}

.pricing-footnote {
    text-align: center;
    margin-top: 32px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── TESTIMONIALS ── */
.testimonials-section {
    background: var(--dark);
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color var(--transition), transform var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-text::before {
    content: '"';
    color: var(--gold);
    font-size: 1.5rem;
    font-style: normal;
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 4px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: linear-gradient(135deg, var(--gold-dim), var(--green-dim));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--gold);
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.author-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── REGISTER SECTION ── */
.register-section {
    position: relative;
    z-index: 1;
}

.register-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.promo-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--green-dim);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: var(--green);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.register-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.register-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.register-perks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.register-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.perk-check {
    color: var(--gold);
    font-size: 0.75rem;
}

.register-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.field-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font);
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
    outline: none;
    -webkit-appearance: none;
}

.field-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

.field-input::placeholder {
    color: var(--text-muted);
}

.field-error {
    font-size: 0.75rem;
    color: #EF4444;
    min-height: 16px;
}

/* Phone Input */
.phone-input-wrapper {
    position: relative;
    display: flex;
}

.phone-country-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: var(--font);
    white-space: nowrap;
    transition: border-color var(--transition), background var(--transition);
    flex-shrink: 0;
}

.phone-country-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
}

.country-flag {
    font-size: 1.1rem;
}

.country-code {
    font-weight: 600;
    font-size: 0.85rem;
}

.chevron {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.phone-country-btn[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.country-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 200;
    background: #1a1a1d;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 280px;
    max-height: 260px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.country-dropdown.open {
    display: block;
    animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background var(--transition);
}

.country-item:hover {
    background: var(--surface);
}

.country-item.selected {
    background: var(--gold-dim);
}

.country-item-flag {
    font-size: 1.1rem;
}

.country-item-name {
    flex: 1;
    color: var(--text-secondary);
}

.country-item-code {
    color: var(--text-muted);
    font-weight: 600;
}

.phone-field {
    border-left: none !important;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
}

/* Password */
.password-wrapper {
    position: relative;
}

.password-wrapper .field-input {
    padding-right: 48px;
}

.eye-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    padding: 4px;
    transition: color var(--transition);
}

.eye-btn:hover {
    color: var(--gold);
}

.eye-btn svg {
    width: 18px;
    height: 18px;
}

.strength-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    border-radius: 4px;
    width: 0%;
    transition: width 0.4s ease, background 0.4s ease;
}

.strength-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Spinner */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none !important;
}

.form-terms,
.form-login {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

.terms-link {
    color: var(--gold);
    transition: opacity var(--transition);
}

.terms-link:hover {
    opacity: 0.8;
}

/* ── FINAL CTA ── */
.final-cta {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: var(--dark);
    text-align: center;
}

.final-cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.final-cta-content {
    padding: 120px 24px;
    position: relative;
    z-index: 1;
}

.final-cta-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    line-height: 1.1;
}

.final-cta-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.final-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── FOOTER ── */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 220px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-col-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-col-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 100px 24px 60px;
    }

    .hero-badge,
    .hero-actions,
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-sub {
        margin: 0 auto 36px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-dashboard {
        width: 380px;
        height: 380px;
    }

    .fcard {
        width: 155px;
        padding: 10px 12px;
    }

    .fcard-amount {
        font-size: 1.1rem;
    }

    .orb-ring-2 {
        width: 210px;
        height: 210px;
    }

    .orb-ring-3 {
        width: 280px;
        height: 280px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .step-arrow {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.highlight {
        transform: scale(1);
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .register-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* ── Navbar mobile: hamburger visible, links hidden → slide-down ── */
    .hamburger {
        display: flex;
    }

    .navbar {
        padding: 0 16px;
    }

    .nav-container {
        height: 64px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background: rgba(9, 9, 11, 0.96);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 32px;
        gap: 2px;
        border-bottom: none;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.open {
        display: flex;
        animation: navFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes navFadeIn {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 16px 16px;
        font-size: 1.05rem;
        font-weight: 600;
        border-radius: 12px;
        color: var(--text-secondary);
        transition: color 0.2s ease, background 0.2s ease;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a:active {
        color: var(--text-primary);
        background: rgba(255,255,255,0.04);
    }

    /* CTA buttons inside mobile menu */
    .nav-links .nav-cta-ghost {
        border: 1px solid rgba(255,255,255,0.1) !important;
        color: var(--text-primary) !important;
        margin-top: 12px;
        padding: 16px 20px !important;
        border-radius: 12px !important;
        font-weight: 600 !important;
        justify-content: center;
        background: rgba(255,255,255,0.04) !important;
    }

    .nav-links .nav-cta-solid {
        margin-top: 6px;
        padding: 16px 22px !important;
        border-radius: 12px !important;
        font-size: 1rem !important;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .register-form-card {
        padding: 28px 20px;
    }

    /* Mostrar chat, ocultar dashboard */
    .hero-visual {
        display: flex !important;
        justify-content: center;
        margin-top: 32px;
    }

    .hero-dashboard {
        display: none;
    }

    .hero-chat-mobile {
        display: block;
    }
}

/* ════════════════════ MOBILE CHAT DEMO ════════════════════ */
.hero-chat-mobile {
    display: none;
}

.chat-phone-frame {
    width: 300px;
    background: #0f1117;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 175, 55, 0.1);
}

.chat-header-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #1a1f2e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-back {
    font-size: 1.4rem;
    color: var(--green);
    font-weight: 300;
    line-height: 1;
}

.chat-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.chat-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--border-gold);
}

.chat-online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 9px;
    height: 9px;
    background: var(--green);
    border-radius: 50%;
    border: 1.5px solid #1a1f2e;
    box-shadow: 0 0 6px var(--green-glow);
    animation: pulse 2s infinite;
}

.chat-header-info {
    flex: 1;
}

.chat-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.chat-status-text {
    font-size: 0.68rem;
    color: var(--green);
    font-weight: 500;
}

.chat-icons {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.chat-body {
    padding: 14px 12px;
    background: #0a0d14;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-image: radial-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.chat-date-sep {
    text-align: center;
    font-size: 0.65rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 10px;
    border-radius: 10px;
    width: fit-content;
    margin: 0 auto 4px;
    letter-spacing: 0.08em;
}

.chat-bubble {
    max-width: 78%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(6px);
}

.chat-bubble.user {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.12));
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.bot {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble strong {
    color: var(--gold);
}

.chat-bubble em {
    font-style: normal;
    color: var(--green);
}

.bubble-time {
    display: block;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 3px;
}

.chat-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: typingBounce 1.2s ease-in-out infinite;
    opacity: 0.6;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@keyframes chatMsgIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes chatMsgOut {
    to {
        opacity: 0;
        height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
}

.cm-1 {
    animation: chatMsgIn 0.4s ease forwards 0.6s;
}

.cm-2 {
    animation: chatMsgIn 0.3s ease forwards 1.5s, chatMsgOut 0.2s ease forwards 2.5s;
}

.cm-3 {
    animation: chatMsgIn 0.4s ease forwards 2.7s;
}

.cm-4 {
    animation: chatMsgIn 0.4s ease forwards 3.6s;
}

.cm-5 {
    animation: chatMsgIn 0.4s ease forwards 4.6s;
}

.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #1a1f2e;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-input-placeholder {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font);
}

.chat-send-btn {
    width: 32px;
    height: 32px;
    background: var(--green);
    border-radius: 50%;
    color: #000;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.chat-send-btn:hover {
    transform: scale(1.1);
}
/* ═══════════════ FULL MOBILE OPTIMIZATIONS ═══════════════ */

/* Carousel shared */
.carousel-wrap { position: relative; }
.carousel-dots { display: none; justify-content: center; gap: 6px; margin-top: 16px; }
.carousel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border); transition: background 0.3s, transform 0.3s; cursor: pointer; }
.carousel-dot.active { background: var(--gold); transform: scale(1.3); }

/* Sticky CTA bar */
.sticky-cta-mobile { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; background: rgba(0,0,0,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--border-gold); padding: 12px 20px; align-items: center; gap: 12px; }
.sticky-cta-btn { flex: 1; text-align: center; padding: 13px 20px; border-radius: 100px; font-size: 0.9rem; }
.sticky-cta-login { font-size: 0.8rem; color: var(--text-secondary); white-space: nowrap; border: 1px solid var(--border); padding: 12px 16px; border-radius: 100px; transition: color 0.2s, border-color 0.2s; }
.sticky-cta-login:hover { color: var(--gold); border-color: var(--border-gold); }

@media (max-width: 768px) {
    .sticky-cta-mobile { display: flex; }
    body { padding-bottom: 76px; }

    /* Navbar */
    .navbar { padding: 0 16px; }

    /* Hero */
    .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
    .hero-actions { justify-content: center; gap: 10px; }
    .hero-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
    .hero-sub { font-size: 1rem; max-width: 90%; margin-left: auto; margin-right: auto; }

    /* Features carousel */
    .features-grid { display: flex; overflow-x: scroll; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 12px; padding: 4px 4px 8px; scrollbar-width: none; grid-template-columns: unset; }
    .features-grid::-webkit-scrollbar { display: none; }
    .feature-card { flex: 0 0 82vw; scroll-snap-align: start; }
    #featureDots { display: flex; }

    /* Steps timeline */
    .steps-grid { grid-template-columns: 1fr; position: relative; padding-left: 40px; }
    .steps-grid::before { content: ''; position: absolute; left: 16px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--gold) 0%, var(--green) 100%); border-radius: 2px; }
    .step-card { position: relative; text-align: left; padding: 20px 20px 20px 16px; }
    .step-card::before { content: ''; position: absolute; left: -32px; top: 28px; width: 12px; height: 12px; background: var(--gold); border-radius: 50%; border: 2px solid var(--dark); box-shadow: 0 0 8px var(--gold-glow); }
    .step-number { font-size: 2rem; margin-bottom: 10px; }
    .step-arrow { display: none; }

    /* Pricing carousel */
    .pricing-grid { display: flex; overflow-x: scroll; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 12px; padding: 4px 4px 8px; scrollbar-width: none; grid-template-columns: unset; align-items: unset; }`r`n    .pricing-grid { padding-top: 20px; }
    .pricing-grid::-webkit-scrollbar { display: none; }
    .pricing-card { flex: 0 0 85vw; scroll-snap-align: start; }
    .pricing-card.highlight { transform: scale(1); }
    #pricingDots { display: flex; }

    /* Testimonials carousel */
    .testimonials-grid { display: flex; overflow-x: scroll; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 12px; padding: 4px 4px 8px; scrollbar-width: none; grid-template-columns: unset; }
    .testimonials-grid::-webkit-scrollbar { display: none; }
    .testimonial-card { flex: 0 0 82vw; scroll-snap-align: start; }
    #testimonialDots { display: flex; }

    /* Section spacing */
    .section-container { padding: 56px 20px; }
    .section-header { margin-bottom: 36px; }

    /* Form touch targets */
    .field-input { min-height: 48px; font-size: 1rem; }
    .register-wrapper { gap: 28px; }
    .register-promo { text-align: center; }

    /* Footer accordion */
    .footer-links { grid-template-columns: 1fr; }
    .footer-col-title { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 12px 0; border-bottom: 1px solid var(--border); user-select: none; }
    .footer-col-title::after { content: '+'; font-size: 1.2rem; color: var(--gold); transition: transform 0.25s; }
    .footer-col-title.open::after { transform: rotate(45deg); }
    .footer-col-links { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
    .footer-col-links.open { max-height: 300px; }
    .footer-col-links li { padding: 6px 0; }
}
/* ── POLISH FIXES ── */
/* Feature card: imagen centrada desktop */
.feature-title, .feature-desc { text-align: left; }

/* Steps timeline: dot alineado sobre la línea */
@media (max-width: 768px) {
    .steps-grid {
        padding-left: 52px;
    }
    .steps-grid::before {
        left: 20px;
    }
    .step-card::before {
        left: -36px;
        top: 30px;
        width: 10px;
        height: 10px;
    }

    /* Plan popular badge: no se corte en carousel */
    .pricing-grid {
        padding-top: 20px;
        overflow-y: visible;
    }
    .pricing-card {
        overflow: visible;
    }
}

/* Footer brand centrado */
.footer-brand {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}
.footer-logo {
    justify-content: center;
}
/* ── CAROUSEL CUT FIX ── */
/* El carousel "rompe" el padding del section-container para mostrar peek */
@media (max-width: 768px) {
    .features-section .carousel-wrap,
    .pricing-section .carousel-wrap,
    .testimonials-section .carousel-wrap {
        margin-left: -20px;
        margin-right: -20px;
    }

    .features-grid,
    .testimonials-grid {
        padding-left: 20px;
        padding-right: 40px; /* peek de siguiente card */
    }

    .pricing-grid {
        padding-left: 20px;
        padding-right: 40px;
        padding-top: 20px;
    }

    /* El primer card tiene margen visual desde el borde */
    .feature-card:first-child,
    .pricing-card:first-child,
    .testimonial-card:first-child { margin-left: 0; }

    /* Asegurar que las section no corten el scroll */
    .features-section,
    .pricing-section,
    .testimonials-section { overflow: visible; }

    .section-container { overflow: visible; }
}
/* ── CAROUSEL LEFT FIX (scroll-padding + padding override) ── */
@media (max-width: 768px) {
    .features-grid,
    .testimonials-grid {
        padding-left: 20px !important;
        padding-right: 40px !important;
        scroll-padding-left: 20px;
    }
    .pricing-grid {
        padding-left: 20px !important;
        padding-right: 40px !important;
        padding-top: 20px !important;
        scroll-padding-left: 20px;
    }
}
/* (Navbar mobile rules consolidated in main 768px block above) */
/* ── PREMIUM STEPS TIMELINE FIX ── */
@media (max-width: 768px) {
    .steps-grid {
        padding-left: 56px !important;
        position: relative;
    }
    
    /* La línea vertical: un poco más gruesa (4px) y con un resplandor detrás */
    .steps-grid::after {
        content: '';
        position: absolute;
        left: 20px;
        top: 24px;
        bottom: 40px;
        width: 3px;
        background: linear-gradient(180deg, var(--gold) 0%, var(--green) 100%);
        border-radius: 4px;
        box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
        z-index: 1;
    }
    
    /* Ocultar la línea vieja que agregué en el primer bloque mobile */
    .steps-grid::before {
        display: none !important;
    }

    /* Los puntos: más grandes, con borde oscuro grueso y luz glow premium */
    .step-card {
        position: relative;
        z-index: 2;
    }
    
    .step-card::before {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        left: -43px !important; /* Centrado perfecto visualmente sobre left: 20px (56 - 43 = 13. + radio) */
        top: 40px !important; /* Alineado verticalmente con el título */
        width: 14px !important;
        height: 14px !important;
        background: var(--gold) !important;
        border-radius: 50% !important;
        border: 4px solid var(--dark) !important;
        /* Box shadow doble: uno dorado fuerte cerca, uno suave más lejos */
        box-shadow: 0 0 0 1px var(--gold-dim), 0 0 16px rgba(212, 175, 55, 0.8) !important;
        z-index: 3 !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    }
    
    /* Efecto al tocar la tarjeta */
    .step-card:active::before {
        transform: scale(1.2) !important;
        box-shadow: 0 0 0 2px var(--gold), 0 0 24px rgba(212, 175, 55, 1) !important;
        background: #fff !important;
    }
}
/* ── MOBILE SCROLL INDICATOR ── */
.mobile-scroll-indicator {
    display: none;
}

@media (max-width: 768px) {
    .mobile-scroll-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 48px;
        gap: 12px;
        opacity: 0.7;
        padding-bottom: 24px;
        animation: pulseOpacity 3s ease-in-out infinite;
    }

    .scroll-line {
        width: 2px;
        height: 48px;
        background: rgba(255,255,255,0.1);
        position: relative;
        border-radius: 2px;
        overflow: hidden;
    }

    /* La luz que corre por la línea */
    .scroll-line::after {
        content: '';
        position: absolute;
        top: -50%;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(180deg, transparent 0%, var(--green) 50%, var(--gold) 100%);
        box-shadow: 0 0 10px var(--gold);
        border-radius: 2px;
        animation: scrollLineDrop 2s ease-in-out infinite;
    }

    .scroll-text {
        font-size: 0.65rem;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        color: var(--text-muted);
        font-weight: 700;
    }

    @keyframes scrollLineDrop {
        0% { transform: translateY(-100%); opacity: 0; }
        30% { opacity: 1; }
        70% { opacity: 1; }
        100% { transform: translateY(300%); opacity: 0; }
    }
    
    @keyframes pulseOpacity {
        0%, 100% { opacity: 0.6; }
        50% { opacity: 1; }
    }
}
/* ── HERO SPACING & PREMIUM SCROLL INDICATOR FIX ── */
@media (max-width: 768px) {
    /* 1. Arreglar el espaciado del Hero */
    .hero {
        min-height: 100vh;
        height: 100vh; /* Forzar 100vh para que el scroll quede abajo */
        padding: 90px 20px 40px !important;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centrado vertical real */
        align-items: center;
        gap: 0 !important;
    }
    
    .hero-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        margin-top: -20px; /* Compensa la navbar para verse centrado matemático */
    }

    /* Reducir gaps internos para que quepa todo */
    .hero-title { margin-bottom: 20px; }
    .hero-sub { margin-bottom: 30px; }
    .hero-actions { margin-bottom: 40px; }
    
    .hero-stats {
        margin-top: auto; /* Empuja las stats abajo si sobra espacio, pero mantiene el rest centrado */
        padding-bottom: 40px;
    }

    /* 2. Premium Scroll Indicator */
    .mobile-scroll-indicator {
        position: absolute;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        opacity: 0.8;
        animation: pulseOpacity 4s ease-in-out infinite;
        z-index: 10;
        margin-top: 0;
        padding-bottom: 0;
    }

    /* Reemplazar la raya por un pseudo-mouse premium */
    .scroll-line {
        width: 24px;
        height: 38px;
        background: transparent;
        border: 2px solid rgba(255,255,255,0.2);
        border-radius: 20px;
        position: relative;
        overflow: hidden;
    }

    /* Rueda del mouse (punto verde) */
    .scroll-line::before {
        content: '';
        position: absolute;
        top: 6px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 8px;
        background: var(--green);
        border-radius: 4px;
        box-shadow: 0 0 8px var(--green);
        animation: mouseWheel 2s ease-in-out infinite;
    }

    /* Eliminar la animación de línea anterior */
    .scroll-line::after { display: none; }

    .scroll-text {
        font-size: 0.6rem;
        letter-spacing: 0.4em;
        text-transform: uppercase;
        color: var(--text-muted);
        font-weight: 700;
        background: linear-gradient(90deg, var(--gold), var(--green));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        opacity: 0.8;
    }

    @keyframes mouseWheel {
        0% { transform: translate(-50%, 0); opacity: 1; }
        100% { transform: translate(-50%, 16px); opacity: 0; }
    }
}
/* ── ADJUSTMENTS: SCROLL SPACING & BADGE COLOR (DESKTOP+MOBILE) ── */
/* Mover badge a verde y centrar en desktop y mobile */
.hero-badge {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.4) !important;
    color: var(--green) !important;
    margin: 0 auto 32px !important; /* Centrado absoluto con margin auto */
    display: flex !important; /* Mantener inline flex para no ocupar 100% width pero auto margins para centrar funciona con max-width o w-fit */
    width: fit-content;
}

.hero-badge .badge-dot {
    background: var(--green) !important;
    box-shadow: 0 0 6px var(--green) !important;
}

/* Espaciado del Scroll Indicator vs 2M en Mobile */
@media (max-width: 768px) {
    .hero-stats {
        padding-bottom: 90px !important; /* Más padding para separar las estadísticas del ratón animado */
    }
}
/* ── GLOBALIZE SCROLL INDICATOR ── */
/* Mover las propiedades base fuera del media query */
.mobile-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    animation: pulseOpacity 4s ease-in-out infinite;
    z-index: 10;
}

.scroll-line {
    width: 24px;
    height: 38px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--green);
    border-radius: 4px;
    box-shadow: 0 0 8px var(--green);
    animation: mouseWheel 2s ease-in-out infinite;
}

/* Eliminar ::after si lo hubiera para que no choque */
.mobile-scroll-indicator .scroll-line::after { display: none !important; }

.mobile-scroll-indicator .scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-weight: 700;
    background: linear-gradient(90deg, var(--gold), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

@keyframes mouseWheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 16px); opacity: 0; }
}

@keyframes pulseOpacity {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .mobile-scroll-indicator {
        bottom: 24px;
    }
}
/* ── CAROUSEL INTERMEDIATE DEVICE FIX (Phablets/Tablets) ── */
@media (max-width: 768px) {
    /* Evitar que las tarjetas de pricing se aplasten de altura si el contenido no cabe o se corten de ancho */
    .pricing-grid {
        align-items: stretch !important; /* Que todas las caras midan igual alto */
    }
    .feature-card,
    .pricing-card,
    .testimonial-card {
        flex: 0 0 clamp(280px, 85vw, 400px) !important; /* Límites dinámicos: minímo 280px para no romper lineas de txt, máximo 400px para no abultar tablets */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    /* El plan-cta al fondo en las pricing cards */
    .pricing-card {
        padding-bottom: 36px;
    }
    .pricing-card .plan-cta {
        margin-top: auto;
    }
}
/* ── PAYMENT PAGE ── */
.payment-container {
    max-width: 440px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition), filter var(--transition);
    border: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.payment-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.mp-btn {
    background: #009EE3;
    box-shadow: 0 4px 20px rgba(0, 158, 227, 0.25);
}

.paypal-btn {
    background: #003087;
    box-shadow: 0 4px 20px rgba(0, 48, 135, 0.25);
}

.payment-icon {
    font-size: 1.25rem;
}

.payment-security {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.payment-security p {
    margin-bottom: 4px;
}