/* ─── Variables ──────────────────────────────────── */
:root {
  --bg: #fafaf5;
  --bg-alt: #f3f3ee;
  --surface: #ffffff;
  --fg: #0f1623;
  --fg-muted: #5a6274;
  --fg-subtle: #9aa0ae;
  --accent: #16a34a;
  --accent-dark: #0f7a32;
  --accent-light: #dcfce7;
  --navy: #0f1623;
  --navy-mid: #1e2d42;
  --border: #e5e5de;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(15,22,35,0.06), 0 4px 16px rgba(15,22,35,0.08);
  --font: 'DM Sans', system-ui, sans-serif;
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: var(--font-head); }

/* ─── Auth Pages ─────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-container { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.auth-brand { display: flex; align-items: center; gap: 12px; justify-content: center; }
.brand-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(22,163,74,0.15);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(22,163,74,0.3);
}
.auth-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auth-header { display: flex; flex-direction: column; gap: 6px; }
.auth-header h1 { font-size: 1.6rem; font-weight: 800; color: var(--fg); letter-spacing: -0.02em; }
.auth-header p { font-size: 0.9rem; color: var(--fg-muted); }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label { font-size: 0.82rem; font-weight: 600; color: var(--fg); letter-spacing: 0.01em; }
label .optional { font-weight: 400; color: var(--fg-muted); }

input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
input:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
}
.input-error { border-color: #dc2626; }
.input-disabled { background: var(--bg-alt); color: var(--fg-muted); cursor: not-allowed; }

.field-error { font-size: 0.78rem; color: #dc2626; display: none; }
.field-error.visible { display: block; }
.field-hint { font-size: 0.78rem; color: var(--fg-muted); }

.btn-primary {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-head);
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  padding: 10px 20px;
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-head);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.btn-secondary:hover { border-color: var(--fg-muted); background: var(--bg-alt); }

.auth-footer { text-align: center; font-size: 0.85rem; color: var(--fg-muted); }
.auth-footer a { color: var(--accent); text-decoration: none; font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }
.auth-back { text-align: center; }
.auth-back a { font-size: 0.82rem; color: rgba(255,255,255,0.4); text-decoration: none; }
.auth-back a:hover { color: rgba(255,255,255,0.7); }

/* ─── Portal Nav ─────────────────────────────────── */
.portal-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}
.portal-nav-public { border-bottom: 1px solid rgba(255,255,255,0.08); }
.portal-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.portal-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.portal-brand-sub {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 500;
  margin-left: 4px;
}
.portal-nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.portal-nav-links a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.portal-nav-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.portal-nav-links a.active { color: #fff; background: rgba(255,255,255,0.1); }
.portal-nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.btn-ghost-sm {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.btn-ghost-sm:hover { color: #fff; background: rgba(255,255,255,0.08); }
.btn-primary-sm {
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-head);
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary-sm:hover { background: var(--accent-dark); }

/* ─── Portal Container ───────────────────────────── */
.portal-container { max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px; }
.portal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; gap: 16px; }
.portal-header h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; }
.portal-subtitle { font-size: 0.9rem; color: var(--fg-muted); }
.portal-header .btn-primary {
  width: auto;
  padding: 10px 20px;
  flex-shrink: 0;
}

/* ─── Stats Grid ─────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 24px;
  border: 1px solid var(--border);
}
.stat-label { font-size: 0.78rem; font-weight: 500; color: var(--fg-muted); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; }
.stat-value { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--fg); letter-spacing: -0.02em; }
.stat-value.green { color: var(--accent); }

/* ─── Section / Table ─────────────────────────────── */
.section { margin-bottom: 40px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-header h2 { font-size: 1.1rem; font-weight: 700; }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 2px solid var(--border);
}
.data-table td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--fg);
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--bg-alt); }

.state-badge {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--fg-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-head);
}
.price-tag { font-weight: 600; color: var(--accent); }
.contact-cell { display: flex; flex-direction: column; gap: 2px; }
.contact-link { font-size: 0.82rem; color: var(--fg-muted); text-decoration: none; }
.contact-link:hover { color: var(--accent); }

/* ─── Filter Bar ─────────────────────────────────── */
.filter-bar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; }
.filter-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.filter-group { display: flex; flex-direction: column; gap: 6px; }
.filter-group label { font-size: 0.75rem; font-weight: 500; color: var(--fg-muted); }
.filter-group select { min-width: 120px; padding: 8px 32px 8px 12px; }
.btn-filter {
  padding: 8px 16px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-head);
  cursor: pointer;
  transition: background 0.15s;
}
.btn-filter:hover { background: var(--navy-mid); }

