/* Marketing-page-only components. Reuses the design tokens from style.css
   (colors, radius, shadows, fonts) so the landing page and the app look
   like the same product, but keeps hero/pricing/FAQ styles out of the
   dashboard stylesheet since the dashboard never needs them. */

/* Scroll-triggered fade-in, toggled by an IntersectionObserver in
   landing.html. The hero is deliberately excluded — it's visible on
   load already, no scroll needed to reach it. */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.reveal.reveal-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 24px;
}

.site-header {
  position: relative;
  z-index: 2;
}

.site-header .nav-actions { display: flex; gap: 10px; align-items: center; }
.site-header .nav-actions a.link { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 10px; }
.site-header .nav-actions a.link:hover { color: var(--text); }

/* ---------------------------------------------------------------------- */
/* Anchor-as-button. style.css's button.primary/.secondary rules only     */
/* match real <button> elements — the landing page's CTAs are <a> tags    */
/* (register/pricing-anchor links), so this mirrors the same look/hover   */
/* lift behavior for anchors, reusing the same tokens.                    */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition),
    transform var(--transition), box-shadow var(--transition);
}
.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px -2px var(--primary-glow);
}
.btn.primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 12px 26px -8px var(--primary-glow); }
.btn.primary:active { background: var(--primary-active); transform: translateY(0); }

.btn.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn.secondary:hover { background: var(--surface-3); border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn.secondary:active { transform: translateY(0); }

.btn.block { display: flex; width: 100%; }
.btn.sm { padding: 8px 15px; font-size: 12.5px; border-radius: 6px; }
.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: 10px; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero-wrap {
  position: relative;
  overflow: hidden;
}

/* Soft radial glow + faint dot-grid behind the hero — the "premium dark
   security tool" backdrop, built entirely from existing tokens so it
   adapts automatically between light/dark (--primary-glow and --border
   are already tuned per-theme in style.css). */
.hero-wrap::before {
  content: '';
  position: absolute;
  top: -260px;
  left: 50%;
  width: 1200px;
  height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--primary-glow), transparent 72%);
  filter: blur(20px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.hero-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border-strong) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 900px 460px at 50% 0%, black 45%, transparent 78%);
  mask-image: radial-gradient(ellipse 900px 460px at 50% 0%, black 45%, transparent 78%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

/* Social proof strip — no invented user/store count (none exists yet);
   qualitative trust markers instead, same honest-until-real-numbers-exist
   principle as the rest of the copy on this page. */
.social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 56px;
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 600;
}
.social-proof span { display: inline-flex; align-items: center; gap: 7px; }
.social-proof svg { width: 15px; height: 15px; color: var(--text-faint); flex: none; }

@media (max-width: 640px) {
  .social-proof { flex-direction: column; gap: 12px; padding-bottom: 40px; }
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px 60px;
  text-align: center;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-soft);
  color: var(--primary-soft-text);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 16px 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-border-soft);
  margin-bottom: 24px;
}
.hero .eyebrow svg { width: 13px; height: 13px; flex: none; }

.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 17.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 620px;
}

.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero .trust-note { margin-top: 20px; font-size: 12.5px; color: var(--text-faint); }

/* Mock browser window showing the redirect/detect flow */
.mock-browser {
  max-width: 720px;
  margin: 46px auto 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--surface);
  text-align: left;
}

.mock-browser .mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.mock-browser .mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-browser .mock-url {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  flex: 1;
}

.mock-browser .mock-body { padding: 20px 22px; font-size: 13.5px; }
.mock-browser .mock-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 6px;
  margin: 0 -6px;
  border-radius: 7px;
  border-bottom: 1px dashed var(--border);
  opacity: 0;
  transform: translateY(8px);
  animation: mockLineIn 0.5s var(--ease) forwards;
}
.mock-browser .mock-line:last-child { border-bottom: none; }
.mock-browser .mock-line .icon {
  flex: none;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  position: relative;
}
.mock-browser .mock-line .icon svg { width: 15px; height: 15px; }

