/* ── HERO ── */
#hero {
  padding: 100px 40px 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #CBD8F8 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 100px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--ink2); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.hero-hint { font-size: 13px; color: var(--ink3); margin-top: 14px; }

/* ── SOCIAL PROOF ── */
#social-proof { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 40px; }
#social-proof .sp-inner { max-width: 860px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 40px; }
.sp-stat { font-family: var(--font-head); font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.sp-stat span { border-bottom: 3px solid var(--ink); }
.sp-sep { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }
.sp-desc { font-size: 15px; color: var(--ink2); max-width: 340px; line-height: 1.55; }

/* ── DIFF CARDS ── */
.diff-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 48px; }
.diff-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; transition: box-shadow 0.25s, transform 0.25s; }
.diff-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.diff-icon { width: 46px; height: 46px; background: var(--accent-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.diff-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 7px; }
.diff-card p { font-size: 13.5px; color: var(--ink2); line-height: 1.6; }
.diff-badge { display: inline-block; background: var(--accent-light); color: var(--accent); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-top: 10px; }

/* ── REPORT EXAMPLE ── */
.report-frame { margin: 44px auto 0; max-width: 820px; background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.09); }
.report-bar { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 12px 18px; display: flex; align-items: center; gap: 7px; }
.rdot { width: 11px; height: 11px; border-radius: 50%; }

/* ── TABS ── */
.tabs { display: inline-flex; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 4px; gap: 2px; }
.tab { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--ink2); background: transparent; border: none; padding: 9px 22px; border-radius: 7px; cursor: pointer; transition: all 0.2s; }
.tab.active { background: var(--white); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
/* Default: all panels visible (SEO / no-JS fallback) */
.tab-content { display: block; text-align: left; }
.tab-content + .tab-content { margin-top: 48px; }
/* Progressive enhancement: JS adds .tabs-js → hide non-active panels */
#use-cases.tabs-js .tab-content { display: none; }
#use-cases.tabs-js .tab-content + .tab-content { margin-top: 0; }
#use-cases.tabs-js .tab-content.active { display: block; animation: uc-fadein 0.25s ease; }
@keyframes uc-fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.use-case-text h3 { font-family: var(--font-head); font-size: 26px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 12px; }
.use-case-text p { font-size: 15.5px; color: var(--ink2); line-height: 1.7; margin-bottom: 20px; }
.uc-points,
.pricing-features,
.pos-items { list-style: none; padding: 0; margin: 0; }
.uc-points { display: flex; flex-direction: column; gap: 10px; }
.uc-point { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink2); }
.uc-point .ck { color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ── HOW IT WORKS ── */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: flex-start; margin-top: 56px; }
.step { text-align: center; padding: 0 24px; }
.step-num { width: 56px; height: 56px; border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--accent); margin: 0 auto 16px; letter-spacing: -0.02em; }
.step h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 7px; letter-spacing: -0.01em; }
.step p { font-size: 13.5px; color: var(--ink2); line-height: 1.6; }
.step-arrow { color: var(--border); font-size: 24px; align-self: center; padding-bottom: 60px; padding: 0 4px; padding-bottom: 62px; }


/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 48px; align-items: stretch; }
.pricing-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; display: flex; flex-direction: column; transition: box-shadow 0.25s; }
.pricing-card:hover { box-shadow: var(--shadow-hover); }
.pricing-card.featured { background: var(--accent); border-color: var(--accent); color: var(--white); box-shadow: 0 8px 32px rgba(43,92,230,0.25); }
.pricing-popular { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; background: rgba(255,255,255,0.2); color: white; }
.pricing-plan { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink3); margin-bottom: 6px; }
.pricing-card.featured .pricing-plan { color: rgba(255,255,255,0.65); }
.pricing-price { font-family: var(--font-head); font-size: 46px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.pricing-period { font-size: 16px; font-weight: 500; opacity: 0.6; }
.pricing-tagline { font-size: 13px; color: var(--ink3); margin-top: 4px; margin-bottom: 22px; }
.pricing-card.featured .pricing-tagline { color: rgba(255,255,255,0.6); }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.pricing-card.featured .pricing-divider { border-color: rgba(255,255,255,0.2); }
.pricing-features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pf { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; }
.pf .ck { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pf .nx { color: var(--ink3); font-weight: 600; flex-shrink: 0; margin-top: 1px; }
.pricing-card.featured .pf .ck { color: #86efac; }
.pricing-card.featured .pf { color: rgba(255,255,255,0.9); }
.pricing-card.featured .pf .nx { color: rgba(255,255,255,0.3); }
.pf.off { color: var(--ink3); }
.pricing-cta { margin-top: 24px; }
.btn-pr { display: block; text-align: center; font-family: var(--font-body); font-size: 15px; font-weight: 600; padding: 13px; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-pr-outline { background: transparent; border: 1.5px solid var(--border); color: var(--ink); }
.btn-pr-outline:hover { border-color: var(--ink); background: var(--bg2); }
.btn-pr-white { background: white; border: none; color: var(--accent); font-weight: 700; }
.btn-pr-white:hover { background: #f0f0f0; }

/* ── BLOG PREVIEW ── */
.blog-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 40px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

/* ── POSITIONING ── */
.pos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pos-card { border-radius: var(--radius); padding: 32px 28px; }
.pos-card.yes { background: #F0FDF4; border: 1px solid #BBF7D0; }
.pos-card.no { background: #FFF5F5; border: 1px solid #FECACA; }
.pos-head { font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 7px; }
.pos-head.yes { color: var(--green); }
.pos-head.no { color: var(--red); }
.pos-items { display: flex; flex-direction: column; gap: 12px; }
.pos-item { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink2); line-height: 1.5; }
.pi-icon.yes { color: var(--green); font-weight: 700; flex-shrink: 0; }
.pi-icon.no { color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ── FAQ ── */
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: flex-start; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); margin-bottom: 6px; }
.faq-q { width: 100%; text-align: left; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--ink); background: none; border: none; padding: 17px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background 0.2s; }
.faq-q:hover { background: var(--bg2); }
.faq-chevron { font-size: 16px; color: var(--ink3); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 20px 16px; font-size: 14px; color: var(--ink2); line-height: 1.7; }

/* ── FINAL CTA ── */
#final-cta { background: var(--ink); padding: 96px 40px; text-align: center; }
#final-cta .section-title { color: white; }
#final-cta .section-sub { color: #9898A3; text-align: center; max-width: 440px; margin: 12px auto 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .diff-grid { grid-template-columns: repeat(2,1fr); }
  .t-grid { grid-template-columns: repeat(2,1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-layout > div:first-child { text-align: center; }
  .pricing-grid { gap: 14px; }
}

@media (max-width: 768px) {
  #hero { padding: 64px 20px 56px; }
  #social-proof { padding: 22px 20px; }
  .sp-inner { flex-direction: column; gap: 12px; text-align: center; }
  .sp-sep { display: none; }
  /* Tabs hidden on mobile → restore all panels regardless of JS state */
  #use-cases.tabs-js .tab-content { display: block; }
  #use-cases.tabs-js .tab-content + .tab-content { margin-top: 48px; }
  .steps { grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
  .step-arrow { display: none; }
  .t-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; margin-top: 32px; }
  .pos-grid { grid-template-columns: 1fr; }
  #final-cta { padding: 64px 20px; }
  .blog-header { flex-direction: column; gap: 12px; align-items: center; text-align: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .tabs {display: none;}
}

@media (max-width: 480px) {
  .diff-grid { grid-template-columns: 1fr; }
  .tabs { flex-direction: column; width: 100%; }
}

