@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  /* === COLOR SYSTEM === */
  --bg-color: #f8faf8;           /* Off-white background */
  --bg-subtle: #f1f5f1;          /* Very subtle green-tinted surface */
  --surface: #ffffff;            /* Pure white cards */
  --surface-hover: #f6faf6;      /* Card hover state */
  --border: #e2eae2;             /* Soft border */
  --border-strong: #c8d8c8;      /* Stronger border */

  /* Primary: Emerald Green */
  --primary: #16a34a;            /* Emerald 600 */
  --primary-dark: #15803d;       /* Emerald 700 */
  --primary-light: #dcfce7;      /* Emerald 100 */
  --primary-glow: rgba(22, 163, 74, 0.15);
  --primary-mid: #22c55e;        /* Emerald 500 for accents */

  /* Semantic colors */
  --accent-red: #dc2626;         /* Red 600 */
  --accent-red-light: #fef2f2;   /* Red 50 */
  --accent-orange: #d97706;      /* Amber 600 */
  --accent-orange-light: #fffbeb;
  --accent-green: #16a34a;       /* Same as primary for consistency */
  --accent-green-light: #dcfce7;

  /* Text */
  --text-main: #111827;          /* Almost black */
  --text-secondary: #374151;     /* Dark gray */
  --text-muted: #6b7280;         /* Medium gray */
  --text-light: #9ca3af;         /* Light gray */
  --text-on-primary: #ffffff;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-green: 0 4px 14px rgba(22, 163, 74, 0.25);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background decorative blobs */
.bg-glow {
  position: fixed;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
}
.glow-purple {
  top: -5vw;
  right: -5vw;
  background: var(--primary);
}
.glow-blue {
  bottom: -5vw;
  left: -5vw;
  background: var(--primary-mid);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

/* === NAVIGATION === */
header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.logo svg {
  color: var(--primary);
}
.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
}
.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-links a.nav-cta {
  background: var(--primary);
  color: white;
  border-radius: 8px;
  padding: 0.45rem 1rem;
}
.nav-links a.nav-cta:hover {
  background: var(--primary-dark);
  color: white;
}

/* === LAYOUT === */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* === HERO SECTION === */
.hero-section {
  text-align: center;
  margin-bottom: 4rem;
  padding: 3rem 0 2rem;
}
.badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: var(--primary-light);
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 9999px;
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-title {
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--text-main);
  font-weight: 800;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero-title span.highlight {
  color: var(--primary);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

/* === SEARCH BOX === */
.search-container {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.search-box {
  display: flex;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  padding: 0.4rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}
.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow), var(--shadow-md);
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 0.75rem 1rem;
  min-width: 0;
}
.search-input::placeholder {
  color: var(--text-light);
}
.search-btn {
  background: var(--primary);
  color: white;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-green);
  white-space: nowrap;
}
.search-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
}
.search-btn:active {
  transform: translateY(0);
}

/* === TRUST BADGES === */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.badge-item svg {
  color: var(--primary);
  width: 16px;
  height: 16px;
}

/* === SCAN CONSOLE === */
.console-container {
  display: none;
  max-width: 620px;
  margin: 3rem auto;
  background: #0f1a0f;
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(22, 163, 74, 0.08);
  font-family: 'Courier New', Courier, monospace;
}
.console-header {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  align-items: center;
}
.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.console-title {
  color: #6b7280;
  font-size: 0.8rem;
  margin-left: 0.5rem;
  font-weight: normal;
  font-family: var(--font-body);
}
.console-log {
  height: 140px;
  overflow-y: hidden;
  color: #22c55e;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.progress-bar-container {
  background: rgba(255, 255, 255, 0.08);
  height: 6px;
  border-radius: 9999px;
  margin-top: 1.2rem;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-mid));
  border-radius: 9999px;
  transition: width 0.12s linear;
}

/* === RESULTS DASHBOARD === */
.results-container {
  display: none;
  margin-top: 3.5rem;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.business-header-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.business-info h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
  color: var(--text-main);
}
.business-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.rating-pill {
  background: var(--accent-orange-light);
  border: 1px solid rgba(217, 119, 6, 0.15);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  text-align: center;
}
.rating-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-orange);
  font-family: var(--font-display);
  line-height: 1;
}
.rating-stars {
  font-size: 0.85rem;
  color: var(--accent-orange);
  margin-top: 0.2rem;
}
.comp-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
}

