/* ============================================================
   REPOWER LEADS — Stylesheet
   Art Direction: Deep navy marine, brass accent, salt-white
   Fonts: Plus Jakarta Sans (display) + Inter (body)
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  /* Marine Navy palette */
  --color-bg: #F4F5F7;
  --color-surface: #FFFFFF;
  --color-surface-2: #F0F2F5;
  --color-border: #D1D5DC;
  --color-divider: #E2E5EA;

  /* Text */
  --color-text: #111827;
  --color-text-muted: #6B7280;
  --color-text-faint: #9CA3AF;
  --color-text-inverse: #FFFFFF;

  /* Primary — Deep Navy */
  --color-primary: #0F2B5B;
  --color-primary-hover: #1A3F80;
  --color-primary-active: #091D40;
  --color-primary-light: #E8EDFB;

  /* Accent — Brass/Amber (marine instrument panels) */
  --color-accent: #B87333;
  --color-accent-hover: #9A5E22;
  --color-accent-light: #FBF0E4;

  /* Semantic */
  --color-success: #166534;
  --color-success-bg: #DCFCE7;
  --color-hot: #DC2626;
  --color-hot-bg: #FEF2F2;
  --color-warm: #D97706;
  --color-warm-bg: #FFFBEB;

  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem + 0.25vw,  0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw,  1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw,    1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem + 1.25vw,  2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem + 2.5vw,   3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem + 4vw,       5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,43,91,0.06), 0 1px 2px rgba(15,43,91,0.04);
  --shadow-md: 0 4px 12px rgba(15,43,91,0.08), 0 2px 6px rgba(15,43,91,0.05);
  --shadow-lg: 0 12px 32px rgba(15,43,91,0.12), 0 4px 16px rgba(15,43,91,0.08);

  /* Content widths */
  --content-narrow: 680px;
  --content-default: 1000px;
  --content-wide: 1200px;

  /* Transitions */
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --color-bg: #0A0E1A;
  --color-surface: #111827;
  --color-surface-2: #1A2236;
  --color-border: #2D3748;
  --color-divider: #1E2A3D;
  --color-text: #E5E7EB;
  --color-text-muted: #9CA3AF;
  --color-text-faint: #4B5563;
  --color-text-inverse: #111827;
  --color-primary: #4B7BE8;
  --color-primary-hover: #6B95F0;
  --color-primary-active: #3366D6;
  --color-primary-light: #1E2A45;
  --color-accent: #D4924A;
  --color-accent-hover: #E8A85E;
  --color-accent-light: #2A1F12;
  --color-success: #22C55E;
  --color-success-bg: #052E16;
  --color-hot-bg: #1F0A0A;
  --color-warm-bg: #1C1208;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0A0E1A;
    --color-surface: #111827;
    --color-surface-2: #1A2236;
    --color-border: #2D3748;
    --color-divider: #1E2A3D;
    --color-text: #E5E7EB;
    --color-text-muted: #9CA3AF;
    --color-text-faint: #4B5563;
    --color-primary: #4B7BE8;
    --color-primary-hover: #6B95F0;
    --color-primary-light: #1E2A45;
    --color-accent: #D4924A;
    --color-accent-light: #2A1F12;
    --color-success: #22C55E;
    --color-success-bg: #052E16;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
  }
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li { text-wrap: pretty; }

::selection { background: rgba(15,43,91,0.15); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}
.container--narrow {
  max-width: var(--content-narrow);
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.section-header {
  text-align: center;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.section-header h2 { font-size: var(--text-2xl); color: var(--color-text); margin-bottom: var(--space-4); }
.section-sub { font-size: var(--text-base); color: var(--color-text-muted); max-width: 560px; margin-inline: auto; }

/* === TYPOGRAPHY === */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.eyebrow--light { color: var(--color-accent); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.6em 1.4em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #FFFFFF;
}
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary:active { background: var(--color-primary-active); transform: none; }

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-light); }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary-light); transform: translateY(-1px); }

