/* ==============================================
   PostAI — Homepage (index.html)
   Same dark theme + violet accent as the rest of the site.
   ============================================== */
:root {
  --bg: #0a0a12; --bg-alt: #0d0d1a; --bg-card: #13131f; --bg-card-2: #181826;
  --border: rgba(139, 92, 246, 0.15); --border-hover: rgba(139, 92, 246, 0.45);
  --accent: #8b5cf6; --accent-2: #a78bfa; --accent-3: #c4b5fd; --accent-dim: rgba(139, 92, 246, 0.12);
  --text: #f1f5f9; --text-2: #94a3b8; --text-3: #64748b;
  --green: #10b981; --red: #ef4444; --amber: #f59e0b;
  --radius: 12px; --radius-lg: 20px; --section-pad: 96px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--text-2);
  line-height: 1.6; font-size: 16px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.12; letter-spacing: -0.02em; }
button { font: inherit; }

.section { padding: var(--section-pad) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; }
.section__head p { margin-top: 14px; font-size: 17px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-2); background: var(--accent-dim); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.grad { background: linear-gradient(120deg, #c4b5fd 0%, #8b5cf6 60%, #6366f1 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, .18); }
.btn-outline:hover { border-color: var(--accent-2); color: var(--text); transform: translateY(-2px); }
.link-arrow { color: var(--accent-2); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { color: var(--accent-3); }

/* ---------- Phone frame (shared) ---------- */
.phone {
  position: relative; aspect-ratio: 9 / 16; width: 100%;
  border-radius: 28px; overflow: hidden; background: #000;
  border: 6px solid #1c1c2b; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(139, 92, 246, .25);
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.phone__tag {
  position: absolute; left: 10px; bottom: 12px; z-index: 2;
  font-size: 11px; font-weight: 700; color: #fff; letter-spacing: .02em;
  background: rgba(10, 10, 18, .72); backdrop-filter: blur(6px);
  padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12);
}
.phone__play {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(139, 92, 246, .9); border: 0; padding: 7px 12px; border-radius: 999px;
}
.phone__play:hover { background: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 720px; pointer-events: none;
  background: radial-gradient(600px 380px at 30% 20%, rgba(139, 92, 246, .22), transparent 70%),
              radial-gradient(500px 340px at 85% 30%, rgba(99, 102, 241, .14), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 62px); font-weight: 800; }
.hero h1 em { font-style: normal; display: block; }
.hero__sub { font-size: 18.5px; margin: 20px 0 28px; max-width: 580px; }
.hero__sub b { color: var(--text); font-weight: 600; }

.url-form {
  display: flex; gap: 8px; padding: 8px; max-width: 580px;
  background: var(--bg-card); border: 1px solid var(--border-hover); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(139, 92, 246, .18);
}
.url-form input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none;
  color: var(--text); font: inherit; font-size: 15.5px; padding: 0 10px;
}
.url-form input::placeholder { color: var(--text-3); }
.url-form .btn { flex-shrink: 0; }
.hero__alt { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14.5px; }
.hero__alt a { color: var(--accent-2); font-weight: 600; }
.hero__alt a:hover { color: var(--accent-3); }
.hero__micro { color: var(--text-3); font-size: 13.5px; }
.hero__inputs { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12.5px; font-weight: 600; color: var(--text-2); padding: 5px 11px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, .02); }

.hero__stage { position: relative; display: flex; justify-content: center; }
.hero__phone { width: min(320px, 78vw); }
.hero__switch { position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%); display: flex; gap: 6px; }
.hero__switch button {
  font-size: 12px; font-weight: 600; color: var(--text-2); white-space: nowrap;
  background: var(--bg-card); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
.hero__switch button[aria-pressed="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }

/* ---------- Proof strip ---------- */
.proof { padding: 56px 0 24px; }
.proof__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.proof__stat { text-align: center; }
.proof__stat b { display: block; font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.proof__stat span { font-size: 13.5px; }
.proof__stat a:hover b { color: var(--accent-3); }
.proof__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; margin-top: 26px; }
.proof__logos img { height: 52px; width: 52px; object-fit: contain; background: rgba(255, 255, 255, .92); border-radius: 10px; padding: 6px; opacity: .85; transition: opacity .2s; }
.proof__logos img:hover { opacity: 1; }
.proof__label { text-align: center; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: 30px; }

/* ---------- Prompt route vs PostAI route ---------- */
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.route { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg-card); }
.route h3 { font-size: 20px; margin-bottom: 4px; }
.route__sub { font-size: 14px; color: var(--text-3); margin-bottom: 18px; }
.route ul { list-style: none; display: grid; gap: 12px; }
.route li { display: flex; gap: 12px; font-size: 15.5px; }
.route li::before { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 1px; }
.route--old li::before { content: '✕'; color: var(--red); background: rgba(239, 68, 68, .12); }
.route--new { border-color: var(--border-hover); background: linear-gradient(180deg, rgba(139, 92, 246, .1), var(--bg-card) 60%); }
.route--new li { color: var(--text); }
.route--new li::before { content: '✓'; color: var(--green); background: rgba(16, 185, 129, .14); }
.routes__quote { text-align: center; margin-top: 32px; font-size: 19px; font-weight: 600; color: var(--text); }

/* ---------- 3 steps + demo player ---------- */
.steps { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; max-width: 1000px; margin: 0 auto; }
.steps__list { list-style: none; display: grid; gap: 12px; }
.step-btn {
  width: 100%; text-align: left; cursor: pointer; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg-card); color: var(--text-2);
  transition: border-color .2s, background .2s;
}
.step-btn:hover { border-color: var(--border-hover); }
.step-btn[aria-selected="true"] { border-color: var(--accent); background: linear-gradient(90deg, rgba(139, 92, 246, .14), var(--bg-card)); }
.step-btn__n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: var(--accent-3); background: var(--accent-dim); }
.step-btn[aria-selected="true"] .step-btn__n { background: var(--accent); color: #fff; }
.step-btn h3 { font-size: 18px; margin-bottom: 4px; }
.step-btn p { font-size: 14.5px; }
.step-btn__bar { grid-column: 2; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; margin-top: 10px; display: none; }
.step-btn[aria-selected="true"] .step-btn__bar { display: block; }
.step-btn__bar i { display: block; height: 100%; width: 0; background: var(--accent-2); }
.demo { position: relative; }
.appwin { border-radius: 14px; overflow: hidden; background: #121214; border: 1px solid #2a2a33; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(139, 92, 246, .2); }
.appwin__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #19191d; border-bottom: 1px solid #2e2e35; }
.appwin__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a42; }
.appwin__bar span { margin-left: 10px; font-size: 12px; color: #71717a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appwin__screen { position: relative; aspect-ratio: 694 / 492; background: #0d0d10; }
.appwin__screen img { width: 100%; height: 100%; object-fit: cover; }
.demo__screen--reel { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, .18), #0d0d10 70%); }
.demo__screen--reel video { position: absolute; top: 3%; left: 50%; transform: translateX(-50%); height: 94%; width: auto; max-width: none; aspect-ratio: 9 / 16; border-radius: 12px; object-fit: cover; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.demo__screen { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.demo__screen.on { opacity: 1; }
.demo__caption { text-align: center; font-size: 13px; color: var(--text-3); margin-top: 14px; }
.steps__cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Three pillars ---------- */
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.tab {
  cursor: pointer; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  color: var(--text-2); background: var(--bg-card); border: 1px solid var(--border);
}
.tab small { display: block; font-weight: 500; font-size: 12px; color: var(--text-3); }
.tab[aria-selected="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.tab[aria-selected="true"] small { color: rgba(255, 255, 255, .8); }
.pillar { display: none; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pillar.on { display: grid; }
.pillar__job { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
.pillar h3 { font-size: clamp(26px, 3.6vw, 36px); margin: 8px 0 14px; font-weight: 800; }
.pillar__lead { font-size: 17px; margin-bottom: 22px; }
.io { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.io div { padding: 14px 16px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); font-size: 14.5px; }
.io b { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; font-weight: 700; }
.io span { color: var(--text); }
.ticks { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.ticks li { display: flex; gap: 10px; font-size: 15.5px; }
.ticks li::before { content: '✓'; color: var(--green); font-weight: 800; }
.ticks .soon { color: var(--text-3); }
.ticks .soon::before { content: '◷'; color: var(--amber); }
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.formats .chip b { color: var(--text); font-weight: 700; }
.pillar__phones { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 470px; margin: 0 auto; }
.pillar__phones .phone:nth-child(2) { margin-top: 48px; }
.pillar__price { font-size: 14px; color: var(--text-3); margin-top: 14px; }
.pillar__price b { color: var(--accent-3); }

/* ---------- You on camera ---------- */
.oncam { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; max-width: 1040px; margin: 0 auto; }
.oncam h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; margin-bottom: 14px; }
.oncam__lead { font-size: 17px; margin-bottom: 24px; }
.setup { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.setup div { padding: 16px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); }
.setup b { color: var(--text); display: block; margin-bottom: 2px; }
.setup span { font-size: 14px; }
.reasons__label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.reasons { display: flex; flex-wrap: wrap; gap: 8px; }
.reasons span { font-size: 13.5px; padding: 7px 12px; border-radius: 999px; background: rgba(239, 68, 68, .08); border: 1px solid rgba(239, 68, 68, .2); color: #fca5a5; text-decoration: line-through; text-decoration-color: rgba(252, 165, 165, .6); }
.reasons__end { margin-top: 14px; color: var(--text); font-weight: 600; }

/* ---------- Post & schedule ---------- */
.publish { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.publish h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; margin-bottom: 14px; }
.publish__lead { font-size: 17px; margin-bottom: 22px; }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.platforms span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); padding: 8px 14px; border-radius: 10px; background: var(--bg-card); border: 1px solid var(--border); }
.cal { padding: 22px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--text); font-weight: 700; }
.cal__head small { color: var(--text-3); font-weight: 500; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-size: 12.5px; }
.cal__grid .dow { color: var(--text-3); font-weight: 700; font-size: 11px; }
.cal__grid .d { padding: 8px 0 12px; border-radius: 8px; background: rgba(255, 255, 255, .02); position: relative; color: var(--text-2); }
.cal__grid .d.has::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent-2); }
.cal__grid .d.sel { background: var(--accent); color: #fff; }
.cal__grid .d.sel::after { background: #fff; }
.cal__post { margin-top: 14px; display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg-card-2); border: 1px solid var(--border); }
.cal__post img { width: 44px; height: 78px; object-fit: cover; border-radius: 6px; }
.cal__post b { color: var(--text); font-size: 14px; display: block; }
.cal__post small { font-size: 12.5px; }
.cal__post .pf { margin-left: auto; display: flex; gap: 4px; }
.cal__post .pf i { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--text); background: rgba(139, 92, 246, .25); padding: 3px 6px; border-radius: 5px; }

/* ---------- Cost comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; max-width: 900px; margin: 0 auto; }
.cmp { padding: 28px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); }
.cmp--us { border-color: var(--border-hover); background: linear-gradient(180deg, rgba(139, 92, 246, .12), var(--bg-card) 70%); }
.cmp__who { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.cmp__price { font-size: 44px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; margin: 6px 0 2px; }
.cmp--us .cmp__price { color: var(--accent-3); }
.cmp__time { font-size: 14.5px; margin-bottom: 16px; }
.cmp ul { list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.cmp--them li::before { content: '✕  '; color: var(--red); font-weight: 800; }
.cmp--us li { color: var(--text); }
.cmp--us li::before { content: '✓  '; color: var(--green); font-weight: 800; }
.compare__vs { align-self: center; font-weight: 800; color: var(--text-3); }
.compare__note { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-3); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { padding: 26px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.quote__stars { color: var(--amber); letter-spacing: 2px; }
.quote p { color: var(--text); font-size: 15.5px; flex: 1; }
.quote cite { font-style: normal; font-size: 14px; }
.quote cite b { color: var(--text); display: block; }
.quotes__more { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { position: relative; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); display: flex; flex-direction: column; }
.plan--hot { border-color: var(--accent); box-shadow: 0 20px 60px rgba(139, 92, 246, .2); }
.plan__badge { position: absolute; top: -11px; left: 22px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 17px; }
.plan__price { font-size: 34px; font-weight: 800; color: var(--text); margin: 10px 0 2px; letter-spacing: -0.02em; }
.plan__price small { font-size: 15px; color: var(--text-3); font-weight: 600; }
.plan__videos { font-size: 14.5px; color: var(--accent-3); font-weight: 600; }
.plan__credits { font-size: 13px; color: var(--text-3); margin-bottom: 16px; }
.plan ul { list-style: none; display: grid; gap: 8px; font-size: 14px; margin-bottom: 22px; flex: 1; }
.plan li::before { content: '✓  '; color: var(--green); font-weight: 800; }
.plan .btn { justify-content: center; }
.plans__note { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--text-3); }
.plans__note a { color: var(--accent-2); font-weight: 600; }

/* ---------- Support ---------- */
.support { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.support a, .support div { padding: 22px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); transition: border-color .2s; }
.support a:hover { border-color: var(--border-hover); }
.support b { color: var(--text); display: block; margin: 10px 0 4px; font-size: 16px; }
.support span { font-size: 14px; }
.support i { font-style: normal; font-size: 22px; }

/* ---------- Offers strip ---------- */
.offers-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.offer { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); transition: border-color .2s; }
.offer:hover { border-color: var(--border-hover); }
.offer img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.offer small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); }
.offer b { display: block; color: var(--text); font-size: 15px; line-height: 1.3; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; color: var(--text); font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent-2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 20px 18px; font-size: 15px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: var(--section-pad) 0; background: radial-gradient(700px 360px at 50% 0%, rgba(139, 92, 246, .18), transparent 70%), var(--bg); }
.final h2 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; margin-bottom: 14px; }
.final p { font-size: 17px; margin-bottom: 28px; }
.final .url-form { margin: 0 auto; }
.final .hero__alt { justify-content: center; }