/* === REVIEWS LIST === */
.reviews-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.section-title-wrap {
  margin-bottom: 1.5rem;
}
.section-title-wrap h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.section-title-wrap p {
  color: var(--text-muted);
  font-size: 0.87rem;
}
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.review-item {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  gap: 1rem;
  position: relative;
  transition: var(--transition-smooth);
  cursor: pointer;
}
.review-item:hover, .review-item.selected-item {
  border-color: var(--primary);
  background: var(--surface-hover);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.review-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  padding-top: 0.15rem;
}
.custom-checkbox {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-strong);
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  flex-shrink: 0;
}
.custom-checkbox input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.custom-checkbox::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: var(--primary);
  opacity: 0;
  transform: scale(0);
  transition: var(--transition-smooth);
}
.custom-checkbox.checked {
  border-color: var(--primary);
  background: var(--primary-light);
}
.custom-checkbox.checked::after {
  opacity: 1;
  transform: scale(1);
}

.review-content {
  flex: 1;
}
.review-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  align-items: flex-start;
  gap: 0.5rem;
}
.review-author {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
}
.review-date {
  color: var(--text-light);
  font-size: 0.78rem;
  white-space: nowrap;
}
.review-stars {
  color: var(--accent-red);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.review-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

/* === ELIGIBILITY BADGE === */
.eligibility-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 600;
}
.eligibility-high {
  background: var(--accent-green-light);
  color: var(--primary-dark);
  border: 1px solid rgba(22, 163, 74, 0.2);
}
.eligibility-medium {
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  border: 1px solid rgba(217, 119, 6, 0.15);
}
.eligibility-low {
  background: var(--accent-red-light);
  color: var(--accent-red);
  border: 1px solid rgba(220, 38, 38, 0.15);
}

/* === CHECKOUT PANEL === */
.checkout-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.checkout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.checkout-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.7rem;
  color: var(--text-main);
}

/* === PRICING ROWS === */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.price-row span:last-child {
  font-weight: 600;
  color: var(--text-main);
}
.price-row.total {
  margin-top: 1rem;
  border-top: 1.5px solid var(--border);
  padding-top: 0.9rem;
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-main);
}
.price-row.total span:last-child {
  color: var(--primary);
  font-size: 1.3rem;
}
.success-disclaimer {
  font-size: 0.8rem;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  margin-top: 1rem;
  border-left: 3px solid var(--primary);
  line-height: 1.5;
}

/* === NUDGE POPUP === */
.promo-nudge {
  display: none;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1.5px solid rgba(22, 163, 74, 0.3);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-size: 0.83rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 1rem;
  animation: nudgePulse 2s infinite;
}
@keyframes nudgePulse {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.25); }
  70%  { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* === FORM CONTROLS === */
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.form-input {
  width: 100%;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-smooth);
}
.form-input:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.legal-checkbox-group {
  margin: 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.legal-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.79rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}
.legal-checkbox-item input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
}
.legal-checkbox-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.legal-checkbox-item a:hover {
  text-decoration: underline;
}

/* === SIGNATURE CANVAS === */
.signature-wrap {
  margin-bottom: 1.2rem;
}
.signature-wrap label {
  display: block;
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.signature-canvas-container {
  background: white;
  border: 1.5px dashed var(--border-strong);
  border-radius: 8px;
  height: 110px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.signature-canvas-container:hover {
  border-color: var(--primary);
}
.signature-canvas-container canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}
.signature-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.74rem;
  color: var(--text-light);
}
.clear-sig-btn {
  color: var(--accent-red);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.74rem;
  transition: var(--transition-smooth);
}
.clear-sig-btn:hover {
  color: #b91c1c;
}

