/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #0e6caa;
  --blue-light: #1a8ad4;
  --blue-bg: #e8f2fa;
  --teal: #0F9D58;
  --teal-light: #12b365;
  --teal-bg: rgba(15, 157, 88, 0.10);
  --bg: #f5f5f5;
  --bg-white: #ffffff;
  --bg-alt: #fafafa;
  --border: #ddd;
  --border-strong: #bbb;
  --text: #222;
  --text2: #444;
  --text3: #444;
  --green: #2e8b57;
  --red: #cc4444;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===== DARK THEME ===== */
html[data-theme="dark"] {
  --blue: #4da6e8;
  --blue-light: #6bb8f0;
  --blue-bg: rgba(77, 166, 232, 0.12);
  --teal: #3dcc6e;
  --teal-light: #5de085;
  --teal-bg: rgba(61, 204, 110, 0.12);
  --bg: #0c0f14;
  --bg-white: #13171f;
  --bg-alt: #10141b;
  --border: #1e2430;
  --border-strong: #2a3140;
  --text: #f5f7fa;
  --text2: #e0e3ea;
  --text3: #c5c9d3;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.4);
}

html[data-theme="dark"] .topbar-btn,
html[data-theme="dark"] .action-primary,
html[data-theme="dark"] .bt-btn.active,
html[data-theme="dark"] .table-btn-pop,
html[data-theme="dark"] .plan-pop-tag {
  color: #fff !important;
}

html[data-theme="dark"] .features-table th {
  background: var(--bg-alt);
}

html[data-theme="dark"] .features-table td {
  border-bottom-color: var(--border);
}

html[data-theme="dark"] .feat-divider td {
  background: var(--bg-alt);
}

html[data-theme="dark"] .setup-list code {
  background: #1e2430;
}

html[data-theme="dark"] .plan-featured {
  background: rgba(61, 204, 110, 0.06);
}

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: var(--text2);
  transition: border-color 0.15s;
}
.theme-toggle:hover { border-color: var(--text); }

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16.8px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ===== TOPBAR ===== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  height: 48px;
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 48px;
  gap: 24px;
}

.topbar-logo-img { height: 24px; }

.topbar-nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.topbar-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  padding: 4px 0;
}

.topbar-nav a:hover { color: var(--text); text-decoration: none; }

.topbar-btn {
  font-size: 12px;
  font-weight: 600;
  color: #fff !important;
  background: var(--teal);
  padding: 6px 16px;
  border-radius: 4px;
  margin-left: 12px;
  text-decoration: none !important;
}

.topbar-btn:hover { background: var(--teal-light); }

.topbar-mobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
}
.topbar-mobile span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 96px 20px 56px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  right: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  opacity: 0.12;
  pointer-events: none;
}

.hero-accent-bar {
  position: absolute;
  left: 0;
  top: 200px;
  width: 20px;
  height: 200px;
  background: var(--teal);
  opacity: 0.15;
  border-radius: 0 6px 6px 0;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-btn {
  background: var(--teal);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s;
}
.hero-btn:hover { background: var(--teal-light); }

.hero-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--teal);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 540px;
  margin: 0 auto;
}

