/* ============================================================
   WebScheduler — Main Stylesheet
   ============================================================ */

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

/* ─── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  --navy:      #0d1f3c;
  --navy-mid:  #152848;
  --navy-lt:   #1e3a5f;
  --teal:      #0e9f8e;
  --teal-lt:   #12c4b0;
  --teal-glow: #0e9f8e40;
  --sky:       #e8f4f8;
  --white:     #ffffff;
  --slate:     #4a6280;
  --slate-lt:  #8ba3bb;
  --border:    #d0dce8;
  --card-bg:   #f5f9fc;
  --text:      #1a2e47;
  --text-soft: #4a6280;
  --yellow:    #f5c842;
  --red:       #e8445a;
  --green:     #22c55e;

  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(13,31,60,.07);
  --shadow:    0 8px 32px rgba(13,31,60,.12);
  --shadow-lg: 0 20px 60px rgba(13,31,60,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAVIGATION ────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 18px; color: var(--navy);
  text-decoration: none; flex-shrink: 0;
}

.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), #0a7a6c);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px var(--teal-glow); flex-shrink: 0;
}

.logo-mark svg { width: 18px; height: 18px; fill: white; }

.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none; flex: 1; justify-content: center;
}

.nav-links a {
  padding: 7px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-soft);
  text-decoration: none; transition: all .18s; white-space: nowrap;
}

.nav-links a:hover { color: var(--navy); background: var(--sky); }

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

/* ── Hamburger button (hidden on desktop) ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  border-radius: var(--radius-sm); border: none;
  background: transparent; cursor: pointer; padding: 9px; flex-shrink: 0;
  transition: background .18s;
}

.nav-hamburger:hover { background: var(--sky); }

.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer overlay ── */
.nav-mobile-drawer {
  display: none;
  position: fixed; inset: 0; top: 64px;
  background: rgba(13,31,60,.45);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}

.nav-mobile-drawer.open {
  opacity: 1; pointer-events: all;
}

.nav-mobile-panel {
  position: absolute; top: 0; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 8px 16px 20px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  transition: transform .25s ease;
}

.nav-mobile-drawer.open .nav-mobile-panel { transform: translateY(0); }

.nav-mobile-links { list-style: none; }

.nav-mobile-links a {
  display: block; padding: 13px 4px;
  font-size: 16px; font-weight: 500; color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}

.nav-mobile-links a:hover { color: var(--teal); }

.nav-mobile-links li:last-child a { border-bottom: none; }

.nav-mobile-cta {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 16px;
}

.nav-mobile-cta .btn-ghost,
.nav-mobile-cta .btn-primary {
  display: block; width: 100%; text-align: center;
  padding: 13px 20px; font-size: 15px; border-radius: 10px;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn-ghost {
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--navy); background: transparent;
  border: 1.5px solid var(--border); cursor: pointer;
  text-decoration: none; transition: all .18s;
  display: inline-block; white-space: nowrap;
}

.btn-ghost:hover { border-color: var(--navy); background: var(--sky); }

.btn-primary {
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: white; background: linear-gradient(135deg, var(--teal), #0a7a6c);
  border: none; cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 14px var(--teal-glow); transition: all .18s;
  display: inline-block; white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(14,159,142,.35);
}

.btn-primary-lg { padding: 15px 32px; font-size: 16px; border-radius: 10px; }

.btn-outline-lg {
  padding: 15px 32px; font-size: 16px; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.35); color: white;
  background: rgba(255,255,255,.08); font-family: var(--font-body);
  font-weight: 500; cursor: pointer; text-decoration: none;
  transition: all .18s; display: inline-block;
  backdrop-filter: blur(8px); white-space: nowrap;
}

.btn-outline-lg:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.55); }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 45%, #0e2b52 100%);
  padding: 96px 32px 0;
  overflow: hidden; position: relative;
}

.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 60% 0%, rgba(14,159,142,.14) 0%, transparent 65%),
    radial-gradient(ellipse 500px 400px at 10% 80%, rgba(14,159,142,.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}

.hero-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(14,159,142,.18); border: 1px solid rgba(14,159,142,.35);
  font-size: 13px; font-weight: 500; color: var(--teal-lt);
  margin-bottom: 24px; animation: fadeDown .6s ease both;
}