/* === PRIMARY BUTTONS === */
.submit-order-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-green);
  transition: var(--transition-smooth);
  letter-spacing: -0.01em;
}
.submit-order-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
}
.submit-order-btn:active {
  transform: translateY(0);
}
.submit-order-btn:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* === TURNSTILE === */
.turnstile-wrapper {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

/* === LANDING SECTIONS === */
.landing-section {
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}
.section-headline {
  text-align: center;
  margin-bottom: 3rem;
}
.section-headline h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}
.section-headline p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* === PRICING TIERS === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-tier-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}
.pricing-tier-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pricing-tier-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow), var(--shadow-md);
}
.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.tier-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.tier-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}
.tier-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}
.tier-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 40px;
  line-height: 1.6;
}
.tier-features {
  list-style: none;
  margin-bottom: 1.75rem;
  flex: 1;
}
.tier-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tier-features svg {
  color: var(--primary);
  flex-shrink: 0;
}
.tier-cta {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border);
  color: var(--text-main);
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-display);
  font-size: 0.9rem;
}
.tier-cta:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.pricing-tier-card.featured .tier-cta {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-green);
}
.pricing-tier-card.featured .tier-cta:hover {
  background: var(--primary-dark);
}

/* === SOCIAL PROOF === */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.case-header {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  color: var(--text-main);
}
.case-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.comp-box {
  padding: 0.9rem;
  border-radius: 8px;
  text-align: center;
}
.comp-before {
  background: var(--accent-red-light);
  border: 1px solid rgba(220, 38, 38, 0.12);
}
.comp-after {
  background: var(--accent-green-light);
  border: 1px solid rgba(22, 163, 74, 0.15);
}
.comp-val {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.comp-before .comp-val { color: var(--accent-red); }
.comp-after .comp-val { color: var(--primary); }

.case-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === CHAT SHOWCASE === */
.chats-showcase {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3.5rem;
}
.chats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.chat-window {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.chat-header {
  background: #075e54; /* WhatsApp dark green */
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
}
.chat-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}
.chat-status {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
}
.chat-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 180px;
  background: #f0f0f0;
}
.bubble {
  max-width: 80%;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.4;
}
.bubble.client {
  background: white;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  color: #111;
}
.bubble.support {
  background: #dcf8c6; /* WhatsApp reply green */
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  color: #111;
}

/* === HOW IT WORKS === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.step-card {
  text-align: center;
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 1rem auto;
  box-shadow: var(--shadow-green);
}
.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}
.step-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* === FAQ ACCORDION === */
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.faq-item:hover {
  border-color: var(--primary);
}
.faq-question {
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
  transition: var(--transition-smooth);
}
.faq-question:hover {
  color: var(--primary);
}
.faq-question svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.faq-answer {
  padding: 0 1.4rem 1.1rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: none;
  line-height: 1.65;
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  background: #f9fafb;
  padding: 3.5rem 2rem 2rem;
  margin-top: 5rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-logo-desc p {
  color: var(--text-muted);
  font-size: 0.87rem;
  margin-top: 0.8rem;
  max-width: 280px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.82rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.6rem;
}
.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}
.footer-col ul li a:hover {
  color: var(--primary);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-text {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.cookie-text a {
  color: var(--primary);
  text-decoration: none;
}
.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}
.cookie-btn {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-body);
}
.cookie-btn.accept {
  background: var(--primary);
  border: none;
  color: white;
}
.cookie-btn.accept:hover {
  background: var(--primary-dark);
}
.cookie-btn.deny {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
}
.cookie-btn.deny:hover {
  border-color: var(--text-muted);
  color: var(--text-secondary);
}

/* === CASE TRACKER PAGE === */
.tracker-status-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.tracker-token {
  font-size: 1.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.06em;
  margin: 0.5rem 0 1.5rem 0;
}
.tracker-progress-wrap {
  max-width: 550px;
  margin: 0 auto;
}
.progress-percentage {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

/* === STATUS PILLS === */
.status-pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-pending  { background: #f3f4f6; color: #6b7280; border: 1px solid #d1d5db; }
.status-analyzing{ background: #eff6ff; color: #3b82f6; border: 1px solid #bfdbfe; }
.status-submitted{ background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.status-waiting  { background: #faf5ff; color: #7c3aed; border: 1px solid #ddd6fe; }
.status-removed  { background: var(--primary-light); color: var(--primary-dark); border: 1px solid rgba(22,163,74,0.25); }
.status-failed   { background: var(--accent-red-light); color: var(--accent-red); border: 1px solid rgba(220,38,38,0.2); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .nav-container {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 600px) {
  .hero-title { font-size: 1.9rem; }
  .search-box { flex-direction: column; gap: 0.6rem; padding: 0.6rem; }
  .search-btn { padding: 0.75rem; justify-content: center; }
  .trust-badges { gap: 1rem; flex-direction: column; align-items: center; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  main { padding: 2rem 1rem; }
}
