/* ============================================================
   SimpleSupport Landing — Premium Design System
   Human-touch aesthetic: depth, organic layout, micro-interactions
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-900: #312e81;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;

  --emerald-500: #10b981;

  --bg: #fff;
  --text: var(--slate-900);
  --text-muted: var(--slate-500);
  --border: var(--slate-200);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --max-w: 1120px;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
code {
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: .9em;
  background: var(--slate-100);
  padding: .1em .35em;
  border-radius: 4px;
}

/* --- Layout Helpers --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: all .2s var(--transition);
  white-space: nowrap;
  border: none;
  outline-offset: 3px;
}
.btn:focus-visible { outline: 2px solid var(--indigo-600); }

.btn-primary {
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-700));
  color: #fff;
  box-shadow: 0 1px 3px rgba(79,70,229,.3), 0 4px 16px rgba(79,70,229,.2);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(79,70,229,.4), 0 8px 24px rgba(79,70,229,.25);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--slate-400); background: var(--slate-50); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover { color: var(--text); background: var(--slate-100); }

.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-xl { padding: 16px 36px; font-size: 16px; border-radius: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--transition), transform .55s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,.6);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  flex-shrink: 0;
}
.brand-dot { color: #6366F1; font-weight: 900; font-size: 1.2em; line-height: 1; }
.brand-uk { color: #6366F1; font-size: 0.75em; font-weight: 700; letter-spacing: 0.01em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--slate-100); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.nav-mobile a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-mobile a:hover { color: var(--text); background: var(--slate-100); }
.nav-mobile.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 96px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, hsl(243,75%,72%) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, hsl(260,60%,78%) 0%, transparent 70%);
  bottom: -100px; left: -80px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--indigo-50);
  color: var(--indigo-700);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid var(--indigo-100);
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--emerald-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .7; transform: scale(.85); }
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-reassurance {
  font-size: 13px;
  color: var(--slate-400);
}

/* Code window */
.code-window {
  background: var(--slate-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15,23,42,.3), 0 0 0 1px rgba(255,255,255,.05);
}
.code-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }
.code-window-title {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255,255,255,.3);
  font-family: monospace;
}
.code-body {
  padding: 24px;
  margin: 0;
  overflow-x: auto;
}
.code-body code {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #e2e8f0;
}
.code-tag { color: #93c5fd; }
.code-attr { color: #86efac; }
.code-str { color: #fcd34d; }
.code-caption {
  padding: 10px 24px 16px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  font-family: monospace;
}
.code-caption code { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); }

.widget-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.widget-btn-preview {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-700));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(79,70,229,.35);
  flex-shrink: 0;
}
.widget-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ============================================================
   PROOF BAR
   ============================================================ */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--slate-50);
  padding: 18px 24px;
}
.proof-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.proof-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}
.proof-platforms {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.proof-platforms li {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-400);
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  padding: 120px 24px;
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--bg) 100%);
}
.problem-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.problem-inner h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.problem-inner p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.problem-inner p strong { color: var(--text); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { padding: 120px 24px; }
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  counter-reset: none;
}
.step {
  position: relative;
  padding: 36px 32px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--transition);
}
.step:hover {
  border-color: var(--indigo-100);
  box-shadow: 0 8px 32px rgba(79,70,229,.08);
  transform: translateY(-2px);
}
.step-num {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 48px;
  font-weight: 800;
  color: var(--slate-100);
  line-height: 1;
  user-select: none;
}
.step-icon {
  color: var(--indigo-600);
  margin-bottom: 20px;
}
.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits {
  padding: 120px 24px;
  background: var(--slate-50);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.benefit-card {
  padding: 32px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--transition);
}
.benefit-card:hover {
  border-color: var(--indigo-100);
  box-shadow: 0 8px 32px rgba(79,70,229,.07);
  transform: translateY(-2px);
}
.benefit-icon {
  color: var(--indigo-600);
  margin-bottom: 20px;
  opacity: .85;
}
.benefit-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.benefit-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integrations { padding: 120px 24px; }
.int-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto 40px;
}
.int-card {
  padding: 24px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .2s, box-shadow .2s;
  position: relative;
}
.int-card:hover {
  border-color: var(--indigo-200);
  box-shadow: 0 4px 16px rgba(79,70,229,.07);
}
.int-label {
  position: absolute;
  top: -11px; left: 16px;
  background: var(--indigo-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.int-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.int-card p { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin-bottom: 16px; }
.int-difficulty {
  display: flex;
  gap: 4px;
}
.dot-filled, .dot-empty {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.dot-filled { background: var(--indigo-600); }
.dot-empty { background: var(--slate-200); }
.int-cta { text-align: center; }

/* ============================================================
   PRICING PREVIEW
   ============================================================ */
.pricing-preview {
  padding: 120px 24px;
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--bg) 100%);
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  align-items: start;
}
.pricing-card {
  padding: 32px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  position: relative;
}
.pricing-card-featured {
  background: var(--slate-900);
  border-color: var(--slate-900);
  box-shadow: 0 20px 60px rgba(15,23,42,.2);
  transform: scale(1.03);
}
.pricing-badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-700));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-plan {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-card-featured .pricing-plan { color: rgba(255,255,255,.5); }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}
.price-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.pricing-card-featured .price-amount { color: #fff; }
.price-period { font-size: 14px; color: var(--text-muted); }
.pricing-card-featured .price-period { color: rgba(255,255,255,.5); }
.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
  min-height: 42px;
}
.pricing-card-featured .pricing-desc { color: rgba(255,255,255,.6); }
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.pricing-card-featured .pricing-features li { color: rgba(255,255,255,.85); }
.pricing-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-top: 12px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 120px 24px; background: var(--slate-50); }
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item { border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background .15s;
}
.faq-question:hover { background: var(--slate-50); }
.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .2s var(--transition);
}
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  position: relative;
  padding: 140px 24px;
  text-align: center;
  overflow: hidden;
}
.cta-final-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-orb {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.cta-final h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-final p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.cta-actions { margin-bottom: 20px; }
.cta-sub { font-size: 13px; color: var(--slate-400); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--slate-900);
  color: rgba(255,255,255,.7);
  padding: 64px 24px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 80px;
  margin-bottom: 56px;
}
.footer-brand { flex: 0 0 300px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo span { color: #fff; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.45);
  margin-bottom: 12px;
}
.footer-gdpr { font-size: 12px; color: rgba(255,255,255,.3) !important; }
.footer-nav {
  display: flex;
  gap: 56px;
  flex: 1;
}
.footer-col h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,.25);
}
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: underline; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.page-hero {
  padding: 80px 24px 64px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: var(--text-muted); }
