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

:root {
  --blue:        #1565C0;
  --blue-dark:   #0D47A1;
  --blue-light:  #1976D2;
  --blue-pale:   #E3F0FB;
  --orange:      #FF8C00;
  --orange-dark: #E65100;
  --bg:          #EEF4FB;
  --bg2:         #E0EDF8;
  --white:       #FFFFFF;
  --text:        #1A2B4A;
  --text-mid:    #3D5475;
  --text-soft:   #6B82A0;
  --card-shadow: 0 4px 32px rgba(21,101,192,0.10);
  --card-shadow-hover: 0 12px 48px rgba(21,101,192,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAVBAR ─────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--blue);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
  box-shadow: 0 2px 16px rgba(13,71,161,0.25);
}
.nav-logo {
  font-weight: 700; font-size: 20px; letter-spacing: 0.04em;
  color: white; text-decoration: none;
  display: flex; align-items: center;
}
.nav-logo svg { display: block; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.88); text-decoration: none;
  font-size: 15px; font-weight: 500; transition: color 0.15s;
}
.nav-links a:hover { color: white; }
.nav-demo-link {
  color: #FFD54F !important; font-weight: 700 !important;
  border: 1px solid rgba(255,213,79,0.4); border-radius: 20px;
  padding: 4px 14px !important;
  transition: all 0.15s !important;
}
.nav-demo-link:hover {
  background: rgba(255,213,79,0.15) !important;
  border-color: rgba(255,213,79,0.8) !important;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-nav-login {
  color: white; text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 8px 20px; border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 8px; transition: all 0.15s;
}
.btn-nav-login:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-nav-signup {
  background: var(--orange); color: white; text-decoration: none;
  font-size: 14px; font-weight: 700; padding: 8px 22px; border-radius: 8px;
  transition: all 0.15s; box-shadow: 0 2px 8px rgba(255,140,0,0.35);
}
.btn-nav-signup:hover {
  background: var(--orange-dark); transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,140,0,0.4);
}

/* ── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 60%, #42A5F5 100%);
  padding: 96px 48px 128px; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(13,71,161,0.4) 0%, transparent 50%);
}
.hero::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.12);
}
.hero-inner {
  position: relative; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px; padding: 5px 14px; font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.9); letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow span { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.hero h1 {
  font-family: 'DM Serif Display', serif; font-size: 52px;
  line-height: 1.1; color: white; margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: #FFD54F; }
.hero-sub {
  font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.82);
  margin-bottom: 36px; max-width: 480px;
}
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange); color: white; text-decoration: none;
  font-size: 15px; font-weight: 700; padding: 14px 32px; border-radius: 10px;
  box-shadow: 0 4px 20px rgba(255,140,0,0.45); transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  background: var(--orange-dark); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,140,0,0.5);
}
.btn-ghost {
  color: white; text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 14px 24px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.4);
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.1); }
.hero-trust {
  margin-top: 40px; display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.65);
}
.hero-trust-dots { display: flex; }
.hero-trust-dots span {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--blue);
  background: linear-gradient(135deg, #90CAF9, #1565C0); margin-left: -6px;
}

/* Hero dashboard card */
.hero-visual { position: relative; }
.hero-card {
  background: white; border-radius: 20px;
  box-shadow: 0 24px 80px rgba(13,71,161,0.35); overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-12px) rotate(-1deg); }
}
.hc-topbar {
  background: var(--blue-dark); padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
}
.hc-dot { width: 10px; height: 10px; border-radius: 50%; }
.hc-dot.r { background: #FF5F57; }
.hc-dot.y { background: #FFBD2E; }
.hc-dot.g { background: #28C840; }
.hc-title { color: rgba(255,255,255,0.7); font-size: 12px; margin-left: 8px; }
.hc-body { padding: 20px; }
.hc-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 8px; margin-bottom: 8px;
  background: var(--bg); transition: background 0.15s;
}
.hc-row:hover { background: var(--blue-pale); }
.hc-row-left { display: flex; align-items: center; gap: 10px; }
.hc-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.hc-name { font-size: 13px; font-weight: 600; color: var(--text); }
.hc-sub  { font-size: 11px; color: var(--text-soft); }
.rag { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.rag.green { background: #43A047; box-shadow: 0 0 6px rgba(67,160,71,0.5); }
.rag.amber { background: #FB8C00; box-shadow: 0 0 6px rgba(251,140,0,0.5); }
.rag.red   { background: #E53935; box-shadow: 0 0 6px rgba(229,57,53,0.5); }
.hc-progress-wrap { flex: 1; max-width: 80px; margin: 0 12px; }
.hc-progress-bar  { height: 4px; background: #E0E7EF; border-radius: 4px; overflow: hidden; }
.hc-progress-fill { height: 100%; border-radius: 4px; }
.hc-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.hc-stat { background: var(--blue-pale); border-radius: 10px; padding: 10px; text-align: center; }
.hc-stat-num   { font-size: 20px; font-weight: 700; color: var(--blue); }
.hc-stat-label { font-size: 10px; color: var(--text-soft); margin-top: 2px; }
.hero-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: white; border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(21,101,192,0.2);
  display: flex; align-items: center; gap: 10px;
  animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.hb-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--orange), #FFB300);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.hb-text { font-size: 12px; font-weight: 700; color: var(--text); }
.hb-sub  { font-size: 10px; color: var(--text-soft); }

/* ── INTRO ───────────────────────────────────────── */
.intro {
  max-width: 1100px; margin: -64px auto 0;
  padding: 0 48px; position: relative; z-index: 10;
}
.intro-card {
  background: white; border-radius: 20px;
  padding: 48px 56px; box-shadow: var(--card-shadow);
}
.intro-card p { font-size: 17px; line-height: 1.8; color: var(--text-mid); max-width: 820px; }
.intro-card p + p { margin-top: 16px; }

/* ── FEATURE HIGHLIGHT ───────────────────────────── */
.feature-highlight { max-width: 1100px; margin: 48px auto; padding: 0 48px; }
.fh-card {
  background: linear-gradient(135deg, var(--blue-pale) 0%, #D6E8F8 100%);
  border-radius: 24px; padding: 56px 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.fh-left h2 {
  font-family: 'DM Serif Display', serif; font-size: 40px;
  line-height: 1.15; color: var(--blue); margin-bottom: 20px;
}
.fh-left p { font-size: 16px; line-height: 1.75; color: var(--text-mid); margin-bottom: 28px; }
.hex-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.hex-item {
  background: white; border-radius: 16px; padding: 16px 12px; text-align: center;
  box-shadow: 0 2px 12px rgba(21,101,192,0.10); transition: all 0.2s; cursor: default;
}
.hex-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(21,101,192,0.18); }
.hex-item .hi-icon  { font-size: 24px; margin-bottom: 6px; }
.hex-item .hi-label { font-size: 10px; font-weight: 600; color: var(--text-soft); line-height: 1.3; }

/* ── FEATURES GRID ───────────────────────────────── */
.features { max-width: 1100px; margin: 0 auto 64px; padding: 0 48px; }
.section-label {
  text-align: center; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-title {
  font-family: 'DM Serif Display', serif; font-size: 38px;
  text-align: center; color: var(--text); margin-bottom: 12px; line-height: 1.2;
}
.section-sub {
  text-align: center; font-size: 16px; color: var(--text-soft);
  margin-bottom: 48px; max-width: 560px; margin-left: auto; margin-right: auto;
}
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-card {
  background: white; border-radius: 18px; padding: 32px 28px;
  box-shadow: var(--card-shadow); transition: all 0.25s; border: 1.5px solid transparent;
}
.feature-card:hover {
  transform: translateY(-4px); box-shadow: var(--card-shadow-hover);
  border-color: var(--blue-pale);
}
.fc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.fc-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.fc-desc  { font-size: 14px; line-height: 1.7; color: var(--text-soft); }

/* ── PRICING ─────────────────────────────────────── */
.pricing { background: linear-gradient(180deg, var(--bg) 0%, white 100%); padding: 80px 48px; }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.plans-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-top: 48px; }
.plan-card {
  background: white; border-radius: 18px; padding: 28px 20px;
  box-shadow: var(--card-shadow); border: 1.5px solid #E0EDF8;
  display: flex; flex-direction: column; transition: all 0.2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.plan-card.featured {
  background: var(--blue); border-color: var(--blue); transform: scale(1.04);
}
.plan-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.plan-name {
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: 4px;
}
.plan-card.featured .plan-name { color: rgba(255,255,255,0.7); }
.plan-price { font-family: 'DM Serif Display', serif; font-size: 32px; color: var(--text); margin-bottom: 2px; }
.plan-card.featured .plan-price { color: white; }
.plan-price span { font-size: 14px; font-family: 'DM Sans', sans-serif; font-weight: 400; }
.plan-users {
  font-size: 12px; color: var(--text-soft); margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid #E0EDF8;
}
.plan-card.featured .plan-users { color: rgba(255,255,255,0.6); border-bottom-color: rgba(255,255,255,0.2); }
.plan-features { list-style: none; flex: 1; margin-bottom: 20px; }
.plan-features li {
  font-size: 12px; color: var(--text-mid); padding: 5px 0;
  display: flex; align-items: flex-start; gap: 7px; line-height: 1.4;
}
.plan-card.featured .plan-features li { color: rgba(255,255,255,0.85); }
.plan-features li::before {
  content: '✓'; color: var(--blue); font-weight: 700; font-size: 11px;
  margin-top: 1px; flex-shrink: 0;
}
.plan-card.featured .plan-features li::before { color: #FFD54F; }
.plan-cta {
  display: block; text-align: center; padding: 10px; border-radius: 10px;
  font-size: 13px; font-weight: 700; text-decoration: none; transition: all 0.15s;
  background: var(--blue-pale); color: var(--blue);
}
.plan-cta:hover { background: #BBDEFB; }
.plan-card.featured .plan-cta {
  background: var(--orange); color: white; box-shadow: 0 4px 16px rgba(255,140,0,0.4);
}
.plan-card.featured .plan-cta:hover { background: var(--orange-dark); }

/* ── METHODOLOGY ─────────────────────────────────── */
.methodology { background: var(--blue-dark); padding: 64px 48px; }
.methodology-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: center;
}
.methodology h2 {
  font-family: 'DM Serif Display', serif; font-size: 36px;
  color: white; line-height: 1.2; margin-bottom: 16px;
}
.methodology p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.method-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.method-pill {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px; padding: 14px 20px;
  display: flex; align-items: center; gap: 10px; transition: all 0.2s; cursor: default;
}
.method-pill:hover {
  background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}
.mp-icon { font-size: 22px; }
.mp-name { font-size: 14px; font-weight: 600; color: white; }
.mp-desc { font-size: 11px; color: rgba(255,255,255,0.55); }

/* ── CTA BANNER ──────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #1976D2 100%);
  padding: 80px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.cta-banner-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-banner h2 {
  font-family: 'DM Serif Display', serif; font-size: 44px;
  color: white; margin-bottom: 16px; line-height: 1.15;
}
.cta-banner p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 36px; line-height: 1.6; }
.cta-banner-actions { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────── */
footer { background: var(--text); padding: 56px 48px 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-name { font-weight: 700; font-size: 18px; color: white; letter-spacing: 0.04em; margin-bottom: 12px; }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 260px; }
.footer-col-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 13px; color: rgba(255,255,255,0.6);
  text-decoration: none; margin-bottom: 10px; transition: color 0.15s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.3);
}

/* ── ANIMATIONS ──────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── DEMO TOUR ───────────────────────────────────── */
.tour-overlay {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(10,25,60,0.82);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.tour-overlay.open { opacity: 1; visibility: visible; }
.tour-modal {
  background: var(--bg); border-radius: 24px;
  width: 100%; max-width: 960px;
  height: 88vh; min-height: 560px;
  display: flex; flex-direction: column;
  box-shadow: 0 40px 100px rgba(10,25,60,0.5);
  transform: translateY(32px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1);
  overflow: hidden;
}
.tour-overlay.open .tour-modal { transform: translateY(0) scale(1); }

/* Header */
.tour-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 18px 24px; display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}
.tour-step-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.tour-step-title { font-family: 'DM Serif Display', serif; font-size: 20px; color: white; }
.tour-header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.tour-progress-dots { display: flex; gap: 6px; }
.tour-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.25); cursor: pointer;
  transition: all 0.2s;
}
.tour-dot.active { background: #FFD54F; transform: scale(1.3); }
.tour-dot:hover { background: rgba(255,255,255,0.6); }
.tour-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: none; cursor: pointer;
  color: white; font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.tour-close:hover { background: rgba(255,255,255,0.25); }

/* Screen area */
.tour-screen-wrap {
  flex: 1 1 0;
  overflow: hidden;
  position: relative;
  background: white;
  min-height: 0;
}
.tour-screen {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  overflow: auto;
  display: flex; flex-direction: column;
  height: 100%;
}
.tour-screen.active { opacity: 1; transform: translateX(0); }
.tour-screen.exit   { opacity: 0; transform: translateX(-40px); }

/* Simulated app chrome */
.sim-topbar {
  background: var(--blue-dark); height: 48px; flex-shrink: 0;
  display: flex; align-items: center; padding: 0 20px; gap: 12px;
}
.sim-topbar-logo { font-size: 13px; font-weight: 700; color: white; letter-spacing: 0.04em; }
.sim-topbar-spacer { flex: 1; }
.sim-topbar-user {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: white;
}
.sim-layout { display: flex; flex: 1 1 0; min-height: 0; overflow: hidden; }
.sim-sidebar {
  width: 180px; background: var(--blue); flex-shrink: 0;
  padding: 16px 0; overflow-y: auto;
}
.sim-nav-item {
  padding: 8px 16px; font-size: 12px; color: rgba(255,255,255,0.65);
  display: flex; align-items: center; gap: 8px; cursor: default;
  transition: background 0.1s;
}
.sim-nav-item.active { background: rgba(255,255,255,0.12); color: white; font-weight: 600; }
.sim-nav-item:hover { background: rgba(255,255,255,0.08); }
.sim-content { flex: 1 1 0; padding: 20px; overflow: auto; background: var(--bg); min-height: 0; }

/* Shared sim components */
.sim-page-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.sim-stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 16px; }
.sim-stat-card {
  background: white; border-radius: 10px; padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(21,101,192,0.08);
}
.sim-stat-num { font-size: 22px; font-weight: 700; color: var(--blue); }
.sim-stat-lbl { font-size: 10px; color: var(--text-soft); margin-top: 2px; }
.sim-card {
  background: white; border-radius: 10px; padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(21,101,192,0.08); margin-bottom: 10px;
}
.sim-card-title { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.sim-row {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0; border-bottom: 1px solid #F0F5FB; font-size: 12px;
}
.sim-row:last-child { border-bottom: none; }
.sim-rag { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.sim-rag.g { background: #43A047; box-shadow: 0 0 4px rgba(67,160,71,0.5); }
.sim-rag.a { background: #FB8C00; box-shadow: 0 0 4px rgba(251,140,0,0.5); }
.sim-rag.r { background: #E53935; box-shadow: 0 0 4px rgba(229,57,53,0.5); }
.sim-pbar-wrap { flex: 1; max-width: 80px; }
.sim-pbar { height: 4px; background: #E0EDF8; border-radius: 4px; overflow: hidden; }
.sim-pbar-fill { height: 100%; border-radius: 4px; background: var(--blue); }
.sim-badge {
  display: inline-flex; align-items: center; padding: 2px 8px;
  border-radius: 20px; font-size: 10px; font-weight: 600;
}
.sim-badge.green { background: #E8F5E9; color: #2E7D32; }
.sim-badge.amber { background: #FFF8E1; color: #E65100; }
.sim-badge.red   { background: #FFEBEE; color: #C62828; }
.sim-badge.blue  { background: var(--blue-pale); color: var(--blue); }
.sim-tag {
  background: var(--blue-pale); color: var(--blue);
  font-size: 10px; font-weight: 600; padding: 3px 8px;
  border-radius: 6px; display: inline-block;
}
.sim-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sim-grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.sim-highlight-box {
  position: absolute; pointer-events: none;
  border: 2px solid #FFD54F; border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(255,213,79,0.2);
  animation: pulseHighlight 2s ease-in-out infinite;
}
@keyframes pulseHighlight {
  0%,100% { box-shadow: 0 0 0 4px rgba(255,213,79,0.2); }
  50%      { box-shadow: 0 0 0 8px rgba(255,213,79,0.1); }
}

/* Footer nav */
.tour-footer {
  background: white; padding: 14px 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #E0EDF8;
}
.btn-tour-nav {
  padding: 8px 20px; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; border: none; font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
}
.btn-tour-prev { background: var(--bg); color: var(--text-mid); }
.btn-tour-prev:hover { background: var(--blue-pale); }
.btn-tour-next { background: var(--blue); color: white; }
.btn-tour-next:hover { background: var(--blue-dark); }
.btn-tour-cta  { background: var(--orange); color: white; box-shadow: 0 3px 12px rgba(255,140,0,0.35); }
.btn-tour-cta:hover { background: var(--orange-dark); }
.tour-caption {
  font-size: 13px; color: rgba(255,255,255,0.75);
  line-height: 1.5; margin-top: 6px;
  max-width: 520px;
}

/* ── LOGOUT BANNER ───────────────────────────────── */
.logout-banner {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 200;
  padding: 0 24px;
  transform: translateY(-120%);
  transition: transform 0.4s cubic-bezier(0.34,1.4,0.64,1);
}
.logout-banner.visible { transform: translateY(0); }
.logout-banner-inner {
  max-width: 860px; margin: 12px auto 0;
  border-radius: 16px; padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 8px 32px rgba(13,71,161,0.18);
}
.logout-banner.type-info    .logout-banner-inner { background: white; border: 1.5px solid var(--blue-pale); }
.logout-banner.type-warning .logout-banner-inner { background: #FFF8E1; border: 1.5px solid #FFD54F; }
.logout-banner.type-upsell  .logout-banner-inner { background: linear-gradient(135deg, var(--blue-pale), #D6E8F8); border: 1.5px solid #90CAF9; }
.lb-icon { font-size: 22px; flex-shrink: 0; }
.lb-content { flex: 1; }
.lb-greeting { font-size: 13px; font-weight: 700; color: var(--text); }
.lb-message  { font-size: 13px; color: var(--text-mid); margin-top: 2px; line-height: 1.4; }
.lb-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lb-btn-upgrade {
  background: var(--orange); color: white; text-decoration: none;
  font-size: 12px; font-weight: 700; padding: 7px 16px; border-radius: 8px;
  white-space: nowrap; transition: background 0.15s;
  box-shadow: 0 2px 8px rgba(255,140,0,0.3);
}
.lb-btn-upgrade:hover { background: var(--orange-dark); }
.lb-btn-login {
  background: var(--blue); color: white; text-decoration: none;
  font-size: 12px; font-weight: 700; padding: 7px 16px; border-radius: 8px;
  white-space: nowrap; transition: background 0.15s;
}
.lb-btn-login:hover { background: var(--blue-dark); }
.lb-dismiss {
  background: none; border: none; cursor: pointer; color: var(--text-soft);
  font-size: 18px; line-height: 1; padding: 4px; flex-shrink: 0;
  transition: color 0.15s;
}
.lb-dismiss:hover { color: var(--text); }

/* ── MODALS ──────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(13,71,161,0.55);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: white; border-radius: 24px;
  width: 100%; max-width: 440px;
  box-shadow: 0 32px 80px rgba(13,71,161,0.3);
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  padding: 28px 32px 24px;
  position: relative;
}
.modal-brand {
  font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7); text-transform: uppercase; margin-bottom: 6px;
}
.modal-title {
  font-family: 'DM Serif Display', serif; font-size: 26px;
  color: white; line-height: 1.2;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: none; cursor: pointer;
  color: white; font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,0.28); }
.modal-body { padding: 28px 32px 32px; }
.modal-flash {
  padding: 10px 14px; border-radius: 10px; font-size: 13px;
  margin-bottom: 20px; display: none;
}
.modal-flash.error   { background: #FFEBEE; color: #C62828; display: block; }
.modal-flash.success { background: #E8F5E9; color: #2E7D32; display: block; }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-mid); margin-bottom: 6px; letter-spacing: 0.02em;
}
.form-input {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  border: 1.5px solid #D0DFF0; font-size: 14px; font-family: 'DM Sans', sans-serif;
  color: var(--text); background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s; outline: none;
}
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
  background: white;
}
.form-input::placeholder { color: var(--text-soft); }
.btn-modal-submit {
  width: 100%; padding: 13px; border-radius: 10px; border: none;
  background: var(--orange); color: white; font-size: 15px; font-weight: 700;
  font-family: 'DM Sans', sans-serif; cursor: pointer; margin-top: 8px;
  box-shadow: 0 4px 16px rgba(255,140,0,0.35);
  transition: all 0.2s;
}
.btn-modal-submit:hover {
  background: var(--orange-dark); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,140,0,0.45);
}
.modal-switch {
  text-align: center; margin-top: 18px;
  font-size: 13px; color: var(--text-soft);
}
.modal-switch a {
  color: var(--blue); font-weight: 600; text-decoration: none;
  cursor: pointer;
}
.modal-switch a:hover { text-decoration: underline; }
.modal-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0; font-size: 12px; color: var(--text-soft);
}
.modal-divider::before, .modal-divider::after {
  content: ''; flex: 1; height: 1px; background: #E0EDF8;
}
.forgot-link {
  display: block; text-align: right; font-size: 12px;
  color: var(--text-soft); text-decoration: none; margin-top: -8px; margin-bottom: 16px;
}
.forgot-link:hover { color: var(--blue); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 60px 24px 80px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 36px; }
  .intro { padding: 0 20px; }
  .intro-card { padding: 32px 24px; }
  .feature-highlight { padding: 0 20px; }
  .fh-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
  .features { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing { padding: 60px 20px; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .plan-card.featured { transform: none; }
  .methodology { padding: 48px 20px; }
  .methodology-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 60px 20px; }
  .cta-banner h2 { font-size: 32px; }
  footer { padding: 40px 20px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── UTILITY OVERRIDES ───────────────────────────── */
.btn-inline-flex { display: inline-flex; }

.plan-price-custom { font-size: 22px; padding-top: 6px; }
