/* ─── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --primary:       #bf5700;
  --primary-dark:  #a04800;
  --primary-light: #fff3ec;
  --charcoal:      #333f48;
  --grey:          #9cadb7;
  --light-grey:    #f0f4f6;
  --white:         #ffffff;
  --success:       #22c55e;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.05);
  --shadow-md:  0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:  0 6px 24px rgba(0,0,0,0.12);
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full: 9999px;
  --nav-h: 68px;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
  height: var(--nav-h);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.4px;
  white-space: nowrap;
}
.nav-logo span { color: var(--primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--grey);
  transition: color .15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--charcoal); }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--charcoal);
  padding: 4px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
  padding: 16px 24px 20px;
  gap: 16px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  padding: 6px 0;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 22px;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-secondary {
  background: var(--light-grey);
  color: var(--charcoal);
}
.btn-danger {
  background: #e53935;
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-lg { font-size: 17px; padding: 14px 32px; }
.btn-sm { font-size: 13px; padding: 8px 16px; }
.btn-block { display: flex; width: 100%; }

/* ─── Layout helpers ─────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.6px;
  line-height: 1.2;
}
.section-sub {
  font-size: 17px;
  color: var(--grey);
  margin-top: 12px;
  max-width: 540px;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 12px auto 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.card-sm { padding: 20px; border-radius: var(--r-md); }

/* ─── Badge ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.badge-orange { background: var(--primary-light); color: var(--primary); }
.badge-green  { background: #dcfce7; color: #16a34a; }

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color .15s;
}
.form-input:focus { border-color: var(--primary); }
.form-input::placeholder { color: var(--grey); }
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  appearance: none;
  cursor: pointer;
}
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  resize: vertical;
  min-height: 100px;
  transition: border-color .15s;
}
.form-textarea:focus { border-color: var(--primary); }
.form-hint { font-size: 12px; color: var(--grey); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.6);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--primary); }
.footer-tagline { font-size: 14px; line-height: 1.6; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ─── Home page ──────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #fff8f4 0%, var(--white) 60%);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,87,0,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}
.hero-title span { color: var(--primary); }
.hero-body {
  font-size: 18px;
  color: var(--grey);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; }
.hero-note { font-size: 13px; color: var(--grey); }
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
}
.mock-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.mock-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.mock-biz { font-weight: 700; font-size: 15px; }
.mock-cat { font-size: 12px; color: var(--grey); }
.mock-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mock-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.mock-dot.filled { background: var(--primary); }
.mock-dot.empty { background: var(--light-grey); }
.mock-dot.last-empty {
  background: transparent;
  border: 2px solid var(--primary);
}
.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mock-stat {
  background: var(--light-grey);
  border-radius: var(--r-md);
  padding: 14px;
  text-align: center;
}
.mock-stat-num { font-size: 22px; font-weight: 800; color: var(--charcoal); }
.mock-stat-label { font-size: 11px; color: var(--grey); font-weight: 500; }

.stats-bar {
  background: var(--charcoal);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-num span { color: var(--primary); }
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-top: 6px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-step { text-align: center; }
.how-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.how-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.how-body { font-size: 15px; color: var(--grey); line-height: 1.6; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  border: 1.5px solid var(--light-grey);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(191,87,0,.1);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-body { font-size: 14px; color: var(--grey); line-height: 1.6; }

.cta-section {
  background: var(--primary);
  padding: 80px 0;
  text-align: center;
}
.cta-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.cta-body { font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 36px; }
.btn-white {
  background: var(--white);
  color: var(--primary);
}

/* ─── Subscriptions page ─────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--light-grey);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card .btn-block {
  margin-top: auto;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(191,87,0,.15);
}
.pricing-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--r-full);
  white-space: nowrap;
  letter-spacing: 0.4px;
}
.pricing-tier { font-size: 13px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.pricing-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sup { font-size: 22px; vertical-align: top; margin-top: 8px; letter-spacing: 0; }
.pricing-price sub { font-size: 15px; font-weight: 500; color: var(--grey); letter-spacing: 0; }
.pricing-desc { font-size: 14px; color: var(--grey); margin-bottom: 24px; line-height: 1.5; }
.pricing-divider { border: none; border-top: 1px solid var(--light-grey); margin: 24px 0; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.pricing-features li {
  font-size: 14px;
  color: var(--charcoal);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-features li.muted { color: var(--grey); }
.pricing-features li.muted::before { color: var(--grey); content: '–'; }

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.addon-card {
  border: 1.5px solid var(--light-grey);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
  transition: border-color .2s;
}
.addon-card:hover { border-color: var(--primary); }
.addon-icon { font-size: 28px; margin-bottom: 10px; }
.addon-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.addon-desc { font-size: 13px; color: var(--grey); margin-bottom: 12px; line-height: 1.5; }
.addon-price { font-size: 17px; font-weight: 800; color: var(--primary); }

.pricing-faq { margin-top: 64px; }
.faq-item {
  border-bottom: 1px solid var(--light-grey);
  padding: 20px 0;
}
.faq-q {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-q span { color: var(--grey); font-size: 20px; transition: transform .2s; }
.faq-q.open span { transform: rotate(45deg); }
.faq-a {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
  padding-top: 12px;
  display: none;
}
.faq-a.open { display: block; }

/* ─── Customers page ─────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-quote {
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testimonial-quote::before { content: '"'; color: var(--primary); font-size: 28px; font-style: normal; line-height: 0; vertical-align: -12px; margin-right: 4px; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--light-grey);
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 15px; }
.testimonial-role { font-size: 13px; color: var(--grey); }
.testimonial-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--light-grey);
}
.t-metric-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.t-metric-label { font-size: 11px; color: var(--grey); text-transform: uppercase; letter-spacing: 0.5px; }

.case-studies { background: var(--light-grey); }
.case-study-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--white);
  border-radius: var(--r-xl);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.case-logo {
  width: 100%;
  aspect-ratio: 1;
  max-width: 140px;
  border-radius: var(--r-lg);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 36px;
  font-weight: 800;
  margin: 0 auto;
}
.case-category { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.case-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.case-body { font-size: 15px; color: var(--grey); line-height: 1.7; margin-bottom: 20px; }
.case-metrics { display: flex; gap: 24px; flex-wrap: wrap; }
.case-metric-num { font-size: 28px; font-weight: 800; color: var(--charcoal); letter-spacing: -0.5px; }
.case-metric-label { font-size: 12px; color: var(--grey); }

/* ─── Dashboard page ─────────────────────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - var(--nav-h));
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}
.auth-logo {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.auth-logo span { color: var(--primary); }
.auth-subtitle { font-size: 14px; color: var(--grey); text-align: center; margin-bottom: 32px; }
.auth-title { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.auth-switch { font-size: 14px; color: var(--grey); text-align: center; margin-top: 20px; }
.auth-switch a { color: var(--primary); font-weight: 600; cursor: pointer; }
.auth-error {
  background: #fee2e2;
  color: #dc2626;
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

.dashboard-page {
  display: none;
  min-height: calc(100vh - var(--nav-h));
  background: var(--light-grey);
}
.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--nav-h));
}
.dashboard-sidebar {
  background: var(--white);
  border-right: 1px solid var(--light-grey);
  padding: 32px 0;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.sidebar-business {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--light-grey);
  margin-bottom: 16px;
}
.sidebar-biz-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--primary);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.sidebar-biz-name { font-size: 15px; font-weight: 700; color: var(--charcoal); }
.sidebar-biz-plan {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: var(--r-full);
  margin-top: 4px;
}
.sidebar-nav { display: flex; flex-direction: column; }
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--grey);
  cursor: pointer;
  transition: background .15s, color .15s;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
}
.sidebar-nav-item:hover { background: var(--light-grey); color: var(--charcoal); }
.sidebar-nav-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}
.sidebar-nav-item .nav-icon { font-size: 18px; width: 22px; text-align: center; flex-shrink: 0; }
.sidebar-signout {
  margin-top: auto;
  padding: 0 20px;
  border-top: 1px solid var(--light-grey);
  padding-top: 20px;
  margin-top: 32px;
}

.dashboard-main {
  padding: 36px;
  overflow-y: auto;
}
.dashboard-section { display: none; }
.dashboard-section.active { display: block; }

.dash-header { margin-bottom: 32px; }
.dash-title { font-size: 28px; font-weight: 700; letter-spacing: -0.4px; }
.dash-subtitle { font-size: 15px; color: var(--grey); margin-top: 4px; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.kpi-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.kpi-info {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--light-grey);
  color: var(--grey);
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  z-index: 10;
}
.kpi-info::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #333f48;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: 8px;
  width: 210px;
  line-height: 1.45;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  text-align: left;
}
.kpi-info:hover::after { opacity: 1; }
.kpi-label { font-size: 12px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.kpi-value { font-size: 32px; font-weight: 800; color: var(--charcoal); letter-spacing: -0.8px; line-height: 1; }
.kpi-change {
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.kpi-change.up { color: var(--success); }
.kpi-change.neutral { color: var(--grey); }

.charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.chart-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.chart-title { font-size: 15px; font-weight: 700; margin-bottom: 20px; }

.activity-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.activity-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--grey);
  padding: 10px 0;
  border-bottom: 1px solid var(--light-grey);
  text-align: left;
}
.activity-table td {
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--light-grey);
  color: var(--charcoal);
}
.activity-table tr:last-child td { border-bottom: none; }

.sub-current {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sub-plan-name { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }
.sub-plan-price { font-size: 15px; color: var(--grey); margin-top: 2px; }
.sub-usage { margin-bottom: 24px; }
.sub-usage-title { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.usage-bar-wrap { margin-bottom: 14px; }
.usage-bar-label { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.usage-bar-label span:first-child { font-weight: 500; }
.usage-bar-label span:last-child { color: var(--grey); }
.usage-bar-bg { background: var(--light-grey); border-radius: var(--r-full); height: 8px; }
.usage-bar-fill { background: var(--primary); border-radius: var(--r-full); height: 8px; transition: width .4s; }
.addon-list { background: var(--white); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.addon-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-grey);
  font-size: 14px;
}
.addon-list-row:last-child { border-bottom: none; }

/* ─── Add-on shop ─────────────────────────────────────── */
.addon-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.addon-shop-card {
  border: 1.5px solid var(--light-grey);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.addon-shop-header { display: flex; gap: 12px; align-items: flex-start; }
.addon-shop-icon   { font-size: 24px; line-height: 1; margin-top: 2px; }
.addon-shop-name   { font-size: 15px; font-weight: 700; color: var(--charcoal); }
.addon-shop-sub    { font-size: 13px; color: var(--grey); margin-top: 3px; line-height: 1.4; }

.addon-dur-tabs { display: flex; gap: 4px; }
.addon-dur {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--light-grey);
  background: var(--white);
  border-radius: var(--r-sm);
  padding: 6px 2px;
  color: var(--grey);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.addon-dur.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}