.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-lt); animation: pulse 2s infinite; flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 800; line-height: 1.1; color: white;
  letter-spacing: -.03em; max-width: 820px; margin-bottom: 20px;
  animation: fadeDown .7s .1s ease both;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--teal-lt), #38e8d5);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 19px); color: rgba(255,255,255,.7);
  max-width: 540px; margin-bottom: 36px; line-height: 1.65;
  animation: fadeDown .7s .2s ease both;
}

.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 52px; animation: fadeDown .7s .3s ease both;
}

/* ─── DASHBOARD MOCKUP ──────────────────────────────────────── */
.hero-dashboard {
  width: 100%; max-width: 980px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: #f0f6fa;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 -4px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden; animation: slideUp .8s .4s ease both;
}

.dash-bar {
  background: var(--navy);
  height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px;
}

.dash-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }

.dash-bar-title {
  flex: 1; text-align: center;
  font-size: 12px; color: rgba(255,255,255,.4); font-family: var(--font-body);
}

.dash-content {
  display: grid; grid-template-columns: 200px 1fr; height: 360px;
}

.dash-sidebar {
  background: var(--navy-mid); padding: 14px 10px;
  display: flex; flex-direction: column; gap: 3px;
}

.dash-nav-item {
  padding: 9px 11px; border-radius: 7px;
  font-size: 12px; color: rgba(255,255,255,.45);
  display: flex; align-items: center; gap: 9px; font-family: var(--font-body);
}

.dash-nav-item.active { background: rgba(14,159,142,.18); color: var(--teal-lt); }

.dash-nav-icon {
  width: 14px; height: 14px; border-radius: 3px;
  background: currentColor; opacity: .6; flex-shrink: 0;
}

.dash-main { background: #f0f6fa; padding: 18px; overflow: hidden; }

.dash-header-row {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
}

.dash-page-title { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--navy); }

.dash-btn {
  height: 26px; padding: 0 11px; border-radius: 6px;
  background: var(--teal); color: white; font-size: 11px; font-weight: 600;
  display: flex; align-items: center; gap: 4px; font-family: var(--font-body); flex-shrink: 0;
}

.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }

.dash-stat-card { background: white; border-radius: 9px; padding: 11px; box-shadow: var(--shadow-sm); }

.dash-stat-label {
  font-size: 9px; color: var(--slate); margin-bottom: 3px;
  text-transform: uppercase; letter-spacing: .05em;
}

.dash-stat-value { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--navy); }
.dash-stat-change { font-size: 9px; color: var(--green); margin-top: 2px; }

.dash-appt-list { display: flex; flex-direction: column; gap: 6px; }

.dash-appt {
  background: white; border-radius: 8px; padding: 8px 10px;
  display: flex; align-items: center; gap: 9px; box-shadow: var(--shadow-sm);
}

.dash-appt-color { width: 4px; height: 30px; border-radius: 4px; flex-shrink: 0; }
.dash-appt-info  { flex: 1; min-width: 0; }
.dash-appt-name  { font-size: 11px; font-weight: 600; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-appt-meta  { font-size: 10px; color: var(--slate); }

.dash-appt-status {
  font-size: 9px; font-weight: 600; padding: 2px 7px; border-radius: 100px;
  white-space: nowrap; flex-shrink: 0;
}

.status-confirmed { background: rgba(34,197,94,.12);  color: #16a34a; }
.status-pending   { background: rgba(245,200,66,.15); color: #b45309; }

/* ─── TRUST BAR ─────────────────────────────────────────────── */
.trust-bar { background: var(--sky); border-bottom: 1px solid var(--border); padding: 18px 24px; }

.trust-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}

.trust-label { font-size: 13px; color: var(--slate); font-weight: 500; white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }

.trust-logo {
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  color: var(--slate); letter-spacing: -.02em; opacity: .55; transition: opacity .2s;
}

.trust-logo:hover { opacity: 1; }

/* ─── SECTION BASE ──────────────────────────────────────────── */
section { padding: 96px 32px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--teal); margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800; line-height: 1.15; color: var(--navy);
  letter-spacing: -.025em; margin-bottom: 16px;
}

.section-sub {
  font-size: 17px; color: var(--text-soft); line-height: 1.65; max-width: 540px;
}

.text-center .section-sub { margin: 0 auto; }

/* ─── FEATURES ──────────────────────────────────────────────── */
#features { background: white; }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 60px; background: var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}

.feature-card {
  background: white; padding: 36px 28px;
  position: relative; overflow: hidden; transition: background .2s;
}

.feature-card:hover { background: var(--sky); }

.feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), #0a7a6c);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; box-shadow: 0 6px 20px var(--teal-glow);
}