.btn--lg { padding: 0.75em 1.75em; font-size: var(--text-base); }
.btn--full { width: 100%; }

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-accent);
  background: var(--color-accent-light);
  border: 1px solid currentColor;
  border-radius: var(--radius-full);
  padding: 0.3em 0.9em;
}

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition);
}
.nav--scrolled { box-shadow: var(--shadow-sm); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: 4rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-left: auto;
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--color-primary); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: all var(--transition);
  background: none;
  border: none;
  cursor: pointer;
}
.nav__theme-toggle:hover { color: var(--color-primary); background: var(--color-primary-light); }

@media (max-width: 640px) {
  .nav__links { display: none; }
}

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  background: linear-gradient(170deg, var(--color-primary) 0%, #0A1F4A 100%);
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Hero primary button — white bg on dark hero */
.btn--hero-primary {
  background: #FFFFFF;
  color: var(--color-primary);
  font-weight: 700;
}
.btn--hero-primary:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.hero__badge { margin-bottom: var(--space-6); }

.hero__headline {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}
.hero__accent { color: var(--color-accent); }

.hero__sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}
.hero__cta-group .btn--ghost {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);
}
.hero__cta-group .btn--ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}

/* Hero proof stats */
.hero__proof {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.proof-stat { flex: 1; min-width: 110px; }
.proof-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.proof-stat__label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}
.proof-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  align-self: center;
}

/* Lead card demo */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.lead-card-demo {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  border: 1px solid rgba(255,255,255,0.1);
}

.lcd__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background: var(--color-primary);
  color: #fff;
}
.lcd__week { font-size: var(--text-xs); font-weight: 600; opacity: 0.85; font-family: var(--font-display); }
.lcd__count {
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: var(--font-display);
  background: var(--color-accent);
  color: #fff;
  padding: 0.2em 0.7em;
  border-radius: var(--radius-full);
}

.lcd__leads { padding: var(--space-3) var(--space-4); }

.lead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--color-divider, #E2E5EA);
}
.lead-row:last-child { border-bottom: none; }

.lead-row__info { flex: 1; min-width: 0; }
.lead-row__name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text, #111827);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lead-row__detail {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted, #6B7280);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lead-row--blurred { opacity: 0.45; filter: blur(3px); user-select: none; }

.lead-row__tag {
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: var(--font-display);
  padding: 0.2em 0.7em;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.tag--hot { background: var(--color-hot-bg, #FEF2F2); color: var(--color-hot, #DC2626); }
.tag--warm { background: var(--color-warm-bg, #FFFBEB); color: var(--color-warm, #D97706); }

.lcd__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-5);
  background: var(--color-surface-2, #F0F2F5);
  border-top: 1px solid var(--color-divider, #E2E5EA);
}
.lcd__footer span { font-size: var(--text-xs); color: var(--color-text-muted, #6B7280); }
.lcd__cta {
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--color-primary, #0F2B5B);
  text-decoration: none;
  transition: color var(--transition);
}
.lcd__cta:hover { color: var(--color-accent, #B87333); }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-top: var(--space-8); }
  .lead-card-demo { max-width: 100%; }
}

/* === PROBLEM SECTION === */
.problem { background: var(--color-surface); }

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}

.problem__text h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
  color: var(--color-text);
}
.problem__text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.problem__cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pain-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  transition: box-shadow var(--transition), transform var(--transition);
}
.pain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.pain-card__icon {
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.pain-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.pain-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .problem__grid { grid-template-columns: 1fr; }
}

/* === HOW IT WORKS === */
.how { background: var(--color-bg); }

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--space-6);
  align-items: start;
  margin-bottom: var(--space-8);
}

.step__arrow {
  font-size: var(--text-xl);
  color: var(--color-border);
  align-self: center;
  padding-top: var(--space-2);
}

.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.step__num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--space-3);
  -webkit-text-stroke: 2px var(--color-primary);
  color: transparent;
}

.step h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.how__note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--color-primary-light);
  border: 1px solid rgba(15,43,91,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-primary);
  line-height: 1.5;
}
[data-theme="dark"] .how__note { border-color: rgba(75,123,232,0.2); }
.how__note svg { flex-shrink: 0; margin-top: 2px; }

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .step__arrow {
    display: none;
  }
}

