/* ===== Design tokens (single light theme) ===== */
:root {
  --bg: #ffffff;
  --bg-2: #ffffff;
  --bg-3: #ffffff;
  --surface: #ffffff;
  --surface-2: #faf7ff;
  --border: rgba(17, 17, 17, 0.12);
  --text: #000000;
  --muted: #4a4a4a;
  --brand: #7c3aed;
  --brand-2: #7c3aed;
  --brand-3: #6d28d9;
  --accent: #7c3aed;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --shadow: 0 12px 34px rgba(124, 58, 237, 0.12);
  --card: #ffffff;
  --tile-grad: #ffffff;
  --alt-grad: #faf7ff;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* Visually hidden but available to screen readers / heading outline */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  color: #fff; box-shadow: 0 10px 26px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(124, 58, 237, 0.45); }
.btn-ghost {
  background: #fff;
  border-color: var(--brand); color: var(--brand); font-weight: 700;
}
.btn-ghost:hover { background: rgba(124, 58, 237, 0.08); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--brand); }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  color: #fff; font-weight: 900;
}
.brand-accent { color: var(--brand-2); }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a { color: var(--text); font-weight: 500; font-size: 15px; transition: color .2s; }
.main-nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; border-bottom: 1px solid var(--border);
  background: #ffffff;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { padding: 16px 20px; display: grid; gap: 6px; }
.mobile-menu a { display: block; padding: 12px 8px; color: var(--text); font-weight: 500; border-radius: 8px; }
.mobile-menu a:hover { background: rgba(124, 58, 237, 0.08); color: var(--brand); }
.mobile-menu .btn { margin-top: 6px; }

/* ===== Hero ===== */
.hero { padding: 90px 0 70px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--brand); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 900; line-height: 1.08;
  letter-spacing: -0.02em; max-width: 900px; margin-bottom: 20px; color: var(--brand);
}
.grad {
  background: linear-gradient(120deg, #a855f7, #7c3aed);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.18rem); max-width: 640px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: 100%; max-width: 760px;
}
.hero-stats li {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 12px; text-align: center;
}
.hero-stats strong { display: block; font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 800; color: var(--brand); }
.hero-stats span { color: var(--muted); font-size: 13.5px; }

/* ===== Trust badges ===== */
.trust-strip { padding: 0 0 30px; }
.trust-badges {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 20px;
}
.trust-badges li {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.trust-icon { font-size: 26px; line-height: 1; }
.trust-text { font-weight: 700; font-size: 14.5px; color: var(--text); }
@media (max-width: 620px) {
  .trust-badges { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--alt-grad); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: 12.5px; font-weight: 700; color: var(--brand-2); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; color: var(--brand); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column;
  box-shadow: 0 6px 22px rgba(17, 17, 17, 0.05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 16px 40px rgba(124, 58, 237, 0.16); }
.plan h3 { font-size: 1.1rem; font-weight: 800; color: var(--brand); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.price { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.02em; color: var(--brand); }
.price .currency { font-size: 1.3rem; vertical-align: super; color: var(--brand); font-weight: 700; }
.price .dec { font-size: 1.3rem; color: var(--muted); }
.plan-term { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.plan-features { display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.plan-features li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text); }
.plan-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--brand); font-weight: 800;
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
  white-space: nowrap;
}

/* One-time payment label */
.plan-oneoff { color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 18px; }

/* Save badge */
.plan-save {
  align-self: center; display: inline-block; margin: 4px 0 20px;
  padding: 6px 20px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.25); color: var(--brand);
}

/* Available connections */
.plan-connections-title {
  text-align: center; font-weight: 700; font-size: 15px; margin: 6px 0 14px; color: var(--brand);
}
.plan-connections {
  display: grid; gap: 0; margin: 0 0 4px; padding: 0; flex: 1;
}
.plan-connections li {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 2px; font-size: 14px; color: var(--text);
  border-top: 1px solid var(--border);
}
.plan-connections li:last-child { border-bottom: 1px solid var(--border); }
.plan-connections li .conn-icon { font-size: 14px; opacity: .8; flex-shrink: 0; }
.plan-connections li .conn-price { margin-left: auto; font-weight: 700; color: var(--brand); }

/* Featured plan = purple gradient (on-brand) */
.plan-featured {
  background: linear-gradient(160deg, #7c3aed, #6d28d9);
  border-color: transparent;
  box-shadow: 0 24px 55px rgba(124, 58, 237, 0.4);
  color: #fff;
}
.plan-featured h3, .plan-featured .price, .plan-featured .price .currency,
.plan-featured .price .dec, .plan-featured .plan-oneoff, .plan-featured .plan-connections-title,
.plan-featured .plan-connections li, .plan-featured .plan-features li,
.plan-featured .plan-connections li .conn-price { color: #fff; }
.plan-featured .plan-oneoff { opacity: .9; }
.plan-featured .plan-features li::before { color: #fff; }
.plan-featured .plan-connections li { border-color: rgba(255, 255, 255, 0.22); }
.plan-featured .plan-save { background: #ffffff; border-color: #fff; color: var(--brand); }
.plan-featured .btn-ghost { background: #fff; color: var(--brand); border-color: #fff; }
.plan-featured .btn-ghost:hover { background: #f2ecff; }

/* ===== All plans include ===== */
.plans-include {
  margin-top: 40px; padding: 30px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--border);
}
.plans-include h3 {
  text-align: center; font-size: 1.2rem; font-weight: 800; color: var(--brand); margin-bottom: 22px;
}
.include-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 20px;
}
.include-grid li {
  position: relative; padding-left: 28px; font-size: 14.5px; font-weight: 600; color: var(--text);
}
.include-grid li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--brand); font-weight: 800;
}
@media (max-width: 820px) { .include-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .include-grid { grid-template-columns: 1fr; } }

/* ===== Features ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: 0 6px 22px rgba(17, 17, 17, 0.04);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 14px 34px rgba(124, 58, 237, 0.12); }
.feature-icon {
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 24px;
  border-radius: 14px; background: rgba(124, 58, 237, 0.1); margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--brand); }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ===== Channels ===== */
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.channel-tile {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 30px 14px; border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border); font-weight: 600; font-size: 16px; color: var(--text);
  transition: transform .2s, border-color .2s;
}
.channel-tile:hover { transform: translateY(-4px); border-color: var(--brand); color: var(--brand); }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; position: relative; box-shadow: 0 6px 22px rgba(17, 17, 17, 0.04);
}
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--brand); }
.step p { color: var(--muted); font-size: 14.5px; }

