/* ==========================================================================
   LeaseExact Flagship Design System (Kluvan + CreekPOS Hybrid Craft)
   Palette:
     - Electric Indigo (#4F46E5) — Primary Action & Precision Math
     - Sunset Coral    (#EA580C) — Warm Accent, Highlights & Badges
     - Carbon Ink      (#18181B) — High-Contrast Editorial Typography & Borders
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plex-arabic-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plex-arabic-600.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/plex-arabic-700.woff2') format('woff2');
}

:root {
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-warm: #FFF7ED;
  --bg-tint: #EEF2FF;
  --surface: #FFFFFF;
  --surface-dark: #18181B;

  --ink: #18181B;
  --ink-2: #3F3F46;
  --ink-mute: #64748B;
  --border: #E4E4E7;
  --border-strong: #D4D4D8;

  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-deep: #312E81;
  --primary-soft: #EEF2FF;
  --primary-ring: rgba(79, 70, 229, 0.22);

  --coral: #EA580C;
  --coral-hover: #C2410C;
  --coral-soft: #FFF7ED;
  --coral-border: #FDBA74;

  --ok: #15803D;
  --ok-soft: #DCFCE7;
  --info: #1D4ED8;
  --info-soft: #DBEAFE;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(24, 24, 27, 0.05);
  --shadow-sm: 0 6px 18px -4px rgba(24, 24, 27, 0.07), 0 2px 6px -1px rgba(24, 24, 27, 0.04);
  --shadow-md: 0 18px 40px -12px rgba(24, 24, 27, 0.12), 0 4px 14px -4px rgba(24, 24, 27, 0.06);
  --shadow-lg: 0 28px 64px -16px rgba(24, 24, 27, 0.18), 0 8px 24px -6px rgba(79, 70, 229, 0.10);

  --container: 1260px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Inter', Tahoma, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[dir="rtl"] body {
  font-family: var(--font-ar);
  line-height: 1.75;
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.16;
  margin: 0 0 0.55em;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  letter-spacing: 0;
  line-height: 1.32;
}

h1 { font-size: clamp(2.15rem, 3.8vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.45rem); }
h3 { font-size: clamp(1.18rem, 1.7vw, 1.42rem); }
h4 { font-size: 1.06rem; }

p {
  margin: 0 0 1rem;
  color: var(--ink-2);
}

.num, [dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}

.container {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }
}

.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 16px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 9999;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

/* Top Brand Accent Ribbon */
.brand-ribbon {
  height: 4px;
  background: linear-gradient(90deg, #4F46E5 0%, #6366F1 48%, #EA580C 100%);
}

/* Sticky Header & Mega-Menu */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
details.dd > summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  white-space: nowrap;
}

details.dd > summary::-webkit-details-marker {
  display: none;
}

.nav-link:hover,
.nav-link.active,
details.dd[open] > summary,
details.dd > summary:hover {
  background: var(--bg-soft);
  color: var(--primary);
}

details.dd {
  position: relative;
}

.dd-panel {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  width: 580px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  z-index: 200;
}

.dd-panel.narrow {
  width: 340px;
  grid-template-columns: 1fr;
}

.dd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  transition: background 0.15s ease;
}

.dd-item:hover {
  background: var(--primary-soft);
}

.dd-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.dd-item.coral .dd-icon {
  background: var(--coral-soft);
  color: var(--coral);
}

.dd-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.dd-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-mute);
  line-height: 1.38;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.region-select {
  height: 38px;
  padding-inline: 10px 26px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding-inline: 12px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
}

.lang-switch:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 11px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.16s ease;
}

.btn-sm {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 0.86rem;
  border-radius: 9px;
}

.btn-lg {
  min-height: 50px;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 13px;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.45);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-coral {
  background: var(--coral);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -6px rgba(234, 88, 12, 0.4);
}
.btn-coral:hover {
  background: var(--coral-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-outline {
  background: #FFFFFF;
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--primary);
}

/* Mobile Menu Button & Drawer */
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: #FFFFFF;
  padding: 16px 0 22px;
  box-shadow: var(--shadow-md);
}
.mobile-nav[hidden] {
  display: none !important;
}
.mobile-nav-grid {
  display: grid;
  gap: 8px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  background: var(--bg-soft);
}
.mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 1080px) {
  .primary-nav,
  .header-actions .hide-mobile {
    display: none !important;
  }
  .menu-btn {
    display: inline-flex;
  }
}

/* Hero Section with Motion Canvas */
.hero {
  position: relative;
  padding: 52px 0 64px;
  background:
    radial-gradient(circle at 14% 18%, rgba(79, 70, 229, 0.08), transparent 42%),
    radial-gradient(circle at 86% 80%, rgba(234, 88, 12, 0.07), transparent 42%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.workspace-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Badges & Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid #C7D2FE;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.eyebrow.coral {
  background: var(--coral-soft);
  border-color: var(--coral-border);
  color: var(--coral-hover);
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--ink-2);
  margin-bottom: 22px;
  max-width: 62ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

/* 1-Click Consumer Sign-Up Box in Hero */
.quick-signup-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  max-width: 560px;
}

.quick-signup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.social-signup-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 8px;
}

@media (max-width: 600px) {
  .social-signup-row {
    grid-template-columns: 1fr;
  }
}

.oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.oauth-btn:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.oauth-btn.google {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.oauth-btn.google:hover {
  background: var(--primary-hover);
  color: #FFFFFF;
}

.quick-signup-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 0.79rem;
  color: var(--ink-mute);
}

