/* =============================================
   INTELLIGENT CURRICULUM SYSTEM — LANDING.CSS
   ============================================= */

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --gold: #fbbf24;
  --gold-light: #fcd34d;
  --slate: #64748b;
  --slate-light: #94a3b8;
  --success: #22c55e;

  --wm-navy: #0c2340;
  --wm-navy2: #163556;
  --wm-teal: #0d9488;
  --wm-gold: #f59e0b;
  --wm-text: #1e293b;
  --wm-muted: #64748b;
  --wm-border: #e2e8f0;
  --wm-bg: #f8fafc;
}

/* ── RESET & BASE ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.ics-landing {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background: #f8fafc;
  overflow-x: hidden;
}

/* ── TOP NAVIGATION BAR ── */
.saas-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.15);
  z-index: 1100;
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.saas-nav.scrolled {
  padding: 10px 5%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.saas-nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
}
.saas-nav .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
}
.saas-nav .logo-text {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
}
.saas-nav .nav-links {
  display: flex;
  gap: 32px;
  font-weight: 500;
}
.saas-nav .nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}
.saas-nav .nav-links a:hover {
  color: var(--gold);
}
.saas-nav .auth-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.saas-nav .btn {
  padding: 10px 22px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.saas-nav .btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.saas-nav .btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.saas-nav .btn-primary {
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}
.saas-nav .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

/* ── HERO ── */
.hero {
  padding: 160px 5% 100px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fbbf24, #fff, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 500;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .btn {
  padding: 16px 36px;
  font-size: 1.1rem;
  min-height: 58px;
}
.hero .btn-primary {
  background: linear-gradient(135deg, #fbbf24, #fcd34d);
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}
.hero .btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: white;
}
.hero .btn:hover {
  transform: translateY(-4px);
}

/* ── FEATURES ── */
.features {
  padding: 100px 5%;
  background: white;
}
.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--navy);
}
.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto 60px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  text-align: center;
}
.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.feature-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  background: #fef9e7;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--navy);
}
.feature-card p {
  color: var(--slate);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 100px 5%;
  background: #f8fafc;
}
.flow-container {
  max-width: 1000px;
  margin: 0 auto;
}
.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.flow-step {
  background: white;
  border-radius: 16px;
  padding: 24px 20px;
  width: 180px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}
.flow-step:hover {
  transform: scale(1.05);
}
.flow-step .bubble {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: #fef3c7;
}
.flow-arrow {
  font-size: 28px;
  color: #cbd5e1;
  margin: 0 10px;
}

/* ── RESPONSIVE (non-modal) ── */
@media (max-width: 768px) {
  .saas-nav .nav-links {
    display: none;
  }
  .hero {
    padding: 120px 5% 80px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .flow {
    flex-direction: column;
    gap: 16px;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }
}
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .saas-nav {
    padding: 12px 5%;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   WELCOME MODAL — CONFLICT-PROOF OVERRIDES
   ───────────────────────────────────────────────────────────────────────────
   WHY #welcomeModal prefix on every rule:
   • v4.css duplicates ALL wm-* rules with !important, full-page layout.
   • ID + class specificity (0,1,1,0) beats class-only (0,0,1,0) even with
     both having !important — we win every conflict with zero logic change.
   ═══════════════════════════════════════════════════════════════════════════ */

.wm-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  background: var(--wm-navy);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}
.wm-skip:focus {
  left: 8px;
}

/* ── Overlay ── */
#welcomeModal {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(8, 18, 38, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9000 !important;
  padding: 14px !important;
  overflow-y: auto !important;
}

/* ── Card: compact, fits in 95vh ── */
#welcomeModal .wm-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  width: 90vw !important;
  max-width: 1100px !important;
  min-height: auto !important;
  max-height: 92vh !important;
  margin: auto !important;
  box-shadow:
    0 24px 64px rgba(12, 35, 64, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.04) !important;
  overflow: hidden !important;
  animation: wm-rise 0.35s cubic-bezier(0.22, 1, 0.36, 1) both !important;
  display: flex !important;
  flex-direction: column !important;
}

@keyframes wm-rise {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* ── Header: compact navy bar ── */
#welcomeModal .wm-header {
  background: linear-gradient(150deg, #0c2340 0%, #163556 100%) !important;
  padding: 14px 22px 12px !important;
  text-align: center !important;
  position: relative !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
  border-image: none !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
}
#welcomeModal .wm-header::before,
#welcomeModal .wm-header::after {
  display: none !important;
}

