/* New Kingdom Creative — ReplyHub sales page (automatic Instagram DM replies) */
.rh { --mint: #7af0c8; --mint-soft: rgba(122, 240, 200, 0.14); overflow-x: clip; }
.rh-narrow { max-width: 820px; }
.rh .section-title .text-blue, .rh-title .text-blue { color: var(--blue-hover); }

/* ---------- Hero ---------- */
.rh-hero { position: relative; padding: 128px 0 var(--s9); }
.rh-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 78% 30%, rgba(10,92,255,0.30), transparent 70%),
    radial-gradient(520px 360px at 10% 0%, rgba(10,92,255,0.18), transparent 70%),
    radial-gradient(420px 300px at 70% 85%, rgba(122,240,200,0.08), transparent 70%);
}
.rh-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 60% 40%, #000 25%, transparent 75%);
          mask: radial-gradient(ellipse 70% 60% at 60% 40%, #000 25%, transparent 75%);
}
.rh-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s8); align-items: center; }
.rh-title {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(32px, 5.2vw, 60px); letter-spacing: 0.01em; line-height: 1.08; margin-bottom: var(--s5);
}
.rh-hero .lead { margin-bottom: var(--s5); }
.rh-ticks { list-style: none; padding: 0; margin: 0 0 var(--s6); display: grid; gap: 10px; }
.rh-ticks li { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 600; }
.rh-ticks svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--mint-soft); color: var(--mint); }
.rh-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.rh-from { margin: var(--s4) 0 0; color: var(--text-dim); font-size: 15px; }
.rh-from strong { color: var(--text); }

/* Phone with the ad */
.rh-phone-wrap { position: relative; justify-self: center; width: min(340px, 78vw); }
.rh-phone {
  position: relative; aspect-ratio: 9 / 16; border-radius: 42px; padding: 10px;
  background: linear-gradient(160deg, #1b2130, #0a0d14);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 120px -30px var(--blue-glow), 0 0 0 1px rgba(255,255,255,0.04) inset;
  animation: rh-float 6s ease-in-out infinite;
}
.rh-video { width: 100%; height: 100%; object-fit: cover; border-radius: 33px; display: block; background: #04060b; }
.rh-sound {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: rgba(5,6,8,0.72); color: var(--text); border: 1px solid var(--border-strong);
  font: 700 13px var(--font-body); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.rh-sound svg { width: 18px; height: 18px; }
.rh-sound .rh-wave { display: none; }
.rh-sound[aria-pressed="true"] .rh-wave { display: inline; }
.rh-sound[aria-pressed="true"] .rh-mute { display: none; }
.rh-floats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.rh-float {
  position: relative; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 14px; border-radius: 14px; font-size: 14px; color: var(--text);
  background: rgba(13,16,22,0.88); border: 1px solid var(--border-strong); box-shadow: 0 18px 40px -12px rgba(0,0,0,.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.rh-float em { font-style: normal; font-weight: 800; color: var(--mint); }
.rh-float svg { width: 16px; height: 16px; color: var(--mint); fill: none; stroke: currentColor; stroke-width: 2; }
.rh-float-a { animation: rh-bob 5s ease-in-out infinite; }
.rh-float-b { animation: rh-bob 5s ease-in-out -2.5s infinite; }
@keyframes rh-float { 50% { transform: translateY(-10px); } }
@keyframes rh-bob { 50% { transform: translateY(-8px); } }

/* ---------- How it works ---------- */
.rh-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); counter-reset: none; }
.rh-step {
  position: relative; padding: var(--s6); border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--surface-2), var(--surface)); border: 1px solid var(--border);
}
.rh-step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: calc(-1 * var(--s5)); width: var(--s5); height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.rh-step-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: var(--s4);
  font-family: var(--font-display); font-size: 16px; color: #fff; background: var(--blue); box-shadow: 0 8px 24px -6px var(--blue-glow);
}
.rh-step h3 { font-size: 20px; margin-bottom: var(--s2); }
.rh-step p { margin: 0; color: var(--text-muted); line-height: 1.6; }
.rh-step strong { color: var(--text); }

/* ---------- Try it ---------- */
.rh-try { background: radial-gradient(600px 400px at 85% 50%, rgba(10,92,255,0.14), transparent 70%); }
.rh-try-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s8); align-items: center; }
.rh-try-form { display: flex; gap: var(--s3); margin-top: var(--s6); }
.rh-try-form input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border-radius: 999px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); font: 600 16px var(--font-body);
}
.rh-try-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.rh-try-note { margin: var(--s3) 0 0; font-size: 13px; color: var(--text-dim); }