.addon-price-row { display: flex; align-items: center; justify-content: space-between; }
.addon-big-price { font-size: 28px; font-weight: 800; color: var(--charcoal); letter-spacing: -0.5px; }
.addon-per-day   { font-size: 13px; color: var(--grey); margin-top: 2px; }
.addon-save-badge {
  background: rgba(34,197,94,.12);
  color: #16a34a;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  white-space: nowrap;
}
.addon-cta { width: 100%; padding: 12px; margin-top: auto; }

/* ─── Add-on modal ────────────────────────────────────── */
.addon-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.addon-modal-box {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 28px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.addon-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.addon-modal-title { font-size: 20px; font-weight: 800; color: var(--charcoal); }
.addon-modal-close {
  background: var(--light-grey);
  border: none;
  width: 32px; height: 32px;
  border-radius: var(--r-full);
  font-size: 15px;
  color: var(--grey);
  cursor: pointer;
}
.addon-summary {
  background: var(--light-grey);
  border-radius: var(--r-md);
  padding: 16px;
  margin: 20px 0 16px;
}
.addon-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}
.addon-summary-row span { color: var(--grey); }
.addon-stepper {
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--r-md);
  overflow: hidden;
}
.addon-stepper button {
  background: var(--light-grey);
  border: none;
  padding: 10px 18px;
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
  line-height: 1;
}
.addon-stepper button:hover { background: #e0e7ea; }
.addon-stepper span { padding: 0 24px; font-size: 22px; font-weight: 800; color: var(--charcoal); }
.addon-radio-group { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.addon-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
}
.addon-radio input { margin-top: 2px; accent-color: var(--primary); }
.addon-radio-hint { display: block; font-size: 12px; font-weight: 400; color: var(--grey); margin-top: 2px; }
.addon-info-box {
  background: var(--primary-light);
  border: 1.5px solid rgba(191,87,0,.15);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--primary);
  line-height: 1.5;
  margin-top: 4px;
}
@media (max-width: 900px) { .addon-shop-grid { grid-template-columns: 1fr; } }