.feature-icon svg { width: 22px; height: 22px; fill: white; }

.feature-card h3 {
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  color: var(--navy); margin-bottom: 9px;
}

.feature-card p { font-size: 14px; color: var(--text-soft); line-height: 1.65; }

/* ─── HOW IT WORKS ──────────────────────────────────────────── */
#howitworks { background: var(--sky); }

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 52px; position: relative;
}

.steps::before {
  content: ''; position: absolute; top: 32px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--teal), transparent);
  opacity: .3;
}

.step { text-align: center; position: relative; }

.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: white; border: 2.5px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-head); font-size: 22px; font-weight: 800;
  color: var(--teal); box-shadow: 0 0 0 6px rgba(14,159,142,.1);
  position: relative; z-index: 1;
}

.step h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p   { font-size: 14px; color: var(--text-soft); line-height: 1.6; }

/* ─── STATS ─────────────────────────────────────────────────── */
.stats-section { background: var(--navy); padding: 80px 32px; position: relative; overflow: hidden; }

.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(14,159,142,.12), transparent);
}

.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; position: relative; z-index: 1;
}

.stat-item { padding: 36px 24px; text-align: center; }

.stat-num {
  font-family: var(--font-head); font-size: 50px; font-weight: 800;
  color: white; letter-spacing: -.03em; line-height: 1; margin-bottom: 10px;
}

.stat-num span { color: var(--teal-lt); }
.stat-desc { font-size: 14px; color: rgba(255,255,255,.55); }

/* ─── ROLES ─────────────────────────────────────────────────── */
#roles { background: white; }

.roles-tabs {
  display: flex; gap: 4px; margin-top: 44px; margin-bottom: 36px;
  background: var(--sky); padding: 5px; border-radius: 12px; max-width: 440px;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.roles-tabs::-webkit-scrollbar { display: none; }

.role-tab {
  flex: 1; min-width: 80px; padding: 9px 16px; border-radius: 8px; border: none;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--text-soft); background: transparent; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}

.role-tab.active { background: white; color: var(--navy); font-weight: 600; box-shadow: var(--shadow-sm); }

.roles-content { display: none; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.roles-content.active { display: grid; }

.role-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14,159,142,.1); border: 1px solid rgba(14,159,142,.2);
  padding: 5px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--teal); margin-bottom: 16px;
}

.roles-content h3 {
  font-family: var(--font-head); font-size: 28px; font-weight: 800;
  color: var(--navy); margin-bottom: 14px; line-height: 1.2; letter-spacing: -.025em;
}

.roles-content p { font-size: 15px; color: var(--text-soft); line-height: 1.7; margin-bottom: 24px; }

.role-checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.role-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }

.check-icon {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(14,159,142,.12); display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

.check-icon svg { width: 11px; height: 11px; stroke: var(--teal); fill: none; stroke-width: 2.5; }

.role-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg);
  min-height: 320px; display: flex; flex-direction: column; gap: 11px;
}

.rv-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.rv-title  { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: white; }
.rv-badge  { font-size: 11px; background: rgba(14,159,142,.2); color: var(--teal-lt); padding: 3px 10px; border-radius: 100px; white-space: nowrap; }

.rv-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 11px 13px; display: flex; align-items: center; gap: 11px;
}

.rv-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #0a7a6c);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: white; flex-shrink: 0; font-family: var(--font-head);
}

.rv-info { flex: 1; min-width: 0; }
.rv-name { font-size: 12px; font-weight: 600; color: white; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-time { font-size: 10px; color: rgba(255,255,255,.45); }
.rv-dot  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ─── TESTIMONIALS ──────────────────────────────────────────── */
#testimonials { background: var(--sky); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }

.testi-card {
  background: white; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}

.testi-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.testi-stars { color: var(--yellow); font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }

.testi-card blockquote {
  font-size: 15px; color: var(--text); line-height: 1.7;
  font-style: italic; margin-bottom: 20px;
}

.testi-card blockquote::before {
  content: '\201C'; color: var(--teal); font-size: 28px;
  line-height: 0; vertical-align: -10px; margin-right: 2px;
}

.testi-author { display: flex; align-items: center; gap: 12px; }

.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-lt));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: white;
}

