/* ==============================================
   PostAI — Feature pages (/features/*)
   Loads after /home.css and reuses its tokens and
   components (phone, section, faq, ap, appwin…).
   ============================================== */

.crumbs { font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--accent-2); }
.crumbs span { margin: 0 6px; }

/* ---------- Feature hero ---------- */
.fhero { padding: 48px 0 64px; position: relative; overflow: hidden; }
.fhero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 640px; pointer-events: none;
  background: radial-gradient(600px 360px at 25% 20%, rgba(139, 92, 246, .2), transparent 70%);
}
.fhero__grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.fhero h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; }
.fhero__sub { font-size: 18px; margin: 18px 0 26px; max-width: 600px; }
.fhero__sub b { color: var(--text); font-weight: 600; }
.fhero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fhero__meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.fhero__phones { display: flex; gap: 16px; justify-content: center; align-items: flex-start; }
.fhero__phones .phone { width: min(240px, 42vw); }
.fhero__phones .phone:nth-child(2) { margin-top: 56px; }
.fhero__phones--one .phone { width: min(300px, 74vw); }

/* ---------- Generic cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.fcard { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); overflow: hidden; transition: border-color .2s, transform .2s; }
a.fcard:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.fcard__img { aspect-ratio: 4 / 5; overflow: hidden; background: #000; position: relative; }
.fcard__img img, .fcard__img video { width: 100%; height: 100%; object-fit: cover; }
.fcard__img--short { aspect-ratio: 16 / 11; }
.fcard__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fcard__kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
.fcard h3 { font-size: 19px; }
.fcard p { font-size: 15px; }
.fcard .link-arrow { margin-top: auto; padding-top: 6px; }
.fcard .soon { align-self: flex-start; font-size: 11.5px; font-weight: 700; color: var(--amber); background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .3); padding: 2px 9px; border-radius: 999px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--accent-dim); border: 1px solid var(--border); }

/* ---------- Two-way comparison (e.g. Listing Video vs Guided Tour) ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vcard { padding: 28px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); }
.vcard--hot { border-color: var(--border-hover); background: linear-gradient(180deg, rgba(139, 92, 246, .1), var(--bg-card) 60%); }
.vcard h3 { font-size: 22px; margin: 6px 0 6px; }
.vcard__tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
.vcard__lead { font-size: 15.5px; margin-bottom: 16px; }
.vcard dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; font-size: 14.5px; margin-bottom: 18px; }
.vcard dt { color: var(--text-3); font-weight: 600; }
.vcard dd { color: var(--text); }

/* ---------- Feature rows (image + text, alternating) ---------- */
.frow { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; max-width: 980px; margin: 0 auto; }
.frow + .frow { margin-top: 56px; }
.frow--flip { grid-template-columns: 1fr 260px; }
.frow--flip .frow__media { order: 2; }
.frow__media .phone { width: 100%; }
.frow h3 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 10px; }
.frow p { font-size: 16px; }
.frow .ticks { margin-top: 16px; }

/* ---------- Numbered tips ---------- */
.tips { list-style: none; counter-reset: tip; display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.tips li { counter-increment: tip; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); }
.tips li::before { content: counter(tip); width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: var(--accent); }
.tips h3 { font-size: 18px; margin-bottom: 6px; }
.tips p { font-size: 15px; }
.tips .eg { margin-top: 10px; font-size: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); border-left: 2px solid var(--accent); }
.tips .eg b { color: var(--text); }

/* ---------- Setup checklist ---------- */
.setup-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.setup-list div { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); }
.setup-list .ap__ic { width: 34px; height: 34px; border-radius: 9px; font-size: 16px; }
.setup-list b { color: var(--text); display: block; margin-bottom: 3px; }
.setup-list span { font-size: 14px; }

/* ---------- Demo callout ---------- */
.callout { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 26px 28px; border-radius: var(--radius-lg); border: 1px solid var(--border-hover); background: linear-gradient(120deg, rgba(139, 92, 246, .16), rgba(99, 102, 241, .06)); }
.callout h3 { font-size: 22px; }
.callout p { margin-top: 4px; }

/* ---------- Price note ---------- */
.price-note { text-align: center; font-size: 13.5px; color: var(--text-3); margin-top: 18px; }
.price-note a { color: var(--accent-2); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .fhero { padding: 28px 0 48px; }
  .fhero__grid { grid-template-columns: 1fr; gap: 36px; }
  .cards, .cards--2, .versus, .setup-list { grid-template-columns: 1fr; }
  .frow, .frow--flip { grid-template-columns: 1fr; gap: 24px; }
  .frow--flip .frow__media { order: 0; }
  .frow__media { max-width: 240px; margin: 0 auto; width: 100%; }
  .cards { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .cards--4 { grid-template-columns: 1fr; }
  .vcard dl { grid-template-columns: 1fr; gap: 2px; }
  .vcard dd { margin-bottom: 8px; }
  .fhero__phones .phone { width: 46vw; }
  .tips li { grid-template-columns: 1fr; }
}
.fhero__phones { flex-wrap: wrap; }
.fhero__grid .fhero__phones { flex-wrap: nowrap; }
.fhero__grid .fhero__phones .phone { width: calc(50% - 8px); max-width: 240px; }