#welcomeModal .wm-header-icon {
  width: 34px !important;
  height: 34px !important;
  background: rgba(13, 148, 136, 0.15) !important;
  border: 1.5px solid rgba(13, 148, 136, 0.3) !important;
  border-radius: 9px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  color: #5eead4 !important;
  margin: 0 auto 6px !important;
  filter: none !important;
}

#welcomeModal .wm-header h1 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.2px !important;
  margin-bottom: 2px !important;
  text-shadow: none !important;
}

#welcomeModal .wm-header p {
  font-size: 0.6rem !important;
  color: rgba(255, 255, 255, 0.38) !important;
  letter-spacing: 0.9px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

/* ── Body: scrollable column ── */
#welcomeModal .wm-body {
  display: flex !important;
  flex-direction: column !important;
  padding: 14px 18px 0 !important;
  background: #ffffff !important;
  flex: 1 !important;
  overflow-y: auto !important;
  max-width: none !important;
  margin: 0 !important;
  width: auto !important;
}

/* ════════════════════════════════════════════════════
   CTA ROW — order:-1 pins it FIRST in the body column
   Three buttons in one row: Demo | Register | Sign In
   ════════════════════════════════════════════════════ */
#welcomeModal .wm-cta-row {
  order: -1 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: stretch !important;
  gap: 6px !important;
  margin-bottom: 12px !important;
  padding-top: 0 !important;
  align-items: stretch !important;
  /* Override any grid/column layout from v4.css */
  grid-template-columns: unset !important;
}

/* Teal — Demo */
#welcomeModal #wm-demo-btn {
  flex: 1 1 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: linear-gradient(135deg, #0f9b8e, #0d9488) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9px !important;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  padding: 10px 8px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.28) !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
  min-height: 40px !important;
  width: auto !important;
}
#welcomeModal #wm-demo-btn::before { display: none !important; content: none !important; }
#welcomeModal #wm-demo-btn i { display: inline-block !important; font-size: 11px !important; }
#welcomeModal #wm-demo-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 16px rgba(13, 148, 136, 0.4) !important;
}

/* Gold — Create Account */
#welcomeModal #wm-get-started {
  flex: 1.3 1 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: linear-gradient(135deg, #fcd34d, #f59e0b) !important;
  color: #0c2340 !important;
  border: none !important;
  border-radius: 9px !important;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  padding: 10px 8px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.28) !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
  min-height: 40px !important;
  width: auto !important;
}
#welcomeModal #wm-get-started::before { display: none !important; content: none !important; }
#welcomeModal #wm-get-started i { display: inline-block !important; font-size: 11px !important; }
#welcomeModal #wm-get-started:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 16px rgba(245, 158, 11, 0.4) !important;
}

/* Ghost — Sign In */
#welcomeModal .wm-btn-secondary {
  flex: 0.8 1 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  background: transparent !important;
  color: #64748b !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 9px !important;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  padding: 10px 10px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  letter-spacing: 0 !important;
  transition: all 0.18s ease !important;
  min-height: 40px !important;
  width: auto !important;
}
#welcomeModal .wm-btn-secondary:hover {
  border-color: #94a3b8 !important;
  color: #1e293b !important;
  background: #f8fafc !important;
  transform: none !important;
  box-shadow: none !important;
}
/* Remove grid-column span that was used in old layout */
#welcomeModal .wm-cta-row .wm-btn-secondary {
  grid-column: unset !important;
}

/* ── Tagline ── */
#welcomeModal .wm-tagline {
  order: 0 !important;
  text-align: center !important;
  padding-bottom: 10px !important;
  margin-bottom: 10px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
#welcomeModal .wm-tagline h2 {
  font-size: 0.87rem !important;
  font-weight: 700 !important;
  color: var(--wm-text) !important;
  margin-bottom: 2px !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
}
#welcomeModal .wm-tagline p {
  font-size: 0.68rem !important;
  color: var(--wm-muted) !important;
  max-width: none !important;
  margin: 0 !important;
}

/* ════════════════════════════════════════════════
   PRICING STRIP — dark navy, compact prominence
   4 chips in one row, price number stands out big
   ════════════════════════════════════════════════ */
#welcomeModal .wm-pricing-strip {
  order: 1 !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 5px !important;
  margin-bottom: 11px !important;
  padding: 9px !important;
  background: #0c2340 !important;
  border-radius: 12px !important;
  border: none !important;
}

