/* ThinkChat v2 — landing page. Tokens come from v2.css; product mocks from v2-mock.css. */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(60px, 9vw, 112px) 0 clamp(40px, 6vw, 72px);
  text-align: center;
}

.hero .orb-peach { width: 440px; height: 440px; left: -140px; top: 140px; }
.hero .orb-lavender { width: 460px; height: 460px; right: -150px; top: -20px; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.hero-pill b {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--peach);
  color: var(--coral-ink);
  font-size: 11px;
  font-weight: 700;
}

.hero h1 {
  margin: 26px auto 22px;
  font-size: clamp(44px, 8.4vw, 104px);
  line-height: 1;
  letter-spacing: -.055em;
}

.rotator {
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  color: var(--coral-dark);
  height: 1.08em;
}

.rotator span {
  grid-area: 1 / 1;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}

.js .rotator span { transform: translateY(100%); opacity: 0; }
/* Until the script takes over, the first word simply shows — no flash of a missing word. */
.js .rotator:not(.is-live) span:first-child,
.js .rotator span.is-on { transform: none; opacity: 1; }
.js .rotator span.is-off { transform: translateY(-100%); opacity: 0; }
html:not(.js) .rotator span:not(:first-child) { display: none; }

.hero .lead { margin: 0 auto; font-size: clamp(16px, 1.5vw, 19px); max-width: 640px; }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

.hero-proof {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof img { width: 18px; height: 18px; }
.hero-proof i { font-style: normal; color: var(--coral); }

.hero-note { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--muted); }

.hero-shot {
  position: relative;
  max-width: 920px;
  margin: clamp(40px, 6vw, 64px) auto 0;
}
.hero-shot::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% 6% -8%;
  border-radius: 40px;
  background: radial-gradient(closest-side, rgba(119, 98, 216, .18), transparent);
  filter: blur(30px);
}

/* ---------- Channel strip ---------- */

.strip { padding: 40px 0 10px; }
.strip p { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin: 18px 0 0; padding: 0; list-style: none; }
.strip li { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; color: var(--aubergine); }
.strip img { width: 24px; height: 24px; }
.strip .soon { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin-top: 18px; }
.strip .soon-label { padding: 4px 10px; border-radius: 999px; background: var(--lavender); color: var(--violet); font-size: 11px; font-weight: 700; }
.strip .soon-ch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.strip .soon-ch img { width: 18px; height: 18px; opacity: .6; filter: grayscale(.4); }

/* ---------- Section heads ---------- */

.head { max-width: 720px; margin: 0 auto 48px; }

/* ---------- Pillars ---------- */

.pillars { padding: clamp(80px, 10vw, 120px) 0 clamp(40px, 5vw, 60px); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--paper); }
.pillar .ic { width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--peach); color: var(--coral); }
.pillar:nth-child(2) .ic { background: var(--lavender); color: var(--violet); }
.pillar:nth-child(3) .ic { background: var(--green); color: var(--green-ink); }
.pillar .ic svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 22px; letter-spacing: -.04em; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Feature preview ---------- */