.mock-browser .mock-line:nth-child(1) { animation-delay: 0.25s; }
.mock-browser .mock-line:nth-child(2) { animation-delay: 0.85s; }
.mock-browser .mock-line:nth-child(3) { animation-delay: 1.5s; }
.mock-browser .mock-line:nth-child(4) { animation-delay: 2.15s; }

@keyframes mockLineIn {
  to { opacity: 1; transform: translateY(0); }
}

/* The "redirected" line gets a brief highlight flash on arrival, plus a
   radar-style pulse ring on its icon — the moment that matters most in
   the whole demo, so it's the one that visibly "happens" rather than
   just appearing. */
.mock-browser .mock-line.redirect-line {
  animation: mockLineIn 0.5s var(--ease) forwards, mockLineFlash 1.4s ease-out forwards;
  animation-delay: 0.85s, 0.85s;
}
.mock-browser .mock-line.redirect-line .icon.pulse-icon { color: var(--primary); }
.mock-browser .mock-line.redirect-line .icon.pulse-icon::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  opacity: 0;
  animation: pingRing 1.8s ease-out 1.1s infinite;
}

@keyframes mockLineFlash {
  0% { background: transparent; }
  25% { background: var(--primary-soft); }
  100% { background: transparent; }
}

@keyframes pingRing {
  0% { transform: scale(0.5); opacity: 0.7; }
  100% { transform: scale(2.1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mock-browser .mock-line { animation: none; opacity: 1; transform: none; }
  .mock-browser .mock-line.redirect-line .icon.pulse-icon::after { animation: none; }
}

/* Sections */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 24px;
}

.section-header { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-header h2 { font-size: 30px; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-header p { color: var(--text-muted); font-size: 15.5px; line-height: 1.6; margin: 0; }

/* Problem section */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.pain-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--danger-border);
}

.pain-card .pain-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--danger-soft);
  color: var(--danger-text);
  margin-bottom: 14px;
}
.pain-card .pain-icon svg { width: 19px; height: 19px; }
.pain-card h3 { font-size: 15.5px; margin: 0 0 8px; }
.pain-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* Small "your traffic leaking to a clone" illustration above the pain
   grid — deliberately no invented statistic, just the concept made
   visible: dots continuously drifting from the store node to the clone
   node along a dashed track. */
.leak-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto 44px;
}
.leak-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: none;
}
.leak-node .leak-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-soft-text);
  border: 1px solid var(--primary-border-soft);
}
.leak-node .leak-icon svg { width: 20px; height: 20px; }
.leak-node.danger .leak-icon {
  background: var(--danger-soft);
  color: var(--danger-text);
  border-color: var(--danger-border);
}
.leak-node span { font-size: 11.5px; color: var(--text-faint); font-weight: 600; }

.leak-track {
  position: relative;
  flex: 1;
  height: 2px;
  margin: 0 4px 22px;
  background-image: linear-gradient(to right, var(--border-strong) 50%, transparent 50%);
  background-size: 8px 2px;
  background-repeat: repeat-x;
}
.leak-track .leak-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--danger);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: leakFlow 2.6s linear infinite;
}
.leak-track .leak-dot:nth-child(2) { animation-delay: 0.87s; }
.leak-track .leak-dot:nth-child(3) { animation-delay: 1.74s; }

@keyframes leakFlow {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .leak-track .leak-dot { animation: none; opacity: 0; }
}

@media (max-width: 480px) {
  .leak-visual { max-width: 300px; margin-bottom: 32px; }
  .leak-node .leak-icon { width: 36px; height: 36px; }
}

.section-muted { background: var(--surface-2); border-radius: var(--radius-lg); }

/* How it works */
.steps-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 860px) {
  .steps-row { flex-direction: row; align-items: flex-start; gap: 0; }
  .steps-row .step { flex: 1; min-width: 0; }
}

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