#welcomeModal .wm-price-badge {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 8px 3px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border-radius: 7px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  gap: 1px !important;
  transition: background 0.15s !important;
}
#welcomeModal .wm-price-badge:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Best value badge — gold */
#welcomeModal .wm-price-badge:last-child {
  background: linear-gradient(135deg, #fcd34d, #f59e0b) !important;
  border-color: transparent !important;
}
#welcomeModal .wm-price-badge:last-child:hover {
  background: linear-gradient(135deg, #fde68a, #fcd34d) !important;
}

#welcomeModal .wm-price-name {
  display: block !important;
  font-size: 0.5rem !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.42) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  margin-bottom: 2px !important;
}

#welcomeModal .wm-price-amount {
  display: block !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  margin-bottom: 2px !important;
}

#welcomeModal .wm-price-credits {
  display: block !important;
  font-size: 0.5rem !important;
  color: rgba(255, 255, 255, 0.42) !important;
  font-weight: 500 !important;
}

/* Gold badge text overrides */
#welcomeModal .wm-price-badge:last-child .wm-price-name {
  color: rgba(12, 35, 64, 0.6) !important;
}
#welcomeModal .wm-price-badge:last-child .wm-price-amount {
  color: #0c2340 !important;
}
#welcomeModal .wm-price-badge:last-child .wm-price-credits {
  color: rgba(12, 35, 64, 0.65) !important;
  font-weight: 700 !important;
}

/* ════════════════════════════════════════════════
   BENEFITS — 3-col compact grid
   Icon + title only, no descriptions (hidden)
   ════════════════════════════════════════════════ */
#welcomeModal .wm-benefits {
  order: 2 !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 5px !important;
  margin-bottom: 11px !important;
}

#welcomeModal .wm-benefit-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 5px !important;
  padding: 9px 6px !important;
  border-radius: 9px !important;
  background: #f8fafc !important;
  border: 1px solid #f1f5f9 !important;
  transition: all 0.15s !important;
  transform: none !important;
}
#welcomeModal .wm-benefit-item:hover {
  background: #ffffff !important;
  border-color: var(--wm-border) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  transform: none !important;
}

#welcomeModal .wm-benefit-icon {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 7px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-bottom: 0 !important;
  font-size: 12px !important;
}
#welcomeModal .wm-benefit-icon i {
  font-size: 12px !important;
}

#welcomeModal .wm-benefit-title {
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  color: var(--wm-text) !important;
  line-height: 1.3 !important;
  display: block !important;
  margin-bottom: 0 !important;
}

/* Hide descriptions to save vertical space */
#welcomeModal .wm-benefit-desc {
  display: none !important;
}

/* ── How it works ── */
#welcomeModal .wm-flow-wrap {
  order: 3 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 10px !important;
}
#welcomeModal .wm-flow-label {
  font-size: 0.55rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #94a3b8 !important;
  text-align: center !important;
  margin-bottom: 6px !important;
}
#welcomeModal .wm-flow {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
  flex-wrap: nowrap !important;
}
#welcomeModal .wm-flow-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
  flex: 1 !important;
  min-width: 0 !important;
}
#welcomeModal .wm-flow-bubble {
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  flex-shrink: 0 !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}
#welcomeModal .wm-flow-step-label {
  font-size: 0.5rem !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  text-align: center !important;
  line-height: 1.2 !important;
}
#welcomeModal .wm-flow-arrow {
  font-size: 7px !important;
  color: #cbd5e1 !important;
  flex-shrink: 0 !important;
  padding-bottom: 12px !important;
  transform: none !important;
}

/* ── Footer ── */
#welcomeModal .wm-footer {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 18px !important;
  border-top: 1px solid #f1f5f9 !important;
  background: #f8fafc !important;
  text-align: left !important;
  font-size: inherit !important;
  color: inherit !important;
  flex-shrink: 0 !important;
}
#welcomeModal .wm-footer a {
  color: #16a34a !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.79rem !important;
}
#welcomeModal .wm-footer a:hover {
  text-decoration: underline !important;
}
#welcomeModal .wm-footer > span {
  font-size: 0.63rem !important;
  color: #94a3b8 !important;
  white-space: nowrap !important;
}