/* ===== Reviews ===== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: 0 6px 22px rgba(17, 17, 17, 0.04);
}
.stars { color: #f5b301; font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.review blockquote { color: var(--text); font-size: 15px; margin-bottom: 16px; }
.review figcaption { color: var(--muted); font-weight: 600; font-size: 14px; }

/* ===== FAQ ===== */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 4px 20px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 700;
  position: relative; font-size: 15.5px; color: var(--brand);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--brand-2); transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); font-size: 14.5px; padding: 0 0 18px; }

/* ===== Final CTA ===== */
.cta-final { padding: 90px 0; }
.cta-inner {
  text-align: center; background: linear-gradient(135deg, #7c3aed, #6d28d9);
  border: 1px solid transparent; border-radius: 28px; padding: 60px 30px; color: #fff;
}
.cta-inner h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; color: #fff; }
.cta-inner p { color: rgba(255, 255, 255, 0.9); max-width: 520px; margin: 0 auto 28px; font-size: 1.05rem; }
.cta-inner .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12); }
.cta-inner .btn-primary:hover { background: #f2ecff; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding-top: 56px; background: var(--surface-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 280px; }
.site-footer h4,
.site-footer .footer-h { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; color: var(--brand); font-weight: 700; }
.site-footer nav ul { display: grid; gap: 10px; }
.site-footer nav a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.site-footer nav a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 20px; text-align: center; }
.footer-bottom p { color: var(--muted); font-size: 13.5px; }

/* ===== Responsive: Tablet ===== */
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .main-nav, .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 620px) {
  .hero { padding: 60px 0 50px; }
  .section { padding: 60px 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; }
  .cta-inner { padding: 44px 22px; }
}

/* ===== Motion preferences ===== */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