/* ─── Leads Grid ─────────────────────────────────── */
.leads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.lead-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lead-card:hover { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(22,163,74,0.08); }
.lead-card-top { display: flex; align-items: center; justify-content: space-between; }
.state-badge-lg {
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-head);
}
.lead-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}
.lead-age { font-size: 0.85rem; font-weight: 600; color: var(--fg-muted); }
.lead-coverage { font-size: 0.9rem; font-weight: 500; color: var(--fg); }
.lead-meta-row { display: flex; align-items: center; gap: 12px; }
.lead-date { font-size: 0.78rem; color: var(--fg-subtle); }
.lead-card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.lead-price { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--accent); }
.btn-buy {
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-head);
  cursor: pointer;
  transition: background 0.15s;
}
.btn-buy:hover { background: var(--accent-dark); }
.btn-in-cart {
  display: inline-block;
  padding: 8px 16px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border: 1px solid rgba(22,163,74,0.3);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-head);
}

/* ─── Empty State ────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.empty-state p { color: var(--fg-muted); margin-bottom: 20px; }
.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  background: none;
  color: var(--fg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-head);
  text-decoration: none;
  transition: border-color 0.15s;
}
.btn-outline:hover { border-color: var(--fg-muted); }

/* ─── Profile ────────────────────────────────────── */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.profile-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.profile-section h2 { font-size: 1.1rem; font-weight: 700; color: var(--fg); margin-bottom: 0; }
.profile-subhead { font-size: 0.85rem; font-weight: 600; color: var(--fg-muted); margin-top: 4px; margin-bottom: -4px; }
.checkbox-group { display: flex; }
.checkbox-label { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--fg); cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.form-actions { margin-top: 4px; }
.alert-success { background: var(--accent-light); color: var(--accent-dark); padding: 12px 16px; border-radius: 8px; font-size: 0.88rem; font-weight: 500; margin-bottom: 20px; border: 1px solid rgba(22,163,74,0.2); }

/* ─── Pricing Page ───────────────────────────────── */
.pricing-page { max-width: 900px; margin: 0 auto; padding: 0 24px 80px; }
.pricing-hero {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  margin-bottom: 48px;
}
.pricing-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: #ffffff; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.pricing-hero p { font-size: 1rem; color: #7a8fa8; max-width: 480px; margin: 0 auto; }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.pricing-card-main, .pricing-card-bulk {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricing-tier-header { display: flex; flex-direction: column; gap: 4px; }
.pricing-tier-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.pricing-tier-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--fg); }

.pricing-table { display: flex; flex-direction: column; gap: 2px; }
.pricing-row-header {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 0.9rem;
}
.pricing-row:first-child { border-radius: 8px 8px 0 0; }
.pricing-row:last-child { border-radius: 0 0 8px 8px; }
.pricing-row span:first-child { color: var(--fg); }
.price-val { font-family: var(--font-head); font-weight: 700; color: var(--accent); }
.pricing-note { font-size: 0.82rem; color: var(--fg-muted); }

.bulk-explanation p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; }
.bulk-math { display: flex; flex-direction: column; gap: 10px; }
.bulk-example { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--bg-alt); border-radius: 8px; }
.bulk-example-label { font-size: 0.82rem; color: var(--fg-muted); }
.bulk-example-calc { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: var(--fg); }

.how-it-works { margin-bottom: 48px; }
.how-it-works h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 28px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step-item { padding: 24px 20px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.step-item:last-child { border-right: none; }
.step-item .step-num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}
.step-item .step-body h3 { font-size: 0.95rem; font-weight: 700; color: var(--fg); margin-bottom: 6px; }
.step-item .step-body p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.55; }

.pricing-cta {
  background: var(--accent-light);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.pricing-cta h2 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; color: var(--fg); margin-bottom: 10px; }
.pricing-cta p { font-size: 1rem; color: var(--fg-muted); margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary-lg {
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-head);
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
}
.btn-primary-lg:hover { background: var(--accent-dark); }
.btn-outline-lg {
  padding: 14px 28px;
  background: none;
  color: var(--fg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-head);
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.15s;
}
.btn-outline-lg:hover { border-color: var(--fg-muted); }

/* ─── Landing Page ───────────────────────────────── */
.landing-page { background: var(--bg); }

