:root {
  --brand-ink: #17181b;
  --brand-muted: #696d74;
  --brand-canvas: #f5f5f7;
  --brand-surface: rgba(255, 255, 255, .88);
  --brand-line: rgba(18, 22, 30, .09);
  --brand-blue: #0878ff;
  --brand-violet: #7257ff;
  --brand-cyan: #12a7a0;
  --dark: #020a17;
  --dark-soft: #07162b;
  --dark-line: #18345b;
  --white: #fff;
  --radius-display: 32px;
  --radius-card: 22px;
  --radius-control: 12px;
  --font: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang TC", "PingFang HK", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--brand-canvas);
  color: var(--brand-ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 clamp(20px, 4vw, 72px);
  background: rgba(245, 245, 247, .78);
  border-bottom: 1px solid rgba(18, 22, 30, .055);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 520; letter-spacing: -.02em; }
.brand img { width: 46px; height: 28px; object-fit: contain; background: transparent; }
.site-nav { display: flex; align-items: center; gap: clamp(13px, 2vw, 28px); color: #5f636a; font-size: 13px; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: #111317; }
.nav-login { padding: 9px 15px; color: #fff !important; background: #17181b; border-radius: 999px; }
.button {
  min-height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-dark { color: #fff; background: var(--dark); }
.button-dark:hover { background: #0b1d37; }
.button-light { color: var(--brand-ink); background: #fff; border-color: var(--brand-line); }
.button-light:hover { border-color: rgba(18, 22, 30, .2); }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,.24); background: transparent; }
.button-outline-light:hover { background: rgba(255,255,255,.08); }

.page-shell { overflow: hidden; }
.hero {
  position: relative;
  padding: 66px 24px 34px;
  text-align: center;
  isolation: isolate;
}
.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 420px;
  height: 260px;
  border-radius: 50%;
  filter: blur(56px);
  opacity: .16;
  pointer-events: none;
}
.hero::before { top: 34px; left: 8%; background: #55e7df; }
.hero::after { top: 30px; right: 8%; background: #8a68ff; }
.eyebrow {
  margin-bottom: 18px;
  color: var(--brand-violet);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 520;
  letter-spacing: -.065em;
  line-height: 1.02;
}
.hero h1 span { color: var(--brand-violet); }
.hero-copy {
  max-width: 580px;
  margin: 18px auto 0;
  color: var(--brand-muted);
  font-size: 15px;
  line-height: 1.7;
}
.hero-actions { margin-top: 23px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hero-note { margin-top: 12px; color: var(--brand-muted); font-size: 12px; }

.dark-display {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  min-height: 290px;
  margin: 0 auto 106px;
  padding: 42px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 42px;
  overflow: hidden;
  color: #fff;
  border-radius: var(--radius-display);
  background: linear-gradient(120deg, #020a17 6%, #07162b 65%, #10163c 100%);
}
.dark-display::before,
.dark-display::after { position: absolute; content: ""; border-radius: 50%; filter: blur(44px); opacity: .42; pointer-events: none; }
.dark-display::before { width: 300px; height: 180px; left: -30px; bottom: -90px; background: #55e7df; }
.dark-display::after { width: 280px; height: 190px; right: 40px; top: -110px; background: #8a68ff; }
.display-copy, .display-metric { position: relative; z-index: 1; }
.display-kicker { color: #8fd9d4; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.display-title { max-width: 620px; margin-top: 12px; font-size: clamp(26px, 4vw, 44px); font-weight: 520; letter-spacing: -.045em; line-height: 1.1; }
.display-copy p { max-width: 560px; margin: 17px 0 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.65; }
.display-metric { align-self: center; padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(255,255,255,.06); }
.metric-label { color: rgba(255,255,255,.64); font-size: 12px; }
.metric-value { margin-top: 10px; font-size: clamp(38px, 5vw, 58px); font-weight: 540; letter-spacing: -.06em; }
.metric-foot { margin-top: 5px; color: #9ce1db; font-size: 12px; }
.metric-line { height: 1px; margin: 19px 0 15px; background: rgba(255,255,255,.12); }
.metric-detail { display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.72); font-size: 12px; }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(31px, 4vw, 48px); font-weight: 520; letter-spacing: -.055em; line-height: 1.06; }
.section-heading p { max-width: 390px; margin: 0; color: var(--brand-muted); font-size: 14px; line-height: 1.65; }
.billing-toggle {
  margin: 0 auto 30px;
  width: max-content;
  padding: 4px;
  display: flex;
  gap: 3px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}
.billing-toggle button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; color: var(--brand-muted); background: transparent; cursor: pointer; font-size: 12px; }
.billing-toggle button.active { color: #fff; background: var(--dark); }
.billing-toggle button span { margin-left: 4px; color: var(--brand-cyan); font-size: 10px; font-weight: 700; }
.billing-toggle button.active span { color: #9ce1db; }
.plan-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.plan-card {
  position: relative;
  min-height: 545px;
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-card);
  background: var(--brand-surface);
  box-shadow: 0 14px 42px rgba(25, 30, 40, .045);
}
.plan-card.featured { border-color: rgba(99, 91, 255, .45); box-shadow: 0 18px 52px rgba(99, 91, 255, .12); }
.plan-badge { position: absolute; top: 17px; right: 17px; padding: 5px 8px; border-radius: 999px; color: #5148df; background: #eeedff; font-size: 10px; font-weight: 750; }
.plan-name { font-size: 16px; font-weight: 750; letter-spacing: -.02em; }
.plan-desc { min-height: 44px; margin-top: 9px; color: var(--brand-muted); font-size: 12px; line-height: 1.55; }
.plan-price { margin-top: 25px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 34px; font-weight: 560; letter-spacing: -.055em; }
.plan-price small { order: 3; margin-left: -3px; color: var(--brand-muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.price-current { order: 2; background: linear-gradient(100deg, #0878ff 0%, #7257ff 56%, #ee7f2d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-original { order: 1; display: none; color: var(--brand-muted); font-size: 14px; font-weight: 500; letter-spacing: -.02em; text-decoration: line-through; text-decoration-thickness: 1px; }
.plan-price.is-annual .price-original { display: inline; }
.plan-price.is-annual .price-current { color: transparent; }
.plan-annual { min-height: 17px; margin-top: 5px; color: var(--brand-muted); font-size: 11px; }
.plan-rule { height: 1px; margin: 21px 0 18px; background: var(--brand-line); }
.plan-includes { margin: 0; padding: 0; display: grid; gap: 11px; list-style: none; color: #45484f; font-size: 12px; line-height: 1.45; }
.plan-includes li { display: flex; gap: 8px; align-items: flex-start; }
.plan-includes li::before { content: "✓"; color: var(--brand-cyan); font-weight: 800; }
.plan-button { width: 100%; margin-top: auto; }
.plan-footnote { min-height: 31px; margin-top: 10px; color: var(--brand-muted); font-size: 10px; line-height: 1.5; text-align: center; }
.trial-note { width: min(760px, 100%); margin: 24px auto 0; padding: 14px 18px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #45484f; border: 1px solid rgba(18,22,30,.08); border-radius: 14px; background: rgba(255,255,255,.64); font-size: 12px; text-align: center; }
.trial-note strong { color: var(--brand-ink); }
.compare-section { margin-top: 82px; padding-bottom: 96px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--brand-line); border-radius: var(--radius-card); background: rgba(255,255,255,.84); box-shadow: 0 14px 42px rgba(25, 30, 40, .04); }
.compare-table { width: 100%; min-width: 930px; border-collapse: collapse; color: #45484f; font-size: 12px; }
.compare-table th, .compare-table td { padding: 17px 18px; border-bottom: 1px solid var(--brand-line); text-align: left; vertical-align: middle; }
.compare-table thead th { color: var(--brand-muted); background: rgba(245,245,247,.72); font-size: 11px; font-weight: 750; letter-spacing: .04em; }
.compare-table thead th:not(:first-child) { color: var(--brand-ink); }
.compare-table tbody th { width: 23%; color: var(--brand-ink); font-weight: 650; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody td:not(:first-child) { color: var(--brand-muted); }
.compare-table tbody tr:hover { background: rgba(238,237,255,.28); }

.bento-section { margin-top: 118px; }
.bento-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.bento-card { min-height: 204px; padding: 25px; border: 1px solid var(--brand-line); border-radius: var(--radius-card); background: rgba(255,255,255,.72); }
.bento-card.dark { color: #fff; border-color: transparent; background: var(--dark); }
.bento-card:nth-child(1) { grid-column: span 4; }
.bento-card:nth-child(2) { grid-column: span 4; }
.bento-card:nth-child(3) { grid-column: span 4; }
.bento-card:nth-child(4) { grid-column: span 8; }
.bento-card:nth-child(5) { grid-column: span 4; }
.bento-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 11px; color: #5d55e8; background: #eeedff; font-size: 13px; font-weight: 800; }
.bento-card.dark .bento-icon { color: #9ce1db; background: rgba(85,231,223,.12); }
.bento-card h3 { margin: 21px 0 8px; font-size: 18px; font-weight: 650; letter-spacing: -.03em; }
.bento-card p { margin: 0; color: var(--brand-muted); font-size: 13px; line-height: 1.65; }
.bento-card.dark p { color: rgba(255,255,255,.68); }

.trust-strip { margin: 104px auto 0; padding: 20px 0 0; border-top: 1px solid var(--brand-line); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--brand-muted); font-size: 12px; }
.trust-list { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item { display: inline-flex; align-items: center; gap: 7px; }
.trust-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-cyan); }

.faq-section { margin-top: 110px; padding-bottom: 112px; }
.faq-list { border-top: 1px solid var(--brand-line); }
.faq-item { border-bottom: 1px solid var(--brand-line); }
.faq-item summary { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 650; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand-muted); font-size: 20px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 750px; margin: -4px 0 21px; color: var(--brand-muted); font-size: 13px; line-height: 1.7; }

.cta-band { width: min(1180px, calc(100% - 48px)); margin: 0 auto 40px; padding: 54px 50px; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: #fff; border-radius: var(--radius-display); background: var(--dark); }
.cta-band h2 { max-width: 600px; margin: 0; font-size: clamp(27px, 4vw, 46px); font-weight: 520; letter-spacing: -.05em; line-height: 1.1; }
.cta-band p { max-width: 440px; margin: 13px 0 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.65; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 9px; flex: 0 0 auto; }
.site-footer { padding: 34px clamp(20px, 4vw, 72px); color: #7d8188; background: #f5f5f7; border-top: 1px solid var(--brand-line); font-size: 12px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; max-width: 1240px; margin: 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.footer-links a:hover { color: #202328; }

@media (max-width: 980px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card { min-height: 510px; }
  .bento-card:nth-child(n) { grid-column: span 6; }
  .bento-card:nth-child(4) { grid-column: span 12; }
  .bento-card:nth-child(5) { grid-column: span 12; }
  .cta-band { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 860px) {
  .site-nav > a:not(.nav-login) { display: none; }
}
@media (max-width: 620px) {
  .site-header { min-height: 62px; padding: 0 16px; }
  .brand span { display: none; }
  .section, .dark-display, .cta-band { width: min(100% - 28px, 1180px); }
  .hero { padding: 64px 14px 36px; }
  .hero h1 { font-size: clamp(42px, 14vw, 62px); }
  .hero-copy { font-size: 15px; }
  .dark-display { margin-bottom: 75px; padding: 30px 24px; display: block; }
  .display-metric { margin-top: 28px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 15px; }
  .billing-toggle { margin-top: 24px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 0; }
  .plan-button { margin-top: 25px; }
  .plan-footnote { min-height: 0; }
  .compare-section { margin-top: 72px; padding-bottom: 70px; }
  .bento-card:nth-child(n) { grid-column: span 12; }
  .trust-strip { align-items: flex-start; flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .cta-band { margin-bottom: 24px; padding: 34px 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
