/* ============================================================
   Corrige tu TFG — Estilos inspirados en Catalis (Webflow template)
   Fuentes: Inter 300/400/500/600/700
   Acento: #4d65ff
   ============================================================ */

:root {
  --accent: #4d65ff;
  --accent-soft: rgba(77,101,255,0.08);
  --accent-mid: rgba(77,101,255,0.18);
  --dark: #0a0c14;
  --text: #14161f;
  --text-2: #5b606e;
  --bg: #ffffff;
  --bg-2: #f5f6f8;
  --bg-3: #eef0f4;
  --border: rgba(20,22,31,0.10);
  --border-2: rgba(20,22,31,0.18);
  --ok: #2bb673;
  --warn: #e0a32e;
  --bad: #e2603e;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --max: 1100px;
  --app-max: 640px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 24px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 100px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.88; }
.btn-primary.btn-lg { padding: 14px 32px; font-size: 15px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 24px;
  background: rgba(255,255,255,0.12); color: #fff;
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.20); }
.btn-ghost.btn-lg { padding: 14px 32px; font-size: 15px; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 24px;
  background: transparent; color: var(--text);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background 0.2s;
}
.btn-outline:hover { background: var(--bg-2); }

.btn-white {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 36px;
  background: #fff; color: var(--text);
  border: none; border-radius: 100px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.90; }

.btn-full { width: 100%; justify-content: center; border-radius: var(--r-md); }

/* ========== PROGRESS BAR ========== */
.progress-bar-track {
  position: relative;
  width: 100%; max-width: 380px;
  height: 8px;
  background: var(--border);
  border-radius: 100px;
  margin: 0 auto 1.25rem;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #7b9fff);
  border-radius: 100px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-bar-pct {
  position: absolute;
  right: 0; top: -20px;
  font-size: 11px; font-weight: 600; color: var(--accent);
}

/* ========== SPINNER ========== */
.spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== BADGE / EYEBROW ========== */
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--text-2);
}