.stat-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.stat-label {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.hero-tabs {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.hero-tab {
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.hero-tab:hover { color: var(--text); }
.hero-tab.active {
  background: var(--text);
  color: var(--bg-white);
}

.hero-screenshot {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: var(--bg-alt);
}


.browser-chrome {
  background: #f6f7f8;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
html[data-theme="dark"] .browser-chrome { background: #1a1f2a; }

.browser-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.browser-bar {
  flex: 1;
  max-width: 300px;
  margin: 0 auto;
  background: #ecedf0;
  padding: 5px 16px;
  border-radius: 6px;
  font-size: 12px;
  color: #888;
  text-align: center;
}
html[data-theme="dark"] .browser-bar { background: #0c0f14; color: var(--text3); }

.browser-body { background: var(--bg-alt); }
.browser-body video { width: 100%; display: block; }
.browser-body .hero-vid { display: none; }
.browser-body .hero-vid.active { display: block; }

/* ===== PRODUCT (tabbed) ===== */
.product {
  padding: 48px 20px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.product-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.product h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}

.product-sub {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 32px;
  text-align: center;
}

.product-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-col {
  display: flex;
  flex-direction: column;
}

.compare-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.label-before { background: rgba(204, 68, 68, 0.12); color: var(--red); }
.label-after { background: rgba(46, 139, 87, 0.12); color: var(--green); }

.compare-img {
  flex: 1;
  aspect-ratio: 2112 / 958;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
  margin-bottom: 12px;
}

.compare-img-active {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}

.compare-img img { width: 100%; height: 100%; object-fit: fill; display: block; }

.compare-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

/* ===== FEATURES TABLE ===== */
.features {
  padding: 48px 20px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.features-inner {
  max-width: 900px;
  margin: 0 auto;
}

.features h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.features-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-white);
}

.features-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.features-table th,
.features-table td {
  padding: 10px 16px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.features-table th {
  padding: 16px 16px 12px;
  background: var(--bg-alt);
  vertical-align: bottom;
}

.feat-label { text-align: left !important; width: 40%; }
.features-table td:first-child { text-align: left; color: var(--text2); }
.features-table td:first-child small {
  display: block;
  font-size: 11.5px;
  color: var(--text3);
  margin-top: 2px;
  font-weight: 400;
}


.plan-head {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.plan-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}

.plan-price span { font-weight: 400; color: var(--text3); font-size: 12px; }

.plan-billed {
  font-size: 11px;
  color: var(--text3);
  margin-top: 2px;
  min-height: 16px;
}

.plan-featured {
  background: rgba(14, 108, 170, 0.04);
}

.plan-pop-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--teal);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}

.features-table tbody td {
  font-size: 13px;
  color: var(--text);
}

.feat-divider td {
  padding: 0;
  height: 8px;
  background: var(--bg-alt);
  border: none;
}

.features-table tfoot td {
  padding: 16px;
  border-bottom: none;
}

.features-table .plan-buy-row td {
  padding: 12px 16px 20px;
  border-bottom: 2px solid var(--border-strong);
  background: var(--bg-white);
  text-align: center;
}
html[data-theme="dark"] .features-table .plan-buy-row td {
  background: var(--bg-white);
}

.table-btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text) !important;
  text-decoration: none !important;
  transition: all 0.15s;
}

.table-btn:hover {
  border-color: var(--teal);
  color: var(--teal) !important;
}

.table-btn-pop {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff !important;
}

.table-btn-pop:hover { background: var(--teal-light); color: #fff !important; }

.billing-toggle {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}

.bt-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  border-radius: 4px;
  cursor: pointer;
  color: var(--text2);
  transition: all 0.15s;
}

.bt-btn.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* ===== WEBINAR ===== */
.webinar {
  padding: 48px 20px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.webinar-inner { max-width: 900px; margin: 0 auto; }

.webinar h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.webinar-sub { font-size: 13px; color: var(--text2); margin-bottom: 24px; }

.webinar-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.wcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-alt);
  text-decoration: none !important;
  transition: all 0.15s;
}

.wcard:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }

.wcard-dur {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal);
}

.wcard strong { font-size: 14px; color: var(--text); }
.wcard-desc { font-size: 12px; color: var(--text3); }

/* ===== SETUP ===== */
.setup {
  padding: 48px 20px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.setup-inner { max-width: 640px; margin: 0 auto; }
.setup h2 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }

.setup-list {
  list-style: none;
  counter-reset: setup;
}

.setup-list li {
  counter-increment: setup;
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  position: relative;
}

.setup-list li:last-child { border-bottom: none; }

.setup-list li::before {
  content: counter(setup);
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
}

.setup-list li strong { color: var(--text); }

.setup-list code {
  font-size: 12px;
  background: #e8e8e8;
  padding: 1px 5px;
  border-radius: 3px;
}

/* ===== LEGAL PAGES ===== */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 20px 80px;
  color: var(--text);
  line-height: 1.7;
}
.legal h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.legal .legal-meta {
  font-size: 13px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 10px;
}
.legal h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 8px;
}
.legal p,
.legal li {
  font-size: 15px;
  color: var(--text2);
}
.legal ul {
  padding-left: 22px;
  margin: 10px 0;
}
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--teal); }
.legal address {
  font-style: normal;
  color: var(--text2);
  font-size: 15px;
}

