/* ==========================================================================
   StalkNYC — Instagram-inspired UI, light + dark theme, mobile-first
   Font: system stack như Instagram (San Francisco / Segoe / Roboto)
   ========================================================================== */

:root {
  /* brand */
  --red: #e10600;
  --red-2: #ff2f28;
  --gold: #f0b429;
  --tg: #2aabee;
  --ig-blue: #0095f6;
  --ig-blue-hover: #1877f2;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --wrap: 1120px;
  --topbar-h: 60px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Be Vietnam Pro", sans-serif;
}

/* ------------------------------- LIGHT (mặc định) ------------------------ */
html[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #fafafa;
  --bg-3: #ffffff;
  --card: #ffffff;
  --line: #dbdbdb;
  --line-soft: #efefef;
  --txt: #262626;
  --txt-dim: #737373;
  --txt-faint: #8e8e8e;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
  --chip-bg: #efefef;
  --btn-ghost-bg: #efefef;
  --btn-ghost-txt: #262626;
  --hero-glow: radial-gradient(60% 60% at 30% 25%, rgba(225, 6, 0, 0.10), transparent 70%),
    radial-gradient(50% 50% at 78% 15%, rgba(0, 149, 246, 0.10), transparent 70%);
  --skeleton: #efefef;
  color-scheme: light;
}

/* ------------------------------- DARK ------------------------------------ */
html[data-theme="dark"] {
  --bg: #000000;
  --bg-2: #000000;
  --bg-3: #1a1a1a;
  --card: #000000;
  --line: #262626;
  --line-soft: #1a1a1a;
  --txt: #f5f5f5;
  --txt-dim: #a8a8a8;
  --txt-faint: #737373;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.5);
  --chip-bg: #262626;
  --btn-ghost-bg: #262626;
  --btn-ghost-txt: #f5f5f5;
  --ig-blue: #0095f6;
  --hero-glow: radial-gradient(60% 60% at 30% 25%, rgba(225, 6, 0, 0.28), transparent 70%),
    radial-gradient(50% 50% at 78% 15%, rgba(0, 149, 246, 0.16), transparent 70%);
  --skeleton: #1a1a1a;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap-narrow { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.center { text-align: center; }

/* ---------------------------------------------------------------- typography */
.kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--txt-faint); font-weight: 600; margin: 0 0 14px;
}
.kicker-center { justify-content: center; }

.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red-2);
  box-shadow: 0 0 0 0 rgba(255, 47, 40, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(255, 47, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 47, 40, 0); }
}

.h2 {
  font-size: clamp(24px, 5.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 14px;
}

section { position: relative; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 18px; border-radius: 10px;
  font-family: inherit; font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, opacity 0.2s ease;
  min-height: 40px;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--ig-blue);
  color: #fff;
}
.btn-primary:hover { background: var(--ig-blue-hover); }

.btn-ghost {
  background: var(--btn-ghost-bg);
  color: var(--btn-ghost-txt);
}
.btn-ghost:hover { opacity: 0.82; }