.testi-name { font-weight: 600; font-size: 14px; color: var(--navy); }
.testi-role { font-size: 12px; color: var(--slate); }

/* ─── PRICING ───────────────────────────────────────────────── */
#pricing { background: white; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; align-items: start; }

.pricing-card {
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; position: relative; transition: box-shadow .2s;
}

.pricing-card:hover { box-shadow: var(--shadow); }

.pricing-card.featured { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,159,142,.1), var(--shadow); }

.pricing-pop {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--teal), #0a7a6c);
  color: white; font-size: 12px; font-weight: 700;
  padding: 4px 16px; border-radius: 100px; white-space: nowrap;
}

.pricing-tier { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: 10px; }

.pricing-price {
  font-family: var(--font-head); font-size: 42px; font-weight: 800;
  color: var(--navy); letter-spacing: -.03em; line-height: 1; margin-bottom: 4px;
}

.pricing-price sup    { font-size: 21px; vertical-align: top; margin-top: 8px; }
.pricing-price .period { font-size: 14px; font-weight: 400; color: var(--slate); }

.pricing-desc    { font-size: 14px; color: var(--text-soft); margin: 10px 0 20px; }
.pricing-divider { height: 1px; background: var(--border); margin: 20px 0; }

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.pricing-features li .check { color: var(--teal); font-size: 15px; font-weight: 700; flex-shrink: 0; }
.pricing-features li .cross { color: var(--slate-lt); font-size: 15px; flex-shrink: 0; }

.pricing-btn {
  width: 100%; padding: 13px; border-radius: 10px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: all .18s; text-decoration: none;
  display: block; text-align: center;
}

.pricing-btn-outline { border: 1.5px solid var(--border); color: var(--navy); background: transparent; }
.pricing-btn-outline:hover { background: var(--sky); border-color: var(--navy); }

