/* ════════════════════════════════════════════════════════════
   landing.css — S2P SchoolPro Public Landing Page
   Design system: dark forest green #162a1e + gold #c8942a
═══════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ─────────────────────────────────────── */
:root {
  --dark:    #162a1e;
  --dark2:   #1e3d28;
  --dark3:   #112216;
  --gold:    #c8942a;
  --gold2:   #e5b04a;
  --paper:   #f5f1ea;
  --white:   #ffffff;
  --border:  #e2ddd6;
  --text:    #1a2a1e;
  --muted:   #6b7a6f;
  --light:   #f0ece4;
  --blue:    #1a4a8a;
  --teal:    #0d7a6b;
  --purple:  #5a3a8a;
  --rose:    #8a2a3a;
  --amber:   #8a5a00;
  --radius:  12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,.06);
  --shadow-md: 0 4px 28px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.14);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
input:focus, select:focus, button:focus { outline: none; }

/* ── UTILITY ────────────────────────────────────────────── */
.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.lp-section {
  padding: 100px 0;
}
@media (max-width: 768px) {
  .lp-section { padding: 64px 0; }
}

/* ── NAVIGATION ─────────────────────────────────────────── */
/* Drawer header sits in body as a fixed overlay — hidden until open */
.lp-drawer-header { display: none; }
.lp-drawer-top { display: none; }
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9998;
  background: rgba(22, 42, 30, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.lp-nav.scrolled {
  background: rgba(17, 34, 22, 0.99);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.lp-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lp-logo-img {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  object-fit: contain;
}
.lp-brand-name {
  display: block;
  font-family: 'Lora', serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.lp-brand-sub {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin-left: auto;
}
.lp-nav-links li a {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.lp-nav-links li a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.lp-btn-outline {
  border: 1.5px solid rgba(255,255,255,0.25) !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  color: rgba(255,255,255,0.8) !important;
  font-weight: 600 !important;
  transition: border-color 0.2s, color 0.2s !important;
}
.lp-btn-outline:hover { border-color: var(--gold) !important; color: var(--gold) !important; background: transparent !important; }
.lp-btn-primary {
  background: var(--gold) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  transition: background 0.2s !important;
}
.lp-btn-primary:hover { background: var(--gold2) !important; }
.lp-hamburger {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 20px;
  margin-left: auto;
  padding: 8px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.lp-hamburger:hover { color: #fff; background: rgba(255,255,255,0.08); }
.lp-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}


/* ── HERO ───────────────────────────────────────────────── */
.lp-hero {
  background: var(--dark);
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.lp-hero-bg-shape {
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,148,42,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.lp-hero-bg-shape::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,148,42,0.06) 0%, transparent 65%);
}
.lp-hero .lp-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}
.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(200,148,42,0.15);
  border: 1px solid rgba(200,148,42,0.3);
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold2);
  margin-bottom: 24px;
}
.lp-hero-badge i { font-size: 11px; }
.lp-hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  word-wrap: break-word;
}
.lp-hero-accent {
  color: var(--gold2);
  font-style: italic;
}
.lp-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  max-width: 500px;
  width: 100%;
}
.lp-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.lp-btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(200,148,42,0.35);
  box-sizing: border-box;
}
.lp-btn-hero-primary:hover {
  background: var(--gold2);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(200,148,42,0.45);
}
.lp-btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  box-sizing: border-box;
}
.lp-btn-hero-outline:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.lp-hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.lp-stat-num {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold2);
  line-height: 1;
}
.lp-stat-label {
  display: block;
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lp-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
}

