/* ============================================================
   Maree-CareFlow — Public Website Stylesheet
   Date: 2026-06-08
   Design: Conversion-optimised, mobile-first, Australian healthcare
   ============================================================ */

/* ── CSS Custom Properties ──────────────────────────────── */
:root {
  --primary:      #0284c7;   /* sky-600 */
  --primary-dark: #075985;   /* sky-800 */
  --primary-light:#e0f2fe;   /* sky-100 */
  --accent:       #0891b2;   /* cyan-600 */
  --accent-light: #cffafe;   /* cyan-100 */
  --success:      #059669;   /* emerald-600 */
  --warning:      #d97706;   /* amber-600 */
  --dark:         #0f172a;   /* slate-900 */
  --dark-2:       #1e293b;   /* slate-800 */
  --dark-3:       #334155;   /* slate-700 */
  --mid:          #64748b;   /* slate-500 */
  --light:        #f8fafc;   /* slate-50 */
  --white:        #ffffff;
  --border:       #e2e8f0;   /* slate-200 */
  --radius:       12px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:       0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.15), 0 8px 20px rgba(0,0,0,.08);
  --transition:   0.2s cubic-bezier(.4,0,.2,1);
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Utility Classes ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: 1400px; }
.container--narrow { max-width: 780px; }

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 128px 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--light { background: var(--light); }
.section--gradient {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
  color: var(--white);
}

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Section headings */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--dark);
}
.section-title--white { color: var(--white); }
.section-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--mid);
  max-width: 600px;
  margin-top: 16px;
  line-height: 1.7;
}
.section-subtitle--white { color: rgba(255,255,255,0.82); }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo img { height: 36px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-3);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav__links a:hover { color: var(--primary); background: var(--primary-light); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--dark);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  padding: 12px 24px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(2,132,199,.35);
}
.btn--primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(2,132,199,.45);
  transform: translateY(-1px);
}
.btn--accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(8,145,178,.4);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(8,145,178,.5);
}
.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary-light);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.btn--ghost {
  background: transparent;
  color: var(--primary);
  font-weight: 500;
}
.btn--ghost:hover { background: var(--primary-light); }
.btn--lg { padding: 16px 32px; font-size: 17px; border-radius: 14px; }
.btn--sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }

/* Billing toggle active state — safety rule so CSS fallback works even if
   inline styles are not applied (e.g. JS disabled). aria-pressed mirrors
   the active state set by setBillingBtnState() in app.js. */
[data-billing].active,
[data-billing][aria-pressed="true"] {
  background: var(--primary) !important;
  color: var(--white) !important;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 45%, #cffafe 100%);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(8,145,178,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
.hero__heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--dark);
  margin-bottom: 24px;
}
.hero__heading span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle {
  font-size: 18px;
  color: var(--dark-3);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mid);
  font-weight: 500;
}
.hero__trust-item svg { color: var(--success); flex-shrink: 0; }