.feature-preview { padding: clamp(60px, 8vw, 100px) 0; }
.fp-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.fp-grid > .fp { flex: 0 1 calc((100% - 42px) / 4); min-width: 0; }
.fp {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.fp:hover { transform: translateY(-4px); border-color: var(--lavender-deep); box-shadow: var(--shadow-soft); }
.fp .ic { width: 40px; height: 40px; margin-bottom: 8px; border-radius: 12px; display: grid; place-items: center; background: var(--ivory); color: var(--coral); }
.fp:nth-child(even) .ic { color: var(--violet); }
.fp .ic svg { width: 19px; height: 19px; }
.fp b { font-size: 16px; font-weight: 800; letter-spacing: -.03em; }
.fp .txt { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.fp .more { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 700; color: var(--violet); }

/* ---------- How it works ---------- */

.how { padding: clamp(60px, 8vw, 100px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.how-grid li { padding: 30px; border-radius: var(--r-xl); background: var(--ivory); }
.how-grid .n { width: 38px; height: 38px; margin-bottom: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; font-weight: 800; }
.how-grid h3 { font-size: 20px; letter-spacing: -.04em; margin-bottom: 8px; }
.how-grid p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Pricing ---------- */

.pricing { padding: clamp(80px, 10vw, 130px) 0; }

.billing {
  display: inline-flex;
  padding: 5px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
}
.billing button {
  padding: 10px 22px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: all .25s var(--ease);
}
.billing button.is-on { background: var(--aubergine); color: #fff; }

.trial { margin-top: 16px; font-size: 14px; color: var(--muted); }
.trial b { color: var(--coral-ink); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
  text-align: left;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-5px); border-color: var(--lavender-deep); box-shadow: var(--shadow-soft); }

.plan.is-featured { background: var(--aubergine); border-color: var(--aubergine); color: #fff; box-shadow: var(--shadow-lift); }

.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; }
.plan h3 { font-size: 22px; letter-spacing: -.04em; }
.plan .tag {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--coral-btn);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.plan .persona { margin-top: 8px; min-height: 48px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.plan.is-featured .persona { color: rgba(255, 255, 255, .66); }

.price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.price .cur { font-size: 15px; font-weight: 700; color: var(--muted); }
.plan.is-featured .price .cur { color: rgba(255, 255, 255, .6); }
.price .amt { font-size: 46px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.price .per { font-size: 13px; font-weight: 600; color: var(--muted); }
.plan.is-featured .price .per { color: rgba(255, 255, 255, .6); }
.price-note { margin-top: 6px; min-height: 20px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.plan.is-featured .price-note { color: rgba(255, 255, 255, .55); }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 22px 0;
}
.stats div { padding: 11px 6px; border-radius: 12px; background: var(--ivory); text-align: center; }
.plan.is-featured .stats div { background: rgba(255, 255, 255, .08); }
.stats strong { display: block; font-size: 16px; letter-spacing: -.04em; line-height: 1.2; white-space: nowrap; }
.stats span { font-size: 11px; font-weight: 600; color: var(--muted); }
.plan.is-featured .stats span { color: rgba(255, 255, 255, .6); }

.feats { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.feats li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.45; }
.feats li b { display: block; font-weight: 700; }
.feats li small { font-size: 12px; color: var(--muted); font-weight: 500; }
.plan.is-featured .feats li small { color: rgba(255, 255, 255, .58); }
.feats .mk {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--green-ink);
}
.feats .mk svg { width: 11px; height: 11px; }
.plan.is-featured .feats .mk { background: rgba(143, 214, 176, .18); color: #8fd6b0; }
.feats li.off { opacity: .45; }
.feats li.off .mk { background: var(--ivory); color: var(--muted); }
.plan.is-featured .feats li.off .mk { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .5); }

.plan .btn { margin-top: auto; width: 100%; }
.plan.is-featured .btn-outline { background: var(--coral-btn); border-color: var(--coral-btn); color: #fff; }

.pricing-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .45);
  text-align: left;
}
.pricing-foot h3 { font-size: 19px; letter-spacing: -.03em; }
.pricing-foot p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.pricing-foot p:first-child { margin-top: 0; }

/* ---------- Conversion (original: lavender with a peach circle) ---------- */

.convert {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(80px, 9vw, 116px) 0;
  background: var(--lavender);
}
.convert::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  left: -260px;
  top: -230px;
  border-radius: 50%;
  background: var(--peach);
}
.convert::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 300px;
  right: -90px;
  bottom: -140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
}

.convert-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.convert .lead { color: #645d72; }

.convert-card {
  padding: 30px;
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--shadow-lift);
}
.convert-card h3 { font-size: 20px; letter-spacing: -.035em; }
.convert-card ul { list-style: none; margin: 16px 0 24px; padding: 0; display: grid; gap: 12px; }
.convert-card li { display: flex; gap: 11px; font-size: 14px; line-height: 1.5; }
.convert-card li b {
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--peach); color: var(--coral-ink);
  font-size: 11.5px;
}
.convert-card .btn { width: 100%; }
.convert-card .btn + .btn { margin-top: 10px; }

.faq { padding: clamp(60px, 8vw, 100px) 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .convert-grid { grid-template-columns: 1fr; }
  .fp-grid > .fp { flex-basis: calc((100% - 14px) / 2); }
}

@media (max-width: 860px) {
  .pillar-grid, .how-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .fp-grid > .fp { flex-basis: 100%; }
  .pillar, .how-grid li { padding: 24px; }
  .plan { padding: 24px; }
  .pricing-foot { padding: 22px; }
  .pricing-foot .btn { width: 100%; }
  .strip ul { gap: 10px 18px; }
  .strip li { font-size: 13.5px; }
}