.step .step-icon-wrap {
  position: relative;
  display: inline-flex;
  margin-bottom: 18px;
}

.step .step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.step .step-icon svg { width: 21px; height: 21px; }

.step:hover .step-icon {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 24px -10px var(--primary-glow);
}

/* The step number as a badge fused to its own icon (top-right overlap) —
   unambiguous ownership, unlike a numeral floating independently on a
   connecting line between icons. */
.step .step-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--surface-2);
  box-shadow: var(--shadow-sm);
}

/* Explicit directional connector between steps, so the flow reads as
   "step 1 -> step 2 -> step 3" rather than an ambiguous shared line. */
.step-connector {
  display: none;
}
@media (min-width: 860px) {
  .step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 48px;
    margin-top: 0;
    color: var(--border-strong);
  }
  .step-connector svg { width: 20px; height: 20px; }
}

.step h3 { font-size: 15.5px; margin: 0 0 8px; }
.step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border-soft);
}

.feature-card .feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-soft-text);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.feature-card .feature-icon svg { width: 17px; height: 17px; }

.feature-card h3 { font-size: 14.5px; margin: 0 0 6px; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Pricing */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 40px;
  font-size: 14px;
  color: var(--text-muted);
}

.billing-toggle .switch {
  width: 46px;
  height: 26px;
  background: var(--primary-soft);
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border);
}

.billing-toggle .switch .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  transition: transform 0.15s ease;
}

.billing-toggle .switch.on .knob { transform: translateX(20px); }
.billing-toggle .save-badge {
  background: var(--success-soft);
  color: var(--success);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.price-card:not(.featured):hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.price-card.featured {
  border: 1.5px solid var(--primary);
  box-shadow: 0 0 0 1px var(--primary-border-soft), 0 22px 46px -18px var(--primary-glow);
  transform: translateY(-10px) scale(1.02);
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--surface) 130px);
}
.price-card.featured:hover { transform: translateY(-12px) scale(1.02); }

.price-card .popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  color: white;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 6px 16px -4px var(--primary-glow);
}
.price-card .popular-badge svg { width: 12px; height: 12px; }

.price-card .plan-name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.price-card .plan-tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; min-height: 34px; }

.price-card .plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-card .plan-price .amount { font-size: 34px; font-weight: 750; letter-spacing: -0.02em; }
.price-card .plan-price .period { font-size: 13.5px; color: var(--text-muted); }
.price-card .plan-billed-note { font-size: 12px; color: var(--text-faint); margin-bottom: 22px; }

.price-card ul.plan-features { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.price-card ul.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  padding: 7px 0;
  color: var(--text);
}
.price-card ul.plan-features li.unavailable { color: var(--text-faint); }
.price-card ul.plan-features li .tick { flex: none; color: var(--success); font-weight: 700; }
.price-card ul.plan-features li.unavailable .tick { color: var(--border); }

.price-card button.block { margin-top: 0; }

.faq-section { max-width: 760px; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  user-select: none;
}

.faq-question .chevron { color: var(--text-faint); transition: transform 0.15s ease; }
.faq-item.open .faq-question .chevron { transform: rotate(180deg); }

.faq-answer {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}
.faq-item.open .faq-answer { max-height: 240px; margin-top: 10px; }

/* Final CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 56px 40px;
  background: linear-gradient(120deg, var(--primary), var(--accent-2), var(--primary-active), var(--primary));
  background-size: 300% 300%;
  animation: ctaGradientShift 10s ease-in-out infinite;
  border-radius: var(--radius-lg);
  text-align: center;
  color: white;
  box-shadow: var(--shadow-md);
}
@keyframes ctaGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 650px 320px at 50% 0%, black 40%, transparent 78%);
  mask-image: radial-gradient(ellipse 650px 320px at 50% 0%, black 40%, transparent 78%);
  opacity: 0.5;
  pointer-events: none;
}

/* Soft spotlight glow behind the button — same layered-backdrop idea as
   the hero's glow, scaled down and re-centered on the CTA itself. */
