/* ══════════════════════════════════════════════════════════
   LANDING PAGE + MODAL STYLES
══════════════════════════════════════════════════════════ */

/* REMOVED: #app-view, #admin-full-view, #login-view display:none rules */
/* These are now controlled ONLY by JavaScript to prevent mobile override issues */

#landing-page { display: block; }

#landing-page {
  min-height: 100vh; background: #03060f; color: #f1f5f9;
  overflow-x: hidden; position: relative;
}
#landing-page::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 5%, rgba(227,6,19,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(14,165,233,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 80% at 50% 50%, #03060f 0%, #020510 100%);
}
#landing-page::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.022) 1px, transparent 0);
  background-size: 28px 28px;
}

/* ── NAV ── */
.lp-nav {
  position: sticky; top: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: rgba(3,6,15,0.92); backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.lp-nav-brand { display: flex; flex-direction: column; cursor: pointer; }
.lp-nav-brand-main { font-size: 15px; font-weight: 900; color: #fff; letter-spacing: -0.4px; line-height: 1; }
.lp-nav-brand-sub  { font-size: 8px; font-weight: 800; color: #E30613; letter-spacing: 2px; margin-top: 2px; }
.lp-nav-actions { display: flex; gap: 8px; align-items: center; }
.lp-btn-ghost {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0; padding: 8px 16px; border-radius: 10px;
  font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.18s;
}
.lp-btn-ghost:hover { background: rgba(255,255,255,0.1); }
.lp-btn-primary {
  background: linear-gradient(135deg, #E30613, #b8000f); border: none; color: #fff;
  padding: 9px 18px; border-radius: 10px; font-size: 12px; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 20px rgba(227,6,19,0.4); transition: all 0.18s; white-space: nowrap;
}
.lp-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(227,6,19,0.5); }

/* ── HERO ── */
.lp-hero {
  position: relative; z-index: 1;
  padding: 56px 20px 40px;
  text-align: center; max-width: 720px; margin: 0 auto;
}
.lp-hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(227,6,19,0.1); border: 1px solid rgba(227,6,19,0.25);
  padding: 6px 14px; border-radius: 99px; font-size: 11px; font-weight: 800; color: #fca5a5;
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 20px;
  animation: heroBadgePulse 2.5s ease-in-out infinite alternate;
}
@keyframes heroBadgePulse {
  from { box-shadow: 0 0 0 0 rgba(227,6,19,0); }
  to   { box-shadow: 0 0 20px 4px rgba(227,6,19,0.15); }
}
.lp-hero h1 {
  font-size: clamp(28px,7vw,54px); font-weight: 900; color: #fff;
  line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 16px;
}
.lp-hero h1 span { color: #E30613; }
.lp-hero p {
  font-size: 15px; color: #94a3b8; line-height: 1.7; margin-bottom: 28px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.lp-hero-btns {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 0;
}
.lp-hero-btn-main {
  background: linear-gradient(135deg, #E30613, #b8000f); border: none; color: #fff;
  padding: 15px 28px; border-radius: 14px; font-size: 14px; font-weight: 800; cursor: pointer;
  box-shadow: 0 8px 32px rgba(227,6,19,0.45); transition: all 0.2s;
  display: flex; align-items: center; gap: 10px;
}
.lp-hero-btn-main:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(227,6,19,0.55); }
.lp-hero-btn-secondary {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #e2e8f0;
  padding: 15px 22px; border-radius: 14px; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all 0.2s; display: flex; align-items: center; gap: 10px;
}
.lp-hero-btn-secondary:hover { background: rgba(255,255,255,0.1); }

.lp-trust-strip { display: none; }

/* ══════════════════════════════════════════════════════════
   QUICK INTRO CARDS
══════════════════════════════════════════════════════════ */
.lp-intro {
  position: relative; z-index: 1;
  max-width: 780px; margin: 0 auto;
  padding: 40px 16px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.lp-intro-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 14px 16px;
  transition: all 0.2s;
}
.lp-intro-item:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.12); }
.lp-intro-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.lp-intro-text h4 { font-size: 12px; font-weight: 800; color: #f1f5f9; margin-bottom: 4px; line-height: 1.3; }
.lp-intro-text p  { font-size: 11px; color: #64748b; line-height: 1.5; }

/* ══════════════════════════════════════════════════════════
   FEATURE SHOWCASE
══════════════════════════════════════════════════════════ */
.lp-showcase {
  position: relative; z-index: 1;
  padding: 20px 16px 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.lp-showcase-label { text-align: center; font-size: 11px; font-weight: 800; color: #E30613; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.lp-showcase-title { text-align: center; font-size: clamp(22px,4vw,36px); font-weight: 900; color: #fff; letter-spacing: -1px; margin-bottom: 10px; }
.lp-showcase-sub { text-align: center; font-size: 14px; color: #64748b; max-width: 520px; margin: 0 auto 48px; line-height: 1.6; }

.lp-feature-row { display: flex; align-items: center; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.lp-feature-row.reverse { flex-direction: row-reverse; }
.lp-feature-row-text { flex: 1; min-width: 260px; }
.lp-feature-row-mock { flex: 1; min-width: 260px; max-width: 380px; margin: 0 auto; }
.lp-feature-row-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; margin-bottom: 12px; }
.lp-feature-row-title { font-size: clamp(18px,3vw,26px); font-weight: 900; color: #fff; letter-spacing: -0.6px; line-height: 1.2; margin-bottom: 10px; }
.lp-feature-row-desc { font-size: 13px; color: #64748b; line-height: 1.75; margin-bottom: 16px; }
.lp-feature-row-bullets { list-style: none; padding: 0; margin: 0; }
.lp-feature-row-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: #94a3b8; font-weight: 500; margin-bottom: 8px; line-height: 1.5; }
.lp-feature-row-bullets li i { color: #10b981; font-size: 12px; margin-top: 2px; flex-shrink: 0; }

.lp-phone { background: rgba(10,16,32,0.97); border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset; width: 100%; max-width: 320px; margin: 0 auto; font-size: 11px; }
.lp-phone-bar { background: rgba(5,8,20,0.95); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; }
.lp-phone-bar-title { font-size: 10px; font-weight: 800; color: #fff; }
.lp-phone-body { padding: 12px; }

.mock-period-bar-wrap { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.mock-period-label { font-size: 9px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; display: flex; justify-content: space-between; }
.mock-progress-track { height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.mock-progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg,#E30613,#0ea5e9); }
.mock-missing-btn { display: inline-flex; align-items: center; gap: 5px; background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.25); color: #ef4444; font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 8px; cursor: pointer; }
.mock-missing-panel { margin-top: 10px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 10px; }
.mock-missing-chip { display: inline-flex; align-items: center; gap: 4px; background: rgba(239,68,68,0.08); border: 1.5px solid rgba(239,68,68,0.2); color: #ef4444; padding: 4px 10px; border-radius: 99px; font-size: 10px; font-weight: 700; margin: 3px; cursor: pointer; }
.mock-save-row { display: flex; gap: 6px; margin-top: 10px; }
.mock-save-btn { flex: 1; background: linear-gradient(135deg,#E30613,#b8000f); border: none; color: #fff; padding: 9px; border-radius: 8px; font-size: 11px; font-weight: 800; text-align: center; }
.mock-schule-btn { background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.2); color: #0ea5e9; padding: 9px 12px; border-radius: 8px; font-size: 10px; font-weight: 700; }
.mock-chart-bars { display: flex; align-items: flex-end; gap: 5px; height: 80px; margin: 10px 0 8px; }
.mock-chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; justify-content: flex-end; }
.mock-chart-bar { width: 100%; border-radius: 4px 4px 0 0; min-height: 3px; }
.mock-chart-lbl { font-size: 8px; font-weight: 700; color: #475569; }
.mock-day-detail { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
.mock-day-entry { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.mock-day-icon { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }
.mock-day-text { flex: 1; }
.mock-day-proj { font-size: 11px; font-weight: 700; color: #e2e8f0; }
.mock-day-meta { font-size: 9px; color: #475569; }
.mock-day-hrs { font-size: 12px; font-weight: 800; color: #0ea5e9; }
.mock-ai-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-left: 3px solid #0ea5e9; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.mock-ai-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.mock-ai-field { background: rgba(255,255,255,0.05); border-radius: 6px; padding: 6px 8px; }
.mock-ai-field-label { font-size: 8px; font-weight: 700; color: #475569; text-transform: uppercase; margin-bottom: 2px; }
.mock-ai-field-val { font-size: 11px; font-weight: 700; color: #e2e8f0; }
.mock-ai-badge { display: inline-flex; align-items: center; gap: 4px; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); color: #10b981; font-size: 9px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.mock-pdf-frame { background: #fff; border-radius: 8px; padding: 12px; color: #1e293b; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.mock-pdf-header-bar { height: 3px; background: #c0392b; border-radius: 2px; margin-bottom: 8px; }
.mock-pdf-logo-row { display: flex; align-items: flex-start; gap: 6px; margin-bottom: 8px; }
.mock-pdf-logo-accent { width: 3px; height: 14px; background: #c0392b; border-radius: 1px; flex-shrink: 0; margin-top: 1px; }
.mock-pdf-logo-name { font-size: 11px; font-weight: 900; color: #0f172a; line-height: 1; }
.mock-pdf-logo-sub { font-size: 7px; color: #64748b; margin-top: 1px; }
.mock-pdf-title { font-size: 9px; font-weight: 800; color: #0f172a; text-align: right; line-height: 1; margin-top: 1px; }
.mock-pdf-date-text { font-size: 7px; color: #64748b; text-align: right; }
.mock-pdf-divider { height: 1px; background: #e2e8f0; margin: 6px 0; }
.mock-pdf-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; margin-bottom: 6px; }
.mock-pdf-card { background: #f8fafc; border-radius: 4px; padding: 5px; }
.mock-pdf-card-lbl { font-size: 6px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 2px; }
.mock-pdf-card-val { font-size: 9px; font-weight: 800; color: #0f172a; }
.mock-pdf-section { background: #f1f5f9; border-radius: 4px; padding: 4px 6px; margin-bottom: 3px; }
.mock-pdf-section-title { font-size: 8px; font-weight: 800; color: #0f172a; margin-bottom: 3px; }
.mock-pdf-row { display: flex; justify-content: space-between; font-size: 7px; color: #475569; padding: 2px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.mock-pdf-row:last-child { border-bottom: none; }
.mock-pdf-row-hrs { font-weight: 700; color: #c0392b; }
.mock-pdf-footer { display: flex; justify-content: space-between; font-size: 6px; color: #94a3b8; margin-top: 5px; border-top: 1px solid #e2e8f0; padding-top: 4px; }
.mock-streak-card { background: linear-gradient(135deg, rgba(227,6,19,0.12), rgba(227,6,19,0.04)); border: 1px solid rgba(227,6,19,0.2); border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.mock-streak-flame { font-size: 24px; animation: flamePulse 1.5s ease-in-out infinite alternate; }
@keyframes flamePulse { from{transform:scale(1)} to{transform:scale(1.1)} }
.mock-streak-num { font-size: 20px; font-weight: 900; color: #E30613; letter-spacing: -1px; line-height: 1; }
.mock-streak-lbl { font-size: 9px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.5px; }
.mock-streak-best { margin-left: auto; text-align: right; }
.mock-streak-best-num { font-size: 12px; font-weight: 800; color: #64748b; }
.mock-streak-best-lbl { font-size: 9px; color: #334155; font-weight: 600; }
.lp-showcase-divider { border: none; border-top: 1px solid rgba(255,255,255,0.04); margin: 0 0 64px; }

/* ── STATS BAR ── */
.lp-stats-bar { position: relative; z-index: 1; background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 28px 20px; display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.lp-stat-item { text-align: center; }
.lp-stat-num { font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -1.5px; line-height: 1; }
.lp-stat-num span { color: #E30613; }
.lp-stat-lbl { font-size: 10px; font-weight: 600; color: #475569; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── MOCKUP SECTION ── */
.lp-mockup-section { position: relative; z-index: 1; padding: 0 20px 60px; display: flex; justify-content: center; }
.lp-mockup-frame { width: 100%; max-width: 340px; background: rgba(10,16,32,0.95); border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04) inset, 0 0 50px rgba(227,6,19,0.06); }
.lp-mockup-notch { width: 80px; height: 5px; background: rgba(255,255,255,0.08); border-radius: 99px; margin: 12px auto 0; }
.lp-mockup-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.lp-mockup-brand { font-size: 11px; font-weight: 900; color: #fff; }
.lp-mockup-brand span { color: #E30613; font-size: 7px; display: block; letter-spacing: 1.5px; margin-top: 1px; }
.lp-mockup-body { padding: 14px; }
.lp-mockup-welcome { font-size: 11px; color: #64748b; margin-bottom: 12px; text-align: center; }
.lp-mockup-welcome strong { color: #E30613; }
.lp-mockup-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.lp-mockup-metric { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 10px 12px; border-top: 2px solid rgba(14,165,233,0.4); }
.lp-mockup-metric label { font-size: 8px; color: #475569; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 4px; }
.lp-mockup-metric .val { font-size: 16px; font-weight: 800; color: #f1f5f9; letter-spacing: -0.5px; }
.lp-mockup-metric .val.green { color: #10b981; }
.lp-mockup-chart-label { font-size: 9px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.lp-mockup-bars { display: flex; align-items: flex-end; gap: 4px; height: 52px; background: rgba(255,255,255,0.02); border-radius: 8px; padding: 6px; margin-bottom: 12px; }
.lp-mockup-bar { flex: 1; border-radius: 3px 3px 0 0; animation: barGrow 1.2s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes barGrow { from{transform:scaleY(0);transform-origin:bottom;} to{transform:scaleY(1);transform-origin:bottom;} }
.lp-mockup-entry { background: rgba(255,255,255,0.04); border-left: 3px solid #E30613; border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; }
.lp-mockup-entry-title { font-size: 10px; font-weight: 700; color: #e2e8f0; }
.lp-mockup-entry-sub   { font-size: 8px; color: #475569; margin-top: 1px; }
.lp-mockup-entry-hrs   { font-size: 11px; font-weight: 800; color: #0ea5e9; white-space: nowrap; margin-left: 8px; }
.lp-mockup-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.2); padding: 3px 10px; border-radius: 99px; font-size: 9px; font-weight: 700; color: #10b981; margin-top: 6px; }

/* ── FEATURES GRID ── */
.lp-features { position: relative; z-index: 1; padding: 60px 16px; max-width: 1000px; margin: 0 auto; }
.lp-section-label { text-align: center; font-size: 11px; font-weight: 800; color: #E30613; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.lp-section-title { text-align: center; font-size: clamp(22px,4vw,36px); font-weight: 900; color: #fff; letter-spacing: -1px; margin-bottom: 10px; line-height: 1.15; }
.lp-section-sub { text-align: center; font-size: 13px; color: #64748b; max-width: 500px; margin: 0 auto 40px; line-height: 1.6; }
.lp-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.lp-feature-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 22px 20px; transition: all 0.22s cubic-bezier(0.16,1,0.3,1); position: relative; overflow: hidden; }
.lp-feature-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.lp-feature-card.featured { border-color: rgba(227,6,19,0.25); background: rgba(227,6,19,0.04); }
.lp-feature-card.featured::before { content: 'BELIEBT'; position: absolute; top: 12px; right: 12px; background: rgba(227,6,19,0.15); border: 1px solid rgba(227,6,19,0.3); color: #fca5a5; font-size: 9px; font-weight: 800; letter-spacing: 0.8px; padding: 3px 8px; border-radius: 99px; }
.lp-feature-icon { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 14px; }
.lp-feature-title { font-size: 14px; font-weight: 800; color: #f1f5f9; margin-bottom: 7px; line-height: 1.2; }
.lp-feature-desc  { font-size: 12px; color: #64748b; line-height: 1.6; }

/* ── HOW IT WORKS ── */
.lp-how { position: relative; z-index: 1; padding: 10px 16px 60px; max-width: 900px; margin: 0 auto; }
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 40px; }
.lp-step { text-align: center; padding: 24px 16px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 14px; }
.lp-step-num { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #E30613, #b8000f); color: #fff; font-size: 16px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; box-shadow: 0 6px 20px rgba(227,6,19,0.35); }
.lp-step h4 { font-size: 14px; font-weight: 800; color: #f1f5f9; margin-bottom: 7px; }
.lp-step p  { font-size: 12px; color: #64748b; line-height: 1.6; }

/* ── CTA BOTTOM ── */
.lp-cta-bottom { position: relative; z-index: 1; margin: 0 16px 60px; padding: 44px 24px; background: linear-gradient(135deg, rgba(227,6,19,0.1) 0%, rgba(14,165,233,0.05) 100%); border: 1px solid rgba(227,6,19,0.2); border-radius: 20px; text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; overflow: hidden; }
.lp-cta-bottom::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #E30613 30%, #E30613 70%, transparent); }
.lp-cta-bottom h2 { font-size: clamp(20px,4vw,30px); font-weight: 900; color: #fff; letter-spacing: -0.8px; margin-bottom: 10px; }
.lp-cta-bottom p  { font-size: 13px; color: #94a3b8; margin-bottom: 24px; line-height: 1.6; }
.lp-cta-price-badge { display: inline-block; background: rgba(227,6,19,0.15); border: 1px solid rgba(227,6,19,0.3); color: #fca5a5; font-size: 26px; font-weight: 900; padding: 7px 22px; border-radius: 12px; margin-bottom: 20px; letter-spacing: -1px; }
.lp-cta-price-badge span { font-size: 12px; font-weight: 600; color: #94a3b8; display: block; letter-spacing: 0; margin-top: 2px; }

/* ── FOOTER ── */
.lp-footer { position: relative; z-index: 1; padding: 32px 20px 40px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }
.lp-footer-brand { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.lp-footer-brand-text { font-size: 16px; font-weight: 900; letter-spacing: -0.4px; color: #fff; line-height: 1; }
.lp-footer-brand-dot { font-size: 16px; font-weight: 900; color: #E30613; }
.lp-footer-brand-tld { font-size: 16px; font-weight: 900; color: #0ea5e9; }
.lp-footer-copy { font-size: 11px; color: #334155; font-weight: 500; margin-bottom: 6px; }
.lp-footer-dev { font-size: 11px; color: #475569; font-weight: 600; }
.lp-footer-dev span { color: #E30613; font-weight: 700; }

/* ══════════════════════════════════════════════════════════
   LOGIN MODAL
══════════════════════════════════════════════════════════ */
#modal-login-backdrop, #modal-register-backdrop {
  position: fixed; inset: 0; background: rgba(3,6,15,0.88);
  backdrop-filter: blur(20px) saturate(140%); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 16px;
}
#modal-login-backdrop.open, #modal-register-backdrop.open { display: flex; }

.modal-login-box { width: 100%; max-width: 420px; background: rgba(10,16,32,0.98); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06); animation: modalEntrance 0.28s cubic-bezier(0.16,1,0.3,1); position: relative; }
.modal-login-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, #E30613 30%, #ff6b6b 50%, #E30613 70%, transparent); }
@keyframes modalEntrance { from{opacity:0;transform:scale(0.95) translateY(-16px);} to{opacity:1;transform:scale(1) translateY(0);} }
.modal-login-header { padding: 28px 28px 20px; text-align: center; }
.modal-login-logo-main { font-size: 18px; font-weight: 900; color: #fff; letter-spacing: -0.5px; }
.modal-login-logo-sub  { font-size: 9px; font-weight: 800; color: #E30613; letter-spacing: 2px; margin-top: 2px; }
.modal-login-subtitle  { font-size: 12px; color: #475569; margin-top: 8px; font-weight: 500; }
.modal-login-body { padding: 0 28px 24px; }
.modal-form-group { margin-bottom: 14px; }
.modal-form-group label { display: block; font-size: 10px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px; }
.modal-form-group input { width: 100%; padding: 12px 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; font-size: 14px; color: #f1f5f9; transition: all 0.18s; box-sizing: border-box; }
.modal-form-group input:focus { outline: none; border-color: rgba(227,6,19,0.4); box-shadow: 0 0 0 3px rgba(227,6,19,0.1); background: rgba(255,255,255,0.08); }
.modal-form-group input::placeholder { color: rgba(148,163,184,0.4); letter-spacing: 0; }
.modal-login-btn { width: 100%; padding: 14px; border: none; border-radius: 12px; background: linear-gradient(135deg, #E30613, #b8000f); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 24px rgba(227,6,19,0.4); transition: all 0.2s; margin-top: 4px; }
.modal-login-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(227,6,19,0.5); }
.modal-login-switch { text-align: center; margin-top: 16px; font-size: 12px; color: #475569; font-weight: 500; }
.modal-login-switch a { color: #E30613; font-weight: 700; cursor: pointer; text-decoration: none; }
.modal-close-x { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,0.06); border: none; color: #64748b; width: 28px; height: 28px; border-radius: 8px; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.modal-close-x:hover { background: rgba(255,255,255,0.1); color: #e2e8f0; }
.modal-msg { font-size: 12px; font-weight: 600; text-align: center; margin-top: 8px; min-height: 16px; }
.modal-msg.error   { color: #ef4444; }
.modal-msg.success { color: #10b981; }

/* ══════════════════════════════════════════════════════════
   REGISTER MODAL
══════════════════════════════════════════════════════════ */
.modal-register-box { width: 100%; max-width: 520px; background: rgba(10,16,32,0.99); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06); animation: modalEntrance 0.28s cubic-bezier(0.16,1,0.3,1); position: relative; max-height: 92vh; overflow-y: auto; }
.modal-register-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, #E30613 30%, #ff6b6b 50%, #E30613 70%, transparent); z-index: 1; }
.reg-steps { display: flex; padding: 20px 24px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.reg-step-tab { flex: 1; padding: 10px 0; text-align: center; font-size: 12px; font-weight: 700; color: #475569; border-bottom: 2px solid transparent; cursor: default; transition: all 0.2s; }
.reg-step-tab.active { color: #E30613; border-bottom-color: #E30613; }
.reg-step-tab.done   { color: #10b981; border-bottom-color: #10b981; }
.reg-step-panel { display: none; padding: 20px 24px 24px; }
.reg-step-panel.active { display: block; }
.reg-step-title { font-size: 17px; font-weight: 900; color: #fff; margin-bottom: 5px; letter-spacing: -0.4px; }
.reg-step-sub   { font-size: 12px; color: #475569; margin-bottom: 18px; line-height: 1.5; }
.reg-price-block { background: linear-gradient(135deg, rgba(227,6,19,0.1), rgba(227,6,19,0.04)); border: 1px solid rgba(227,6,19,0.25); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; text-align: center; position: relative; overflow: hidden; }
.reg-price-block::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #E30613, transparent); }
.reg-price-amount { font-size: 38px; font-weight: 900; color: #fff; letter-spacing: -2px; line-height: 1; }
.reg-price-amount sup { font-size: 16px; vertical-align: top; margin-top: 7px; font-weight: 700; color: #E30613; }
.reg-price-label  { font-size: 11px; color: #64748b; margin-top: 5px; font-weight: 600; }
.reg-price-badge  { display: inline-block; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); color: #10b981; font-size: 10px; font-weight: 800; padding: 3px 11px; border-radius: 99px; margin-top: 7px; }
.reg-features-title { font-size: 10px; font-weight: 800; color: #475569; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.reg-feature-item { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; margin-bottom: 7px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 10px; transition: all 0.15s; }
.reg-feature-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
.reg-feature-item.highlight { background: rgba(227,6,19,0.04); border-color: rgba(227,6,19,0.15); }
.reg-feature-icon { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.reg-feature-body { flex: 1; }
.reg-feature-name { font-size: 12px; font-weight: 800; color: #f1f5f9; margin-bottom: 2px; line-height: 1.2; }
.reg-feature-desc { font-size: 11px; color: #64748b; line-height: 1.5; }
.reg-feature-item.highlight .reg-feature-name { color: #fca5a5; }
.reg-pay-btn { width: 100%; padding: 15px; border: none; border-radius: 12px; margin-top: 6px; background: linear-gradient(135deg, #E30613, #b8000f); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 28px rgba(227,6,19,0.45); transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.reg-pay-btn:hover { transform: translateY(-1px); }
.reg-pay-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.reg-trust-line { text-align: center; font-size: 11px; color: #334155; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.reg-trust-line i { color: #10b981; }
.reg-next-btn { width: 100%; padding: 13px; border: none; border-radius: 12px; margin-top: 14px; background: linear-gradient(135deg, #E30613, #b8000f); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 22px rgba(227,6,19,0.4); transition: all 0.2s; }
.reg-back-link { text-align: center; margin-top: 12px; font-size: 12px; color: #475569; }
.reg-back-link a { color: #64748b; cursor: pointer; text-decoration: underline; }

/* ── Shared globals ── */
.login-logo-canvas-wrap { display: flex; align-items: center; justify-content: center; width: 100%; padding: 8px 0 28px; user-select: none; }
#login-logo-canvas { display: block; pointer-events: none; user-select: none; filter: drop-shadow(0 0 20px rgba(227,6,19,0.2)); }
.portal-context-caption { color: rgba(100,116,139,0.75) !important; }
hr { border: 0; border-top: 1px solid rgba(0,0,0,0.07); margin: 20px 0; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }
::selection { background: rgba(227,6,19,0.15); color: inherit; }
input[type="password"] { letter-spacing: 2px; }
input[type="password"]::placeholder { letter-spacing: 0; }
.toggle-switch-btn.active { background: white !important; color: var(--primary-blue) !important; font-weight: 800 !important; box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important; }
.primary-btn[style*="background:#3b82f6"],.primary-btn[style*="background: #3b82f6"] { background: linear-gradient(135deg, #3b82f6, #2563eb) !important; box-shadow: 0 4px 14px rgba(59,130,246,0.3) !important; }
.primary-btn[style*="background:#10b981"],.primary-btn[style*="background: #10b981"] { background: linear-gradient(135deg, #10b981, #059669) !important; box-shadow: 0 4px 14px rgba(16,185,129,0.3) !important; }
.primary-btn[style*="background:#475569"],.primary-btn[style*="background: #475569"] { background: rgba(71,85,105,0.9) !important; }
.primary-btn[style*="background:#1e293b"],.primary-btn[style*="background: #1e293b"] { background: rgba(30,41,59,0.9) !important; }
.primary-btn[style*="background:#dc2626"],.primary-btn[style*="background: #dc2626"] { background: linear-gradient(135deg, #dc2626, #b91c1c) !important; box-shadow: 0 4px 14px rgba(220,38,38,0.3) !important; }
.primary-btn[style*="background:var(--primary-blue)"],.primary-btn[style*="background: var(--primary-blue)"] { background: linear-gradient(135deg, #0ea5e9, #0284c7) !important; box-shadow: 0 4px 14px rgba(14,165,233,0.3) !important; }
.ai-scan-dropzone { border:2px dashed rgba(0,0,0,0.1); border-radius:16px; padding:32px 16px; text-align:center; cursor:pointer; transition:all 0.22s; background:rgba(248,250,252,0.8); position:relative; overflow:hidden; }
.ai-scan-dropzone:hover { border-color:var(--primary-blue); background:rgba(14,165,233,0.03); }
.ai-scan-dropzone.dragover { border-color:var(--primary-blue); background:rgba(14,165,233,0.06); transform:scale(1.01); }
.ai-scan-preview { width:100%; max-height:240px; object-fit:contain; border-radius:12px; display:none; margin-bottom:12px; }
.ai-thumbs-row { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; justify-content:center; }
.ai-thumb-item { position:relative; width:68px; height:68px; border-radius:10px; overflow:hidden; border:2px solid rgba(0,0,0,0.08); cursor:pointer; flex-shrink:0; transition:border-color 0.15s,transform 0.15s; }
.ai-thumb-item:hover { transform:scale(1.04); }
.ai-thumb-item img { width:100%; height:100%; object-fit:cover; display:block; }
.ai-thumb-item .thumb-remove { position:absolute; top:3px; right:3px; width:18px; height:18px; background:rgba(227,6,19,0.9); color:#fff; border:none; border-radius:50%; font-size:10px; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.ai-thumb-counter { font-size:11px; font-weight:700; color:var(--text-muted); text-align:center; margin-bottom:8px; }
.ai-review-card { background:rgba(255,255,255,0.9); border:1px solid rgba(0,0,0,0.06); border-left:4px solid var(--primary-blue); border-radius:14px; padding:16px; margin-bottom:12px; animation:slideInUp 0.25s ease; backdrop-filter:blur(8px); }
.ai-review-card .ai-field-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px; }
.ai-review-card .ai-field-row.single { grid-template-columns:1fr; }
.ai-confidence-badge { display:inline-flex; align-items:center; gap:4px; font-size:10px; font-weight:700; padding:3px 9px; border-radius:99px; text-transform:uppercase; letter-spacing:0.5px; }
.ai-confidence-high   { background:rgba(16,185,129,0.1); color:#065f46; border:1px solid rgba(16,185,129,0.2); }
.ai-confidence-medium { background:rgba(245,158,11,0.1); color:#92400e; border:1px solid rgba(245,158,11,0.2); }
.ai-confidence-low    { background:rgba(227,6,19,0.08); color:#991b1b; border:1px solid rgba(227,6,19,0.15); }
.ai-scanning-overlay { position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(3,6,15,0.88); backdrop-filter:blur(16px); z-index:9998; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:20px; }
.ai-scanning-spinner { width:56px; height:56px; border:3px solid rgba(227,6,19,0.15); border-top-color:#E30613; border-radius:50%; animation:aiSpin 0.75s linear infinite; }
@keyframes aiSpin { to { transform:rotate(360deg); } }

/* ════════════════════════════════════
   MOBILE
════════════════════════════════════ */
@media (max-width: 600px) {
  .lp-nav { padding: 12px 14px; }
  .lp-nav-brand-main { font-size: 13px; }
  .lp-btn-ghost { display: none; }
  .lp-btn-primary { padding: 8px 14px; font-size: 11px; }
  .lp-hero { padding: 40px 16px 28px; }
  .lp-hero h1 { font-size: 28px; letter-spacing: -1px; }
  .lp-hero p { font-size: 14px; }
  .lp-hero-btns { flex-direction: column; gap: 8px; }
  .lp-hero-btn-main, .lp-hero-btn-secondary { width: 100%; justify-content: center; padding: 14px 20px; font-size: 14px; }
  .lp-intro { grid-template-columns: 1fr; padding: 24px 14px 20px; gap: 10px; }
  .lp-showcase { padding: 16px 14px 48px; }
  .lp-showcase-sub { font-size: 13px; margin-bottom: 36px; }
  .lp-feature-row, .lp-feature-row.reverse { flex-direction: column; gap: 24px; margin-bottom: 48px; }
  .lp-feature-row-text { min-width: unset; }
  .lp-feature-row-mock { min-width: unset; max-width: 100%; width: 100%; }
  .lp-phone { max-width: 100%; }
  .lp-stats-bar { gap: 20px; padding: 22px 16px; }
  .lp-stat-num { font-size: 24px; }
  .lp-mockup-section { padding: 0 14px 48px; }
  .lp-mockup-frame { max-width: 100%; }
  .lp-features { padding: 48px 14px; }
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-feature-card { padding: 18px 16px; }
  .lp-how { padding: 10px 14px 48px; }
  .lp-steps { grid-template-columns: 1fr; gap: 10px; }
  .lp-cta-bottom { margin: 0 14px 48px; padding: 32px 18px; }
  .lp-cta-bottom h2 { font-size: 20px; }
  .lp-showcase-divider { margin: 0 0 48px; }
  .lp-footer { padding: 24px 16px 36px; }
  .lp-footer-brand-text, .lp-footer-brand-dot, .lp-footer-brand-tld { font-size: 14px; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .lp-intro { grid-template-columns: 1fr 1fr; }
  .lp-feature-row, .lp-feature-row.reverse { flex-direction: column; gap: 32px; }
  .lp-feature-row-mock { max-width: 360px; }
  .lp-features-grid { grid-template-columns: 1fr 1fr; }
}