/* ── Mobile ── */
@media (max-width: 520px) {
  #welcomeModal .wm-card {
    border-radius: 16px !important;
    max-height: 98vh !important;
  }
  #welcomeModal .wm-header {
    padding: 12px 14px 10px !important;
  }
  #welcomeModal .wm-header h1 {
    font-size: 0.95rem !important;
  }
  #welcomeModal .wm-body {
    padding: 12px 12px 0 !important;
  }

  /* CTAs: wrap Sign In to full width on tiny screens */
  #welcomeModal .wm-cta-row {
    flex-wrap: wrap !important;
    gap: 5px !important;
  }
  #welcomeModal #wm-demo-btn,
  #welcomeModal #wm-get-started {
    flex: 1 1 40% !important;
  }
  #welcomeModal .wm-cta-row .wm-btn-secondary {
    flex: 1 1 100% !important;
    grid-column: unset !important;
    padding: 8px !important;
    min-height: 34px !important;
  }

  /* Benefits: 2-col on small screens */
  #welcomeModal .wm-benefits {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Pricing: 2x2 on small screens */
  #welcomeModal .wm-pricing-strip {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  #welcomeModal .wm-flow-bubble {
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
  }
  #welcomeModal .wm-flow-step-label {
    font-size: 0.45rem !important;
  }
  #welcomeModal .wm-footer > span {
    display: none !important;
  }
}

/* ════════════════════════════════════════════════════════
   WIDE LAYOUT — 90vw card, desktop-optimised sizing
   Kicks in above 700px (tablet landscape and up)
   ════════════════════════════════════════════════════════ */
@media (min-width: 700px) {

  /* Overlay padding tighter so card breathes */
  #welcomeModal {
    padding: 20px !important;
  }

  /* Header: more breathing room */
  #welcomeModal .wm-header {
    padding: 22px 40px 18px !important;
  }
  #welcomeModal .wm-header-icon {
    width: 44px !important; height: 44px !important; font-size: 20px !important;
  }
  #welcomeModal .wm-header h1 {
    font-size: 1.5rem !important;
  }
  #welcomeModal .wm-header p {
    font-size: 0.72rem !important;
  }

  /* Body: more padding */
  #welcomeModal .wm-body {
    padding: 22px 36px 0 !important;
  }

  /* CTA buttons — bigger text & height */
  #welcomeModal #wm-demo-btn,
  #welcomeModal #wm-get-started {
    font-size: 0.88rem !important;
    min-height: 48px !important;
    padding: 12px 16px !important;
  }
  #welcomeModal .wm-btn-secondary {
    font-size: 0.85rem !important;
    min-height: 48px !important;
  }

  /* Tagline */
  #welcomeModal .wm-tagline h2 {
    font-size: 1.1rem !important;
  }
  #welcomeModal .wm-tagline p {
    font-size: 0.82rem !important;
  }

  /* Pricing strip — bigger numbers */
  #welcomeModal .wm-pricing-strip {
    gap: 10px !important;
    padding: 14px !important;
    margin-bottom: 18px !important;
  }
  #welcomeModal .wm-price-name {
    font-size: 0.6rem !important;
  }
  #welcomeModal .wm-price-amount {
    font-size: 1.25rem !important;
  }
  #welcomeModal .wm-price-credits {
    font-size: 0.62rem !important;
  }
  #welcomeModal .wm-price-badge {
    padding: 12px 6px !important;
  }

  /* Benefits — 6 cols in one row on wide screens */
  #welcomeModal .wm-benefits {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
  }
  #welcomeModal .wm-benefit-item {
    padding: 14px 8px !important;
    gap: 8px !important;
  }
  #welcomeModal .wm-benefit-icon {
    width: 36px !important; height: 36px !important; font-size: 15px !important;
  }
  #welcomeModal .wm-benefit-icon i { font-size: 15px !important; }
  #welcomeModal .wm-benefit-title {
    font-size: 0.7rem !important;
  }

  /* Flow — bigger bubbles, more gap */
  #welcomeModal .wm-flow-wrap {
    margin-bottom: 16px !important;
  }
  #welcomeModal .wm-flow-label {
    font-size: 0.65rem !important; margin-bottom: 10px !important;
  }
  #welcomeModal .wm-flow {
    gap: 4px !important;
  }
  #welcomeModal .wm-flow-bubble {
    width: 46px !important; height: 46px !important; font-size: 20px !important;
  }
  #welcomeModal .wm-flow-step-label {
    font-size: 0.65rem !important;
  }
  #welcomeModal .wm-flow-arrow {
    font-size: 11px !important;
  }

  /* Footer */
  #welcomeModal .wm-footer {
    padding: 14px 36px !important;
  }
}

/* Ultra-wide: 3-col benefits become descriptive again */
@media (min-width: 900px) {
  #welcomeModal .wm-benefit-desc {
    display: block !important;
    font-size: 0.62rem !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    margin-top: 2px !important;
  }
  #welcomeModal .wm-benefits {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  #welcomeModal .wm-benefit-item {
    padding: 16px 12px !important;
  }
}