/* ─── Active campaigns list ──────────────────────────────────────────────── */
.active-addon-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--bg-grey, #f9fafb);
  border-radius: var(--r-md);
  margin-bottom: 8px;
}
.active-addon-row:last-child { margin-bottom: 0; }
.active-addon-icon {
  font-size: 22px;
  min-width: 32px;
  text-align: center;
  padding-top: 1px;
}
.active-addon-info { flex: 1; min-width: 0; }

.settings-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.settings-card-title { font-size: 17px; font-weight: 700; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--light-grey); }
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-grey);
}
.toggle-row:last-child { border-bottom: none; }
.toggle-info { flex: 1; }
.toggle-label { font-size: 15px; font-weight: 600; }
.toggle-desc { font-size: 13px; color: var(--grey); margin-top: 2px; }
.toggle-switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--light-grey);
  border-radius: var(--r-full);
  transition: background .2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); }

.promo-list { display: flex; flex-direction: column; gap: 12px; }
.promo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-light);
  border: 1.5px solid rgba(191,87,0,.2);
  border-radius: var(--r-md);
  padding: 14px 18px;
  gap: 16px;
}
.promo-info { flex: 1; }
.promo-name { font-size: 14px; font-weight: 700; color: var(--primary); }
.promo-details { font-size: 13px; color: var(--grey); margin-top: 2px; }
.add-promo-row {
  border: 1.5px dashed var(--grey);
  border-radius: var(--r-md);
  padding: 14px 18px;
  text-align: center;
  color: var(--grey);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.add-promo-row:hover { border-color: var(--primary); color: var(--primary); }

/* ─── Opening hours grid ──────────────────────────────────────────────────── */
.hours-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--light-grey);
  flex-wrap: wrap;
}
.hours-row:last-child { border-bottom: none; }
.hours-day {
  width: 36px;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  flex-shrink: 0;
}
.hours-status { width: 100px !important; flex-shrink: 0; font-size: 13px !important; padding: 6px 10px !important; }
.hours-times { display: flex; align-items: center; gap: 6px; }
.hours-time  { width: 84px !important; font-size: 13px !important; padding: 6px 8px !important; }
.hours-sep   { color: var(--grey); font-size: 14px; }
.hours-closed-label { font-size: 13px; color: var(--grey); }

/* ─── Address autocomplete ────────────────────────────────────────────────── */
.addr-wrap { position: relative; }
.addr-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0; right: 0;
  background: var(--white);
  border: 1.5px solid var(--light-grey);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  z-index: 200;
  overflow: hidden;
  max-height: 240px;
  overflow-y: auto;
}
.addr-suggestion {
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--charcoal);
  border-bottom: 1px solid var(--light-grey);
  line-height: 1.4;
}
.addr-suggestion:last-child { border-bottom: none; }
.addr-suggestion:hover { background: var(--light-grey); }
.addr-suggestion strong { color: var(--primary); }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .charts-row { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .hero { padding: 60px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 36px; }
  .hero-visual { display: none; }
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 24px; }
  .how-grid, .features-grid, .pricing-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .case-study-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; height: auto; }
  .dashboard-main { padding: 20px 16px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .sub-current { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