/* CreekPOS + Kluvan Device Stage (Desktop Window + Overlapping Mobile Phone + 3D Sticker) */
.device-stage {
  position: relative;
  padding-bottom: 24px;
}

.device-window {
  background: #FFFFFF;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #F4F4F5;
  border-bottom: 1px solid var(--border-strong);
}

.device-dots {
  display: inline-flex;
  gap: 6px;
}

.device-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D4D4D8;
}
.device-dots span:nth-child(1) { background: #EF4444; }
.device-dots span:nth-child(2) { background: #F59E0B; }
.device-dots span:nth-child(3) { background: #10B981; }

.device-url {
  flex: 1;
  max-width: 340px;
  margin-inline: auto;
  padding: 4px 12px;
  border-radius: 7px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-mute);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-window img {
  display: block;
  width: 100%;
  height: auto;
}

.device-phone {
  position: absolute;
  bottom: -6px;
  inset-inline-end: -14px;
  width: clamp(145px, 26%, 205px);
  background: #FFFFFF;
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(24, 24, 27, 0.28);
  overflow: hidden;
  z-index: 3;
}

.device-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.device-art-badge {
  position: absolute;
  top: -18px;
  inset-inline-start: -16px;
  width: 88px;
  height: 88px;
  background: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 4;
}

.device-art-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 680px) {
  .device-phone {
    position: relative;
    bottom: auto;
    inset-inline-end: auto;
    width: 210px;
    margin: -28px auto 0;
  }
  .device-art-badge {
    width: 64px;
    height: 64px;
    top: -10px;
    inset-inline-start: 8px;
  }
}

/* Kluvan Screenshot Figure with Caption */
figure.media-screenshot {
  margin: 0;
  background: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

figure.media-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption.screen-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
}

.screen-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
}

/* Trust & Region Strip */
.trust-strip {
  padding: 20px 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.region-pill:hover,
.region-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* Sections */
.section {
  padding: 76px 0;
}

.section.soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section.tint {
  background: linear-gradient(180deg, #EEF2FF 0%, #FFFFFF 100%);
  border-top: 1px solid #E0E7FF;
  border-bottom: 1px solid var(--border);
}

.section.warm {
  background: linear-gradient(180deg, #FFF7ED 0%, #FFFFFF 100%);
  border-top: 1px solid #FFEDD5;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 720px) {
  .section {
    padding: 52px 0;
  }
}

.section-head {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head p {
  font-size: 1.08rem;
  color: var(--ink-2);
}

/* Alternating Feature Rows (.feature-row & .feature-row.flip) */
.feature-stack {
  display: grid;
  gap: 64px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
}

.feature-row.flip .feature-copy {
  order: 2;
}
.feature-row.flip .feature-media {
  order: 1;
}

@media (max-width: 960px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-row.flip .feature-copy,
  .feature-row.flip .feature-media {
    order: unset;
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--ink-2);
}

.check-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-badge.coral {
  background: var(--coral-soft);
  color: var(--coral);
}

/* Grids & Cards */
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.steps-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1080px) {
  .steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .cards-3 { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cards-4, .steps-5 { grid-template-columns: 1fr; }
}

.card {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #A5B4FC;
}

.card-sticker {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 14px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  align-self: flex-start;
  margin-bottom: 10px;
}

/* Prompt / Outcome Story Cards */
.prompt-bubble {
  background: var(--bg-soft);
  border-inline-start: 4px solid var(--primary);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.outcome-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.87rem;
  color: #14532D;
  margin-top: auto;
}

/* Interactive 5-View Cost Calculator */
.calc-shell {
  background: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 32px;
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 920px) {
  .calc-shell { padding: 20px; }
  .calc-grid { grid-template-columns: 1fr; }
}

.slider-group {
  margin-bottom: 16px;
}

.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.slider-val {
  color: var(--primary);
  font-weight: 800;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

.receipt-panel {
  background: var(--surface-dark);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.receipt-row:last-child {
  border-bottom: 0;
}

.receipt-row strong {
  font-size: 1.15rem;
}

/* Pricing Grid */
.plan-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.plan-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  inset-inline-end: 18px;
  background: var(--coral);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.plan-price {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--ink);
  margin: 8px 0 4px;
}

/* Comparison Table */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: var(--shadow-xs);
}

table.cmp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

table.cmp-table th,
table.cmp-table td {
  padding: 14px 16px;
  text-align: start;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

table.cmp-table th {
  background: var(--bg-soft);
  font-weight: 800;
  color: var(--ink);
}

table.cmp-table tr:last-child td {
  border-bottom: 0;
}

/* FAQ Accordion (<details class="faq">) */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

details.faq {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 16px 20px;
  transition: border-color 0.15s ease;
}

details.faq[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-xs);
}

details.faq > summary {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

details.faq > summary::-webkit-details-marker {
  display: none;
}

details.faq > summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

details.faq[open] > summary::after {
  content: "−";
  background: var(--primary);
  color: #FFFFFF;
}

details.faq .faq-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, #18181B 0%, #27272A 45%, #312E81 100%);
  color: #FFFFFF;
  border-radius: 26px;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: #FFFFFF;
  margin-bottom: 10px;
}

.cta-band p {
  color: #E4E4E7;
  margin: 0;
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  .cta-band {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

/* Footer */
.site-footer {
  background: #18181B;
  color: #D4D4D8;
  padding: 64px 0 36px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: #A1A1AA;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  font-size: 0.84rem;
  color: #A1A1AA;
}
