:root {
  --bg: #07070c;
  --surface: #11111c;
  --surface-2: #181828;
  --border: rgba(255, 255, 255, 0.1);
  --border-hi: rgba(246, 200, 115, 0.45);
  --text: #f8fafc;
  --muted: #94a3b8;
  --rose: #ff477e;
  --rose-soft: rgba(255, 71, 126, 0.16);
  --gold: #f6c873;
  --gold-soft: rgba(246, 200, 115, 0.15);
  --mint: #2ce8c8;
  --mint-soft: rgba(44, 232, 200, 0.15);
  --violet: #a855f7;
  --violet-soft: rgba(168, 85, 247, 0.16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 71, 126, 0.14), transparent 42%),
    radial-gradient(circle at 85% 18%, rgba(246, 200, 115, 0.11), transparent 38%),
    radial-gradient(circle at 50% 95%, rgba(44, 232, 200, 0.08), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.app-shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 64px;
}

/* Top Nav */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--rose), #4f46e5 65%, #0f172a 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 0 24px rgba(255, 71, 126, 0.35);
}

.brand-text {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
}

.brand-sub {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

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

.pill-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.pill-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Split Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  padding: 12px 0 36px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
}

.kicker.reaction {
  background: var(--rose-soft);
  color: #fda4af;
  border: 1px solid rgba(255, 71, 126, 0.4);
}

.kicker.choir {
  background: var(--violet-soft);
  color: #e9d5ff;
  border: 1px solid rgba(168, 85, 247, 0.45);
}

.kicker.capsule {
  background: var(--gold-soft);
  color: #fde68a;
  border: 1px solid rgba(246, 200, 115, 0.45);
}

.hero-title {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(95deg, #ffffff 10%, var(--gold) 65%, var(--rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 16.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 24px;
  max-width: 540px;
}

/* Interactive Micro-Card */
.builder-card {
  background: linear-gradient(160deg, rgba(24, 24, 40, 0.94), rgba(13, 13, 22, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.builder-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.builder-step {
  font-size: 12px;
  font-weight: 700;
  color: var(--mint);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.builder-badge {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 11px 14px;
  color: #ffffff;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--rose);
  background: rgba(255, 255, 255, 0.08);
}

.field select option {
  background: #11111c;
  color: #fff;
}

.slider-box {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 700;
}

.slider-price-chip {
  background: rgba(44, 232, 200, 0.16);
  color: var(--mint);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--rose);
  cursor: pointer;
}

.cta-btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(95deg, var(--rose) 0%, #c026d3 100%);
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(255, 71, 126, 0.35);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(255, 71, 126, 0.48);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Visual Mockup Stage (Right Column) */
.stage-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-bezel {
  width: 318px;
  aspect-ratio: 9 / 16;
  border-radius: 38px;
  padding: 8px;
  background: linear-gradient(150deg, var(--gold), var(--rose), var(--mint));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.72), 0 0 60px rgba(255, 71, 126, 0.18);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
  background: #06070b;
  position: relative;
}

.phone-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Reaction PiP Overlay */
.pip-card {
  position: absolute;
  top: 18px;
  right: 14px;
  width: 112px;
  height: 148px;
  border-radius: 18px;
  overflow: hidden;
  border: 2.5px solid #ffffff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.75);
}

.pip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rec-dot {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(6, 7, 11, 0.8);
  color: #fda4af;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rec-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1.3s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.floating-chip {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  background: rgba(15, 16, 28, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  padding: 10px 16px;
  width: 300px;
  max-width: 92%;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.72);
}

.floating-chip strong {
  display: block;
  font-size: 12.5px;
  color: var(--gold);
  margin-bottom: 3px;
}

.floating-chip span {
  font-size: 11.5px;
  color: #e2e8f0;
  line-height: 1.4;
}

/* Choir Room Overlay */
.choir-overlay {
  position: absolute;
  top: 16px;
  left: 12px;
  right: 12px;
  background: rgba(10, 11, 20, 0.86);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 16px;
  padding: 12px;
}

.choir-avatars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 6px;
}

.av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

/* Time Capsule Overlay */
.capsule-overlay {
  position: absolute;
  top: 18px;
  left: 12px;
  right: 12px;
  background: rgba(10, 11, 20, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(246, 200, 115, 0.55);
  border-radius: 16px;
  padding: 12px 14px;
  text-align: center;
}

/* 3 Value Proof Tiles */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.proof-card {
  background: rgba(17, 17, 28, 0.84);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
}

.proof-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.proof-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* Modal Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 10, 0.82);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 50;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  overflow-y: auto;
  background: #10111c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  padding: 28px;
  position: relative;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 18px;
  cursor: pointer;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0 10px;
}

.price-card {
  background: #171828;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.price-card.featured {
  background: linear-gradient(155deg, rgba(131, 24, 67, 0.45), rgba(23, 24, 40, 0.96));
  border-color: var(--gold);
}

.price-tag {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 2px;
}

.price-tag small {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.price-features {
  list-style: none;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.75;
}

.buy-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transition: all 0.15s ease;
}

.buy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.buy-btn.primary {
  background: linear-gradient(95deg, var(--rose), #a855f7);
}

.voucher-box {
  background: rgba(44, 232, 200, 0.1);
  border: 1px dashed var(--mint);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  margin: 14px 0;
}

.voucher-code {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--mint);
  margin-top: 4px;
}

.disabled-screen {
  max-width: 520px;
  margin: 12vh auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 38px 28px;
}

.hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .proof-grid,
  .pricing-grid,
  .field-row {
    grid-template-columns: 1fr;
  }
  .floating-chip {
    left: 10px;
    bottom: 14px;
  }
}
