/* eInsightsAI — shared styles */
:root {
  --primary: #029FAD;
  --accent: #0066ff;
  --muted: #878787;
  --border: #e6e8ee;
  --text: #111;
  --bg: #fafbfc;
  --white: #fff;
  --gradient: linear-gradient(90deg, var(--accent), var(--primary));
  --gradient-reverse: linear-gradient(90deg, var(--primary), var(--accent));
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --radius-pill: 999px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1120px;
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--primary); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.site-header .main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.15s, color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(0, 102, 255, 0.08);
  color: var(--accent);
}

.main-nav .nav-pricing-btn {
  margin-left: 4px;
  padding: 8px 18px;
}

.main-nav .nav-pricing-btn.active {
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle svg { display: block; width: 20px; height: 20px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.2;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.25);
}

.btn-primary:hover { color: var(--white); box-shadow: 0 6px 20px rgba(0, 102, 255, 0.35); }

.btn-secondary {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary:hover { color: var(--white); }

.btn-outline {
  background: var(--white);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover { background: rgba(0, 102, 255, 0.06); color: var(--accent); }

.btn-outline-primary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-sm { padding: 8px 16px; font-size: 13px; }

.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(0, 102, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(2, 159, 173, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-split { text-align: left; }

.hero-single .hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
}

.hero-single .hero-copy {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.hero-single .hero p.lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-single .hero-actions,
.hero-single .hero-trust {
  justify-content: center;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(0, 102, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  border: 1px solid rgba(0, 102, 255, 0.12);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 159, 173, 0.25);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5.5vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  margin: 0 0 28px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: #444;
  max-width: 520px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  min-height: 380px;
}

.hero-mock {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 102, 255, 0.04);
  padding: 20px;
  overflow: hidden;
}

.hero-mock::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
}

.hero-mock-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.hero-mock-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(2, 159, 173, 0.12);
  color: var(--primary);
}

.hero-mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
}

.hero-mock-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.hero-mock-card strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-mock-card span {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-mock-card span small {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.hero-mock-bar {
  height: 6px;
  border-radius: var(--radius-pill);
  background: #e8edf3;
  margin-top: 8px;
  overflow: hidden;
}

.hero-mock-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
}

.hero-mock-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  position: relative;
}

.hero-mock-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border);
  color: #333;
}

.hero-mock-tag.accent {
  border-color: rgba(0, 102, 255, 0.25);
  color: var(--accent);
  background: rgba(0, 102, 255, 0.06);
}

.hero-mock-renewal {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(2, 159, 173, 0.2);
  background: linear-gradient(135deg, rgba(2, 159, 173, 0.06), rgba(0, 102, 255, 0.04));
  position: relative;
}

.hero-mock-renewal p {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.hero-mock-renewal span {
  font-size: 13px;
  color: #333;
}

.hero-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 600;
  animation: hero-float 4s ease-in-out infinite;
}

.hero-float-risk {
  top: -12px;
  right: -8px;
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.2);
  background: #fff5f4;
}

.hero-float-approved {
  bottom: 24px;
  left: -16px;
  color: #0a7;
  border-color: rgba(0, 170, 119, 0.25);
  background: #f0fdf8;
  animation-delay: -2s;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-product-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  position: relative;
}

.hero-product-logos img { max-height: 44px; width: auto; opacity: 0.85; filter: grayscale(20%); }

/* Trust bar */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-stat strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.trust-stat span {
  font-size: 13px;
  color: var(--muted);
}

/* Card icons */
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 102, 255, 0.08);
  color: var(--accent);
  margin-bottom: 14px;
}

.card-icon.teal {
  background: rgba(2, 159, 173, 0.1);
  color: var(--primary);
}

/* Problem band */
.problem-band {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  padding: 64px 0;
}

.problem-band .section-header h2 { color: var(--white); }
.problem-band .section-header p { color: rgba(255, 255, 255, 0.72); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background 0.2s, border-color 0.2s;
}

.problem-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.problem-stat {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.75));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.problem-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.problem-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

/* Audience pills */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.audience-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.18s, box-shadow 0.18s;
}

.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.audience-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: var(--white);
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
}

.audience-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
}

.audience-card p {
  margin: 0;
  font-size: 14px;
  color: #444;
  line-height: 1.55;
}

/* Sections */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 8px;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 159, 173, 0.3);
}

.card-accent::before,
.card-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--gradient);
}

.card-featured {
  border: 2px solid var(--accent);
  background: #f8fafc;
  box-shadow: var(--shadow-md);
}

.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 102, 255, 0.1);
  color: var(--accent);
}

.card h3 {
  margin: 8px 0 10px;
  font-size: 20px;
  font-weight: 800;
}

.card .card-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.card p { margin: 0 0 16px; color: #333; font-size: 15px; }

.card ul {
  margin: 0 0 20px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
}

.card ul li { margin-bottom: 4px; }

.card-price {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 4px;
}

.card-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.card-price-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Product showcase */
.product-showcase {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.product-showcase.reverse { direction: rtl; }
.product-showcase.reverse > * { direction: ltr; }

.product-showcase img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.product-showcase h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 12px;
}

.product-showcase .product-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.comparison-table th { font-weight: 700; background: #f8fafc; }
.comparison-table td.center { text-align: center; }
.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table .col-highlight { background: rgba(0, 102, 255, 0.03); }

/* How it works */
.how-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 18px;
  position: relative;
}

.how-steps::before {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  top: 32px;
  height: 4px;
  background: var(--gradient);
  border-radius: var(--radius-pill);
  opacity: 0.25;
}

.how-step { position: relative; }

.how-badge {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  margin-bottom: 12px;
}

.how-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: var(--shadow-md);
  min-height: 150px;
  transition: transform 0.18s, box-shadow 0.18s;
}