.pricing-btn-filled { background: linear-gradient(135deg, var(--teal), #0a7a6c); color: white; box-shadow: 0 4px 14px var(--teal-glow); }
.pricing-btn-filled:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(14,159,142,.35); }

/* ─── CTA ───────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #0b2444 100%);
  padding: 96px 32px; text-align: center; position: relative; overflow: hidden;
}

.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 1000px 500px at 50% 100%, rgba(14,159,142,.18), transparent);
}

.cta-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }

.cta-section h2 {
  font-family: var(--font-head); font-size: clamp(28px, 4vw, 52px);
  font-weight: 800; color: white; margin-bottom: 16px; letter-spacing: -.03em; line-height: 1.1;
}

.cta-section h2 em { font-style: normal; color: var(--teal-lt); }
.cta-section p     { font-size: 17px; color: rgba(255,255,255,.65); margin-bottom: 36px; line-height: 1.6; }

.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.35); }

/* ─── FOOTER ────────────────────────────────────────────────── */
footer { background: #060f1e; padding: 60px 32px 36px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top { display: grid; grid-template-columns: 260px repeat(4, 1fr); gap: 36px; margin-bottom: 48px; }

.footer-brand p { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.65; margin-top: 14px; max-width: 210px; }

.footer-col h4 {
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: 14px;
}

.footer-col a {
  display: block; font-size: 14px; color: rgba(255,255,255,.55);
  text-decoration: none; padding: 4px 0; transition: color .15s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 12px;
}

.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,.3); text-decoration: none; transition: color .15s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ─── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(.85); }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet ≤ 1024px
════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-inner  { padding: 0 20px; }

  .feature-grid         { grid-template-columns: repeat(2, 1fr); }
  .steps                { grid-template-columns: repeat(2, 1fr); }
  .steps::before        { display: none; }
  .stats-inner          { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid    { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid         { grid-template-columns: 1fr 1fr; }
  .footer-top           { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand         { grid-column: 1 / -1; }

  .roles-content.active { grid-template-columns: 1fr; gap: 40px; }
  .role-visual          { min-height: auto; order: -1; }

  .dash-content  { grid-template-columns: 1fr; height: auto; }
  .dash-sidebar  { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile ≤ 768px
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Nav ── */
  .nav-inner         { padding: 0 16px; height: 60px; }
  .nav-links         { display: none; }
  .nav-cta           { display: none; }
  .nav-hamburger     { display: flex; }
  .nav-mobile-drawer { display: block; }
  .logo              { font-size: 17px; }

  /* ── Sections ── */
  section            { padding: 60px 20px; }
  .stats-section     { padding: 56px 20px; }
  .cta-section       { padding: 68px 20px; }
  footer             { padding: 48px 20px 28px; }

  /* ── Hero ── */
  .hero              { padding: 48px 20px 0; }
  .hero-badge        { font-size: 12px; padding: 5px 12px; }
  .hero-btns         { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; gap: 10px; margin-bottom: 36px; }
  .hero-btns .btn-primary-lg,
  .hero-btns .btn-outline-lg {
    display: block; width: 100%; text-align: center;
    padding: 14px 20px; font-size: 15px;
  }

  /* ── Dashboard mockup ── */
  .hero-dashboard    { border-radius: 10px 10px 0 0; }
  .dash-bar          { height: 34px; gap: 6px; padding: 0 12px; }
  .dash-dot          { width: 9px; height: 9px; }
  .dash-bar-title    { font-size: 11px; }
  .dash-stats        { gap: 6px; }
  .dash-stat-value   { font-size: 15px; }
  .dash-stat-label   { font-size: 8px; }
  .dash-stat-change  { display: none; }
  .dash-appt-status  { display: none; }
  .dash-main         { padding: 14px; }

  /* ── Trust bar ── */
  .trust-inner       { flex-direction: column; gap: 12px; text-align: center; }
  .trust-logos       { gap: 14px; }
  .trust-logo        { font-size: 12px; }

  /* ── Features ── */
  .feature-grid      { grid-template-columns: 1fr; border-radius: var(--radius); }
  .feature-card      { padding: 28px 22px; }

  /* ── Steps ── */
  .steps             { grid-template-columns: 1fr; gap: 36px; }

  /* ── Stats ── */
  .stats-inner       { grid-template-columns: 1fr 1fr; }
  .stat-item         { padding: 28px 16px; }
  .stat-num          { font-size: 38px; }
  .stat-desc         { font-size: 13px; }

  /* ── Roles ── */
  .roles-tabs        { max-width: 100%; }
  .role-tab          { font-size: 13px; padding: 8px 12px; min-width: 72px; }
  .role-visual       { padding: 22px; }
  .roles-content h3  { font-size: 24px; }

  /* ── Testimonials ── */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* ── Pricing ── */
  .pricing-grid      { grid-template-columns: 1fr; }
  .pricing-card      { padding: 28px 22px; }

  /* ── CTA ── */
  .cta-btns          { flex-direction: column; align-items: stretch; }
  .cta-btns .btn-primary-lg,
  .cta-btns .btn-outline-lg {
    display: block; width: 100%; text-align: center;
  }

  /* ── Footer ── */
  .footer-top        { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
  .footer-brand      { grid-column: 1 / -1; }
  .footer-brand p    { max-width: 100%; }
  .footer-bottom     { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom-links { gap: 14px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Small Mobile ≤ 480px
════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* Logo: hide wordmark text, show icon only */
  .logo-text         { display: none; }

  /* Hero */
  .hero              { padding: 40px 16px 0; }
  .hero h1           { font-size: 30px; letter-spacing: -.02em; }
  .hero-sub          { font-size: 14px; }
  .hero-badge        { font-size: 11px; }

  /* Stats: stack to 1 column */
  .stats-inner       { grid-template-columns: 1fr; }
  .stat-item         { padding: 22px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .stat-item:last-child { border-bottom: none; }
  .stat-num          { font-size: 44px; }

  /* Footer: single column */
  .footer-top        { grid-template-columns: 1fr; }

  /* Section padding */
  section            { padding: 52px 16px; }
  .cta-section       { padding: 60px 16px; }
  footer             { padding: 44px 16px 24px; }

  /* Feature card */
  .feature-card      { padding: 24px 18px; }

  /* Pricing */
  .pricing-price     { font-size: 36px; }

  /* Role visual */
  .role-visual       { padding: 18px; gap: 9px; }
  .rv-card           { padding: 10px 11px; }

  /* Testi card */
  .testi-card        { padding: 20px 18px; }

  /* Nav */
  .nav-inner         { padding: 0 14px; }
  .logo-mark         { width: 32px; height: 32px; }
  .logo-mark svg     { width: 16px; height: 16px; }
}