/* ===== FAQ ===== */
.faq {
  padding: 48px 20px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.faq-inner { max-width: 900px; margin: 0 auto; }
.faq h2 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

.faq-item { border-bottom: 1px solid #eee; }

.faq-item summary {
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 16px; color: var(--text3); }
.faq-item[open] summary::after { content: "−"; }

.faq-answer {
  padding: 0 0 12px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

.faq-answer a { color: var(--teal); }

/* ===== FOOTER ===== */
.footer {
  padding: 28px 20px;
  background: var(--bg-alt);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo { height: 20px; }

.footer-text { font-size: 12px; color: var(--text3); }

.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 12px; color: var(--text3); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: none; }

/* ===== ANIMATIONS ===== */

/* Hero entrance — sequential fade-in on page load */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-fade {
  opacity: 0;
  animation: heroFadeIn 0.4s ease-out forwards;
}
.hero-fade-1 { animation-delay: 0.05s; }
.hero-fade-2 { animation-delay: 0.12s; }
.hero-fade-3 { animation-delay: 0.19s; }
.hero-fade-4 { animation-delay: 0.26s; }
.hero-fade-5 { animation-delay: 0.33s; }

.hero-slide {
  opacity: 0;
  animation: heroSlideIn 0.5s ease-out 0.25s forwards;
}

/* Scroll-reveal — elements fade up when entering viewport */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children — each direct child animates in sequence */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.36s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.42s; }

/* Product tab panel fade */
.product-panel {
  transition: opacity 0.3s ease-out;
}
.product-panel.panel-entering {
  animation: panelFadeIn 0.35s ease-out forwards;
}
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Feature table row stagger */
.features-table tbody tr {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.features-table.rows-visible tbody tr {
  opacity: 1;
  transform: translateY(0);
}
.features-table.rows-visible tbody tr:nth-child(1)  { transition-delay: 0s; }
.features-table.rows-visible tbody tr:nth-child(2)  { transition-delay: 0.03s; }
.features-table.rows-visible tbody tr:nth-child(3)  { transition-delay: 0.06s; }
.features-table.rows-visible tbody tr:nth-child(4)  { transition-delay: 0.09s; }
.features-table.rows-visible tbody tr:nth-child(5)  { transition-delay: 0.12s; }
.features-table.rows-visible tbody tr:nth-child(6)  { transition-delay: 0.15s; }
.features-table.rows-visible tbody tr:nth-child(7)  { transition-delay: 0.18s; }
.features-table.rows-visible tbody tr:nth-child(8)  { transition-delay: 0.21s; }
.features-table.rows-visible tbody tr:nth-child(9)  { transition-delay: 0.24s; }
.features-table.rows-visible tbody tr:nth-child(10) { transition-delay: 0.27s; }
.features-table.rows-visible tbody tr:nth-child(11) { transition-delay: 0.30s; }
.features-table.rows-visible tbody tr:nth-child(12) { transition-delay: 0.33s; }
.features-table.rows-visible tbody tr:nth-child(13) { transition-delay: 0.36s; }
.features-table.rows-visible tbody tr:nth-child(14) { transition-delay: 0.39s; }
.features-table.rows-visible tbody tr:nth-child(15) { transition-delay: 0.42s; }
.features-table.rows-visible tbody tr:nth-child(16) { transition-delay: 0.45s; }
.features-table.rows-visible tbody tr:nth-child(17) { transition-delay: 0.48s; }

/* Setup steps — left-border accent bar grows in */
@keyframes borderGrow {
  from { border-left-color: transparent; }
  to   { border-left-color: var(--teal); }
}
.setup-list.visible > li {
  border-left: 3px solid transparent;
  padding-left: 33px;
  animation: borderGrow 0.3s ease-out forwards;
}
.setup-list.visible > li:nth-child(1) { animation-delay: 0s; }
.setup-list.visible > li:nth-child(2) { animation-delay: 0.06s; }
.setup-list.visible > li:nth-child(3) { animation-delay: 0.12s; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-fade, .hero-slide { animation: none; opacity: 1; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .reveal-stagger > * { transition: none; opacity: 1; transform: none; }
  .features-table tbody tr { transition: none; opacity: 1; transform: none; }
  .product-panel.panel-entering { animation: none; }
  .setup-list.visible > li { animation: none; border-left-color: var(--teal); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .topbar-nav { display: none; }
  .topbar-btn { display: none; }
  .topbar-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    gap: 10px;
  }
  .topbar-mobile { display: flex; }

  .hero { padding: 64px 20px 40px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .hero-cta-row { flex-direction: column; gap: 12px; }
  .hero-stats { gap: 16px; }
  .stat-val { font-size: 18px; }
  .hero-accent-bar { display: none; }

  .product-panel { flex-direction: column; }
  .product-compare { grid-template-columns: 1fr; }
  .panel-info { flex: none; }

  .webinar-cards { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-text { order: 1; }
}

/* ===== S.A.M METHOD SECTION ===== */
.sam {
  padding: 64px 20px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.sam-inner { max-width: 1100px; margin: 0 auto; }
.sam-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: var(--teal-bg);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.sam-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--text);
}
.sam-sub {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 0 40px;
}
.sam-block {
  padding-top: 48px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
}
.sam-block:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.sam-letter {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.sam-h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text);
}
.sam-promise {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
  margin: 0 0 16px;
  font-style: italic;
}
.sam-bullets { list-style: none; padding: 0; margin: 0 0 28px; }
.sam-bullets li {
  font-size: 14px;
  color: var(--text2);
  padding: 5px 0 5px 22px;
  position: relative;
  line-height: 1.55;
}
.sam-bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.sam-bullets strong { color: var(--text); }

.sam-closing {
  text-align: center;
  margin-top: 56px;
  padding: 28px 24px;
  background: var(--teal-bg);
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.sam-closing .arrow { color: var(--teal); margin: 0 6px; font-weight: 400; }
.sam-closing strong { color: var(--teal); font-weight: 800; letter-spacing: 0.02em; }
.sam-closing-top { margin-top: 0; margin-bottom: 32px; }

/* ===== Podcast audio player (in webinar grid) ===== */
.wcard-audio {
  cursor: default;
  display: flex;
  flex-direction: column;
}
.wcard-audio:hover { text-decoration: none; }
.podcast-player {
  width: 100%;
  margin-top: 10px;
  height: 36px;
  outline: none;
}
html[data-theme="dark"] .podcast-player {
  filter: invert(1) hue-rotate(180deg);
}

/* ===== SETUP — Keepa-flat two-column ===== */
.steps {
  padding: 72px 20px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.steps-inner { max-width: 1100px; margin: 0 auto; }
.steps h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 8px;
}
.steps-sub {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px;
}
.steps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  text-align: left;
  align-items: center;
}
.step-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.step-item:last-of-type { border-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.step-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}
.step-content p {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.55;
  margin: 0;
}
.step-content code {
  font-size: 12.5px;
  background: var(--bg-alt);
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid var(--border);
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
}

.setup-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.setup-card-head {
  background: var(--teal);
  color: #fff;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.setup-card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.setup-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ea65a;
  box-shadow: 0 0 0 2px rgba(46,166,90,0.25);
}
.setup-card-body { padding: 24px 22px 22px; }
.setup-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text3);
  margin-bottom: 6px;
}
.setup-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  border-radius: 4px;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--text2);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.setup-btn {
  width: 100%;
  padding: 10px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}
.setup-btn:hover { background: var(--teal-light); }
.setup-note {
  margin: 14px 0 0;
  font-size: 11.5px;
  color: var(--text3);
  line-height: 1.5;
}
.setup-note a { color: var(--teal); }

@media (max-width: 768px) {
  .steps-layout { grid-template-columns: 1fr; gap: 32px; }
  .steps h2 { font-size: 24px; }
}

/* ===== S.A.M Carousel ===== */
.car {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}
.car-viewport {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.car-slide {
  display: none;
  animation: samFadeIn 0.35s ease;
}
.car-slide.active { display: block; }
@keyframes samFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.car-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-alt);
}
.car-caption {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.car-subcap {
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}
.car-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}
.car-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, width 0.15s;
}
.car-dot.active {
  background: var(--teal);
  width: 24px;
  border-radius: 4px;
}
.car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s;
  z-index: 2;
  font-family: inherit;
}
.car-arrow:hover { background: var(--bg); }
.car-prev { left: -18px; }
.car-next { right: -18px; }

/* M-block theme-aware single dashboard image */
.m-showcase {
  max-width: 1100px;
  margin: 0 auto;
}
.m-shot {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  background: var(--bg-alt);
}
/* In light mode, display the dark-mode screenshot; in dark mode, display the light-mode screenshot. */
.m-shot-dark { display: block; }
.m-shot-light { display: none; }
html[data-theme="dark"] .m-shot-dark { display: none; }
html[data-theme="dark"] .m-shot-light { display: block; }

.m-cap {
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  margin-top: 10px;
}
.m-theme-label { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .sam-title { font-size: 28px; }
  .sam-h3 { font-size: 22px; }
  .car-prev { left: 4px; }
  .car-next { right: 4px; }
  .m-showcase { max-width: 100%; }
  .sam-closing { font-size: 16px; padding: 20px 16px; }
}