/* Dashboard mockup */
.hero__visual {
  position: relative;
}
.dashboard-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.dashboard-card__topbar {
  background: var(--dark);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dashboard-card__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dashboard-card__dot--red { background: #ff5f57; }
.dashboard-card__dot--yellow { background: #febc2e; }
.dashboard-card__dot--green { background: #28c840; }
.dashboard-card__url {
  flex: 1;
  background: var(--dark-2);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-family: var(--font-mono);
  text-align: center;
  margin: 0 16px;
}
.dashboard-card__body { padding: 20px; }
.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.dashboard-stat {
  background: var(--light);
  border-radius: 10px;
  padding: 14px;
  border: 1px solid var(--border);
}
.dashboard-stat__label { font-size: 11px; color: var(--mid); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.dashboard-stat__value { font-size: 22px; font-weight: 800; color: var(--dark); margin-top: 4px; }
.dashboard-stat__change { font-size: 11px; color: var(--success); font-weight: 600; margin-top: 2px; }
.dashboard-bar-section { background: var(--light); border-radius: 10px; padding: 14px; border: 1px solid var(--border); }
.dashboard-bar-title { font-size: 12px; font-weight: 700; color: var(--dark-3); margin-bottom: 12px; }
.dashboard-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dashboard-bar-label { font-size: 11px; color: var(--mid); width: 90px; }
.dashboard-bar-track { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.dashboard-bar-fill { height: 100%; border-radius: 4px; transition: width 1.5s ease; }
.dashboard-bar-fill--blue { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.dashboard-bar-fill--green { background: var(--success); }
.dashboard-bar-fill--amber { background: var(--warning); }
.dashboard-bar-amount { font-size: 11px; font-weight: 700; color: var(--dark); width: 64px; text-align: right; }

/* Float badges on dashboard */
.hero__float-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  border: 1px solid var(--border);
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero__float-badge--1 { bottom: 20px; left: -30px; animation-delay: 0s; }
.hero__float-badge--2 { top: 30px; right: -20px; animation-delay: 1s; }
.hero__float-icon { font-size: 18px; }

/* ── Logos / Trust Bar ───────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-bar__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--mid);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.trust-bar__logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-bar__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-3);
}

/* ── Feature Cards ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 24px;
}
.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.feature-card__desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}

/* ── Stats Row ──────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  padding: 64px 0;
}
.stat-item__number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item__label {
  font-size: 14px;
  color: var(--mid);
  font-weight: 500;
}

/* ── Comparison Table ───────────────────────────────────── */
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 48px; }
.comparison-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom: 2px solid var(--border);
  background: var(--light);
}
.comparison-table th:first-child { border-radius: 12px 0 0 0; }
.comparison-table th:last-child { border-radius: 0 12px 0 0; }
.comparison-table th.highlight {
  background: var(--primary);
  color: var(--white);
}
.comparison-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--light); }
.comparison-table td.highlight {
  background: var(--primary-light);
  font-weight: 700;
  color: var(--primary-dark);
}
.check { color: var(--success); font-size: 18px; }
.cross { color: #e2e8f0; font-size: 18px; }
.partial { color: var(--warning); font-size: 14px; font-weight: 600; }

/* ── Pricing Cards ──────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(2,132,199,.1), var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-2px); }
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier { font-size: 13px; font-weight: 700; color: var(--mid); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.pricing-name { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 20px 0;
}
.pricing-currency { font-size: 18px; font-weight: 700; color: var(--dark); align-self: flex-start; margin-top: 6px; }
.pricing-amount { font-size: 48px; font-weight: 900; color: var(--dark); line-height: 1; letter-spacing: -.04em; }
.pricing-period { font-size: 13px; color: var(--mid); }
.pricing-desc { font-size: 13px; color: var(--mid); margin-bottom: 24px; line-height: 1.5; }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--dark-3);
  padding: 5px 0;
}
.pricing-features li svg { color: var(--success); flex-shrink: 0; margin-top: 1px; }
.pricing-features li.disabled { color: var(--mid); }
.pricing-features li.disabled svg { color: var(--border); }

/* ── Testimonials ───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 28px;
  font-size: 80px;
  line-height: 1;
  color: var(--primary-light);
  font-family: Georgia, serif;
  font-weight: 900;
}
.testimonial-stars { color: #f59e0b; font-size: 16px; margin-bottom: 16px; }
.testimonial-text { font-size: 15px; color: var(--dark-3); line-height: 1.7; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--dark); }
.testimonial-role { font-size: 12px; color: var(--mid); }

/* ── Accordion / FAQ ────────────────────────────────────── */
.faq-list { margin-top: 48px; max-width: 780px; margin-left: auto; margin-right: auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--light); }
.faq-question.open { background: var(--primary-light); color: var(--primary-dark); }
.faq-chevron {
  transition: transform var(--transition);
  color: var(--mid);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-question.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  padding: 0 24px;
  font-size: 15px;
  color: var(--dark-3);
  line-height: 1.7;
}
.faq-answer.open {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
}
.cta-banner__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.cta-banner__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.cta-banner__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn--white {
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 72px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__brand img { height: 34px; margin-bottom: 16px; filter: brightness(2); }
.footer__brand p { font-size: 14px; line-height: 1.65; max-width: 280px; color: rgba(255,255,255,.6); }
.footer__col-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.footer__compliance {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__compliance-badge {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.1);
}

/* ── Feature Detail Rows ─────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row--reverse .feature-row__content { order: 2; }
.feature-row--reverse .feature-row__visual { order: 1; }
.feature-row__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.feature-row__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.feature-row__desc {
  font-size: 16px;
  color: var(--dark-3);
  line-height: 1.75;
  margin-bottom: 24px;
}
.feature-list { list-style: none; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--dark-3);
  padding: 6px 0;
}
.feature-list li svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* Mock UI panels */
.mock-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-panel__header {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-panel__title { font-size: 13px; font-weight: 700; color: var(--dark); }
.mock-panel__badge { font-size: 11px; background: var(--accent-light); color: var(--accent); padding: 2px 8px; border-radius: 100px; font-weight: 700; }
.mock-panel__body { padding: 16px; }
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid var(--border);
}
.mock-row__info { display: flex; align-items: center; gap: 10px; }
.mock-row__avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--white); }
.mock-row__name { font-size: 13px; font-weight: 600; color: var(--dark); }
.mock-row__sub { font-size: 11px; color: var(--mid); }
.mock-row__amount { font-size: 13px; font-weight: 700; color: var(--dark); }
.mock-tag { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 100px; }
.mock-tag--green { background: #d1fae5; color: #065f46; }
.mock-tag--blue { background: var(--primary-light); color: var(--primary-dark); }
.mock-tag--amber { background: #fef3c7; color: #92400e; }
.mock-tag--red { background: #fee2e2; color: #991b1b; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row--reverse .feature-row__content { order: 0; }
  .feature-row--reverse .feature-row__visual { order: 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero { padding: 72px 0 64px; }
  .nav__links { display: none; }
  .nav__cta .btn--outline { display: none; }
  .nav__mobile-btn { display: flex; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .comparison-table { font-size: 12px; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 24px; }
  .trust-bar__inner { flex-direction: column; align-items: flex-start; }
  .hero__float-badge { display: none; }
  .section { padding: 72px 0; }
  .dashboard-stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile Nav Drawer ──────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.5);
}
.mobile-nav.open { display: flex; }
.mobile-nav__drawer {
  width: 280px;
  background: var(--white);
  height: 100%;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.mobile-nav__close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}
.mobile-nav__links { list-style: none; }
.mobile-nav__links li { border-bottom: 1px solid var(--border); }
.mobile-nav__links a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
}

/* ── Scroll Animations ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ── Add-ons table ──────────────────────────────────────── */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.addon-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.addon-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.addon-card__icon { font-size: 24px; flex-shrink: 0; }
.addon-card__name { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.addon-card__desc { font-size: 12px; color: var(--mid); line-height: 1.5; margin-bottom: 8px; }
.addon-card__price { font-size: 14px; font-weight: 700; color: var(--primary); }
@media (max-width: 768px) { .addons-grid { grid-template-columns: 1fr; } }

/* ── Notification badge ─────────────────────────────────── */
.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--success);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 100px;
  margin-left: 4px;
  vertical-align: middle;
}
