/* ============================================================================
   MySmartBreaker Platform v2.0 — Landing page pública (landing.css)
   Estética premium: gradientes animados, glassmorphism y escena 3D en CSS puro.
   Paleta corporativa: #0B3D6E (azul) · #16B3AC (teal) · fuente Inter.
   ========================================================================= */

:root {
    --ld-navy: #0B3D6E;
    --ld-navy-deep: #071e38;
    --ld-teal: #16B3AC;
    --ld-teal-soft: rgba(22, 179, 172, .16);
    --ld-ink: #10314f;
    --ld-muted: #5c7089;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ld-body {
    margin: 0; font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: #10314f; background: #f6f9fc; overflow-x: hidden;
}

/* ── Navbar glass ───────────────────────────────────────── */
.ld-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 5vw;
    background: rgba(7, 30, 56, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.ld-nav-logo {
    display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800;
    font-size: 1.08rem; letter-spacing: -.02em; text-decoration: none;
}
.ld-nav-logo i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 10px; font-size: .95rem;
    background: linear-gradient(135deg, #16B3AC, #0B5FA5); color: #fff;
    box-shadow: 0 4px 14px rgba(22, 179, 172, .45);
}
.ld-nav-links { display: flex; align-items: center; gap: 26px; }
.ld-nav-links a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .9rem; font-weight: 600; transition: color .15s ease; }
.ld-nav-links a:hover { color: #16B3AC; }
.ld-nav-actions { display: flex; align-items: center; gap: 12px; }
.ld-nav-lang select {
    background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25);
    border-radius: 8px; padding: 6px 8px; font-size: .82rem; font-family: inherit; cursor: pointer;
}
.ld-nav-lang select option { color: #10314f; }
.ld-btn-ghost {
    color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem;
    padding: 9px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; transition: all .15s ease;
}
.ld-btn-ghost:hover { border-color: #16B3AC; color: #16B3AC; }
.ld-btn-cta {
    display: inline-flex; align-items: center; gap: 8px;
    color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem;
    padding: 10px 20px; border-radius: 10px;
    background: linear-gradient(135deg, #16B3AC, #0B5FA5);
    box-shadow: 0 6px 20px rgba(22, 179, 172, .4); transition: transform .15s ease, box-shadow .15s ease;
}
.ld-btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(22, 179, 172, .55); }

/* ── Hero con gradiente animado + orbes ─────────────────── */
.ld-hero {
    position: relative; min-height: 100vh; display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 4vw;
    padding: 130px 5vw 90px;
    background: linear-gradient(-45deg, #071e38, #0B3D6E, #0d5f8f, #0a2f52);
    background-size: 400% 400%; animation: ld-grad 16s ease infinite;
    color: #fff; overflow: hidden;
}
@keyframes ld-grad { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.ld-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; animation: ld-float 11s ease-in-out infinite; }
.ld-orb-1 { width: 420px; height: 420px; background: #16B3AC; top: -140px; right: -80px; }
.ld-orb-2 { width: 340px; height: 340px; background: #0B5FA5; bottom: -120px; left: -100px; animation-delay: -4s; }
.ld-orb-3 { width: 200px; height: 200px; background: #7dd3fc; top: 40%; left: 42%; opacity: .25; animation-delay: -8s; }
@keyframes ld-float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-36px) scale(1.06); } }
.ld-grid-overlay {
    position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.ld-hero-copy { position: relative; z-index: 2; }
.ld-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(22, 179, 172, .14); border: 1px solid rgba(22, 179, 172, .45);
    color: #5eead4; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.ld-hero h1 {
    margin: 0 0 18px; font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 800;
    line-height: 1.08; letter-spacing: -.03em;
}
.ld-hero h1 .ld-grad-text {
    background: linear-gradient(90deg, #5eead4, #38bdf8, #5eead4);
    background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent; animation: ld-shine 5s linear infinite;
}
@keyframes ld-shine { to { background-position: 200% center; } }
.ld-hero p.ld-sub { max-width: 560px; font-size: 1.05rem; line-height: 1.65; color: rgba(255,255,255,.78); margin: 0 0 30px; }
.ld-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.ld-btn-hero {
    display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 700;
    padding: 14px 28px; border-radius: 12px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.ld-btn-hero-primary { background: linear-gradient(135deg, #16B3AC, #0B5FA5); color: #fff; box-shadow: 0 10px 30px rgba(22, 179, 172, .45); }
.ld-btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(22, 179, 172, .6); }
.ld-btn-hero-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.ld-btn-hero-ghost:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.55); }
.ld-hero-stats { display: flex; flex-wrap: wrap; gap: 34px; }
.ld-stat b { display: block; font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; color: #5eead4; }
.ld-stat span { font-size: .82rem; color: rgba(255,255,255,.62); font-weight: 500; }

/* ── Escena 3D: mock del dashboard flotando ─────────────── */
.ld-hero-visual { position: relative; z-index: 2; perspective: 1400px; display: flex; justify-content: center; }
.ld-mock {
    width: min(480px, 100%); border-radius: 18px; padding: 20px;
    background: linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.05));
    border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 40px 90px rgba(2, 12, 27, .6), inset 0 1px 0 rgba(255,255,255,.25);
    transform: rotateY(-14deg) rotateX(7deg); transform-style: preserve-3d;
    animation: ld-hover3d 7s ease-in-out infinite; transition: transform .4s ease;
}
.ld-mock:hover { transform: rotateY(-6deg) rotateX(3deg) scale(1.02); animation-play-state: paused; }
@keyframes ld-hover3d {
    0%, 100% { transform: rotateY(-14deg) rotateX(7deg) translateY(0); }
    50% { transform: rotateY(-11deg) rotateX(5deg) translateY(-16px); }
}
.ld-mock-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.ld-dot { width: 10px; height: 10px; border-radius: 50%; }
.ld-dot-r { background: #f87171; } .ld-dot-y { background: #fbbf24; } .ld-dot-g { background: #34d399; }
.ld-mock-title { margin-left: 8px; font-size: .78rem; color: rgba(255,255,255,.65); font-weight: 600; }
.ld-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.ld-kpi { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 10px; transform: translateZ(30px); }
.ld-kpi i { font-size: .85rem; color: #5eead4; }
.ld-kpi b { display: block; font-size: 1.05rem; color: #fff; margin-top: 6px; letter-spacing: -.02em; }
.ld-kpi span { font-size: .66rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em; }
.ld-mock-chart {
    display: flex; align-items: flex-end; gap: 7px; height: 96px; padding: 12px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
    margin-bottom: 14px; transform: translateZ(20px);
}
.ld-bar { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #16B3AC, rgba(22,179,172,.25)); animation: ld-bar 2.6s ease-in-out infinite; transform-origin: bottom; }
.ld-bar:nth-child(2n) { animation-delay: -.7s; } .ld-bar:nth-child(3n) { animation-delay: -1.4s; }
@keyframes ld-bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.72); } }
.ld-mock-rows { display: grid; gap: 8px; }
.ld-row { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); border-radius: 10px; padding: 9px 12px; transform: translateZ(14px); }
.ld-row i { color: #5eead4; font-size: .8rem; }
.ld-row span { font-size: .74rem; color: rgba(255,255,255,.78); font-weight: 600; }
.ld-pill { margin-left: auto; font-size: .62rem; font-weight: 800; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; }
.ld-pill-on { background: rgba(52, 211, 153, .18); color: #34d399; border: 1px solid rgba(52,211,153,.4); }
.ld-pill-off { background: rgba(248, 113, 113, .16); color: #f87171; border: 1px solid rgba(248,113,113,.4); }
.ld-chip-float {
    position: absolute; display: flex; align-items: center; gap: 8px;
    background: rgba(7, 30, 56, .85); border: 1px solid rgba(22,179,172,.5); border-radius: 12px;
    padding: 10px 14px; color: #fff; font-size: .74rem; font-weight: 700;
    box-shadow: 0 16px 40px rgba(2,12,27,.55); backdrop-filter: blur(8px); animation: ld-float 6s ease-in-out infinite;
}
.ld-chip-float i { color: #16B3AC; }
.ld-chip-1 { top: 6%; left: -4%; animation-delay: -2s; }
.ld-chip-2 { bottom: 4%; right: -3%; animation-delay: -4s; }

/* ── Secciones claras ───────────────────────────────────── */
.ld-section { padding: 96px 5vw; max-width: 1200px; margin: 0 auto; }
.ld-section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.ld-section-head h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; color: #10314f; }
.ld-section-head p { margin: 0; color: #5c7089; font-size: 1.02rem; line-height: 1.6; }
.ld-kicker { display: inline-block; color: #16B3AC; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }

/* Features: cards con tilt 3D al hover */
.ld-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.ld-feature {
    background: #fff; border: 1px solid #e6ecf3; border-radius: 18px; padding: 30px 26px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ld-feature:hover {
    transform: translateY(-8px) rotateX(3deg) rotateY(-2deg);
    box-shadow: 0 24px 50px rgba(11, 61, 110, .16); border-color: rgba(22, 179, 172, .5);
}
.ld-feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 14px; font-size: 1.25rem; color: #fff;
    background: linear-gradient(135deg, #0B3D6E, #16B3AC); box-shadow: 0 8px 20px rgba(11, 61, 110, .3);
    margin-bottom: 18px;
}
.ld-feature h3 { margin: 0 0 10px; font-size: 1.08rem; font-weight: 700; color: #10314f; }
.ld-feature p { margin: 0; color: #5c7089; font-size: .92rem; line-height: 1.6; }

/* Cómo funciona */
.ld-how { background: linear-gradient(180deg, #f6f9fc 0%, #eef4fa 100%); }
.ld-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; counter-reset: step; }
.ld-step { position: relative; background: #fff; border: 1px solid #e6ecf3; border-radius: 18px; padding: 34px 26px 28px; box-shadow: 0 2px 10px rgba(15,23,42,.05); }
.ld-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%; font-weight: 800; font-size: 1.05rem; color: #fff;
    background: linear-gradient(135deg, #16B3AC, #0B5FA5); box-shadow: 0 8px 18px rgba(22, 179, 172, .35); margin-bottom: 16px;
}
.ld-step h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 700; color: #10314f; }
.ld-step p { margin: 0; color: #5c7089; font-size: .9rem; line-height: 1.6; }

/* Planes */
.ld-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.ld-plan {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border: 1px solid #e6ecf3; border-radius: 20px; padding: 34px 28px;
    box-shadow: 0 2px 10px rgba(15,23,42,.05); transition: transform .25s ease, box-shadow .25s ease;
}
.ld-plan:hover { transform: translateY(-8px); box-shadow: 0 26px 54px rgba(11, 61, 110, .16); }
.ld-plan-popular {
    border: 2px solid #16B3AC;
    background: linear-gradient(180deg, #073050 0%, #0B3D6E 100%); color: #fff;
    box-shadow: 0 24px 56px rgba(11, 61, 110, .35);
}
.ld-plan-popular h3, .ld-plan-popular .ld-price { color: #fff; }
.ld-plan-popular li { color: rgba(255,255,255,.82); }
.ld-plan-flag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #16B3AC, #0B5FA5); color: #fff;
    font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 16px; border-radius: 999px; box-shadow: 0 6px 16px rgba(22,179,172,.4); white-space: nowrap;
}
.ld-plan h3 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: #10314f; }
.ld-price { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; color: #0B3D6E; margin-bottom: 20px; }
.ld-price small { font-size: .85rem; font-weight: 600; color: inherit; opacity: .65; }
.ld-plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; flex: 1; }
.ld-plan li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: #45586d; line-height: 1.45; }
.ld-plan li i { color: #16B3AC; margin-top: 3px; font-size: .8rem; }
.ld-plan-btn {
    display: block; text-align: center; text-decoration: none; font-weight: 700; font-size: .92rem;
    padding: 12px; border-radius: 12px; transition: transform .15s ease, box-shadow .15s ease;
}
.ld-plan-btn-solid { background: linear-gradient(135deg, #16B3AC, #0B5FA5); color: #fff; box-shadow: 0 8px 22px rgba(22,179,172,.4); }
.ld-plan-btn-line { border: 1.5px solid #0B3D6E; color: #0B3D6E; }
.ld-plan-popular .ld-plan-btn-line { border-color: rgba(255,255,255,.5); color: #fff; }
.ld-plan-btn:hover { transform: translateY(-2px); }

/* CTA final */
.ld-cta {
    position: relative; text-align: center; color: #fff; border-radius: 26px; overflow: hidden;
    padding: 74px 6vw; margin: 0 5vw 96px;
    background: linear-gradient(-45deg, #071e38, #0B3D6E, #0f6d8f, #0a2f52);
    background-size: 300% 300%; animation: ld-grad 14s ease infinite;
    box-shadow: 0 30px 70px rgba(11, 61, 110, .35);
}
.ld-cta h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; }
.ld-cta p { margin: 0 auto 30px; max-width: 560px; color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.6; }

/* Footer */
.ld-footer {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    padding: 26px 5vw; background: #071e38; color: rgba(255,255,255,.6); font-size: .84rem;
}
.ld-footer .ld-nav-logo { font-size: .95rem; }
.ld-footer .ld-nav-logo i { width: 28px; height: 28px; font-size: .8rem; }

/* Animación de aparición al hacer scroll */
.ld-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.ld-reveal.ld-in { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
    .ld-hero { grid-template-columns: 1fr; padding-top: 110px; text-align: center; }
    .ld-hero p.ld-sub { margin-left: auto; margin-right: auto; }
    .ld-hero-actions, .ld-hero-stats { justify-content: center; }
    .ld-hero-visual { margin-top: 30px; }
    .ld-mock { transform: rotateY(0) rotateX(4deg); }
    .ld-chip-float { display: none; }
    .ld-nav-links { display: none; }
}