/* ---------- Video modal ---------- */
.vmodal { position: fixed; inset: 0; z-index: 10000; background: rgba(6, 6, 14, .92); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 56px 16px 24px; }
.vmodal[hidden] { display: none; }
.vmodal__box { width: min(400px, 100%); max-height: 100%; }
.vmodal__box--wide { width: min(960px, 100%); }
.vmodal video, .vmodal iframe { width: 100%; aspect-ratio: 9 / 16; max-height: calc(100vh - 120px); border-radius: 16px; background: #000; border: 0; }
.vmodal__box--wide iframe { aspect-ratio: 16 / 9; }
.vmodal__close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 10px; border: 0; cursor: pointer; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .plans, .support { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 900px) {
  :root { --section-pad: 64px; }
  .hero { padding: 40px 0 72px; }
  .hero__grid, .steps, .pillar.on, .oncam, .publish { grid-template-columns: 1fr; gap: 40px; }
  .hero__stage { order: 2; }
  .hero__phone { width: min(260px, 70vw); }
  .routes { grid-template-columns: 1fr; }
  .steps .demo { width: 100%; order: -1; }
  .oncam .phone { max-width: 280px; margin: 0 auto; }
  .compare { grid-template-columns: 1fr; }
  .compare__vs { justify-self: center; }
}
@media (max-width: 560px) {
  .url-form { flex-direction: column; padding: 10px; }
  .url-form input { padding: 10px 6px; }
  .url-form .btn { justify-content: center; width: 100%; }
  .io, .setup { grid-template-columns: 1fr; }
  .plans, .support { grid-template-columns: 1fr; }
  .pillar__phones { gap: 12px; }
  .pillar__phones .phone:nth-child(2) { margin-top: 28px; }
  .hero__switch button { padding: 6px 9px; font-size: 11.5px; }
  .tab { padding: 9px 14px; font-size: 14px; }
  .pillar__phones .phone__tag, .hero__phone .phone__tag { display: none; }
  .phone__play { font-size: 11px; padding: 6px 10px; }
}

/* ---------- Autopilot animation (Post & schedule) ---------- */
.ap { border-radius: 16px; overflow: hidden; background: #121214; border: 1px solid #2a2a33; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(139, 92, 246, .2); color: #ececf1; }
.ap__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #19191d; border-bottom: 1px solid #2e2e35; }
.ap__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a42; }
.ap__bar span { margin-left: 10px; font-size: 12px; color: #71717a; }
.ap__body { position: relative; padding: 14px; min-height: 360px; }
.ap__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; }
.ap__count { font-size: 12px; font-weight: 700; color: #a78bfa; background: rgba(139, 92, 246, .14); padding: 3px 9px; border-radius: 999px; transition: transform .25s; }
.ap__count.bump { transform: scale(1.15); }
.ap__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.ap__dow { text-align: center; font-size: 10.5px; font-weight: 700; color: #71717a; padding-bottom: 2px; }
.ap__d { position: relative; aspect-ratio: 1 / 1.05; border-radius: 8px; background: #1b1b1f; border: 1px solid #2a2a31; font-size: 11px; color: #a1a1aa; padding: 4px 5px; overflow: hidden; transition: border-color .2s, background .2s; }
.ap__d.sel { border-color: #8b5cf6; background: rgba(139, 92, 246, .14); color: #fff; }
.ap__d img { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%) scale(.4); width: 46%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 3px; opacity: 0; transition: all .35s cubic-bezier(.2, .9, .3, 1.3); }
.ap__d.has img { opacity: 1; transform: translateX(-50%) scale(1); }
.ap__d.live::after { content: '✓'; position: absolute; top: 3px; right: 5px; font-size: 10px; font-weight: 800; color: #10b981; }
.ap__ready { margin-top: 12px; padding: 10px; border-radius: 12px; background: #1b1b1f; border: 1px solid #2a2a31; }
.ap__rl { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.ap__rl span { color: #a78bfa; }
.ap__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ap__t { position: relative; border-radius: 7px; overflow: hidden; transition: opacity .3s, transform .3s; }
.ap__t img { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; }
.ap__t b { position: absolute; left: 4px; right: 4px; bottom: 4px; text-align: center; font-size: 10px; font-weight: 800; color: #111; background: #fff; border-radius: 5px; padding: 3px 0; }
.ap__t.used { opacity: .25; transform: scale(.94); }
.ap__t.pick { box-shadow: 0 0 0 2px #8b5cf6; }
.ap__modal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.96); width: min(300px, calc(100% - 28px)); background: #1f1f24; border: 1px solid #34343c; border-radius: 14px; padding: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); z-index: 3; opacity: 0; transition: opacity .25s, transform .25s; }
.ap__modal.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ap__modal[hidden] { display: none; }
.ap__mh { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.ap__mh small { font-weight: 500; font-size: 11px; color: #71717a; }
.ap__rows { display: grid; gap: 6px; }
.ap__row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #26262c; border: 1px solid #303038; font-size: 13px; font-weight: 600; transition: border-color .2s, background .2s; }
.ap__ic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.ap__row em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; color: #ececf1; background: #3a3a44; padding: 3px 9px; border-radius: 999px; transition: all .2s; }
.ap__row.on em { color: #10b981; background: rgba(16, 185, 129, .14); }
.ap__chk i { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #4a4a55; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: transparent; transition: all .2s; }
.ap__chk.on { border-color: #8b5cf6; background: rgba(139, 92, 246, .1); }
.ap__chk.on i { background: #8b5cf6; border-color: #8b5cf6; color: #fff; }
.ap__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 700; text-align: center; }
.ap__btns span { padding: 8px; border-radius: 9px; background: #2a2a31; color: #a1a1aa; }
.ap__btns .ap__ok { background: #fff; color: #111; }
.ap__toast { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 12px); z-index: 4; opacity: 0; transition: all .3s; white-space: nowrap; background: #fff; color: #111; font-size: 12.5px; font-weight: 700; padding: 8px 12px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.ap__toast.on { opacity: 1; transform: translate(-50%, 0); }
.ap__cursor { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; transform: translate(260px, 300px); transition: transform .7s cubic-bezier(.45, .05, .25, 1); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.ap__cursor.click::after { content: ''; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #a78bfa; animation: apclick .45s ease-out forwards; }
@keyframes apclick { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ap__stages { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 12px; border-top: 1px solid #2e2e35; counter-reset: st; }
.ap__stages li { counter-increment: st; font-size: 11.5px; font-weight: 600; color: #71717a; padding: 4px 9px; border-radius: 999px; background: #1b1b1f; transition: all .25s; }
.ap__stages li::before { content: counter(st) '  '; font-weight: 800; }
.ap__stages li.on { color: #fff; background: #8b5cf6; }
@media (max-width: 560px) {
  .ap__body { padding: 10px; min-height: 330px; }
  .ap__d { font-size: 10px; padding: 3px; }
  .ap__stages li { font-size: 10.5px; padding: 3px 7px; }
}

/* Demo cursor (3-step flow) */
.demo__cursor { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; transform: translate(-40px, -40px); transition: transform .8s cubic-bezier(.45, .05, .25, 1), opacity .3s; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .6)); }
.demo__cursor.hide { opacity: 0; }
.demo__cursor.click::after { content: ''; position: absolute; left: -12px; top: -12px; width: 28px; height: 28px; border-radius: 50%; border: 3px solid #a78bfa; background: rgba(167, 139, 250, .25); animation: apclick .5s ease-out forwards; }
.demo__screen img { transition: transform 2.6s ease; }
.demo__screen.on img { transform: scale(1.015); }

/* Instagram-style sound button: small round speaker in the corner, never covers the words */
.phone .phone__play { width: 36px; height: 36px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%;
  background: rgba(10,10,18,.62); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); right: 8px; bottom: 8px; }
.phone .phone__play:hover { background: rgba(10,10,18,.85); }
.phone .phone__play svg { width: 18px; height: 18px; color: #fff; }
.phone .phone__play::after { content: ""; position: absolute; inset: -6px; }   /* 48px tap target */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.try .phone .phone__play, .ex-card .phone .phone__play { width: 28px; height: 28px; right: 6px; bottom: 6px; }
.try .phone .phone__play svg { width: 15px; height: 15px; }