/* === FEATURES === */
.features { background: var(--color-surface); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-5);
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.feature-card--large {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a3f80 100%);
  color: #fff;
  border-color: transparent;
}
.feature-card--large .feature-card__icon { color: var(--color-accent); }
.feature-card--large h3 { color: #fff; }
.feature-card--large p { color: rgba(255,255,255,0.75); }

.feature-card__icon {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.feature-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
  .feature-card--large { grid-column: span 2; }
}
@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }
}

/* === PRICING === */
.pricing { background: var(--color-bg); }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: start;
  margin-bottom: var(--space-8);
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
}

.price-card--featured {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.price-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: var(--font-display);
  padding: 0.2em 0.9em;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.price-card__plan {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.price-card--featured .price-card__plan { color: rgba(255,255,255,0.7); }

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}
.price-card__amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.03em;
}
.price-card--featured .price-card__amount { color: #fff; }
.price-card__period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.price-card--featured .price-card__period { color: rgba(255,255,255,0.65); }

.price-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}
.price-card--featured .price-card__desc { color: rgba(255,255,255,0.75); }

.price-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.price-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.45;
}
.price-card--featured .price-card__features li { color: rgba(255,255,255,0.8); }
.price-card__features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.price-card--featured .price-card__features li::before {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23D4924A' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.price-card--featured .btn--primary {
  background: #fff;
  color: var(--color-primary);
}
.price-card--featured .btn--primary:hover { background: rgba(255,255,255,0.9); }

.pricing__note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
  font-family: var(--font-display);
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  border: 1px solid var(--color-accent);
  max-width: 600px;
  margin-inline: auto;
}

@media (max-width: 860px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

/* === FAQ === */
.faq { background: var(--color-surface); }

.faq__list { display: flex; flex-direction: column; gap: var(--space-3); }

.faq__item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq__item[open] { box-shadow: var(--shadow-sm); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  list-style: none;
  user-select: none;
  transition: color var(--transition);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__item[open] .faq__q { color: var(--color-primary); }

.faq__a {
  padding: 0 var(--space-6) var(--space-5);
  border-top: 1px solid var(--color-divider);
}
.faq__a p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: var(--space-4);
}

/* === WAITLIST === */
.waitlist { background: var(--color-bg); }

.waitlist__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  box-shadow: var(--shadow-lg);
}

.waitlist__card h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}
.waitlist__card > p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.waitlist__form { display: flex; flex-direction: column; gap: var(--space-5); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group { display: flex; flex-direction: column; gap: var(--space-2); }

.form-group label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-group input {
  padding: 0.65em 1em;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-base);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder { color: var(--color-text-faint); }
.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15,43,91,0.1);
}

.form__fine-print {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.waitlist__success {
  text-align: center;
  padding: var(--space-8);
}
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-success-bg);
  color: var(--color-success);
  margin-bottom: var(--space-4);
}
.waitlist__success h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.waitlist__success p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 400px;
  margin-inline: auto;
}

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

/* === FOOTER === */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding-block: var(--space-8);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
}

.footer__copy { font-size: var(--text-xs); }

.footer__links {
  display: flex;
  gap: var(--space-6);
}
.footer__links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--color-accent); }

@media (max-width: 640px) {
  .footer__inner { flex-direction: column; text-align: center; }
}

/* ── EVINRUDE CALLOUT ──────────────────────────────────────── */
.evinrude-callout {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a3d6e 100%);
  color: #fff;
}

.evinrude__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.evinrude__badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.evinrude__headline {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.25rem;
}

.evinrude__accent {
  color: var(--color-accent);
}

.evinrude__body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.evinrude__stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.evinrude__stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  min-width: 160px;
  text-align: center;
}

.evinrude__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.evinrude__label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

