/* ═══════════════════════════════════════════
   LIGHT THEME — overrides para la landing
   ═══════════════════════════════════════════ */
:root {
    --gold:        #d97706;
    --gold-light:  #b45309;
    --gold-dim:    #92400e;
    --gold-glow:   rgba(217,119,6,0.12);
    --amber:       #c2410c;
    --neon-green:  #15803d;
    --bg:          #ffffff;
    --bg-2:        #f8fafc;
    --bg-card:     #f8fafc;
    --bg-card-2:   rgba(15,23,42,0.035);
    --border:      rgba(15,23,42,0.1);
    --border-sub:  rgba(15,23,42,0.07);
    --border-gold: rgba(217,119,6,0.25);
    --text:        #0f172a;
    --text-sub:    #334155;
    --muted:       #64748b;
    --success:     #15803d;
    --shadow:      0 4px 24px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.06);
    --shadow-gold: 0 0 40px rgba(217,119,6,0.1);
}
body { background: #ffffff; color: #0f172a; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #d97706; }

/* Fondo de cuadrícula */
.bg-grid {
    background-image:
        linear-gradient(rgba(15,23,42,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px);
}
.orb-1 { background: radial-gradient(circle, rgba(217,119,6,0.07), transparent 70%); }
.orb-2 { background: radial-gradient(circle, rgba(194,65,12,0.06), transparent 70%); }

/* Navbar */
.navbar {
    background: rgba(255,255,255,0.92) !important;
    border-bottom: 1px solid rgba(15,23,42,0.08) !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-logo { color: #0f172a !important; }

/* Botones */
.btn-primary { background: #d97706; color: #ffffff; box-shadow: 0 4px 15px rgba(217,119,6,0.2); }
.btn-primary:hover { background: #b45309; box-shadow: 0 0 30px rgba(217,119,6,0.22); }
.btn-outline { color: #0f172a; border: 1.5px solid rgba(15,23,42,0.2); }
.btn-outline:hover { background: rgba(217,119,6,0.06); border-color: #d97706; color: #d97706; }
.btn-ghost { color: #475569; }
.btn-ghost:hover { color: #d97706; }

/* Texto degradado */
.gradient-text {
    background: linear-gradient(135deg, #0f172a 0%, #d97706 60%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gold-text { color: #b45309; }

/* Badge dorado */
.badge-gold { background: rgba(217,119,6,0.08); border: 1px solid rgba(217,119,6,0.22); color: #92400e; }

/* Cards */
.feature-card, .step, .uso-card, .pricing-card, .guide-step-card, .manual-step-body {
    background: #f8fafc;
    border: 1.5px solid rgba(15,23,42,0.07);
}
.feature-card:hover, .step:hover, .uso-card:hover, .guide-step-card:hover {
    border-color: #d97706;
    background: rgba(217,119,6,0.03);
    box-shadow: 0 12px 30px rgba(217,119,6,0.08);
}
.pricing-card:hover { border-color: #d97706; box-shadow: 0 12px 35px rgba(217,119,6,0.08); }
.pricing-card.featured {
    background: rgba(217,119,6,0.05);
    border-color: #d97706;
    box-shadow: 0 0 40px rgba(217,119,6,0.1);
}
.pricing-card.featured:hover { box-shadow: 0 16px 60px rgba(217,119,6,0.14); }
.manual-step-body:hover { border-color: rgba(217,119,6,0.3); }

/* Detalles de pricing */
.plan-features li { color: #334155; border-bottom: 1px solid rgba(15,23,42,0.07); }
.plan-features li::before { color: #d97706; }
.plan-desc { color: #64748b; }

/* Tags de uso */
.uso-tag { background: rgba(217,119,6,0.07); color: #92400e; border: 1px solid rgba(217,119,6,0.15); }

/* Sección guía */
.guide-section { background: #fafaf8; border-color: rgba(15,23,42,0.06); }
.guide-code { background: rgba(217,119,6,0.06); color: #92400e; }
.guide-tip { background: rgba(21,128,61,0.06); border-left: 3px solid #15803d; }
.guide-tip span { color: #15803d; }
.guide-warning { background: rgba(217,119,6,0.06); border-left: 3px solid #d97706; }
.guide-warning span { color: #b45309; }
.guide-step-num { color: #d97706; opacity: 0.15; }
.guide-step-card:hover .guide-step-num { opacity: 0.25; }
.guide-step-card h3, .guide-step-card p { color: #0f172a; }

/* Manual timeline */
.manual-timeline::before { background: linear-gradient(180deg, #d97706, transparent); opacity: 0.2; }
.manual-step-body .step-subtitle { color: #d97706; }
.manual-step-body h3 { color: #0f172a; }
.manual-step-body p, .manual-step-body ul li { color: #334155; }
.manual-step-body ul li::before { color: #d97706; }

/* CTA y footer */
.cta-section { background: linear-gradient(180deg, transparent, rgba(217,119,6,0.03) 50%, transparent); }
.cta-section h2 { color: #0f172a; }
.cta-section p { color: #475569; }
footer { border-top: 1px solid rgba(15,23,42,0.08); color: #64748b; }

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 68px;
    background: linear-gradient(145deg, #fffbf4 0%, #f8fafc 60%, #ffffff 100%);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background-image: url('mostrador-hero.png');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    filter: blur(1px) brightness(1.1) saturate(0.6);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.97) 28%, rgba(255,255,255,0.5) 60%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 720px;
    padding: 4rem 0;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #0f172a;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #0f172a 10%, #d97706 70%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* LCP fix: animations no longer start from opacity:0 */
@keyframes slideInLeft {
    from { transform: translateX(-40px); }
    to   { transform: translateX(0); }
}

.hero p {
    font-size: 1.15rem;
    color: #334155;
    margin-bottom: 2.5rem;
    max-width: 560px;
    line-height: 1.7;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-badge { margin-bottom: 1.5rem; }

/* Glow central del hero */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(217,119,6,0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

/* === MOCKUP flotante === */
.hero-visual {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 460px;
    z-index: 5;
}

.mockup-card {
    background: linear-gradient(180deg, #252B3D, #1A1F2E);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 80px rgba(0,0,0,0.22), 0 0 40px rgba(217,119,6,0.08);
    transform: perspective(1400px) rotateY(-6deg) rotateX(4deg);
    animation: floatCard 5s ease-in-out infinite alternate;
    overflow: hidden;
}

@keyframes floatCard {
    from { transform: perspective(1400px) rotateY(-6deg) rotateX(4deg) translateY(0); }
    to   { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg) translateY(-12px); }
}

.mockup-bar {
    display: flex;
    gap: 6px;
    padding: 12px 14px;
    background: rgba(10, 15, 30, .6);
    border-bottom: 1px solid var(--border-sub);
}

.mockup-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.mockup-bar i:first-child { background: #ef4444; }
.mockup-bar i:nth-child(2) { background: #FBBF24; }
.mockup-bar i:nth-child(3) { background: #58D68D; }

.mockup-screen {
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
}

.mini-card {
    background: rgba(62, 74, 97, .35);
    border: 1px solid var(--border-sub);
    border-radius: 10px;
    padding: .85rem;
}

.mini-card.gold {
    background: rgba(196, 161, 71, .08);
    border-color: var(--border-gold);
}

.mini-card .mc-label {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .45rem;
}

.mini-card .mc-val {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mini-card .mc-sub {
    font-size: .7rem;
    color: var(--success);
    margin-top: .2rem;
    font-weight: 600;
}

.mini-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .6rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .03);
    font-size: .72rem;
}

.mini-row+.mini-row { margin-top: .35rem; }

.mini-row .m-av {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    display: grid;
    place-items: center;
    font-size: .75rem;
    flex-shrink: 0;
}

.mini-row .m-price { margin-left: auto; font-weight: 700; }

.span-2 { grid-column: span 2; }

/* === FEATURES === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card-2);
    border: 1.5px solid var(--border-sub);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    border-color: var(--gold);
    background: rgba(196, 161, 71, .05);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(196, 161, 71, 0.15);
}

@keyframes slideInUp {
    from { transform: translateY(30px); }
    to   { transform: translateY(0); }
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--amber)) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon { transform: scale(1.15) rotate(-5deg); }

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
}

/* === HOW IT WORKS === */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 1.75rem 1.5rem;
    background: var(--bg-card-2);
    border: 1.5px solid var(--border-sub);
    border-radius: var(--radius);
    backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: -14px;
    left: 1.25rem;
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: 1rem;
    padding: .25rem .7rem;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: #0A0F1E;
    border-radius: 999px;
    letter-spacing: .02em;
}

.step:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(196, 161, 71, 0.15);
}

.step h3 { font-size: 1rem; font-weight: 700; margin: .6rem 0 .5rem; color: var(--text); }
.step p  { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

/* === PRICING === */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card-2);
    border: 1.5px solid var(--border-sub);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    border-color: var(--gold);
    background: rgba(196, 161, 71, .05);
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(196, 161, 71, 0.15);
}

.pricing-card.featured {
    background: rgba(196, 161, 71, 0.08);
    border-color: var(--gold);
    box-shadow: 0 0 60px rgba(196, 161, 71, 0.2);
    position: relative;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-12px);
    box-shadow: 0 16px 60px rgba(196, 161, 71, 0.3);
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: #0a0f1e;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(196, 161, 71, 0.3);
}

.plan-name {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 0.25rem;
}

.plan-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan-desc { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }

.plan-features { list-style: none; text-align: left; margin-bottom: 1.75rem; }

.plan-features li {
    font-size: 0.85rem;
    color: var(--text-sub);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border-sub);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* === USO / TIPOS === */
.uso-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.uso-card {
    background: var(--bg-card-2);
    border: 1.5px solid var(--border-sub);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.uso-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(196, 161, 71, 0.15);
}

.uso-card .uso-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.uso-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.uso-card p  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

.uso-card .uso-tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.uso-card .uso-tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(196, 161, 71, 0.1);
    color: var(--gold-light);
    border: 1px solid rgba(196, 161, 71, 0.2);
}

/* === GUIDE === */
.guide-section {
    padding: 5rem 0;
    background: rgba(196, 161, 71, 0.02);
    border-top: 1px solid var(--border-sub);
    border-bottom: 1px solid var(--border-sub);
}

.manual-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.manual-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), transparent);
    opacity: 0.3;
}

.manual-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
    padding: 0 0 2.5rem 0;
    position: relative;
}

.manual-step:last-child { padding-bottom: 0; }

.manual-step-num {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: #0A0F1E;
    font-weight: 900;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(196, 161, 71, 0.25);
}

.manual-step-body {
    background: var(--bg-card-2);
    border: 1.5px solid var(--border-sub);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: border-color 0.3s ease;
}

.manual-step-body:hover { border-color: rgba(196, 161, 71, 0.4); }
.manual-step-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }

.manual-step-body .step-subtitle {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.manual-step-body p { font-size: 0.88rem; color: var(--text-sub); line-height: 1.65; margin-bottom: 0.75rem; }

.manual-step-body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.manual-step-body ul li {
    font-size: 0.85rem;
    color: var(--text-sub);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.manual-step-body ul li::before {
    content: '›';
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    flex-shrink: 0;
}

.guide-step {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guide-step-card {
    background: var(--bg-card-2);
    border: 1.5px solid var(--border-sub);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-step-card:hover {
    border-color: var(--gold);
    background: rgba(196, 161, 71, .05);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(196, 161, 71, 0.15);
}

.guide-step-num {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    opacity: 0.12;
    transition: opacity 0.3s ease;
}

.guide-step-card:hover .guide-step-num { opacity: 0.2; }

.guide-step-icon { font-size: 2rem; margin-bottom: 0.75rem; transition: transform 0.3s ease; }
.guide-step-card:hover .guide-step-icon { transform: scale(1.1) rotate(-5deg); }
.guide-step-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.guide-step-card p  { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin-bottom: 0.5rem; }

.guide-code {
    display: inline-block;
    background: rgba(244, 208, 63, 0.08);
    color: var(--gold-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.75rem;
    word-break: break-all;
    margin-top: 0.25rem;
}

.guide-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: rgba(88, 214, 141, 0.08);
    border-left: 3px solid var(--neon-green);
    padding: 0.6rem 0.75rem;
    border-radius: 0 8px 8px 0;
    margin-top: 0.75rem;
}

.guide-tip span { font-size: 0.78rem; color: var(--neon-green); }

.guide-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: rgba(251, 191, 36, 0.08);
    border-left: 3px solid #fbbf24;
    padding: 0.6rem 0.75rem;
    border-radius: 0 8px 8px 0;
    margin-top: 0.75rem;
}

.guide-warning span { font-size: 0.78rem; color: #fbbf24; }

@media (max-width: 900px) {
    .uso-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .manual-timeline::before { left: 20px; }
    .manual-step { grid-template-columns: 44px 1fr; gap: 1rem; }
    .manual-step-num { width: 44px; height: 44px; font-size: 0.9rem; }
    .uso-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    #erp [style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
    #erp [style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr 1fr !important; }
    #problemas [style*="grid-template-columns:repeat(2"] { grid-template-columns: 1fr !important; }
}

/* === CTA === */
.cta-section {
    text-align: center;
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent, rgba(196, 161, 71, 0.04) 50%, transparent);
}

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

/* === FOOTER === */
footer {
    border-top: 1px solid var(--border-sub);
    padding: 2rem 0;
    color: var(--muted);
    font-size: 0.82rem;
}

/* ═══ TRANSICIÓN SUAVE AL CAMBIAR TEMA ═══ */
body, .navbar, .hero, .feature-card, .step, .uso-card,
.pricing-card, .guide-step-card, .manual-step-body,
.btn-primary, .btn-outline, .btn-ghost, .badge-gold,
.uso-tag, .guide-code, .guide-tip, .guide-warning, footer {
    transition: background-color 0.3s ease, color 0.3s ease,
                border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ═══════════════════════════════════════════
   DARK MODE OVERRIDES
   ═══════════════════════════════════════════ */
html[data-theme="dark"] {
    --gold:        #F4D03F;
    --gold-light:  #f9e79f;
    --gold-dim:    #d4ac0d;
    --gold-glow:   rgba(244,208,63,0.15);
    --amber:       #E67E22;
    --neon-green:  #58D68D;
    --bg:          #1A1F2E;
    --bg-2:        #252B3D;
    --bg-card:     #252B3D;
    --bg-card-2:   rgba(62,74,97,0.4);
    --border:      rgba(244,208,63,0.1);
    --border-sub:  rgba(255,255,255,0.05);
    --border-gold: rgba(196,161,71,0.3);
    --text:        #F8F9FA;
    --text-sub:    #cbd5e1;
    --muted:       #94a3b8;
    --success:     #58D68D;
    --shadow:      0 20px 60px rgba(0,0,0,0.5);
    --shadow-gold: 0 0 40px rgba(244,208,63,0.15);
}

html[data-theme="dark"] body { background: #1A1F2E; color: #F8F9FA; }
html[data-theme="dark"] ::-webkit-scrollbar-track { background: #252B3D; }
html[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #d4ac0d; }

html[data-theme="dark"] .bg-grid {
    background-image:
        linear-gradient(rgba(196,161,71,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196,161,71,0.03) 1px, transparent 1px);
}
html[data-theme="dark"] .orb-1 { background: radial-gradient(circle, rgba(244,208,63,0.08), transparent 70%); }
html[data-theme="dark"] .orb-2 { background: radial-gradient(circle, rgba(230,126,34,0.1), transparent 70%); }

html[data-theme="dark"] .navbar {
    background: rgba(10,15,30,0.85) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    box-shadow: none;
}
html[data-theme="dark"] .nav-logo { color: #F8F9FA !important; }

html[data-theme="dark"] .btn-primary { background: #F4D03F; color: #1A1F2E; box-shadow: 0 4px 15px rgba(244,208,63,0.2); }
html[data-theme="dark"] .btn-primary:hover { background: #f9e79f; box-shadow: 0 0 35px rgba(196,161,71,0.5); }
html[data-theme="dark"] .btn-outline { color: #f9e79f; border: 1px solid rgba(244,208,63,0.1); }
html[data-theme="dark"] .btn-outline:hover { background: rgba(244,208,63,0.15); border-color: #F4D03F; color: #f9e79f; }
html[data-theme="dark"] .btn-ghost { color: #cbd5e1; }
html[data-theme="dark"] .btn-ghost:hover { color: #f9e79f; }

html[data-theme="dark"] .gradient-text {
    background: linear-gradient(135deg, #F8F9FA 0%, #f9e79f 60%, #F4D03F 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
html[data-theme="dark"] .gold-text { color: #f9e79f; }
html[data-theme="dark"] .badge-gold { background: rgba(196,161,71,0.12); border: 1px solid rgba(196,161,71,0.3); color: #f9e79f; }

html[data-theme="dark"] .hero { background: #1A1F2E; }
html[data-theme="dark"] .hero-bg-img { opacity: 0.4; filter: blur(2px) brightness(0.8); }
html[data-theme="dark"] .hero-overlay { background: linear-gradient(90deg, #1A1F2E 30%, transparent 80%); }
html[data-theme="dark"] .hero h1 {
    color: #F8F9FA;
    background: linear-gradient(135deg, #F8F9FA, #c4a147);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
html[data-theme="dark"] .hero p { color: #cbd5e1; }
html[data-theme="dark"] .hero::before { background: radial-gradient(circle, rgba(244,208,63,0.08) 0%, transparent 65%); }
html[data-theme="dark"] .mockup-card {
    border: 1px solid rgba(244,208,63,0.1);
    box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 60px rgba(244,208,63,0.05);
}
html[data-theme="dark"] .trust div { color: #cbd5e1; }
html[data-theme="dark"] .trust b { color: #F4D03F !important; }

html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .step,
html[data-theme="dark"] .uso-card,
html[data-theme="dark"] .pricing-card,
html[data-theme="dark"] .guide-step-card,
html[data-theme="dark"] .manual-step-body {
    background: rgba(62,74,97,0.4);
    border: 1.5px solid rgba(255,255,255,0.05);
}
html[data-theme="dark"] .feature-card h3,
html[data-theme="dark"] .step h3,
html[data-theme="dark"] .uso-card h3 { color: #F8F9FA; }
html[data-theme="dark"] .feature-card p,
html[data-theme="dark"] .step p,
html[data-theme="dark"] .uso-card p { color: #94a3b8; }

html[data-theme="dark"] .feature-card:hover,
html[data-theme="dark"] .step:hover,
html[data-theme="dark"] .uso-card:hover,
html[data-theme="dark"] .guide-step-card:hover {
    border-color: #F4D03F;
    background: rgba(196,161,71,0.05);
    box-shadow: 0 12px 30px rgba(196,161,71,0.15);
}
html[data-theme="dark"] .pricing-card:hover { border-color: #F4D03F; box-shadow: 0 12px 35px rgba(196,161,71,0.15); }
html[data-theme="dark"] .pricing-card.featured {
    background: rgba(196,161,71,0.08); border-color: #F4D03F;
    box-shadow: 0 0 60px rgba(196,161,71,0.2);
}
html[data-theme="dark"] .pricing-card.featured:hover { box-shadow: 0 16px 60px rgba(196,161,71,0.3); }

html[data-theme="dark"] .plan-features li { color: #cbd5e1; border-bottom: 1px solid rgba(255,255,255,0.05); }
html[data-theme="dark"] .plan-features li::before { color: #F4D03F; }
html[data-theme="dark"] .plan-desc { color: #94a3b8; }
html[data-theme="dark"] .uso-tag { background: rgba(196,161,71,0.1); color: #f9e79f; border: 1px solid rgba(196,161,71,0.2); }

html[data-theme="dark"] .guide-section { background: rgba(196,161,71,0.02); border-color: rgba(255,255,255,0.05); }
html[data-theme="dark"] .guide-code { background: rgba(244,208,63,0.08); color: #f9e79f; }
html[data-theme="dark"] .guide-tip { background: rgba(88,214,141,0.08); border-left: 3px solid #58D68D; }
html[data-theme="dark"] .guide-tip span { color: #58D68D; }
html[data-theme="dark"] .guide-warning { background: rgba(251,191,36,0.08); border-left: 3px solid #fbbf24; }
html[data-theme="dark"] .guide-warning span { color: #fbbf24; }
html[data-theme="dark"] .guide-step-num { color: #F4D03F; opacity: 0.12; }
html[data-theme="dark"] .guide-step-card:hover .guide-step-num { opacity: 0.2; }
html[data-theme="dark"] .guide-step-card h3, html[data-theme="dark"] .guide-step-card p { color: #F8F9FA; }
html[data-theme="dark"] .manual-timeline::before { background: linear-gradient(180deg, #F4D03F, transparent); opacity: 0.3; }
html[data-theme="dark"] .manual-step-body .step-subtitle { color: #F4D03F; }
html[data-theme="dark"] .manual-step-body h3 { color: #F8F9FA; }
html[data-theme="dark"] .manual-step-body p,
html[data-theme="dark"] .manual-step-body ul li { color: #cbd5e1; }
html[data-theme="dark"] .manual-step-body ul li::before { color: #F4D03F; }

html[data-theme="dark"] #how {
    background: #0f172a !important;
    border-color: rgba(255,255,255,0.06) !important;
}

html[data-theme="dark"] .cta-section { background: linear-gradient(180deg, transparent, rgba(196,161,71,0.04) 50%, transparent); }
html[data-theme="dark"] .cta-section h2 { color: #F8F9FA; }
html[data-theme="dark"] .cta-section p { color: #cbd5e1; }
html[data-theme="dark"] footer { border-top: 1px solid rgba(255,255,255,0.05); color: #94a3b8; }

/* Toggle button */
.theme-toggle {
    background: none; border: 1.5px solid var(--border);
    border-radius: 8px; padding: .35rem .55rem;
    cursor: pointer; font-size: 1rem; line-height: 1;
    transition: border-color 0.2s ease, background 0.2s ease;
    display: flex; align-items: center;
}
.theme-toggle:hover { border-color: var(--gold); background: var(--gold-glow); }

@media (max-width: 600px) {
    html[data-theme="dark"] .hero-overlay {
        background: linear-gradient(180deg, rgba(26,31,46,0.92) 0%, rgba(26,31,46,0.7) 100%);
    }
}

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

/* === SECTION TITLE === */
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .badge { margin-bottom: 0.75rem; }
.section-title h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: 0.75rem; }
.section-title p  { color: var(--text-sub); font-size: 1rem; max-width: 540px; margin: 0 auto; }

/* === TABLET (≤900px) === */
@media (max-width: 900px) {
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
    .pricing-card.featured { transform: none; }
    .guide-step { grid-template-columns: 1fr; }
}

/* === MOBILE (≤600px) === */
@media (max-width: 600px) {
    .nav-links .btn-ghost { display: none; }
    .nav-links { gap: 0.4rem; }
    .hero { min-height: auto; padding-bottom: 3rem; }
    .hero-content { padding: 2rem 0 1.5rem; }
    .hero-overlay { background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.75) 100%); }
    .hero h1 { font-size: clamp(1.9rem, 9vw, 2.8rem); }
    .hero p  { font-size: 0.97rem; margin-bottom: 1.75rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
    .trust { flex-direction: column !important; gap: 0.5rem !important; margin-top: 1.25rem !important; }
    .trust div { font-size: 0.9rem; }
    .section { padding: 3rem 0; }
    .section-title { margin-bottom: 1.75rem; }
    .section-title h2 { font-size: clamp(1.4rem, 6vw, 2rem); }
    .features-grid { grid-template-columns: 1fr; gap: 1rem; }
    .feature-card { padding: 1.25rem; }
    .steps { grid-template-columns: 1fr; gap: 1rem; }
    .steps::before { display: none; }
    .pricing-grid { max-width: 100%; }
    .pricing-card { padding: 1.5rem; }
    .guide-section { padding: 3rem 0; }
    .guide-step-card { padding: 1.25rem; }
    .cta-section { padding: 3rem 0; }
    .cta-section .btn { min-width: 100%; }
    .footer-inner { flex-direction: column; gap: 0.6rem; text-align: center; }
}

/* ═══ NAVBAR SCROLL EFFECT ═══ */
.navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.12); }
html[data-theme="dark"] .navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.4); }

/* ═══ HAMBURGER MENU ═══ */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 44px;
    height: 44px;
}
.nav-hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    #navLinks {
        display: none;
        position: fixed;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        background: rgba(255,255,255,0.97);
        border-bottom: 1px solid rgba(15,23,42,0.08);
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.5rem;
        z-index: 99;
        backdrop-filter: blur(16px);
    }
    html[data-theme="dark"] #navLinks {
        background: rgba(10,15,30,0.97);
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    #navLinks.open { display: flex; }
    #navLinks .btn-ghost { display: flex; }
    #navLinks a, #navLinks button { width: 100%; justify-content: center; min-height: 44px; }
}

/* ═══ STATS BAR ═══ */
.stats-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.25rem 0 1.5rem; }
.stats-live-badge {
    display: flex; align-items: center; justify-content: center;
    gap: 0.4rem; font-size: 0.7rem; font-weight: 600;
    color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.live-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.4);
    animation: livePulse 2s infinite;
}
@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    70%  { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 860px;
    margin: 0 auto 2.5rem;
}
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 2.5rem;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 1.75rem; font-weight: 800; color: var(--gold); letter-spacing: -0.03em; line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 0.25rem; text-align: center; }
@media (max-width: 600px) {
    .stat-item { padding: 0.5rem 1.2rem; border-right: 1px solid var(--border); }
    .stat-num  { font-size: 1.35rem; }
}

/* ═══ FAQ ═══ */
.faq-section { padding: 5rem 0; }
@media (max-width: 600px) { .faq-section { padding: 2.5rem 0; } }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item.open { border-color: var(--gold); }
.faq-q {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 1.1rem 1.25rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.95rem; font-weight: 600; color: var(--text);
    gap: 1rem;
}
.faq-q .faq-icon { font-size: 1.1rem; color: var(--gold); flex-shrink: 0; transition: transform 0.25s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
    display: none;
    padding: 0 1.25rem 1.1rem;
    font-size: 0.9rem; color: var(--text-sub); line-height: 1.6;
}
.faq-item.open .faq-a { display: block; }
html[data-theme="dark"] .faq-item { background: rgba(62,74,97,0.25); }
html[data-theme="dark"] .faq-item.open { background: rgba(62,74,97,0.4); }
html[data-theme="dark"] .faq-q { color: #F8F9FA; }
html[data-theme="dark"] .faq-a { color: #94a3b8; }

/* ═══ RESPONSIVE GRID CLASSES ═══ */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
@media (max-width: 768px) { .highlights-grid { grid-template-columns: 1fr; } }

.footer-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
@media (max-width: 768px) { .footer-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-features-grid { grid-template-columns: 1fr; } }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
}
@media (max-width: 600px) { .footer-links { gap: 0.5rem; } }

/* ═══ FLOATING WHATSAPP ═══ */
.wa-float {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
    display: flex; align-items: center; gap: 0.5rem;
    background: #25d366; color: #052e16; /* dark text on bright green: 6.5:1 contrast */
    border-radius: 50px;
    padding: 0.65rem 1.1rem 0.65rem 0.85rem;
    text-decoration: none; font-size: 0.85rem; font-weight: 700;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-float svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 600px) {
    .wa-float { padding: 0.75rem; border-radius: 50%; }
    .wa-float span { display: none; }
}

/* ═══ FADE-IN ANIMATIONS ═══ */
@keyframes fadeInUp {
    from { transform: translateY(30px); }
    to   { transform: translateY(0); }
}

/* LCP fix: sections are visible immediately, only animate position */
.fade-in-section {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-section:nth-child(1) { animation-delay: 0s; }
.fade-in-section:nth-child(2) { animation-delay: 0.1s; }
.fade-in-section:nth-child(3) { animation-delay: 0.2s; }
.fade-in-section:nth-child(4) { animation-delay: 0.3s; }
.fade-in-section:nth-child(5) { animation-delay: 0.4s; }
.fade-in-section:nth-child(6) { animation-delay: 0.5s; }
.fade-in-section:nth-child(7) { animation-delay: 0.6s; }
.fade-in-section:nth-child(8) { animation-delay: 0.7s; }
.fade-in-section:nth-child(9) { animation-delay: 0.8s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .fade-in-section,
    .feature-card,
    .pricing-card,
    .guide-step-card,
    .mockup-card,
    .hero h1, .hero p, .hero-actions {
        animation: none !important;
        transform: none !important;
    }
}