/* ── DASHBOARD MOCKUP ───────────────────────────────────── */
.lp-hero-visual { position: relative; width: 100%; max-width: 100%; }
.lp-dashboard-mockup {
  background: #1e3d28;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  max-width: 100%;
}
.lp-mockup-bar {
  background: #112216;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.lp-dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-dot-r { background: #e55; }
.lp-dot-y { background: #ca2; }
.lp-dot-g { background: #4a4; }
.lp-mockup-url {
  margin-left: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-family: 'DM Mono', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-mockup-body {
  display: flex;
  height: 320px;
  overflow: hidden;
}
.lp-mockup-sidebar {
  width: 110px;
  background: #112216;
  flex-shrink: 0;
  padding: 14px 10px;
  border-right: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.lp-mockup-logo-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.lp-mockup-logo-icon {
  width: 22px; height: 22px;
  background: var(--gold);
  border-radius: 5px;
  flex-shrink: 0;
}
.lp-mockup-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
}
.lp-mockup-line.lp-line-xs  { width: 40px; }
.lp-mockup-line.lp-line-sm  { width: 55px; }
.lp-mockup-line.lp-line-md  { width: 65px; }
.lp-mockup-line.lp-line-lg  { width: 75px; }
.lp-mockup-line.lp-line-xl  { width: 42px; height: 18px; border-radius: 5px; }
.lp-line-bright { background: rgba(255,255,255,0.5) !important; }
.lp-line-dim    { background: rgba(255,255,255,0.12) !important; }
.lp-line-white  { background: rgba(255,255,255,0.55) !important; }
.lp-line-muted  { background: rgba(255,255,255,0.2) !important; height: 4px !important; }
.lp-line-head   { background: rgba(255,255,255,0.25) !important; height: 4px !important; }
.lp-line-text   { background: rgba(255,255,255,0.3) !important; }
.lp-line-num    { color: #fff; } /* used as display block for numbers */
.lp-mockup-nav-items { display: flex; flex-direction: column; gap: 4px; }
.lp-mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px;
  border-radius: 6px;
  border-left: 2px solid transparent;
}
.lp-nav-active {
  background: rgba(200,148,42,0.18);
  border-left-color: var(--gold) !important;
}
.lp-mockup-nav-icon {
  width: 10px; height: 10px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.lp-nav-active .lp-mockup-nav-icon { background: var(--gold); }
.lp-mockup-main { flex: 1; padding: 14px; overflow: hidden; min-width: 0; }
.lp-mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.lp-mockup-stat-card {
  padding: 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.lp-msc-green { background: rgba(26,107,58,0.25); }
.lp-msc-blue  { background: rgba(26,74,138,0.25); }
.lp-msc-amber { background: rgba(200,148,42,0.2); }
.lp-mockup-table { background: rgba(0,0,0,0.2); border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.lp-mockup-table-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(0,0,0,0.3);
  align-items: center;
}
.lp-mockup-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 7px 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
  align-items: center;
}
.lp-grade-chip {
  font-size: 9px;
  font-weight: 700;
  font-family: 'DM Mono', monospace;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  text-align: center;
}
.lp-grade-a { background: rgba(26,107,58,0.35); color: #7ddf9f; }
.lp-grade-b { background: rgba(26,74,138,0.35); color: #7aaed0; }
.lp-grade-c { background: rgba(122,85,0,0.35);  color: #d4a84b; }
.lp-mockup-btn-row { display: flex; gap: 6px; }
.lp-mockup-btn { height: 22px; border-radius: 5px; }
.lp-mbtn-primary { flex: 1.5; background: var(--gold); opacity: 0.8; }
.lp-mbtn-outline { flex: 1; background: rgba(255,255,255,0.1); }

/* Floating info cards on hero */
.lp-hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  animation: lp-float 3s ease-in-out infinite;
}
.lp-float-1 { bottom: -16px; left: -20px; animation-delay: 0s; }
.lp-float-2 { top: 20px; right: -16px; animation-delay: 1.5s; }
.lp-float-icon { font-size: 20px; color: var(--gold); }
.lp-fi-blue   { color: var(--blue); }
.lp-float-title { font-weight: 600; font-size: 12.5px; color: var(--dark); }
.lp-float-sub   { color: var(--muted); font-size: 11px; margin-top: 1px; }
@keyframes lp-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}


/* ── SECTION HEADERS (shared) ───────────────────────────── */
.lp-section-header {
  text-align: center;
  margin-bottom: 60px;
}
.lp-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: rgba(200,148,42,0.1);
  border: 1px solid rgba(200,148,42,0.25);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 16px;
}
.lp-section-title {
  font-family: 'Lora', serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.lp-section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── FEATURES ───────────────────────────────────────────── */
.lp-features { background: var(--white); }
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-feature-card {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.lp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200,148,42,0.3);
}
.lp-fc-primary {
  background: linear-gradient(135deg, #162a1e 0%, #1e3d28 100%);
  border-color: transparent;
  color: #fff;
}
.lp-fc-primary h3 { color: #fff !important; font-weight: 800 !important; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.lp-fc-primary p  { color: rgba(255,255,255,0.82); }
.lp-fc-primary .lp-feature-list li { color: rgba(255,255,255,0.85); }
.lp-fc-primary .lp-feature-list li i { color: var(--gold2); }
.lp-feature-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.lp-fiw-green  { background: rgba(26,107,58,0.15); color: #1a6b3a; }
.lp-fiw-blue   { background: rgba(26,74,138,0.12); color: var(--blue); }
.lp-fiw-amber  { background: rgba(200,148,42,0.15); color: var(--gold); }
.lp-fiw-purple { background: rgba(90,58,138,0.12); color: var(--purple); }
.lp-fiw-teal   { background: rgba(13,122,107,0.12); color: var(--teal); }
.lp-fiw-rose   { background: rgba(138,42,58,0.12); color: var(--rose); }
.lp-fc-primary .lp-fiw-green { background: rgba(200,148,42,0.2); color: var(--gold2); }
.lp-feature-card h3 {
  font-family: 'Lora', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.lp-feature-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}
.lp-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.lp-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.lp-feature-list li i { color: #1a6b3a; font-size: 12px; margin-top: 3px; flex-shrink: 0; }

/* ── HOW IT WORKS ───────────────────────────────────────── */
.lp-hiw { background: var(--paper); }
.lp-hiw-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.lp-hiw-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
}
.lp-hiw-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.lp-hiw-tab.active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}
.lp-hiw-tab.active i { color: var(--gold2); }
.lp-hiw-panel { display: none; }
.lp-hiw-panel.active { display: block; }
.lp-hiw-intro {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(200,148,42,0.08);
  border: 1px solid rgba(200,148,42,0.2);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  color: #7a5500;
  line-height: 1.6;
  margin-bottom: 36px;
}
.lp-hiw-intro i { font-size: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.lp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  border: 1.5px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.lp-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.lp-step-num {
  position: absolute;
  top: -12px; left: 22px;
  background: var(--dark);
  color: var(--gold2);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}
.lp-step-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(200,148,42,0.1);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 14px;
  margin-top: 8px;
}
.lp-step h4 {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.lp-step p { font-size: 13px; line-height: 1.7; color: var(--muted); }


/* ── PRICING ────────────────────────────────────────────── */
.lp-pricing { background: var(--white); }
.lp-pricing-toggle {
  display: flex;
  gap: 4px;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  width: fit-content;
  margin: 0 auto 48px;
}
.lp-ptoggle {
  padding: 9px 22px;
  border: none;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  background: transparent;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.lp-ptoggle.active { background: var(--dark); color: #fff; }
.lp-pricing-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
}
/* Calculator-only layout — centred, max-width constrained */
.lp-pricing-layout-calc-only {
  display: flex;
  justify-content: center;
  grid-template-columns: unset;
}
.lp-pricing-layout-calc-only .lp-pc-calc {
  width: 100%;
  max-width: 560px;
}
.lp-pricing-card {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lp-pc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.lp-pc-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(26,107,58,0.12);
  color: #1a6b3a;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.lp-piw-amber  { background: rgba(200,148,42,0.12); color: var(--gold); }
.lp-piw-teal   { background: rgba(13,122,107,0.12); color: var(--teal); }
.lp-pc-header h3 {
  font-family: 'Lora', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
}
.lp-pc-header p { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.lp-pricing-table-wrap { padding: 0; overflow-x: auto; }
.lp-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.lp-pricing-table thead tr { background: var(--dark); }
.lp-pricing-table thead th {
  padding: 10px 16px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}
.lp-pricing-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.1s; }
.lp-pricing-table tbody tr:last-child { border-bottom: none; }
.lp-pricing-table tbody tr:hover { background: rgba(200,148,42,0.04); }
.lp-pricing-table td { padding: 11px 16px; vertical-align: middle; }
.lp-range-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(22,42,30,0.07);
  border-radius: 5px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
}
.lp-rb-gold { background: rgba(200,148,42,0.15); color: var(--amber); }
.lp-rate-cell {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark2);
}
.lp-example-cell { font-size: 12.5px; color: var(--muted); }
.lp-example-muted strong { color: var(--dark); }
.lp-best-value-row { background: rgba(200,148,42,0.05) !important; }
.lp-best-value-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--gold);
  color: #fff;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}
.lp-pricing-aside { display: flex; flex-direction: column; gap: 20px; }

/* Calculator */
.lp-calc-form { padding: 20px 20px 24px; }
.lp-calc-field { margin-bottom: 14px; }
.lp-calc-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin-bottom: 6px;
}
.lp-calc-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 14px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lp-calc-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,148,42,0.12);
}
.lp-calc-plan label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin-bottom: 6px;
}
.lp-calc-plan-btns {
  display: flex;
  gap: 4px;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 3px;
  margin-bottom: 16px;
}
.lp-plan-btn {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.lp-plan-btn.active { background: var(--dark); color: #fff; }
.lp-calc-submit {
  width: 100%;
  padding: 12px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 14px;
}
.lp-calc-submit:hover { background: var(--gold2); transform: translateY(-1px); }
.lp-calc-result {
  background: var(--dark);
  border-radius: 10px;
  padding: 16px;
  animation: fadeUp 0.3s ease;
}
.lp-calc-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.lp-calc-total-label { font-size: 11.5px; color: rgba(255,255,255,0.5); }
.lp-calc-total-val {
  font-family: 'DM Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold2);
}
.lp-calc-breakdown { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.8; margin-bottom: 10px; }
.lp-calc-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 12px; color: rgba(255,255,255,0.5); gap: 8px; }
.lp-calc-row span:last-child { font-family: 'DM Mono', monospace; white-space: nowrap; }
.lp-calc-row-highlight { color: rgba(255,255,255,0.8); font-weight: 600; }
.lp-calc-row-highlight span:last-child { color: var(--gold2); }
.lp-calc-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 8px 0; }
.lp-calc-afford { margin-top: 10px; padding: 10px 12px; background: rgba(200,148,42,0.12); border: 1px solid rgba(200,148,42,0.25); border-radius: 8px; font-size: 12px; color: rgba(255,255,255,0.7); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.lp-calc-afford i { color: var(--gold2); margin-top: 1px; flex-shrink: 0; }
.lp-calc-afford strong { color: var(--gold2); }
.lp-calc-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}
.lp-calc-note i { margin-top: 2px; flex-shrink: 0; }
.lp-pricing-footer-note {
  margin-top: 32px;
  padding: 16px 22px;
  background: rgba(22,42,30,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.lp-pricing-footer-note i { color: var(--gold); font-size: 16px; flex-shrink: 0; margin-top: 2px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── DEMO SECTION ───────────────────────────────────────── */
.lp-demo { background: var(--paper); }
.lp-demo-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.lp-demo-timer-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--dark);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.lp-demo-timer-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(200,148,42,0.2);
  color: var(--gold2);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.lp-demo-timer-card h4 {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.lp-demo-timer-card p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.lp-demo-included-title {
  font-family: 'Lora', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.lp-demo-features-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.lp-demo-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
}
.lp-demo-feat > i { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.lp-df-yes > i { color: #1a6b3a; }
.lp-df-restricted > i { color: #c0392b; }
.lp-df-restricted { background: #fff8f8; border-color: #fde0e0; }
.lp-demo-feat strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.lp-demo-feat span   { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.lp-demo-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(26,74,138,0.07);
  border: 1px solid rgba(26,74,138,0.18);
  border-radius: var(--radius);
}
.lp-demo-notice > i { font-size: 18px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.lp-demo-notice strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.lp-demo-notice p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Demo Form Card */
.lp-demo-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  margin-bottom: 20px;
}
.lp-demo-form-card h3 {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.lp-demo-form-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.lp-df-field { margin-bottom: 16px; }
.lp-df-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin-bottom: 6px;
}
.lp-df-input-wrap { position: relative; }
.lp-df-input-wrap > i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #bbb;
  pointer-events: none;
  z-index: 1;
}
.lp-df-input-wrap input,
.lp-df-input-wrap select {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  background: var(--paper);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none;
}
.lp-df-input-wrap input:focus,
.lp-df-input-wrap select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,148,42,0.12);
  background: var(--white);
}
.lp-df-input-wrap input::placeholder { color: #bbb; }
.lp-df-select-wrap .lp-select-arrow {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #bbb;
  pointer-events: none;
}
.lp-optional { color: #bbb; font-weight: 400; font-size: 11px; text-transform: none; letter-spacing: 0; }
.lp-demo-submit {
  width: 100%;
  padding: 14px;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  transition: background 0.2s, transform 0.15s;
}
.lp-demo-submit:hover { background: var(--dark2); transform: translateY(-1px); }
.lp-demo-terms { font-size: 11.5px; color: #bbb; text-align: center; line-height: 1.6; }

.lp-demo-roles-preview {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
}
.lp-drp-title { font-size: 12px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 14px; }
.lp-drp-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-drp-role {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 99px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
}
.lp-drp-role i { font-size: 13px; color: var(--gold2); }

/* ── CTA ────────────────────────────────────────────────── */
.lp-cta {
  background: linear-gradient(135deg, var(--dark3) 0%, var(--dark2) 100%);
  padding: 80px 0;
}
.lp-cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.lp-cta-icon-wrap {
  width: 64px; height: 64px;
  background: rgba(200,148,42,0.18);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--gold2);
  margin: 0 auto 24px;
}
.lp-cta h2 {
  font-family: 'Lora', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.25;
}
.lp-cta p { font-size: 15px; color: rgba(255,255,255,0.55); margin-bottom: 36px; line-height: 1.7; }
.lp-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}
.lp-btn-cta-primary:hover { background: var(--gold2); transform: translateY(-1px); }
.lp-btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
}
.lp-btn-cta-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ── FOOTER ─────────────────────────────────────────────── */
.lp-footer {
  background: var(--dark3);
  padding: 64px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.lp-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.lp-footer-logo img { width: 36px; height: 36px; border-radius: 8px; background: #fff; padding: 4px; object-fit: contain; }
.lp-footer-logo-name { display: block; font-family: 'Lora', serif; font-size: 15px; font-weight: 700; color: #fff; }
.lp-footer-logo-sub  { display: block; font-size: 10px; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.5px; }
.lp-footer-tagline { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 16px; }
.lp-footer-contact { display: flex; flex-direction: column; gap: 8px; }
.lp-footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.lp-footer-contact a:hover { color: var(--gold2); }
.lp-footer-contact a i { font-size: 13px; }
.lp-footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.lp-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.lp-footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.lp-footer-col ul li a:hover { color: var(--gold2); }
.lp-footer-col ul li:not(:has(a)) { font-size: 13px; color: rgba(255,255,255,0.3); }
.lp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
}
.lp-footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.3); line-height: 1.7; }
.lp-footer-bottom strong { color: var(--gold2); }
.lp-footer-legal { margin-top: 4px; font-size: 11px !important; }


/* ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
  .lp-hero .lp-container { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
  .lp-hero-content { text-align: center; }
  .lp-hero-desc { margin-left: auto; margin-right: auto; }
  .lp-hero-actions { justify-content: center; }
  .lp-hero-stats { justify-content: center; }

  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-steps-grid { grid-template-columns: repeat(2, 1fr); }

  .lp-pricing-layout { grid-template-columns: 1fr; }
  /* lp-pricing-aside removed — calc-only layout remains centred */

  .lp-demo-layout { grid-template-columns: 1fr; }

  .lp-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── Mobile (≤ 768px) ──────────────────────────────────── */
@media (max-width: 768px) {
  .lp-nav-inner { height: 60px; padding: 0 16px; gap: 0; }
  .lp-hamburger { display: flex; align-items: center; justify-content: center; margin-left: auto; }

  /* Hide desktop nav links — shown only as drawer when .open */
  /* IMPORTANT: drawer uses body-level fixed positioning via JS (appended to <body>).
     z-index here is applied once the element moves outside the nav stacking context. */
  .lp-nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 280px;
    height: 100vh;
    background: #0d1a10;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    list-style: none;
    z-index: 10002;
    box-shadow: 4px 0 32px rgba(0,0,0,0.7);
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  }
  .lp-nav-links.open {
    display: flex;
    transform: translateX(0);
  }

  /* Drawer top bar with title + close button */
  .lp-drawer-top {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 20px;
    height: 60px;
    min-height: 60px;
    background: #0a1509;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
  }
  .lp-drawer-title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1.4px;
  }
  .lp-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.07);
    border: none;
    border-radius: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 17px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .lp-drawer-close:hover { background: rgba(255,255,255,0.13); color: #fff; }

  /* Nav link items - larger tap targets for mobile */
  .lp-nav-links li a {
    display: block !important;
    width: 100% !important;
    padding: 16px 20px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.78) !important;
    background: transparent !important;
    text-align: left !important;
    box-shadow: none !important;
    transition: background 0.2s, color 0.2s !important;
    -webkit-tap-highlight-color: transparent;
  }
  .lp-nav-links li a:hover,
  .lp-nav-links li a:active {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
  }

  /* Login button - better visibility and tap target */
  .lp-nav-links li a.lp-btn-outline {
    margin: 16px 16px 0 !important;
    width: calc(100% - 32px) !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    border: 1.5px solid rgba(255,255,255,0.3) !important;
    color: rgba(255,255,255,0.9) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-align: center !important;
    background: transparent !important;
  }
  .lp-nav-links li a.lp-btn-outline:hover,
  .lp-nav-links li a.lp-btn-outline:active {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
    background: rgba(200,148,42,0.1) !important;
  }

  /* Get Started button - prominent and easy to tap */
  .lp-nav-links li a.lp-btn-primary {
    display: block !important;
    margin: 12px 16px 24px !important;
    width: calc(100% - 32px) !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    border: none !important;
    background: var(--gold) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-align: center !important;
    box-shadow: 0 4px 16px rgba(200,148,42,0.4) !important;
  }
  .lp-nav-links li a.lp-btn-primary:hover,
  .lp-nav-links li a.lp-btn-primary:active { 
    background: var(--gold2) !important; 
    box-shadow: 0 6px 20px rgba(200,148,42,0.5) !important;
  }

  /* Overlay backdrop — lives in <body>, outside nav stacking context */
  .lp-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.28s ease;
  }
  .lp-nav-overlay.open {
    display: block;
    opacity: 1;
  }

  .lp-hero { padding: 80px 0 48px; }
  .lp-hero .lp-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* Content first, mockup below */
  .lp-hero-content { order: 1; text-align: center; width: 100%; }
  .lp-hero-visual  { order: 2; display: block; width: 100%; max-width: 100%; overflow: hidden; }

  .lp-mockup-url { font-size: 10px; }

  /* Scale mockup proportionally — clamp internal widths to viewport */
  .lp-dashboard-mockup { width: 100%; max-width: 100%; overflow: hidden; }
  .lp-mockup-body { height: 240px; min-height: 200px; }
  .lp-mockup-sidebar { width: 90px; min-width: 70px; padding: 10px 8px; }
  .lp-mockup-logo-row { gap: 4px; margin-bottom: 12px; }
  .lp-mockup-logo-icon { width: 18px; height: 18px; }
  .lp-mockup-nav-item { padding: 5px 4px; gap: 4px; }
  .lp-mockup-nav-icon { width: 8px; height: 8px; }
  .lp-mockup-line.lp-line-xs  { width: min(28px, 100%); }
  .lp-mockup-line.lp-line-sm  { width: min(36px, 100%); }
  .lp-mockup-line.lp-line-md  { width: min(42px, 100%); }
  .lp-mockup-line.lp-line-lg  { width: min(50px, 100%); }
  .lp-mockup-line.lp-line-xl  { width: min(32px, 100%); height: 14px; }
  .lp-mockup-stat-card { padding: 7px; }
  .lp-mockup-main { padding: 10px; overflow: hidden; }
  .lp-mockup-stats-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .lp-mockup-table-head { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4px; padding: 6px 8px; }
  .lp-mockup-table-row { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4px; padding: 6px 8px; }
  .lp-grade-chip { font-size: 8px; padding: 2px 4px; }
  .lp-float-1, .lp-float-2 { display: none; }

  .lp-hero-badge { font-size: 11.5px; }
  .lp-hero-title { font-size: 26px; line-height: 1.25; }
  .lp-hero-desc {
    font-size: 14px;
    margin-left: auto; margin-right: auto;
    max-width: 100%;
    padding: 0;
  }
  .lp-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 32px;
    box-sizing: border-box;
  }
  .lp-btn-hero-primary,
  .lp-btn-hero-outline {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 14px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lp-hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .lp-stat-num { font-size: 20px; }
  .lp-stat-label { font-size: 10.5px; white-space: normal; text-align: center; }

  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-steps-grid    { grid-template-columns: 1fr; }

  .lp-hiw-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .lp-hiw-tab { justify-content: center; }

  .lp-footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .lp-cta-actions { flex-direction: column; align-items: center; }
  .lp-btn-cta-primary, .lp-btn-cta-outline { width: 100%; justify-content: center; }

  .lp-demo-form-card { padding: 24px 18px; }
}

/* ── Small Mobile (≤ 480px) ────────────────────────────── */
@media (max-width: 480px) {
  .lp-container { padding: 0 16px; }
  .lp-hero { padding: 76px 0 44px; }
  .lp-hero-title { font-size: 23px; line-height: 1.3; }
  .lp-hero-badge { font-size: 11px; padding: 5px 10px; }
  .lp-hero-desc { font-size: 13.5px; line-height: 1.6; max-width: 100%; }
  .lp-hero-stats { gap: 12px; }
  .lp-stat-num { font-size: 18px; }
  .lp-stat-label { font-size: 9.5px; max-width: 80px; }
  .lp-section-title { font-size: 22px; }
  
  /* Mobile menu drawer - narrower on small screens */
  .lp-nav-links {
    width: 260px;
  }
  
  /* Larger tap targets for navigation links */
  .lp-nav-links li a {
    padding: 17px 18px !important;
    font-size: 14.5px !important;
  }
  
  .lp-nav-links li a.lp-btn-outline,
  .lp-nav-links li a.lp-btn-primary {
    padding: 15px 16px !important;
    font-size: 14.5px !important;
  }
  
  /* Smaller mockup for very small screens */
  .lp-mockup-body { height: 200px; }
  .lp-mockup-sidebar { width: 70px; min-width: 60px; padding: 8px 6px; }
  .lp-mockup-logo-icon { width: 16px; height: 16px; }
  .lp-mockup-nav-item { padding: 4px 3px; gap: 3px; }
  .lp-mockup-nav-icon { width: 7px; height: 7px; }
  .lp-mockup-line.lp-line-xs  { width: min(20px, 100%); height: 4px; }
  .lp-mockup-line.lp-line-sm  { width: min(28px, 100%); height: 4px; }
  .lp-mockup-line.lp-line-md  { width: min(32px, 100%); height: 4px; }
  .lp-mockup-line.lp-line-lg  { width: min(38px, 100%); height: 4px; }
  .lp-mockup-line.lp-line-xl  { width: min(28px, 100%); height: 12px; }
  .lp-mockup-main { padding: 8px; }
  .lp-mockup-stats-row { gap: 5px; margin-bottom: 10px; }
  .lp-mockup-stat-card { padding: 6px; }
  .lp-mockup-table-head { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3px; padding: 5px 6px; font-size: 7px; }
  .lp-mockup-table-row { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3px; padding: 5px 6px; }
  .lp-mockup-table { margin-bottom: 8px; }
  .lp-grade-chip { font-size: 7px; padding: 1px 3px; }
  .lp-mockup-btn-row { gap: 4px; }
  .lp-mockup-btn { height: 18px; }
  .lp-mockup-bar { padding: 8px 12px; }
  .lp-dot { width: 8px; height: 8px; }
  .lp-mockup-url { font-size: 9px; margin-left: 6px; }
  
  /* Hero buttons - ensure no overflow */
  .lp-btn-hero-primary,
  .lp-btn-hero-outline {
    padding: 12px 16px;
    font-size: 13px;
    gap: 6px;
  }
  .lp-btn-hero-primary i,
  .lp-btn-hero-outline i {
    font-size: 12px;
  }
  
  .lp-pricing-table { font-size: 12px; }
  .lp-pricing-table th,
  .lp-pricing-table td { padding: 9px 10px; }
  .lp-demo-timer-card { flex-direction: column; gap: 10px; }
  .lp-drp-roles { gap: 6px; }
}

/* ── Wide screen note for demo ─────────────────────────── */
.lp-widescreen-notice {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--dark);
  padding: 40px 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}
.lp-widescreen-notice.show { display: flex; }
.lp-widescreen-notice i { font-size: 48px; color: var(--gold2); }
.lp-widescreen-notice h2 { font-family: 'Lora', serif; font-size: 22px; font-weight: 700; color: #fff; }
.lp-widescreen-notice p { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 360px; line-height: 1.7; }
.lp-widescreen-notice a {
  padding: 12px 28px;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
}

/* ── DEMO FORM ALERT ─────────────────────────────────────── */
.lp-demo-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.lp-da-error {
  background: #fff0f0;
  border: 1.5px solid #fcc;
  color: #8b1a1a;
}
.lp-da-error i { color: #c0392b; flex-shrink: 0; margin-top: 2px; }
.lp-da-success {
  background: #f0fff4;
  border: 1.5px solid #b2dfcc;
  color: #1a5c2a;
}
.lp-da-success i { color: #1a6b3a; flex-shrink: 0; margin-top: 2px; }

/* ── Extra Small Mobile ≤ 375px ───────────────────────── */
@media (max-width: 375px) {
  .lp-hero-title { font-size: 21px; }
  .lp-hero-desc { font-size: 13px; }
  .lp-hero-badge { font-size: 10.5px; padding: 4px 9px; }
  
  /* Smaller drawer width for tiny screens */
  .lp-nav-links {
    width: 240px;
  }
  
  /* Maintain good tap targets */
  .lp-nav-links li a {
    padding: 16px 16px !important;
    font-size: 14px !important;
  }
  
  .lp-nav-links li a.lp-btn-outline,
  .lp-nav-links li a.lp-btn-primary {
    padding: 14px 14px !important;
    font-size: 14px !important;
  }
  
  .lp-mockup-body { height: 180px; }
  .lp-mockup-sidebar { width: 60px; min-width: 55px; padding: 6px 4px; }
  .lp-mockup-main { padding: 6px; }
  .lp-mockup-logo-icon { width: 14px; height: 14px; }
  .lp-mockup-stats-row { gap: 4px; }
  .lp-mockup-stat-card { padding: 5px; }
  .lp-mockup-line.lp-line-xl { width: min(24px, 100%); height: 10px; }
  .lp-grade-chip { font-size: 6px; padding: 1px 2px; }
  .lp-mockup-btn { height: 16px; }
  
  .lp-btn-hero-primary,
  .lp-btn-hero-outline {
    padding: 11px 14px;
    font-size: 12.5px;
  }
  
  .lp-hero-stats { gap: 10px; }
  .lp-stat-num { font-size: 16px; }
  .lp-stat-label { font-size: 9px; max-width: 70px; }
}

/* ── SMALL MOBILE ≤ 480px (additional) ───────────────────── */
@media (max-width: 480px) {
  .lp-hiw-tab { padding: 10px 16px; font-size: 13px; }
  .lp-step { padding: 24px 16px; }
  .lp-step-num { font-size: 10px; }
  .lp-feature-card { padding: 22px 18px; }
  .lp-pc-header { padding: 14px 16px; gap: 10px; }
  .lp-calc-form { padding: 14px 14px 18px; }
  .lp-demo-feat { padding: 10px 12px; }
  .lp-demo-timer-card { padding: 14px; }
  .lp-footer-logo-name { font-size: 13px; }
}