.btn-sm { padding: 7px 14px; font-size: 13px; min-height: 34px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- topbar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  height: var(--topbar-h);
  padding: 0 16px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand { text-decoration: none; margin-right: auto; }

/* Logo kiểu chữ ký (Grand Hotel — gợi nhớ logo Instagram) */
.brand-script {
  font-family: "Grand Hotel", cursive;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.5px;
  background: linear-gradient(100deg, var(--red-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 3px;
}

.topnav { display: none; gap: 20px; }
.topnav a {
  text-decoration: none; color: var(--txt); font-size: 14px; font-weight: 500;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.topnav a:hover { color: var(--txt-dim); }

.top-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--chip-bg); border: none; cursor: pointer;
  display: grid; place-items: center; font-size: 15px;
  transition: transform 0.15s ease;
}
.icon-btn:active { transform: scale(0.9); }
.icon-btn .ico-moon { display: none; }
html[data-theme="dark"] .icon-btn .ico-sun { display: none; }
html[data-theme="dark"] .icon-btn .ico-moon { display: inline; }

/* ---------------------------------------------------------------- hero */
.hero { padding: 40px 0 36px; overflow: hidden; }

.hero-bg {
  position: absolute; inset: -30% -10% auto -10%; height: 560px;
  background: var(--hero-glow);
  filter: blur(6px);
  pointer-events: none;
}

.hero-grid { position: relative; display: grid; gap: 34px; }

.slogan {
  font-size: clamp(40px, 11vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 6px 0 10px;
}
.slogan em {
  font-style: italic;
  background: linear-gradient(100deg, var(--red-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.slogan-2 {
  font-size: clamp(17px, 4.6vw, 22px);
  font-weight: 600;
  color: var(--txt);
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
}

.lead {
  font-size: 15.5px;
  color: var(--txt-dim);
  max-width: 560px;
  margin: 0 0 24px;
}
.lead strong { color: var(--txt); font-weight: 600; }

.hero-cta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.hero-cta .btn { min-height: 46px; font-size: 15px; }

.hero-stats {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero-stats div:not(.sep) { text-align: center; flex: 1; }
.hero-stats b { display: block; font-size: clamp(18px, 5vw, 24px); font-weight: 700; color: var(--red); }
html[data-theme="dark"] .hero-stats b { color: var(--gold); }
.hero-stats span { font-size: 11px; color: var(--txt-faint); line-height: 1.35; display: block; margin-top: 2px; }
.hero-stats .sep { width: 1px; align-self: stretch; background: var(--line); }

/* ------------------------------------------------- IG post mock (hero) */
.ig-mock { position: relative; max-width: 380px; margin: 0 auto; width: 100%; }

.ig-post {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ig-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
}
.ig-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.ig-head-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ig-head-txt b { font-size: 13.5px; font-weight: 600; }
.ig-head-txt span { font-size: 11.5px; color: var(--txt-dim); }
.ig-dots { margin-left: auto; color: var(--txt-dim); letter-spacing: 1px; }

.ig-media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #ff9a5a, #ff5f6d 45%, #7b4397);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: #fff; text-align: center; padding: 20px;
}
.ig-media-emoji { font-size: 64px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.ig-media-cap { font-size: 13px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.4); max-width: 260px; }

.ig-actions {
  display: flex; gap: 14px; padding: 10px 12px 6px; font-size: 19px;
}
.ig-actions .ig-save { margin-left: auto; }

.ig-meta { padding: 0 12px 14px; font-size: 13px; }
.ig-meta b { font-weight: 600; }
.ig-meta p { margin: 4px 0 0; color: var(--txt); }
.ig-likes, .ig-time { color: var(--txt-dim) !important; font-size: 12.5px; }
.ig-time b { color: var(--red); }
html[data-theme="dark"] .ig-time b { color: var(--gold); }

.float-note {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12px;
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: floaty 5s ease-in-out infinite;
}
.float-note b { font-weight: 600; }
.fn-1 { top: -14px; right: -6px; }
.fn-2 { bottom: 88px; left: -14px; animation-delay: 1.6s; }
.fn-3 { bottom: -16px; right: 4px; animation-delay: 3.2s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------------------------------------------------------------- story */
.story {
  padding: 52px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline { position: relative; margin: 30px 0; padding-left: 4px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, var(--red), transparent);
}

.tl-item { position: relative; padding-left: 32px; margin-bottom: 20px; }
.tl-item::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--red);
}
.tl-item-solution::before { border-color: var(--tg); box-shadow: 0 0 12px rgba(42, 171, 238, 0.6); }

.tl-time {
  display: inline-block; font-size: 11.5px; font-weight: 600;
  color: var(--txt-faint); margin-bottom: 5px;
}
.tl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.tl-card h3 { margin: 0 0 5px; font-size: 15.5px; font-weight: 600; }
.tl-card p { margin: 0; color: var(--txt-dim); font-size: 14px; }
.tl-card-hot {
  background: color-mix(in srgb, var(--tg) 10%, var(--card));
  border-color: color-mix(in srgb, var(--tg) 45%, var(--line));
}

.story-ending {
  text-align: center; color: var(--txt-dim); font-size: 15.5px;
  margin: 30px auto 0; max-width: 540px;
}
.story-ending em { color: var(--red); font-style: italic; font-weight: 600; }
html[data-theme="dark"] .story-ending em { color: var(--gold); }
.story-ending strong { color: var(--txt); }

/* ---------------------------------------------------------------- features */
.features { padding: 52px 0; }

.grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  margin-top: 26px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover, .card:focus-within {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--red) 45%, var(--line));
  box-shadow: var(--shadow);
}
.card-ico {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; font-size: 19px;
  background: var(--chip-bg);
  margin-bottom: 12px;
}
.card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.card > p { margin: 0; color: var(--txt-dim); font-size: 14px; }

/* chi tiết dạng list — "đúng chất data" */
.detail {
  list-style: none; margin: 12px 0 0; padding: 12px 0 0;
  border-top: 1px dashed var(--line);
  display: grid; gap: 6px;
}
.detail li {
  font-size: 13px; color: var(--txt-dim);
  display: flex; gap: 8px; align-items: baseline;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 6px 9px;
}
.detail li span { flex: 0 0 auto; }
.detail li b { color: var(--txt); font-weight: 600; }

.card-cta {
  background: linear-gradient(140deg,
    color-mix(in srgb, var(--red) 12%, var(--card)),
    var(--card));
  border-color: color-mix(in srgb, var(--red) 35%, var(--line));
}
.card-cta .btn { margin-top: 14px; }

/* ---------------------------------------------------------------- trial */
.trial {
  padding: 52px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trial-sub {
  text-align: center; color: var(--txt-dim); font-size: 14.5px;
  max-width: 560px; margin: 0 auto 22px;
}
.trial-sub b { color: var(--txt); }
.trial-note { display: block; font-size: 12.5px; color: var(--txt-faint); margin-top: 6px; }

.trial-form {
  display: flex; align-items: center; gap: 8px;
  max-width: 480px; margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.trial-at {
  padding-left: 10px; color: var(--txt-faint); font-size: 17px; font-weight: 600;
}
.trial-form input {
  flex: 1; min-width: 0; min-height: 42px;
  border: none; outline: none; background: transparent;
  color: var(--txt); font-family: inherit; font-size: 16px;
}
.trial-form input::placeholder { color: var(--txt-faint); }
.trial-form .btn { min-height: 42px; padding: 0 18px; }
.trial-form.busy { opacity: 0.7; pointer-events: none; }
.trial-form.busy #trialBtn::after {
  content: ''; display: inline-block; width: 14px; height: 14px; margin-left: 8px;
  border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%;
  animation: spin .8s linear infinite; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.trial-hints {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 14px 0 0;
}
.chip {
  background: var(--chip-bg); border: 1px solid var(--line);
  color: var(--txt-dim); border-radius: 999px;
  font-family: inherit; font-size: 12.5px; padding: 6px 13px;
  cursor: pointer; min-height: 32px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--txt-dim); color: var(--txt); }

.trial-msg {
  text-align: center; min-height: 22px; font-size: 13.5px;
  color: var(--txt-dim); margin: 14px 0 0;
}
.trial-msg.err { color: var(--red-2); }

/* --------- báo cáo demo (card) --------- */
.trial-report {
  max-width: 640px; margin: 20px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: reportIn 0.4s ease;
}
@keyframes reportIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.rp-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.rp-ava {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}
.rp-name { min-width: 0; }
.rp-name b { font-size: 16px; display: block; }
.rp-name span { font-size: 13px; color: var(--txt-dim); }
.rp-badge {
  margin-left: auto;
  background: color-mix(in srgb, var(--red) 14%, var(--card));
  color: var(--red);
  border: 1px solid color-mix(in srgb, var(--red) 40%, var(--line));
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  padding: 5px 10px; border-radius: 999px;
  text-transform: uppercase;
}
html[data-theme="dark"] .rp-badge { color: var(--gold); }

.rp-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.rp-stats div { text-align: center; padding: 12px 4px; border-right: 1px solid var(--line-soft); }
.rp-stats div:last-child { border-right: none; }
.rp-stats b { display: block; font-size: 17px; font-weight: 700; }
.rp-stats span { font-size: 10.5px; color: var(--txt-faint); text-transform: uppercase; letter-spacing: 0.04em; }

.rp-section { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.rp-section:last-child { border-bottom: none; }
.rp-title {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--txt-faint); margin: 0 0 10px;
}

.rp-event {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px dashed var(--line-soft);
  font-size: 13.5px;
}
.rp-event:last-child { border-bottom: none; }
.rp-event .rp-ico { font-size: 15px; flex: 0 0 auto; }
.rp-event .rp-body { min-width: 0; }
.rp-event .rp-body b { font-weight: 600; }
.rp-event .rp-detail { color: var(--txt-dim); font-size: 13px; }
.rp-event .rp-meta { color: var(--txt-faint); font-size: 12px; margin-top: 2px; }
.rp-time {
  flex: 0 0 auto; font-size: 11.5px; color: var(--txt-faint);
  font-variant-numeric: tabular-nums; padding-top: 2px; width: 62px;
}

.rp-rank { display: grid; gap: 8px; }
.rp-rank-row {
  display: flex; align-items: center; gap: 10px; font-size: 13.5px;
}
.rp-rank-no {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--chip-bg); display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700; flex: 0 0 auto;
}
.rp-rank-row:first-child .rp-rank-no { background: var(--red); color: #fff; }
.rp-rank-row .rp-rank-meta { margin-left: auto; color: var(--txt-faint); font-size: 12px; white-space: nowrap; }

.rp-followers { display: flex; flex-wrap: wrap; gap: 6px; }
.rp-followers span {
  background: var(--chip-bg); border-radius: 999px;
  font-size: 12.5px; padding: 5px 11px; color: var(--txt-dim);
}
.rp-followers span b { color: var(--txt); font-weight: 600; }

.rp-foot {
  padding: 10px 16px; font-size: 11.5px; color: var(--txt-faint);
  background: var(--bg-2); text-align: center;
}

/* ---------------------------------------------------------------- how */
.how { padding: 52px 0; }

.steps {
  list-style: none; margin: 26px 0 32px; padding: 0;
  display: grid; gap: 12px;
}
.steps li {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.step-num {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ig-blue); color: #fff; font-weight: 700; font-size: 14px;
  margin-bottom: 10px;
}
.steps h3 { margin: 0 0 5px; font-size: 16px; }
.steps p { margin: 0; color: var(--txt-dim); font-size: 14px; }

/* Telegram mock */
.tg-demo {
  background: #17212b;
  border: 1px solid rgba(42, 171, 238, 0.3);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  max-width: 420px;
  margin: 0 auto;
}
.tg-head {
  display: flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 600; font-size: 14.5px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}
.tg-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tg); }
.tg-time { margin-left: auto; font-size: 11px; color: #7aa2b8; font-weight: 400; }

.tg-msg {
  background: #1d2c3a; border-radius: 12px 12px 12px 4px;
  padding: 9px 12px; font-size: 13.5px; color: #dde7ee;
  margin-bottom: 8px; line-height: 1.5;
}
.tg-msg b { color: #fff; }
.tg-link { color: var(--tg); }

.tg-msg-typing { display: flex; gap: 5px; align-items: center; width: 54px; }
.tg-msg-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: #7aa2b8;
  animation: typing 1.2s infinite ease-in-out;
}
.tg-msg-typing span:nth-child(2) { animation-delay: 0.15s; }
.tg-msg-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* ---------------------------------------------------------------- pricing */
.pricing { padding: 52px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-sub { text-align: center; color: var(--txt-dim); margin: -4px auto 26px; font-size: 14.5px; }

.price-grid { display: grid; gap: 14px; }

.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex; flex-direction: column;
}
.price-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price b { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.price span { color: var(--txt-faint); font-size: 13.5px; }
.price-desc { color: var(--txt-dim); font-size: 14px; margin: 0 0 14px; }

.price-list {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: grid; gap: 9px; font-size: 14px; color: var(--txt-dim);
}
.price-list li { padding-left: 24px; position: relative; }
.price-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--ig-blue); font-weight: 700;
}
.price-list b { color: var(--txt); font-weight: 600; }

.price-card .btn { margin-top: auto; min-height: 44px; }

.price-card-hot {
  border: 2px solid var(--red);
  box-shadow: 0 12px 34px -16px color-mix(in srgb, var(--red) 65%, transparent);
}
html[data-theme="dark"] .price-card-hot { border-color: var(--gold); }
.price-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  padding: 4px 12px; border-radius: 999px; text-transform: uppercase;
  white-space: nowrap;
}
html[data-theme="dark"] .price-badge { background: var(--gold); color: #000; }

.price-note {
  text-align: center; color: var(--txt-dim); font-size: 13.5px;
  max-width: 560px; margin: 24px auto 0;
}
.price-note b { color: var(--red); }
html[data-theme="dark"] .price-note b { color: var(--gold); }

/* ---------------------------------------------------------------- faq */
.faq { padding: 52px 0; }

.qa {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px; overflow: hidden;
}
.qa summary {
  cursor: pointer; padding: 15px 44px 15px 16px;
  font-weight: 600; font-size: 14.5px; list-style: none;
  position: relative; min-height: 50px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%); color: var(--ig-blue); font-size: 20px; font-weight: 400;
  transition: transform 0.2s ease;
}
.qa[open] summary::after { content: "−"; }
.qa p {
  margin: 0; padding: 14px 16px 16px; color: var(--txt-dim); font-size: 14px;
  border-top: 1px solid var(--line-soft);
}
.qa b { color: var(--txt); }
.qa a { color: var(--ig-blue); }

/* ---------------------------------------------------------------- cta */
.cta { padding: 36px 0 64px; }

.cta-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-sub { color: var(--txt-dim); margin: 0 auto 20px; max-width: 440px; font-size: 14.5px; }

.signup { display: grid; gap: 10px; max-width: 420px; margin: 0 auto; }
.signup input {
  width: 100%; min-height: 46px;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--txt); font-family: inherit; font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}