.how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.how-icon { width: 20px; height: 20px; color: var(--primary); }
.how-card h3 { margin: 10px 0 6px; font-size: 18px; font-weight: 700; }
.how-card p { margin: 0; font-size: 14px; }

/* CTA band */
.cta-band {
  background: var(--gradient);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
}

.cta-band p {
  margin: 0 auto 24px;
  max-width: 560px;
  opacity: 0.92;
  font-size: 16px;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: transparent;
}

.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Why now / stats */
.why-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.why-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.why-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.why-item p { margin: 0; font-size: 14px; color: #333; }

/* Contact form */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  margin-bottom: 40px;
}

.footer-brand img { height: 36px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.9; }

.footer-brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: #94a3b8;
  font-size: 14px;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

/* Pricing page specifics */
.pricing-section {
  background: linear-gradient(180deg, #f4f7fb 0%, var(--bg) 100%);
  padding-top: 48px;
  padding-bottom: 64px;
}

.pricing-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}

.pricing-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-tier:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border-color: rgba(0, 102, 255, 0.15);
}

.pricing-tier--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--gradient) border-box;
  box-shadow: 0 20px 48px rgba(0, 102, 255, 0.12);
  transform: translateY(-6px);
}

.pricing-tier--featured:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(0, 102, 255, 0.16);
}

.pricing-tier-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gradient);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
  white-space: nowrap;
}

.pricing-tier-header {
  margin-bottom: 20px;
  min-height: 118px;
}

.pricing-tier-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(2, 159, 173, 0.1);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.pricing-tier--featured .pricing-tier-label {
  color: var(--accent);
  background: rgba(0, 102, 255, 0.08);
}

.pricing-tier-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pricing-tier-desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-tier-price-block {
  padding: 20px 0 22px;
  margin-bottom: 4px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-tier-price {
  display: block;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.pricing-currency {
  font-size: 1.25rem;
  font-weight: 700;
  vertical-align: super;
  margin-right: 2px;
  color: var(--muted);
}

.pricing-interval {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.pricing-tier-period {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.pricing-checklist {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  flex: 1;
}

.pricing-checklist li {
  position: relative;
  padding: 0 0 0 28px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.pricing-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(2, 159, 173, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23029FAD' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.pricing-tier--featured .pricing-checklist li::before {
  background-color: rgba(0, 102, 255, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066ff' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.pricing-checklist-muted {
  color: var(--muted) !important;
  font-size: 13px !important;
}

.pricing-checklist-muted::before {
  opacity: 0.5;
}

.pricing-tier-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card .card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

@media (max-width: 960px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .pricing-tier--featured {
    transform: none;
    order: -1;
  }

  .pricing-tier--featured:hover {
    transform: translateY(-4px);
  }

  .pricing-tier-header {
    min-height: auto;
  }
}

/* Tracy test page */
.tracytest-wrap {
  max-width: 640px;
  text-align: center;
}

.tracytest-wrap h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tracytest-lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
}

.tracytest-stripe-btn {
  font-size: 16px;
  padding: 14px 28px;
}

.addon-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Checkout modal */
#checkout-modal[hidden] { display: none !important; }

#checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45);
}

.checkout-dialog {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 16px;
}

.checkout-close {
  border: none;
  background: #f3f4f6;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.checkout-label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkout-title { margin: 0; font-size: 22px; font-weight: 800; }

.checkout-addon-label,
.checkout-bundle-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
}

.checkout-addon-desc {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
}

.checkout-breakdown-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.checkout-total-row {
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 16px;
}

.checkout-recommendation {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.06);
  border: 1px solid rgba(0, 102, 255, 0.15);
  font-size: 13px;
  line-height: 1.6;
}

.checkout-footnote {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Confirmation page */
.confirmation-box {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 24px;
}

.confirmation-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(2, 159, 173, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}

.confirmation-icon svg { width: 36px; height: 36px; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
}

.cookie-banner[hidden] { display: none; }

/* Toggle switch for pricing */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 32px;
}

.billing-toggle button {
  padding: 8px 20px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}

.billing-toggle button.active {
  background: var(--accent);
  color: var(--white);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 20px 16px;
    box-shadow: var(--shadow-md);
  }

  .main-nav.open { display: flex; }

  .main-nav a { width: 100%; padding: 12px 14px; }

  .header-actions .btn-ghost { display: none; }

  .product-showcase { grid-template-columns: 1fr; }
  .product-showcase.reverse { direction: ltr; }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how-steps::before {
    left: 28px;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: 4px;
    height: auto;
  }

  .how-step { padding-left: 56px; }

  .how-badge {
    position: absolute;
    left: 20px;
    top: 12px;
    margin: 0;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: none; text-align: center; margin: 0 auto; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { min-height: auto; max-width: 480px; margin: 0 auto; }
  .hero-float-approved { left: 8px; bottom: 12px; }
  .hero-float-risk { right: 8px; top: -8px; }

  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .trust-bar-inner { grid-template-columns: 1fr; gap: 16px; }
}