.evinrude__cta-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.75rem;
  font-style: italic;
}

/* ── VS COMPETITION TABLE ──────────────────────────────────── */
.vs-section {
  background: var(--color-surface);
}

.vs-table {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 2.5rem;
}

.vs-header,
.vs-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  align-items: stretch;
}

.vs-header {
  background: var(--color-primary);
  color: #fff;
}

.vs-row {
  border-bottom: 1px solid var(--color-border);
}

.vs-row:last-child {
  border-bottom: none;
}

.vs-row:nth-child(even) {
  background: var(--color-bg);
}

.vs-col {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.vs-col--label {
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
}

.vs-header .vs-col--label {
  background: var(--color-primary);
  border-right: 1px solid rgba(255,255,255,0.15);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vs-col--other {
  color: var(--color-text-muted);
  border-right: 1px solid var(--color-border);
}

.vs-header .vs-col--other {
  color: rgba(255,255,255,0.75);
  border-right: 1px solid rgba(255,255,255,0.15);
  font-weight: 600;
  font-size: 0.85rem;
}

.vs-col--ours {
  color: var(--color-text);
  font-weight: 500;
}

.vs-header .vs-col--ours {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.vs-col--win {
  color: var(--color-primary);
  font-weight: 600;
  position: relative;
}

.vs-col--win::before {
  content: '✓';
  color: #22c55e;
  font-weight: 800;
  margin-right: 0.5rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .vs-header,
  .vs-row {
    grid-template-columns: 1fr;
  }
  .vs-col--label {
    background: var(--color-primary);
    color: #fff;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.6rem 1rem;
    border-right: none;
  }
  .vs-col--other,
  .vs-col--ours {
    border-right: none;
    padding: 0.5rem 1rem 0.5rem 1.5rem;
  }
  .vs-col--other::before {
    content: '✗ ';
    color: #ef4444;
  }
  .vs-header {
    display: none;
  }
  .evinrude__stats {
    gap: 1rem;
  }
  .evinrude__stat {
    min-width: 130px;
    padding: 1rem;
  }
}

/* ── ROI CALCULATOR ─────────────────────────────────────────── */
.roi-section {
  background: var(--color-bg);
}

.roi-calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2.5rem;
}

/* Inputs column */
.roi-inputs {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.roi-input-group {}

.roi-input-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.roi-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.roi-input-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.roi-plan-toggle {
  display: flex;
  gap: 0.75rem;
}

.roi-plan-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 2px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.roi-plan-btn span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.roi-plan-btn--active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.roi-plan-btn--active span {
  color: rgba(255,255,255,0.85);
}

.roi-plan-btn:hover:not(.roi-plan-btn--active) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Range slider */
.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--color-border);
  outline: none;
  cursor: pointer;
  accent-color: var(--color-accent);
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.2);
  transition: transform 0.1s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Results column */
.roi-results {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.roi-result-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roi-result-card--highlight {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 6%, var(--color-surface));
}

.roi-result-card--accent {
  border-color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 8%, var(--color-surface));
}

.roi-result-card--big {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--color-primary);
  border-color: var(--color-primary);
  padding: 1.5rem;
}

.roi-result-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.roi-result-card--big .roi-result-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.roi-result-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.roi-result-card--highlight .roi-result-num {
  color: var(--color-primary);
}

.roi-result-card--accent .roi-result-num {
  color: var(--color-accent);
}

.roi-result-card--big .roi-result-num {
  font-size: 2.5rem;
  color: var(--color-accent);
  line-height: 1;
}

.roi-result-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.roi-disclaimer {
  margin-top: 1.75rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .roi-calculator {
    grid-template-columns: 1fr;
  }
  .roi-result-card--big .roi-result-num {
    font-size: 2rem;
  }
}

/* ============================================================
   TRUST BAR
   ============================================================ */

.trust-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: 1rem 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.4rem 1.25rem;
  white-space: nowrap;
}

.trust-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
  opacity: 0.7;
}