.pricing-full { padding: 0 24px 120px; }
.pricing-full .pricing-cards { max-width: var(--max-w); margin: 0 auto; }
.pricing-comparison { padding: 0 24px 120px; }
.pricing-comparison h2 { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 40px; }
.comparison-table { max-width: var(--max-w); margin: 0 auto; overflow-x: auto; }
.comparison-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comparison-table th {
  padding: 14px 20px; text-align: left; font-weight: 700;
  border-bottom: 2px solid var(--border); background: var(--slate-50);
}
.comparison-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
}
.comparison-table tr:hover td { background: var(--slate-50); }
.check { color: var(--emerald-500); font-size: 18px; }
.cross { color: var(--slate-300); font-size: 18px; }

/* ============================================================
   DOCS PAGE
   ============================================================ */
.docs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 0; max-width: var(--max-w); margin: 0 auto; padding: 0 24px 80px; }
.docs-sidebar {
  padding: 40px 24px 40px 0;
  position: sticky; top: 80px; height: fit-content;
  border-right: 1px solid var(--border);
}
.docs-sidebar h3 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin: 20px 0 8px; }
.docs-sidebar a { display: block; font-size: 14px; padding: 5px 8px; border-radius: 6px; color: var(--text-muted); transition: all .15s; margin-bottom: 2px; }
.docs-sidebar a:hover, .docs-sidebar a.active { color: var(--indigo-600); background: var(--indigo-50); }
.docs-content { padding: 40px 0 40px 40px; }
.docs-content h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.docs-content h2 { font-size: 22px; font-weight: 700; margin: 48px 0 16px; padding-top: 24px; border-top: 1px solid var(--border); }
.docs-content h3 { font-size: 16px; font-weight: 700; margin: 28px 0 10px; }
.docs-content p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.docs-content pre { background: var(--slate-900); border-radius: var(--radius); padding: 20px 24px; overflow-x: auto; margin-bottom: 20px; }
.docs-content pre code { background: none; padding: 0; color: #e2e8f0; font-size: 13px; line-height: 1.8; }
.docs-content ul { margin: 0 0 16px 20px; }
.docs-content li { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 4px; list-style: disc; }
.docs-content .alert { padding: 16px 20px; border-radius: var(--radius); background: var(--indigo-50); border-left: 3px solid var(--indigo-500); margin-bottom: 20px; }
.docs-content .alert p { color: var(--indigo-700); margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .int-grid { grid-template-columns: repeat(3, 1fr); }
  .int-card:nth-child(4), .int-card:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr; max-width: 440px; }
  .pricing-card-featured { transform: scale(1); }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-brand { flex: none; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { display: none; }
  .docs-content { padding: 40px 0; }
}

/* --- Legal Pages (Privacy, Terms) --- */
.legal-page { max-width: 780px; margin: 0 auto; padding: 60px 32px 80px; }
.legal-inner { padding: 0 8px; }
.legal-inner h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.legal-updated { font-size: 14px; color: var(--text-muted); margin-bottom: 40px; }
.legal-inner h2 { font-size: 20px; font-weight: 700; margin: 40px 0 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.legal-inner h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.legal-inner p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.legal-inner p strong { color: var(--text); }
.legal-list { margin: 0 0 16px 20px; }
.legal-list li { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 4px; list-style: disc; }
.legal-list li strong { color: var(--text); }
.legal-inner a { color: var(--indigo-600); text-decoration: underline; }
.legal-inner a:hover { color: var(--indigo-700); }

/* --- Contact Modal --- */
.contact-modal { border: none; background: transparent; padding: 0; max-width: 480px; width: calc(100% - 32px); margin: auto; border-radius: var(--radius-lg); }
.contact-modal::backdrop { background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); }
.contact-modal-box { padding: 32px; background: var(--bg); border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.15); position: relative; }
.modal-close-btn { position: absolute; top: 16px; right: 16px; background: transparent; border: 1px solid var(--border); color: var(--text-muted); width: 32px; height: 32px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: color 0.2s, border-color 0.2s; }
.modal-close-btn:hover { color: var(--text); border-color: var(--slate-400); }
.contact-modal-title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.contact-modal-intro { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-field input, .form-field textarea { background: var(--slate-50); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; color: var(--text); font-size: 15px; font-family: var(--font); outline: none; transition: border-color 0.2s; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--slate-400); }
.form-field input:focus, .form-field textarea:focus { border-color: var(--indigo-500); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.form-error { background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 10px 14px; font-size: 13px; color: #dc2626; }
.contact-success { text-align: center; padding: 24px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.contact-success h4 { font-size: 20px; font-weight: 700; color: var(--text); }
.contact-success p { font-size: 14px; color: var(--text-muted); }
.modal-backdrop { position: fixed; inset: 0; background: transparent; cursor: pointer; z-index: -1; }
.modal-backdrop button { opacity: 0; position: absolute; }

@media (max-width: 640px) {
  .hero { padding: 64px 20px 60px; }
  h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  .benefits-grid { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: 1fr; }
  .proof-bar-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}