.cta-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 220px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.4), transparent 72%);
  filter: blur(18px);
  opacity: 0.7;
  animation: ctaGlowPulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaGlowPulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.94); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.04); }
}

/* Excludes .cta-glow on purpose: it must stay position:absolute (set
   above) to sit behind the content without taking up layout space. This
   selector previously matched it too via the universal *, and since
   both rules have identical specificity, this one (later in the file)
   was silently winning and flipping it to position:relative, turning it
   into a normal in-flow 260px-tall block that pushed all the real
   content down, hence the large empty gradient area above the heading. */
.cta-band > *:not(.cta-glow) { position: relative; z-index: 1; }
/* color: white is explicit here, not inherited, because style.css's
   global `h1, h2, h3 { color: var(--text) }` rule targets h2 directly —
   an explicit rule always wins over inheriting .cta-band's own color,
   regardless of specificity, so without this the heading rendered in
   the near-black body text color against this band's gradient. */
.cta-band h2 { font-size: clamp(24px, 3.6vw, 32px); margin: 0 0 12px; letter-spacing: -0.02em; color: white; }
.cta-band p { opacity: 0.92; margin: 0 0 30px; font-size: 15px; }

.cta-main-btn {
  padding: 16px 34px;
  font-size: 16px;
  gap: 10px;
  background: white;
  color: var(--primary);
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.4);
}
.cta-main-btn:hover {
  background: #f8f8fd;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 36px -10px rgba(0, 0, 0, 0.45);
}
.cta-main-btn:active { transform: translateY(-1px) scale(1.01); }

.cta-btn-arrow { display: inline-flex; align-items: center; transition: transform var(--transition); }
.cta-btn-arrow svg { width: 17px; height: 17px; }
.cta-main-btn:hover .cta-btn-arrow { transform: translateX(4px); }

.cta-mini-props {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 30px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.cta-mini-props span { display: inline-flex; align-items: center; gap: 6px; }
.cta-mini-props svg { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  .cta-band { animation: none; }
  .cta-glow { animation: none; opacity: 0.6; }
}

@media (max-width: 640px) {
  .cta-band { padding: 44px 24px; }
  .cta-mini-props { gap: 10px 18px; }
}

.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 24px 50px;
  color: var(--text-faint);
  font-size: 12.5px;
  text-align: center;
}

.site-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 14px;
}
.site-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12.5px;
}
.site-footer-links a:hover { color: var(--primary); }

@media (max-width: 640px) {
  .price-card.featured { transform: none; }
}

@media (max-width: 480px) {
  .site-header { padding: 16px; }
  .site-header .brand-name { font-size: 15px; }
  .site-header .nav-actions { gap: 6px; }
  .site-header .nav-actions a.link { padding: 8px 4px; font-size: 13px; white-space: nowrap; }
  .site-header .nav-actions .btn.sm { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
  .site-header .icon-btn { width: 30px; height: 30px; }

  .hero { padding: 48px 18px 44px; }
  .hero .eyebrow { font-size: 11.5px; padding: 5px 13px 5px 10px; }
  .hero p.lead { font-size: 15.5px; }
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { width: 100%; }
  .mock-browser { margin-top: 34px; border-radius: var(--radius); }
  .mock-browser .mock-body { padding: 14px 14px; font-size: 12.5px; }
  .mock-browser .mock-url { font-size: 11px; padding: 3px 8px; }
  .mock-browser .mock-line { gap: 8px; }
  .hero-wrap::before { width: 700px; height: 500px; top: -180px; }
}

/* Commission structure stat cards (affiliates.html) — same card language
   as .feature-card, centered, with a big value in place of an icon since
   these are numbers/terms rather than illustrated concepts. */
.commission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.commission-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.commission-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border-soft);
}

.commission-card .commission-value {
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 6px;
}
.commission-card .commission-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