.trust-divider {
  width: 1px;
  height: 1.5rem;
  background: var(--color-divider);
  flex-shrink: 0;
}

[data-theme="dark"] .trust-bar {
  background: #111827;
  border-color: rgba(255,255,255,0.07);
}

[data-theme="dark"] .trust-divider {
  background: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .trust-bar__inner {
    gap: 0.25rem 0;
  }
  .trust-item {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
  }
  .trust-divider:nth-child(even) {
    display: none;
  }
}

/* ============================================================
   PRODUCT PREVIEW SECTION
   ============================================================ */

.product-preview {
  background: var(--color-bg);
}

/* Outer tab row */
.preview-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 0.5rem 0.5rem 0;
  width: fit-content;
}

.preview-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.preview-tab:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

.preview-tab--active {
  color: var(--color-primary);
  background: var(--color-surface);
  border-color: var(--color-border) var(--color-border) var(--color-surface);
  font-weight: 600;
}

/* Browser chrome */
.preview-browser {
  border: 1px solid var(--color-border);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-surface);
}

.preview-browser__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}

.preview-browser__dots {
  display: flex;
  gap: 0.3rem;
}

.preview-browser__dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.preview-browser__dots span:nth-child(1) { background: #FF5F57; }
.preview-browser__dots span:nth-child(2) { background: #FFBD2E; }
.preview-browser__dots span:nth-child(3) { background: #28C840; }

.preview-browser__url {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.75rem;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

/* Panels */
.preview-panel {
  display: none;
}

.preview-panel--active {
  display: block;
}

.preview-panel[hidden] {
  display: none !important;
}

/* Shell = sidebar + main */
.pp-shell {
  display: flex;
  height: 520px;
  overflow: hidden;
}

/* ---- PP Sidebar ---- */
.pp-sidebar {
  width: 170px;
  flex-shrink: 0;
  background: #0F2B5B;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  font-size: 0.72rem;
  overflow: hidden;
}

.pp-sidebar__logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem 0.75rem;
  font-weight: 700;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0.5rem;
}

.pp-sidebar__icon {
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,0.15);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pp-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 0.5rem;
  margin-bottom: 0.75rem;
}

.pp-nav__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  border-radius: 5px;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.55);
  cursor: default;
}

.pp-nav__item--active {
  background: rgba(255,255,255,0.12);
  color: white;
  font-weight: 600;
}

.pp-sidebar__section-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  padding: 0 1rem 0.4rem;
}

.pp-batch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  border-radius: 4px;
  margin: 0 0.4rem;
}

.pp-batch span {
  font-size: 0.65rem;
  opacity: 0.6;
}

.pp-batch--active {
  background: rgba(255,255,255,0.1);
  color: white;
  font-weight: 500;
}

.pp-dealer {
  margin-top: auto;
  padding: 0.6rem 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.68rem;
}

.pp-dealer__name {
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.pp-dealer__loc {
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
}

/* ---- PP Main ---- */
.pp-main {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #F4F5F7;
}

.pp-header {
  background: white;
  border-bottom: 1px solid #E2E5EA;
  padding: 0.7rem 1.1rem;
}

.pp-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
}

.pp-subtitle {
  font-size: 0.68rem;
  color: #6B7280;
  margin-top: 0.1rem;
}

/* KPI row */
.pp-kpis {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: white;
  border-bottom: 1px solid #E2E5EA;
  overflow: hidden;
}

.pp-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
}