.rh-sim { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.rh-sim-label { margin: 0 0 var(--s2); font-family: var(--font-display); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-dim); }
.rh-post, .rh-dms { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden; min-height: 360px; }
.rh-post-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 14px; }
.rh-post-head img { width: 28px; height: 28px; object-fit: contain; padding: 3px; border-radius: 50%; background: #04060b; border: 1px solid var(--blue); }
.rh-post-img {
  aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 14px;
  background: linear-gradient(135deg, #0a3fb0, #0a5cff 45%, #2a8f8a);
}
.rh-post-img span { font-size: 15px; font-weight: 700; padding: 8px 12px; border-radius: 10px; background: rgba(4,6,11,0.72); }
.rh-post-img b { color: var(--mint); }
.rh-comments { padding: 10px 14px 14px; display: grid; gap: 8px; }
.rh-c { font-size: 14px; line-height: 1.4; animation: rh-in 380ms var(--ease-out) both; }
.rh-c b { margin-right: 6px; }
.rh-c.rh-reply { padding-left: 16px; color: var(--text-muted); border-left: 2px solid var(--border-strong); }

.rh-dms { padding: 14px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.rh-dms-empty { margin: auto; color: var(--text-dim); font-size: 14px; }
.rh-bubble {
  align-self: flex-start; max-width: 92%; padding: 12px 14px; border-radius: 18px 18px 18px 6px;
  background: linear-gradient(135deg, var(--blue), #2a7df0); color: #fff; font-size: 14.5px; line-height: 1.45;
  animation: rh-in 420ms var(--ease-out) both;
}
.rh-bubble a { display: inline-flex; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(4,6,11,0.35); color: #fff; font-weight: 700; text-decoration: none; }
.rh-typing { align-self: flex-start; display: flex; gap: 5px; padding: 12px 14px; border-radius: 18px; background: var(--surface-2); }
.rh-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: rh-dot 1s infinite; }
.rh-typing i:nth-child(2) { animation-delay: .15s; } .rh-typing i:nth-child(3) { animation-delay: .3s; }
.rh-auto { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--mint); animation: rh-in 380ms var(--ease-out) both; }
.rh-auto svg { width: 14px; height: 14px; }
.rh-skip { margin: auto; text-align: center; color: var(--text-muted); font-size: 14px; line-height: 1.5; animation: rh-in 380ms var(--ease-out) both; }
@keyframes rh-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes rh-dot { 50% { transform: translateY(-4px); opacity: .5; } }

/* ---------- Features ---------- */
.rh-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.rh-feat {
  padding: var(--s6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.rh-feat:hover { border-color: rgba(10,92,255,0.5); transform: translateY(-3px); }
.rh-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: var(--s4); background: var(--blue-soft); color: var(--blue-hover); }
.rh-ico svg { width: 24px; height: 24px; }
.rh-feat h3 { font-size: 18px; margin-bottom: var(--s2); }
.rh-feat p { margin: 0; color: var(--text-muted); line-height: 1.6; }
.rh-tag { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: var(--mint); background: var(--mint-soft); vertical-align: 1px; }

/* ---------- Plans ---------- */
.rh-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); align-items: stretch; }
.rh-plan {
  position: relative; display: flex; flex-direction: column; padding: var(--s6); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.rh-plan-pop { border-color: var(--blue); background: linear-gradient(170deg, rgba(10,92,255,0.16), var(--surface) 55%); box-shadow: 0 30px 80px -40px var(--blue-glow); }
.rh-badge { position: absolute; top: -13px; left: var(--s6); padding: 4px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; }
.rh-plan h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 20px; letter-spacing: .02em; }
.rh-plan-for { margin: 6px 0 var(--s4); color: var(--text-dim); font-size: 14px; }
.rh-price { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.rh-price b { font-size: 46px; font-weight: 800; letter-spacing: -0.02em; }
.rh-price span { color: var(--text-muted); }
.rh-setup { margin: 4px 0 var(--s5); font-size: 14px; color: var(--text-muted); }
.rh-plan ul { list-style: none; padding: 0; margin: 0 0 var(--s6); display: grid; gap: 10px; }
.rh-plan li { display: flex; gap: 10px; color: var(--text-muted); font-size: 15px; line-height: 1.45; }
.rh-plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--mint); }
.rh-plan .btn { margin-top: auto; width: 100%; }

/* ---------- FAQ ---------- */
.rh-faq-list { display: grid; gap: var(--s3); }
.rh-faq-list details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.rh-faq-list summary {
  list-style: none; cursor: pointer; padding: var(--s5); font-weight: 700; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
}
.rh-faq-list summary::-webkit-details-marker { display: none; }
.rh-faq-list summary::after { content: "+"; font-size: 22px; color: var(--blue-hover); transition: transform var(--dur) var(--ease-out); }
.rh-faq-list details[open] summary::after { transform: rotate(45deg); }
.rh-faq-list details p { margin: 0; padding: 0 var(--s5) var(--s5); color: var(--text-muted); line-height: 1.65; }

/* ---------- Get set up ---------- */
.rh-signup { background: radial-gradient(700px 420px at 20% 30%, rgba(10,92,255,0.16), transparent 70%); }
.rh-signup-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s8); align-items: start; }
.rh-signup .lead { margin-bottom: var(--s6); }
.rh-form-card { padding: var(--s6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-strong); }
.rh-flash { animation: rh-flash 1.2s var(--ease-out); }
@keyframes rh-flash { 0% { box-shadow: 0 0 0 0 var(--blue-glow); } 100% { box-shadow: 0 0 0 14px transparent; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .rh-hero-grid, .rh-try-grid, .rh-signup-grid { grid-template-columns: 1fr; }
  .rh-hero { padding-top: 112px; }
  .rh-phone-wrap { margin-top: var(--s4); }
  .rh-steps, .rh-feat-grid, .rh-plan-grid { grid-template-columns: 1fr; }
  .rh-step:not(:last-child)::after { display: none; }
  .rh-plan-pop { order: -1; }
}
@media (max-width: 560px) {
  .rh-sim { grid-template-columns: 1fr; }
  .rh-post, .rh-dms { min-height: 0; }
  .rh-dms { min-height: 180px; }
  .rh-actions .btn { flex: 1 1 100%; }
  .rh-try-form { flex-direction: column; }
  .rh-form-card { padding: var(--s5); }
}
@media (prefers-reduced-motion: reduce) {
  .rh-phone, .rh-float { animation: none; }
}
