/* Inter — self-hosted (RGPD compliant, sin tracking de Google Fonts) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/inter/inter-800.woff2') format('woff2'); }

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; color: #1e293b; background: #fff; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }

/* NAV */
.landing-nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 10; }
.landing-nav .logo { font-size: 1.4rem; font-weight: 800; color: #fff; }
.landing-nav .nav-links { display: flex; gap: 0.75rem; }
.nav-link { color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; padding: 0.5rem 1rem; border-radius: 8px; transition: all 0.2s; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-link-primary { background: #4f6ef7; color: #fff !important; }
.nav-link-primary:hover { background: #3b5de5; }

/* HERO */
.hero { background: linear-gradient(145deg, #0a0e1a 0%, #111827 40%, #1e3a5f 100%); min-height: 85vh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 10%; right: -10%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(79,110,247,0.12) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -20%; left: -5%; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 70%); pointer-events: none; }
.hero-content { flex: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; max-width: 1200px; margin: 0 auto; padding: 3rem 2rem 5rem; position: relative; z-index: 2; text-align: left; }
.hero-inner { max-width: 600px; }
.hero-badge { display: inline-block; background: rgba(79,110,247,0.15); border: 1px solid rgba(79,110,247,0.3); color: #93b4fd; padding: 0.35rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1.5rem; letter-spacing: 0.02em; }
.hero h1 { font-size: 3.2rem; font-weight: 800; color: #fff; line-height: 1.12; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.hero h1 span { background: linear-gradient(135deg, #60a5fa, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 1.15rem; color: #94a3b8; line-height: 1.7; margin-bottom: 2.5rem; max-width: 560px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero { padding: 0.9rem 2.25rem; border-radius: 10px; font-size: 1rem; font-weight: 600; transition: all 0.2s; border: none; cursor: pointer; font-family: inherit; }
.btn-hero:hover { transform: translateY(-2px); }
.btn-hero-primary { background: #4f6ef7; color: #fff; box-shadow: 0 4px 15px rgba(79,110,247,0.3); }
.btn-hero-primary:hover { background: #3b5de5; box-shadow: 0 8px 25px rgba(79,110,247,0.4); }
.btn-hero-ghost { background: transparent; color: #cbd5e1; border: 1px solid rgba(255,255,255,0.15); }
.btn-hero-ghost:hover { background: rgba(255,255,255,0.05); color: #fff; }

/* TRUSTED BY */
.hero-trust { padding: 1.5rem 2rem; text-align: center; position: relative; z-index: 2; }
.hero-trust p { color: #475569; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }

/* FEATURES */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.section-header p { color: #64748b; font-size: 1.1rem; max-width: 550px; margin: 0 auto; line-height: 1.6; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.feature-card { display: block; padding: 2rem; border-radius: 16px; border: 1px solid #f1f5f9; background: #fafbfc; transition: all 0.3s; }
.feature-card:hover { border-color: #e0e7ff; background: #f8f9ff; transform: translateY(-2px); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.25rem; }
.fi-blue { background: #eff6ff; }
.fi-green { background: #f0fdf4; }
.fi-purple { background: #faf5ff; }
.fi-orange { background: #fff7ed; }
.feature-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { color: #64748b; font-size: 0.93rem; line-height: 1.65; }

/* OPOSICIONES */
.section-gray { background: #f8f9fb; }
.opo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.opo-card { background: #fff; border-radius: 16px; padding: 2.25rem 1.75rem; text-align: center; border: 1px solid #e2e8f0; transition: all 0.3s; position: relative; overflow: hidden; }
.opo-card:hover { border-color: #4f6ef7; box-shadow: 0 8px 30px rgba(79,110,247,0.08); }
.opo-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 16px 16px 0 0; }
.opo-card:nth-child(1)::before { background: linear-gradient(90deg, #059669, #34d399); }
.opo-card:nth-child(2)::before { background: linear-gradient(90deg, #4f6ef7, #818cf8); }
.opo-card:nth-child(3)::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.opo-emoji { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.opo-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.3rem; }
.opo-card .opo-sub { color: #64748b; font-size: 0.85rem; margin-bottom: 1rem; }
.opo-badge { display: inline-block; padding: 0.25rem 0.85rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.opo-badge-ok { background: #dcfce7; color: #16a34a; }
.opo-badge-soon { background: #fef3c7; color: #b45309; }
.opo-details { margin-top: 1rem; text-align: left; font-size: 0.85rem; color: #475569; }
.opo-details li { margin-bottom: 0.3rem; list-style: none; }
.opo-details li::before { content: '✓ '; color: #059669; font-weight: 700; }

/* STATS */
.stats-bar { background: linear-gradient(135deg, #0f172a, #1e293b); padding: 3.5rem 2rem; }
.stats-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-num { font-size: 2.75rem; font-weight: 800; background: linear-gradient(135deg, #60a5fa, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; }
.stat-label { color: #94a3b8; font-size: 0.9rem; margin-top: 0.3rem; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.step { text-align: center; padding: 1rem; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #4f6ef7, #818cf8); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; margin-bottom: 1.25rem; }
.step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.step p { color: #64748b; font-size: 0.93rem; line-height: 1.6; }

/* CTA */
.cta-section { background: linear-gradient(135deg, #4f6ef7, #6366f1); padding: 4.5rem 2rem; text-align: center; }
.cta-section h2 { color: #fff; font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.btn-cta-white { background: #fff; color: #4f6ef7; padding: 0.9rem 2.5rem; border-radius: 10px; font-size: 1rem; font-weight: 700; border: none; cursor: pointer; font-family: inherit; transition: all 0.2s; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

/* FOOTER */
.landing-footer { background: #0f172a; color: #64748b; text-align: center; padding: 2rem; font-size: 0.85rem; }
.landing-footer a { color: #60a5fa; }

/* FAQ */
.faq-grid { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: #fafbfc; border: 1px solid #e8eaef; border-radius: 12px; transition: all 0.25s; overflow: hidden; }
.faq-item[open] { border-color: #4f6ef7; background: #f8f9ff; box-shadow: 0 4px 16px rgba(79,110,247,0.06); }
.faq-item summary { cursor: pointer; padding: 1.15rem 1.5rem; font-weight: 600; font-size: 1rem; color: #1e293b; list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; font-weight: 300; color: #94a3b8; transition: transform 0.25s; flex-shrink: 0; margin-left: 1rem; }
.faq-item[open] summary::after { content: '−'; color: #4f6ef7; }
.faq-item p { padding: 0 1.5rem 1.25rem; color: #475569; font-size: 0.93rem; line-height: 1.65; }

/* BADGES DE CONFIANZA */
.trust-badges { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; padding: 1.25rem 2rem; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); }
.trust-badge { display: flex; align-items: center; gap: 0.5rem; color: #94a3b8; font-size: 0.85rem; font-weight: 500; }
.trust-badge .tb-icon { font-size: 1.1rem; }

/* CARD HOVER GLOW */
.feature-card { position: relative; }
.feature-card::after { content: ''; position: absolute; inset: 0; border-radius: 16px; opacity: 0; transition: opacity 0.3s; background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(79,110,247,0.06), transparent 60%); pointer-events: none; }
.feature-card:hover::after { opacity: 1; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .trust-badges { justify-content: center; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .opo-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.65rem; }
    .landing-nav { padding: 1rem; }
    .landing-nav .logo { font-size: 1.15rem; }
    .nav-link { padding: 0.4rem 0.6rem; font-size: 0.8rem; }
    .faq-item summary { font-size: 0.93rem; padding: 1rem; }
    .trust-badges { gap: 1rem; }
}

/* HERO ENTRANCE ANIMATION */
@keyframes heroFadeUp { from { opacity:0; transform: translateY(22px); } to { opacity:1; transform: translateY(0); } }
.hero-badge { animation: heroFadeUp .5s ease both; }
.hero h1 { animation: heroFadeUp .55s .1s ease both; }
.hero-desc { animation: heroFadeUp .55s .2s ease both; }
.hero-btns { animation: heroFadeUp .55s .3s ease both; }
.trust-badges { animation: heroFadeUp .55s .45s ease both; }

/* STATS BAR HOVER */
.stats-grid > div { transition: transform .2s; cursor: default; }
.stats-grid > div:hover { transform: translateY(-3px); }
.stat-num { transition: color .3s; }

/* ===== NV SECTION — Herramientas nuevas ===== */
.nv-section { background: linear-gradient(180deg,#f0f4ff 0%,#fff 100%); padding: 4rem 0; }
.nv-pill { display:inline-block; background:linear-gradient(90deg,#4f6ef7,#7c3aed); color:#fff; padding:.35rem 1rem; border-radius:20px; font-size:.8rem; font-weight:700; letter-spacing:.04em; }

.nv-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.75rem; margin-top:2.5rem; }

.nv-card { background:#fff; border:1px solid #e2e8f4; border-radius:20px; overflow:hidden; display:flex; flex-direction:column; transition:transform .2s,box-shadow .2s; }
.nv-card:hover { transform:translateY(-5px); box-shadow:0 20px 48px rgba(79,110,247,.13); }
.nv-card-star { border:2px solid #4f6ef7; box-shadow:0 8px 32px rgba(79,110,247,.14); }

/* --- Icon area (gradient top) --- */
.nv-icon-wrap { min-height:188px; position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.75rem; padding:1.25rem 1rem; overflow:hidden; }
.nv-emoji { font-size:2.2rem; line-height:1; filter:drop-shadow(0 2px 6px rgba(0,0,0,.3)); }

/* --- Pomodoro mockup --- */
.nv-timer-mock { display:flex; flex-direction:column; align-items:center; gap:.5rem; }
.nv-timer-ring { width:80px; height:80px; border-radius:50%; border:3px solid rgba(255,255,255,.55); background:rgba(255,255,255,.12); display:flex; flex-direction:column; align-items:center; justify-content:center; }
.nv-timer-digits { font-size:1.35rem; font-weight:800; color:#fff; letter-spacing:-.03em; line-height:1; }
.nv-timer-mode { font-size:.55rem; color:rgba(255,255,255,.75); font-weight:700; letter-spacing:.06em; text-transform:uppercase; margin-top:2px; }
.nv-timer-dots { display:flex; gap:.4rem; }
.nv-td { width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.25); display:inline-block; }
.nv-td-done { background:rgba(255,255,255,.85); }
.nv-td-active { background:#fbbf24; }

/* --- Study mode mockup --- */
.nv-screen-mock { width:100%; display:flex; flex-direction:column; gap:.35rem; padding:.5rem 0; }
.nv-screen-line { height:6px; border-radius:3px; background:rgba(255,255,255,.3); }
.nv-screen-bar { display:flex; justify-content:space-between; align-items:center; background:rgba(0,0,0,.35); border-radius:14px; padding:.3rem .6rem; margin-top:.2rem; }

/* --- Background picker mockup --- */
.nv-bg-mock { display:flex; flex-direction:column; align-items:center; gap:.7rem; width:100%; }
.nv-bg-swlist { display:flex; gap:.45rem; }
.nv-bgsw { width:26px; height:26px; border-radius:50%; display:inline-block; }
.nv-bg-card { background:rgba(255,255,255,.18); backdrop-filter:blur(6px); border-radius:10px; padding:.6rem .9rem; width:80%; display:flex; flex-direction:column; gap:.4rem; }

/* --- Card body --- */
.nv-body { padding:1.4rem 1.5rem 1.6rem; display:flex; flex-direction:column; gap:.55rem; flex:1; }
.nv-tag { display:inline-block; font-size:.7rem; font-weight:700; padding:.2rem .65rem; border-radius:10px; text-transform:uppercase; letter-spacing:.05em; width:fit-content; }
.nv-body h3 { font-size:1.05rem; font-weight:700; color:#1e293b; margin:0; }
.nv-body p { font-size:.875rem; color:#64748b; line-height:1.65; margin:0; flex:1; }
.nv-where { font-size:.75rem; color:#94a3b8; background:#f8fafc; border-radius:8px; padding:.4rem .7rem; border-left:3px solid #e2e8f0; margin-top:.2rem; }

@media (max-width: 900px) {
  .nv-grid { grid-template-columns:1fr; }
  .nv-card { flex-direction:row; }
  .nv-icon-wrap { min-height:unset; min-width:120px; width:120px; flex-shrink:0; border-radius:0; }
  .nv-emoji { font-size:1.5rem; }
  .nv-timer-ring { width:54px; height:54px; }
  .nv-timer-digits { font-size:.95rem; }
  .nv-timer-mode { font-size:.45rem; }
  .nv-timer-dots { gap:.3rem; }
  .nv-td { width:7px; height:7px; }
  .nv-screen-mock { padding:.2rem 0; }
  .nv-screen-line { height:4px; }
  .nv-bg-swlist { gap:.3rem; }
  .nv-bgsw { width:18px; height:18px; }
  .nv-bg-card { padding:.4rem .6rem; width:90%; }
  .nv-body { padding:1rem 1.1rem 1.1rem; }
  .nv-body h3 { font-size:.95rem; }
  .nv-body p { font-size:.82rem; }
  .nv-where { font-size:.7rem; padding:.3rem .6rem; }
}
@media (min-width:901px) and (max-width:1100px) { .nv-grid { grid-template-columns:repeat(2,1fr); } .nv-card:last-child { grid-column:1/-1; max-width:400px; margin:0 auto; } }