.pp-kpi__label {
  font-size: 0.6rem;
  font-weight: 500;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pp-kpi__val {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.pp-kpi__val--hot { color: #DC2626; }
.pp-kpi__val--green { color: #16A34A; }

/* Table */
.pp-table {
  flex: 1;
  overflow-y: auto;
  background: white;
  margin: 0.6rem 1rem 0;
  border: 1px solid #E2E5EA;
  border-radius: 8px;
  overflow: hidden;
}

.pp-table__head {
  display: grid;
  grid-template-columns: 56px 90px 80px 1fr 90px 42px 76px;
  padding: 0.35rem 0.75rem;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  font-size: 0.63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9CA3AF;
  gap: 0.5rem;
}

.pp-row {
  display: grid;
  grid-template-columns: 56px 90px 80px 1fr 90px 42px 76px;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #F3F4F6;
  font-size: 0.7rem;
  color: #374151;
  gap: 0.5rem;
  align-items: center;
}

.pp-row:last-child { border-bottom: none; }

.pp-row--faint { opacity: 0.65; }

.pp-score {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 0.73rem;
}

.pp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pp-dot--hot { background: #EF4444; animation: pulse 1.5s infinite; }
.pp-dot--amber { background: #F59E0B; }

.pp-score--hot { color: #DC2626; }

.pp-owner { font-weight: 500; color: #111827; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-loc { color: #6B7280; font-size: 0.67rem; white-space: nowrap; }
.pp-boat { color: #374151; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.68rem; }
.pp-eng { color: #6B7280; font-size: 0.67rem; white-space: nowrap; }
.pp-age { color: #9CA3AF; font-size: 0.67rem; text-align: center; }

.pp-status {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 500;
  white-space: nowrap;
}

.pp-status--new { background: #EFF6FF; color: #1D4ED8; }
.pp-status--contacted { background: #FFF7ED; color: #C2410C; }
.pp-status--qualified { background: #F0FDF4; color: #15803D; }

.pp-table-footer {
  padding: 0.45rem 1rem;
  font-size: 0.66rem;
  color: #9CA3AF;
  text-align: center;
  border-top: 1px solid #E5E7EB;
  background: #F9FAFB;
  margin: 0 1rem 0.6rem;
  border-radius: 0 0 8px 8px;
  border: 1px solid #E2E5EA;
  border-top: none;
}

.pp-link {
  color: #0F2B5B;
  font-weight: 600;
  cursor: pointer;
}

/* Territory Panel */
.pp-territory-body {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 1rem;
  flex: 1;
  overflow: hidden;
}

.pp-map {
  flex: 1;
  background: white;
  border: 1px solid #E2E5EA;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  min-height: 200px;
}

.pp-map__badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(15,43,91,0.85);
  color: white;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.pp-territory-right {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow-y: auto;
}

.pp-plan-card {
  background: white;
  border: 1px solid #E2E5EA;
  border-radius: 8px;
  padding: 0.75rem;
}

.pp-plan-card__name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #111827;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.pp-plan-card__price {
  font-size: 0.72rem;
  color: #B87333;
  font-weight: 600;
}

.pp-plan-stats {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.pp-plan-stat {
  flex: 1;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 5px;
  padding: 0.3rem 0.4rem;
  text-align: center;
  font-size: 0.6rem;
  color: #6B7280;
}

.pp-plan-stat span {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F2B5B;
}

.pp-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pp-plan-features li {
  font-size: 0.64rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.pp-loc-list {
  background: white;
  border: 1px solid #E2E5EA;
  border-radius: 8px;
  padding: 0.6rem;
}

.pp-loc-list__title {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9CA3AF;
  margin-bottom: 0.4rem;
}

.pp-loc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
  border-bottom: 1px solid #F3F4F6;
  font-size: 0.65rem;
  color: #374151;
}

.pp-loc-row:last-child { border-bottom: none; }

.pp-loc-row small {
  color: #9CA3AF;
  font-size: 0.6rem;
}

.pp-loc-count {
  font-size: 0.63rem;
  font-weight: 600;
  background: #EFF6FF;
  color: #1D4ED8;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Templates Panel */
.pp-tmpl-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: white;
  border-bottom: 1px solid #E5E7EB;
}

.pp-tip {
  font-size: 0.62rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.pp-tip--green { background: #F0FDF4; color: #15803D; }
.pp-tip--blue { background: #EFF6FF; color: #1D4ED8; }
.pp-tip--amber { background: #FFFBEB; color: #B45309; }

.pp-tmpl-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background: white;
  border-bottom: 1px solid #E5E7EB;
}

.pp-tmpl-tab {
  padding: 0.3rem 0.65rem;
  font-size: 0.68rem;
  border: 1px solid #E5E7EB;
  border-radius: 5px;
  color: #6B7280;
  cursor: default;
  background: #F9FAFB;
}

.pp-tmpl-tab--active {
  background: #0F2B5B;
  color: white;
  border-color: #0F2B5B;
  font-weight: 500;
}

.pp-tmpl-note {
  padding: 0.3rem 1rem;
  font-size: 0.65rem;
  color: #9CA3AF;
  background: #FFFBEB;
  border-bottom: 1px solid #FEF3C7;
}

.pp-tmpl-note code {
  background: #FEF3C7;
  padding: 0 0.25rem;
  border-radius: 3px;
  font-size: 0.63rem;
  color: #92400E;
}

.pp-tmpl-card {
  margin: 0.75rem 1rem;
  background: white;
  border: 1px solid #E2E5EA;
  border-radius: 8px;
  overflow: hidden;
}

.pp-tmpl-card__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #F3F4F6;
  background: #F9FAFB;
}

.pp-tmpl-card__title {
  font-size: 0.73rem;
  font-weight: 600;
  color: #111827;
  flex: 1;
}

.pp-tmpl-card__badge {
  font-size: 0.6rem;
  font-weight: 500;
  background: #ECFDF5;
  color: #065F46;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.pp-tmpl-copy {
  font-size: 0.63rem;
  padding: 0.2rem 0.5rem;
  background: white;
  border: 1px solid #D1D5DB;
  border-radius: 4px;
  color: #374151;
  cursor: default;
  font-family: var(--font-body);
}

.pp-tmpl-card__hint {
  font-size: 0.62rem;
  color: #9CA3AF;
  padding: 0.3rem 0.75rem;
  background: #F9FAFB;
  border-bottom: 1px solid #F3F4F6;
}

.pp-tmpl-body {
  font-size: 0.67rem;
  line-height: 1.7;
  color: #374151;
  font-family: var(--font-body);
  white-space: pre-wrap;
  word-break: break-word;
  padding: 0.75rem;
  margin: 0;
  background: white;
  max-height: 220px;
  overflow-y: auto;
}

/* Preview CTA */
.preview-cta {
  text-align: center;
  margin-top: 1.5rem;
}

.preview-cta p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.preview-cta__link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.preview-cta__link:hover {
  text-decoration: underline;
}

/* Dark mode for preview */
[data-theme="dark"] .preview-browser {
  border-color: rgba(255,255,255,0.1);
  background: #1F2937;
}

[data-theme="dark"] .preview-browser__bar {
  background: #111827;
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .preview-browser__url {
  background: #1F2937;
  border-color: rgba(255,255,255,0.1);
  color: #9CA3AF;
}

[data-theme="dark"] .preview-tabs {
  background: #111827;
  border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .preview-tab {
  color: #9CA3AF;
}

[data-theme="dark"] .preview-tab:hover,
[data-theme="dark"] .preview-tab--active {
  background: #1F2937;
  color: #E5E7EB;
}

[data-theme="dark"] .preview-tab--active {
  border-color: rgba(255,255,255,0.1) rgba(255,255,255,0.1) #1F2937;
}

/* Responsive for preview */
@media (max-width: 900px) {
  .pp-shell {
    height: auto;
    flex-direction: column;
  }
  .pp-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0.5rem;
    height: auto;
  }
  .pp-sidebar__logo { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
  .pp-nav { flex-direction: row; margin-bottom: 0; }
  .pp-sidebar__section-label, .pp-batch, .pp-dealer { display: none; }
  .pp-territory-body { flex-direction: column; }
  .pp-territory-right { width: 100%; }
  .pp-table__head, .pp-row {
    grid-template-columns: 50px 1fr 70px 55px;
  }
  .pp-boat, .pp-eng, .pp-age { display: none; }
  .pp-kpis { flex-wrap: wrap; }
  .preview-tabs { flex-wrap: wrap; }
}