.landing-hero {
  background: var(--navy);
  padding: 80px 24px;
}
.landing-hero-inner { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.landing-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(22,163,74,0.15);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(22,163,74,0.3);
  display: inline-block;
}
.landing-hero h1 { font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1.1; }
.landing-subtitle { font-size: 1.05rem; color: #7a8fa8; max-width: 560px; line-height: 1.65; }
.landing-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.landing-social-proof { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; padding-top: 8px; }
.proof-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.proof-num { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: #fff; }
.proof-label { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.proof-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

.landing-section { padding: 64px 24px; }
.landing-section-alt { background: var(--bg-alt); }
.landing-section-inner { max-width: 860px; margin: 0 auto; }
.landing-section-header { text-align: center; margin-bottom: 48px; }
.landing-section-header h2 { font-size: 2rem; font-weight: 800; color: var(--fg); letter-spacing: -0.02em; margin-bottom: 10px; }
.landing-section-header p { font-size: 1rem; color: var(--fg-muted); }

.landing-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.landing-step { display: flex; flex-direction: column; gap: 16px; }
.landing-step-icon {
  width: 48px; height: 48px; background: var(--accent); color: #fff;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 800;
}
.landing-step-body h3 { font-size: 1rem; font-weight: 700; color: var(--fg); margin-bottom: 6px; }
.landing-step-body p { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.6; }

.landing-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.landing-feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.feature-icon { font-size: 1.5rem; flex-shrink: 0; }
.landing-feature h3 { font-size: 0.95rem; font-weight: 700; color: var(--fg); margin-bottom: 6px; }
.landing-feature p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.5; }

.landing-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.landing-pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.landing-pricing-card-highlight { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(22,163,74,0.08); }
.landing-pricing-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.landing-pricing-row { display: flex; justify-content: space-between; padding: 10px 14px; background: var(--bg); border-radius: 8px; font-size: 0.9rem; }
.landing-pricing-row span:first-child { color: var(--fg); }
.landing-bulk-promo { display: flex; flex-direction: column; gap: 4px; }
.bulk-big { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--fg); }
.bulk-get { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--accent); }
.landing-pricing-note { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.5; }

.landing-faq { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { padding: 24px 28px; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1rem; font-weight: 700; color: var(--fg); margin-bottom: 8px; }
.faq-item p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; }

.landing-cta-section {
  background: var(--accent-light);
  border-top: 1px solid rgba(22,163,74,0.2);
  padding: 72px 24px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.landing-cta-section h2 { font-size: 2rem; font-weight: 800; color: var(--fg); letter-spacing: -0.02em; }
.landing-cta-section p { font-size: 1rem; color: var(--fg-muted); max-width: 520px; }

.landing-footer { background: var(--navy); padding: 32px 24px; }
.landing-footer-inner { max-width: 860px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: #fff; text-decoration: none; flex-shrink: 0; }
.footer-links { display: flex; gap: 20px; flex: 1; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin-left: auto; }

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-item { border-right: none; border-bottom: 1px solid var(--border); }
  .step-item:last-child { border-bottom: none; }
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > *:last-child { grid-column: 1 / -1; }
  .profile-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .filter-form { flex-direction: column; align-items: stretch; }
  .filter-group select { min-width: unset; width: 100%; }
  .btn-filter, .btn-ghost-sm { width: 100%; text-align: center; }
  .portal-header { flex-direction: column; align-items: flex-start; }
  .pricing-hero { padding: 40px 24px; }
  .pricing-cta { padding: 32px 24px; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ─── Flash Messages ────────────────────────────── */
.flash-error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 0.9rem; }
.flash-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 0.9rem; }

/* ─── Cart ──────────────────────────────────────── */
.cart-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 4px;
  line-height: 1.4;
}
.cart-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.cart-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cart-lead-card { flex-direction: column; }
.cart-summary { position: sticky; top: 80px; }
.summary-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 8px 0; border-bottom: 1px solid var(--border); }
.summary-row:last-of-type { border-bottom: none; }
.summary-total { font-weight: 700; font-size: 1.1rem; padding-top: 12px; }
.summary-total span:last-child { color: var(--accent); }
.btn-checkout {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-head);
  cursor: pointer;
  transition: background 0.15s;
  text-align: center;
  text-decoration: none;
  display: block;
}
.btn-checkout:hover { background: var(--accent-dark); }
.btn-remove { background: none; border: none; color: #9ca3af; font-size: 0.8rem; cursor: pointer; padding: 4px 8px; border-radius: 4px; transition: color 0.15s, background 0.15s; }
.btn-remove:hover { color: #dc2626; background: #fef2f2; }
.delivered-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; background: #ecfdf5; color: #065f46; font-size: 0.75rem; font-weight: 600; border-radius: 20px; text-transform: capitalize; }
.pending-badge { padding: 3px 8px; background: #fff7ed; color: #92400e; font-size: 0.75rem; font-weight: 600; border-radius: 20px; }