.eyebrow {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-2);
  margin-bottom: 12px;
}
.eyebrow-blue {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow-white {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

/* ========== CONTAINER ========== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

/* ========== NAVBAR ========== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem; height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; flex-shrink: 0; text-decoration: none; }
.nav-logo-text { color: var(--text); line-height: 1; }
.nav-links { display: flex; gap: 2rem; margin-left: auto; margin-right: auto; align-items: center; }
.nav-links a { font-size: 14px; color: var(--text-2); transition: color 0.2s; line-height: 1; }
.nav-links a:hover { color: var(--text); }

/* ========== HERO ========== */
.section-hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(77,101,255,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 60%, rgba(123,159,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 15% 70%, rgba(26,58,143,0.3) 0%, transparent 60%),
    linear-gradient(160deg, #060818 0%, #0c1a4a 55%, #0f2060 100%);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(77,101,255,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 60%, rgba(123,159,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 15% 70%, rgba(26,58,143,0.3) 0%, transparent 60%),
    linear-gradient(160deg, #060818 0%, #0c1a4a 55%, #0f2060 100%);
  min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 6rem 2rem 4rem;
}
.section-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero-corners { pointer-events: none; }
.corner { position: absolute; width: 220px; opacity: 0.5; }
.corner-left { top: 0; left: 0; }
.corner-right { top: 0; right: 0; transform: scaleX(-1); }

.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero-title {
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.0;
  color: #fff;
  margin: 20px 0 18px;
}
.hero-title em { font-style: italic; color: #7b9fff; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 2rem; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-cards { position: relative; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 1rem; }
.hero-card { width: 200px; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.hc1 { transform: translateY(-10px); }
.hc2 { transform: translateY(10px); }
.hc3 { transform: translateY(-10px); }

/* ========== ABOUT ========== */
.section-about { padding: 7rem 0 5rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-bottom: 4rem; }
.about-text h2 { font-size: 36px; font-weight: 700; letter-spacing: -1px; margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--text-2); line-height: 1.7; }
.about-img-wrap { position: relative; }
.about-img { border-radius: var(--r-xl); width: 100%; object-fit: cover; }
.about-deco { position: absolute; width: 110px; }
.about-deco-right { bottom: -20px; right: -20px; }
.about-deco-left { top: -20px; left: -20px; }

.stats-row { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2rem 2.5rem; }
.stat-item { flex: 1; text-align: center; }
.stat-num { display: block; font-size: 42px; font-weight: 700; letter-spacing: -1.5px; color: var(--text); }
.stat-label { display: block; font-size: 13px; color: var(--text-2); margin-top: 4px; }
.stat-sep { width: 1px; background: var(--border); height: 60px; }

/* ========== SECTION HEAD ========== */
.section-head { text-align: center; max-width: 580px; margin: 0 auto 4rem; }
.section-head h2 { font-size: 38px; font-weight: 700; letter-spacing: -1px; margin-bottom: 14px; }
.section-head p { font-size: 15px; color: var(--text-2); }

/* ========== BENEFITS ========== */
.section-benefits { padding: 7rem 0; background: var(--bg-2); }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: box-shadow 0.2s;
}
.benefit-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); }
.benefit-icon { width: 48px; height: 48px; margin-bottom: 16px; }
.benefit-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ========== FEATURES ========== */
.section-features { padding: 7rem 0; }
.features-list { display: flex; flex-direction: column; gap: 5rem; }
.feature-item { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-item-rev { direction: rtl; }
.feature-item-rev .feature-text { direction: ltr; }
.feature-item-rev .feature-img { direction: ltr; }
.feature-img { border-radius: var(--r-xl); width: 100%; }
.feature-tag { display: inline-block; padding: 4px 14px; background: var(--accent-soft); color: var(--accent); border-radius: 100px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.feature-text h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 12px; }
.feature-text p { font-size: 15px; color: var(--text-2); line-height: 1.7; }

/* ========== PRICING ========== */
.section-pricing { padding: 7rem 0; background: var(--bg-2); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  position: relative;
}
.pricing-featured { border: 2px solid var(--accent); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  padding: 4px 18px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
  white-space: nowrap;
}
.pricing-plan { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-2); margin-bottom: 8px; }
.pricing-price { font-size: 40px; font-weight: 700; letter-spacing: -1.5px; color: var(--text); margin-bottom: 6px; }
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--text-2); }
.pricing-desc { font-size: 13px; color: var(--text-2); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.75rem; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pricing-features img { width: 16px; flex-shrink: 0; }

/* ========== JOIN ========== */
.section-join {
  background: linear-gradient(135deg, #0a0e2e 0%, #1a3a8f 100%);
  padding: 0;
  overflow: hidden;
}
.join-inner { position: relative; padding: 6rem 2rem; text-align: center; max-width: var(--max); margin: 0 auto; }
.join-deco { position: absolute; bottom: 0; width: 260px; opacity: 0.6; }
.join-left { left: 0; }
.join-right { right: 0; }
.join-content { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.join-content h2 { font-size: 36px; font-weight: 700; letter-spacing: -1px; color: #fff; margin-bottom: 14px; }
.join-content p { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

/* ========== FOOTER ========== */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 14px; color: var(--text-2); max-width: 260px; }
.footer-logo-text { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.footer-col-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; font-size: 13px; color: var(--text-2); }

/* ========== APP LAYER ========== */
.app-wrap { max-width: var(--app-max); margin: 0 auto; padding: 0 1.25rem 3rem; min-height: 100vh; }

.screen { display: none; animation: fadeIn 0.3s ease; }
.screen.active { display: block; }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

.app-header { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; margin-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.app-logo { font-size: 17px; font-weight: 700; }
.back-home { background: none; border: none; cursor: pointer; font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 5px; }
.back-home:hover { color: var(--accent); }

.app-hero { text-align: center; padding: 2rem 0 1.5rem; }
.app-hero h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; margin: 14px 0 8px; }
.app-hero p { font-size: 14px; color: var(--text-2); }

.field-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-2); margin-bottom: 8px; }
.doc-type-row { display: flex; gap: 8px; margin-bottom: 1.25rem; }
.doc-chip { flex:1; padding:9px; border:1px solid var(--border-2); border-radius:var(--r-md); text-align:center; font-size:13px; cursor:pointer; color:var(--text-2); transition:all 0.2s; }
.doc-chip.selected { border-color:var(--accent); color:var(--accent); font-weight:500; background:var(--accent-soft); }

.upload-zone { border:1.5px dashed var(--border-2); border-radius:var(--r-xl); padding:2.5rem 1.5rem; text-align:center; cursor:pointer; transition:all 0.2s; background:var(--bg-2); }
.upload-zone:hover,.upload-zone.drag { border-color:var(--accent); background:var(--accent-soft); }
.upload-icon-box { width:52px; height:52px; border-radius:14px; background:var(--accent-soft); display:inline-flex; align-items:center; justify-content:center; margin-bottom:12px; }
.upload-icon-box i { font-size:24px; color:var(--accent); }
.upload-icon-box.sm { width:44px; height:44px; margin-bottom:8px; }
.upload-title { font-size:15px; font-weight:600; margin-bottom:5px; }
.upload-sub { font-size:13px; color:var(--text-2); margin-bottom:14px; }

.trust-row { display:flex; gap:20px; justify-content:center; margin-top:1.5rem; }
.trust-item { text-align:center; font-size:12px; color:var(--text-2); }
.trust-item i { font-size:18px; display:block; margin-bottom:4px; color:var(--accent); }

.progress-wrap { padding:3rem 0; text-align:center; }
.progress-title { font-size:22px; font-weight:700; letter-spacing:-0.5px; margin-bottom:6px; transition:opacity .3s; }
.progress-sub { font-size:13px; color:var(--text-2); margin-bottom:2rem; }
.progress-steps { display:flex; flex-direction:column; gap:10px; max-width:340px; margin:0 auto; }
#progress-detail { opacity:0; transition:opacity .3s ease; min-height:20px; }
.step-item { display:flex; align-items:center; gap:12px; padding:11px 14px; border-radius:11px; background:var(--bg-2); font-size:13px; }
.step-dot { width:20px; height:20px; border-radius:50%; border:2px solid var(--border-2); flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.step-dot i { font-size:11px; color:#fff; opacity:0; }
.step-item.done { color:var(--text-2); }
.step-item.done .step-dot { background:var(--accent); border-color:var(--accent); }
.step-item.done .step-dot i { opacity:1; }
.step-item.active { color:var(--text); font-weight:500; }
.step-item.active .step-dot { border-color:var(--accent); border-top-color:transparent; animation:spin 0.8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

.file-chip { display:inline-flex; align-items:center; gap:7px; padding:5px 14px; background:var(--bg-2); border-radius:100px; font-size:12px; color:var(--text-2); margin:1rem 0; }
.file-chip i { color:var(--accent); }

.score-card { background:linear-gradient(135deg,#0a0e2e,#1a3a8f); border-radius:var(--r-xl); padding:1.75rem; text-align:center; margin-bottom:1rem; }
.score-card.compact { padding:1.25rem; }
.score-eyebrow { font-size:11px; text-transform:uppercase; letter-spacing:1px; color:rgba(255,255,255,0.6); margin-bottom:10px; font-weight:500; }
.score-row { display:flex; align-items:baseline; justify-content:center; gap:4px; }
.score-num { font-size:60px; font-weight:700; letter-spacing:-3px; color:#fff; line-height:1; }
.score-num.sm { font-size:44px; }
.score-max { font-size:20px; color:rgba(255,255,255,0.5); font-weight:500; }
.score-verdict { display:inline-block; margin-top:12px; padding:6px 18px; border-radius:100px; font-size:13px; font-weight:500; background:rgba(255,255,255,0.12); color:rgba(255,255,255,0.9); }

.free-preview { background:var(--bg); border:1px solid var(--border); border-radius:var(--r-lg); padding:1.1rem 1.25rem; margin:1rem 0; }
.ai-bar-label { font-size:13px; color:var(--text-2); margin-bottom:8px; display:flex; justify-content:space-between; align-items:center; }
.ai-pct { font-weight:600; color:var(--text); }
.ai-bar-track { height:9px; background:var(--bg-3); border-radius:5px; overflow:hidden; }
.ai-bar-fill { height:100%; border-radius:5px; transition:width 1s ease 0.3s; }
.hint { font-size:12px; color:var(--text-2); margin-top:9px; }

.section-eyebrow-center { text-align:center; margin:1.75rem 0 0; }
.block-title-center { font-size:20px; font-weight:700; letter-spacing:-0.5px; text-align:center; margin:10px 0 1rem; }

.tiers { display:flex; flex-direction:column; gap:10px; }
.tier-card { border:1px solid var(--border); border-radius:var(--r-lg); padding:1.1rem 1.25rem; background:var(--bg); position:relative; }
.tier-card.tier-featured { border:2px solid var(--accent); }
.tier-badge { position:absolute; top:-11px; left:50%; transform:translateX(-50%); background:var(--accent); color:#fff; font-size:11px; font-weight:600; padding:3px 14px; border-radius:100px; white-space:nowrap; display:flex; align-items:center; gap:4px; }
.tier-top { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:6px; }
.tier-head { display:flex; align-items:center; gap:10px; }
.tier-icon { width:34px; height:34px; border-radius:9px; background:var(--accent-soft); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.tier-icon i { color:var(--accent); font-size:17px; }
.tier-name { font-weight:600; font-size:14px; padding-top:5px; }
.tier-price { font-size:20px; font-weight:700; letter-spacing:-0.5px; white-space:nowrap; }
.tier-price-sub { font-size:12px; font-weight:400; color:var(--text-2); }
.tier-features { font-size:12px; color:var(--text-2); margin-bottom:10px; padding-left:44px; }

.block { margin-bottom:1.25rem; }
.block-title { font-size:15px; font-weight:600; margin-bottom:10px; letter-spacing:-0.2px; }
.divider { height:1px; background:var(--border); margin:1.25rem 0; }

.criteria-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.crit-item { padding:12px 14px; background:var(--bg-2); border-radius:11px; }
.crit-name { font-size:11px; color:var(--text-2); text-transform:uppercase; letter-spacing:0.5px; margin-bottom:5px; }
.crit-score { font-size:22px; font-weight:700; letter-spacing:-0.5px; }
.crit-bar { height:4px; border-radius:2px; margin-top:7px; background:var(--bg-3); overflow:hidden; }
.crit-bar-fill { height:100%; border-radius:2px; }

.improvement-list { display:flex; flex-direction:column; gap:9px; }
.improv-item { display:flex; gap:12px; padding:12px 14px; background:var(--bg-2); border-radius:11px; }
.improv-icon { width:30px; height:30px; border-radius:8px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.improv-icon i { font-size:16px; }
.improv-text strong { display:block; font-weight:600; font-size:13px; margin-bottom:2px; }
.improv-text span { color:var(--text-2); font-size:12px; }

.ai-section-list { display:flex; flex-direction:column; gap:8px; }
.ai-row { display:flex; align-items:center; gap:10px; font-size:13px; }
.ai-row-name { flex:0 0 110px; color:var(--text-2); }
.ai-row-bar { flex:1; height:7px; background:var(--bg-3); border-radius:4px; overflow:hidden; }
.ai-row-fill { height:100%; border-radius:4px; }
.ai-row-pct { flex:0 0 34px; text-align:right; font-weight:600; font-size:12px; }
.tip-box { margin-top:12px; font-size:12px; color:var(--text-2); padding:10px 12px; background:var(--accent-soft); border-radius:10px; }

/* ========== SCREEN FREE REDISEÑO ========== */
.preview-block {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.25rem;
  margin: 1rem 0;
  background: var(--bg);
}
.preview-block-title {
  font-size: 13px; font-weight: 600;
  color: var(--text-2); margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.preview-improvement {
  padding: 10px 12px;
  background: rgba(226,96,62,0.07);
  border-radius: 10px;
  margin-bottom: 10px;
}
.preview-improvement .improv-title {
  font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 3px;
}
.preview-improvement .improv-desc {
  font-size: 12px; color: var(--text-2); line-height: 1.6;
}
.preview-locked { position: relative; display: flex; flex-direction: column; gap: 6px; }
.locked-item {
  height: 38px; border-radius: 10px;
  background: var(--bg-2);
  filter: blur(3px);
  opacity: 0.6;
}
.locked-item.short { width: 70%; }
.locked-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2);
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.85));
  border-radius: 10px;
}
.locked-overlay i { color: var(--accent); }

.preview-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1rem; }
.preview-mini-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1rem;
  background: var(--bg);
}
.preview-mini-label {
  font-size: 12px; font-weight: 600; color: var(--text-2);
  display: flex; align-items: center; gap: 5px; margin-bottom: 6px;
}
.preview-mini-val { font-size: 28px; font-weight: 700; letter-spacing: -1px; color: var(--text); }
.preview-mini-sub { font-size: 11px; color: var(--accent); margin-top: 6px; cursor: pointer; }
.criteria-mini { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }
.crit-mini-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-2);
}
.crit-mini-blur {
  font-weight: 600; color: var(--text);
  filter: blur(5px); user-select: none;
}

.unlock-cta-box {
  background: linear-gradient(135deg, #0a0e2e, #1a3a8f);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  margin-bottom: 12px;
}
.unlock-cta-head { margin-bottom: 1rem; }
.unlock-cta-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.unlock-cta-sub { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.unlock-price-row {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px;
}
.unlock-price { font-size: 36px; font-weight: 700; color: #fff; letter-spacing: -1px; }
.unlock-price-note { font-size: 12px; color: rgba(255,255,255,0.55); }
.unlock-secondary {
  margin-top: 12px; text-align: center;
  font-size: 12px; color: rgba(255,255,255,0.55);
}
.btn-link {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.8); font-size: 12px;
  text-decoration: underline; padding: 0; font-family: inherit;
}
.btn-link:hover { color: #fff; }

.unlock-trust {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  font-size: 11px; color: var(--text-2); margin-bottom: 1rem;
}
.unlock-trust span { display: flex; align-items: center; gap: 4px; }

/* ========== PAYWALL UPSELL ========== */
.paywall-upsell {
  margin: 10px 0 0;
  background: var(--accent-soft);
  border: 1px solid var(--accent-mid);
  border-radius: var(--r-md);
  padding: 10px 14px;
}
.paywall-upsell-inner {
  display: flex; align-items: center; gap: 10px; font-size: 12px;
}
.paywall-upsell-inner i { font-size: 18px; flex-shrink: 0; }
.paywall-upsell-inner div { flex: 1; color: var(--text-2); line-height: 1.4; }
.paywall-upsell-inner strong { color: var(--text); display: block; margin-bottom: 2px; }
.btn-link-accent {
  background: none; border: none; cursor: pointer;
  color: var(--accent); font-size: 12px; font-weight: 600;
  white-space: nowrap; font-family: inherit; flex-shrink: 0;
}
.ai-blurred { filter: blur(6px); user-select: none; }

/* MODAL */
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(10,12,20,0.6); align-items:center; justify-content:center; padding:1.25rem; z-index:200; }
.modal-overlay.show { display:flex; }
.modal { background:var(--bg); border-radius:var(--r-xl); padding:1.75rem; max-width:380px; width:100%; border:1px solid var(--border); position:relative; }
.modal-head { text-align:center; margin-bottom:1.25rem; }
.modal-title { font-size:19px; font-weight:700; letter-spacing:-0.4px; }
.modal-desc { font-size:13px; color:var(--text-2); margin-top:4px; }
.modal-features { background:var(--bg-2); border-radius:11px; padding:14px 16px; margin-bottom:1.25rem; font-size:13px; color:var(--text-2); }
.modal-features div { margin-bottom:5px; }
.modal-foot { text-align:center; margin-top:12px; font-size:11px; color:var(--text-2); }
.modal-close-x { position:absolute; top:14px; right:16px; background:none; border:none; font-size:22px; cursor:pointer; color:var(--text-2); line-height:1; }
.modal { position:relative; }

/* ========== PAYWALL TIER GRID ========== */
.paywall-modal-wide { max-width: 520px; }
.paywall-tier-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:16px 0; }
.paywall-tier-card {
  border:2px solid var(--border); border-radius:14px; padding:14px 12px;
  cursor:pointer; position:relative; transition:border-color .15s, box-shadow .15s;
  text-align:center;
}
.paywall-tier-card:hover { border-color:var(--accent); }
.paywall-tier-card.selected { border-color:var(--accent); background:var(--accent-soft); box-shadow:0 0 0 3px rgba(77,101,255,.12); }
.paywall-tier-card.ptc-featured { border-color:var(--accent); }
.ptc-badge { position:absolute; top:-10px; left:50%; transform:translateX(-50%); background:var(--accent); color:#fff; font-size:10px; font-weight:700; padding:2px 10px; border-radius:100px; white-space:nowrap; }
.ptc-icon { font-size:22px; color:var(--accent); margin-bottom:6px; }
.ptc-name { font-size:12px; font-weight:700; color:var(--text); margin-bottom:4px; }
.ptc-price { font-size:18px; font-weight:800; color:var(--text); margin-bottom:8px; }
.ptc-save { font-size:10px; font-weight:600; color:#2bb673; background:rgba(43,182,115,.1); padding:1px 6px; border-radius:100px; vertical-align:middle; }
.ptc-features { list-style:none; padding:0; margin:0; text-align:left; font-size:11px; color:var(--text-2); display:flex; flex-direction:column; gap:4px; }
.ptc-features li { display:flex; align-items:flex-start; gap:4px; }
.ptc-features .ti-check { color:#2bb673; flex-shrink:0; font-size:12px; margin-top:1px; }
.ptc-check { display:none; position:absolute; top:8px; right:8px; color:var(--accent); font-size:16px; }
.paywall-tier-card.selected .ptc-check { display:block; }
.paywall-unlimited-row {
  display:flex; align-items:center; gap:12px; padding:12px 14px;
  border:1px solid var(--border); border-radius:12px; cursor:pointer;
  margin-top:10px; font-size:13px; transition:border-color .15s;
}
.paywall-unlimited-row:hover { border-color:var(--accent); }
.paywall-unlimited-row i:first-child { font-size:20px; color:var(--accent); flex-shrink:0; }
.paywall-unlimited-row div { flex:1; }
.paywall-unlimited-row strong { display:block; color:var(--text); font-size:13px; }
.paywall-unlimited-row span { color:var(--text-2); font-size:11px; }
.paywall-unlimited-row i:last-child { color:var(--text-2); flex-shrink:0; }

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.from-left  { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.18s; }
.reveal.d3 { transition-delay: 0.28s; }
.reveal.d4 { transition-delay: 0.38s; }

/* ========== HERO FLOAT ANIMATION ========== */
@keyframes float-a {
  0%, 100% { transform: translateY(-10px); }
  50%       { transform: translateY(-22px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(10px); }
  50%       { transform: translateY(22px); }
}
.hc1 { animation: float-a 4.2s ease-in-out infinite; }
.hc2 { animation: float-b 4.8s ease-in-out 0.4s infinite; }
.hc3 { animation: float-a 4.5s ease-in-out 0.8s infinite; }

/* ========== NAVBAR SCROLLED ========== */
.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.97);
}

/* ========== STAT COUNTER ========== */
.stat-num { display: block; font-size: 42px; font-weight: 700; letter-spacing: -1.5px; color: var(--text); }

/* ========== BENEFIT CARD HOVER LIFT ========== */
.benefit-card {
  transition: box-shadow 0.3s, transform 0.3s;
}
.benefit-card:hover {
  box-shadow: 0 12px 40px rgba(77,101,255,0.12);
  transform: translateY(-4px);
}

/* ========== PRICING CARD HOVER LIFT ========== */
.pricing-card {
  transition: box-shadow 0.3s, transform 0.3s;
}
.pricing-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}

/* ========== HERO SOCIAL PROOF ========== */
.hero-social-proof {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}
.social-avatars {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar-stack {
  display: flex;
}
.av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
}
.av:first-child { margin-left: 0; }
.social-text {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.social-text strong { color: #fff; }

/* ========== FAQ ========== */
.section-faq { padding: 7rem 0; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--text-2);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 1.25rem 1.1rem;
}

/* ========== EMAIL MODAL ========== */
.email-modal-box { text-align: center; max-width: 380px; }
.email-modal-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; font-size: 22px;
  color: var(--text-2); cursor: pointer; line-height: 1;
}
.email-modal-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.email-modal-icon i { font-size: 24px; color: var(--accent); }
.email-modal-title { font-size: 20px; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 8px; }
.email-modal-desc { font-size: 14px; color: var(--text-2); margin-bottom: 1.25rem; line-height: 1.6; }
.email-modal-form { display: flex; flex-direction: column; gap: 10px; }
.email-modal-form input {
  padding: 11px 16px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.email-modal-form input:focus { border-color: var(--accent); }
.email-modal-legal { font-size: 11px; color: var(--text-2); margin-top: 10px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .about-grid, .feature-item { grid-template-columns:1fr; gap:2.5rem; }
  .feature-item-rev { direction:ltr; }
  .benefits-grid { grid-template-columns:1fr; }
  .pricing-grid { grid-template-columns:1fr; max-width:420px; margin:0 auto; }
  .footer-top { grid-template-columns:1fr; gap:2rem; }
  .hero-card { width:140px; }
  .stats-row { flex-direction:column; gap:1.5rem; }
  .stat-sep { width:60px; height:1px; }
}
@media (max-width: 600px) {
  .nav-links { display:none; }
  .hero-title { font-size:32px; }
  .hero-desc { font-size:15px; }
  .section-head h2 { font-size:26px; }
  .about-text h2 { font-size:24px; }
  .join-content h2 { font-size:24px; }
  /* Ocultar cards flotantes del hero en móvil */
  .hero-cards { display:none; }
  /* Reducir padding del hero */
  .section-hero { padding:5rem 1.25rem 3rem; min-height:auto; }
  /* Botones en columna */
  .hero-btns { flex-direction:column; align-items:center; gap:10px; }
  .hero-btns .btn-primary, .hero-btns .btn-ghost { width:100%; max-width:320px; justify-content:center; }
  /* Paywall grid en móvil */
  .paywall-tier-grid { grid-template-columns:1fr; }
  .criteria-grid { grid-template-columns:1fr; }
  /* Stats en columna */
  .stats-row { flex-direction:column; gap:1.5rem; }
  .stat-sep { width:40px; height:1px; }
}
