/* Smart Variant Listings — shared documentation styles */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #1b4dff;
  --blue-deep: #0a2fcc;
  --blue-soft: #e8efff;
  --teal: #00d4b8;
  --teal-deep: #00b89f;
  --purple: #8a70ff;
  --ink: #0f172a;
  --text: #344054;
  --muted: #667085;
  --line: #e5e7eb;
  --bg: #f5f8ff;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(27, 77, 255, 0.08);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1100px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(0, 212, 184, 0.12), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(27, 77, 255, 0.14), transparent 50%),
    var(--bg);
  line-height: 1.7;
  min-height: 100vh;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-deep);
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--ink);
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(27, 77, 255, 0.25);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo-text span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 4px;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.nav a.active {
  color: var(--blue);
  background: var(--blue-soft);
  box-shadow: inset 0 -2px 0 var(--teal);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ——— Layout ——— */

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 22px 64px;
}

.page-narrow {
  max-width: 920px;
}

.page-hero {
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: rgba(0, 212, 184, 0.12);
  border: 1px solid rgba(0, 212, 184, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 800;
}

h2 {
  margin: 48px 0 14px;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 800;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--ink);
  font-weight: 700;
}

.lead,
.subtitle {
  margin: 0;
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
}

.updated {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 14px;
}

/* ——— Components ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(27, 77, 255, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(27, 77, 255, 0.34);
  color: #fff !important;
}

.btn-secondary {
  background: var(--white);
  color: var(--blue) !important;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: #c7d2fe;
  background: var(--blue-soft);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 16px 0;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-top: 0;
}

.support-box,
.note,
.callout {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border: 1px solid #dbe7ff;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 20px 0;
}

.support-box h2,
.note h2 {
  margin-top: 0;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.step h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.screenshot {
  margin: 18px 0 8px;
}

.screenshot img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: #fff;
}

.caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

ul, ol {
  padding-left: 22px;
  margin: 10px 0;
}

li {
  margin-bottom: 8px;
}

/* ——— Home hub ——— */

.home-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 48px;
  padding: 28px 0 12px;
}

.home-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: min(280px, 100%);
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(27, 77, 255, 0.28);
}

.hub-heading {
  margin-top: 0;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hub-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: block;
}

.hub-card:hover {
  transform: translateY(-3px);
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
  color: inherit;
}

.hub-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 14px;
}

.hub-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.hub-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ——— FAQ ——— */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq .answer {
  padding: 0 20px 18px;
  color: var(--muted);
  border-top: 1px solid transparent;
}

.faq details[open] .answer {
  border-top-color: var(--line);
  padding-top: 14px;
}

/* ——— Pricing ——— */

.pricing-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 22px 64px;
}

.notice {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 300px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border-color: var(--blue);
  box-shadow: 0 16px 36px rgba(27, 77, 255, 0.16);
  transform: translateY(-4px);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.price {
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.yearly {
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  min-height: 20px;
}

.features-title {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features li {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 9px;
  padding-left: 22px;
  position: relative;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.bottom-text {
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
}

/* ——— Tables / video ——— */

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

th, td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
}

th {
  background: var(--blue-soft);
  color: var(--ink);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

.video-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.video-box video,
.video-box iframe {
  width: 100%;
  border-radius: 10px;
  border: none;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.section {
  margin-top: 40px;
}

/* ——— Footer ——— */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a {
  font-weight: 600;
}

/* ——— Responsive ——— */

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-card.featured {
    transform: none;
  }

  .home-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-hero .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero .actions {
    justify-content: center;
  }

  .hub-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 8px;
  }

  .nav.open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .hub-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .logo-text span {
    display: none;
  }
}