.signup input::placeholder { color: var(--txt-faint); }
.signup input:focus { border-color: var(--txt-dim); }

.form-msg { min-height: 20px; font-size: 13.5px; margin: 2px 0 0; color: var(--ig-blue); }
.form-msg.err { color: var(--red-2); }

.cta-note { font-size: 12px; color: var(--txt-faint); margin: 16px auto 0; max-width: 400px; }

/* ---------------------------------------------------------------- footer */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 36px 0 100px;
}
.foot-brand { margin-bottom: 22px; }
.foot-slogan { color: var(--txt-dim); font-size: 14px; margin: 8px 0 0; font-style: italic; }

.foot-cols { display: flex; gap: 40px; margin-bottom: 22px; flex-wrap: wrap; }
.foot-cols h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--txt-faint); }
.foot-cols a { display: block; color: var(--txt-dim); text-decoration: none; font-size: 14px; margin-bottom: 7px; }
.foot-cols a:hover { color: var(--txt); }

.foot-legal { color: var(--txt-faint); font-size: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin: 0; }
.foot-legal b { color: var(--txt-dim); }

/* ---------------------------------------------------------------- fab (mobile) */
.fab {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; border-radius: 999px;
  background: var(--ig-blue);
  color: #fff; font-weight: 600; font-size: 15px; text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(0, 149, 246, 0.8);
  transform: translateY(160%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.fab.show { transform: translateY(0); }

/* ==========================================================================
   TABLET  ≥768px
   ========================================================================== */
@media (min-width: 768px) {
  .topnav { display: flex; }
  .hero { padding: 64px 0 56px; }
  .hero-cta { flex-direction: row; }
  .hero-cta .btn { padding: 12px 24px; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .br-des { display: none; }

  .story, .features, .how, .faq, .trial, .pricing { padding: 68px 0; }
  .cta { padding: 48px 0 76px; }
  .cta-box { padding: 44px 36px; }

  .signup { grid-template-columns: 1fr auto; align-items: start; }
  .signup .btn { min-height: 46px; padding-left: 24px; padding-right: 24px; }
  .form-msg { grid-column: 1 / -1; }

  .price-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
  .price-card-hot { transform: translateY(-6px); }

  .fab { display: none; }
  .footer { padding-bottom: 36px; }
}

/* ==========================================================================
   DESKTOP ≥1024px
   ========================================================================== */
@media (min-width: 1024px) {
  .hero { padding: 76px 0 68px; }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 48px;
  }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card-cta { grid-column: span 3; display: flex; align-items: center; gap: 20px; }
  .card-cta .card-ico { margin-bottom: 0; flex: 0 0 auto; }
  .card-cta h3 { margin-bottom: 4px; }
  .card-cta > p { flex: 1; }
  .card-cta .btn { margin-top: 0; }

  .steps { gap: 18px; }
}

/* ==========================================================================
   MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
