:root {
  --bg: #05070e;
  --bg-grad: radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.20) 0%, rgba(5, 7, 14, 0.96) 58%, #05070e 100%);
  --card: #0c101d;
  --card-2: #12182b;
  --line: rgba(148, 163, 184, 0.16);
  --line-glow: rgba(139, 92, 246, 0.45);
  --tx: #f8fafc;
  --mut: #94a3b8;
  --ac: #8b5cf6;
  --ac2: #38bdf8;
  --ok: #10b981;
  --err: #ef4444;
  --gold: #f59e0b;
  --glass: rgba(12, 16, 29, 0.85);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg-grad);
  background-color: var(--bg);
  color: var(--tx);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  min-height: 100dvh;
  overflow-x: hidden;
  padding-bottom: 84px;
}

.font-serif-italic {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

/* Starfield subtle layer */
.star-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 15% 20%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 78% 14%, rgba(167, 139, 250, 0.65), transparent),
    radial-gradient(1px 1px at 42% 62%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 88% 74%, rgba(56, 189, 248, 0.45), transparent),
    radial-gradient(1px 1px at 24% 85%, rgba(255, 255, 255, 0.3), transparent);
}

/* Sticky Top Bar (Mobile-First) */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--tx);
  text-decoration: none;
  white-space: nowrap;
}

.brand-pill .badge-ver {
  background: rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 10px;
}

.btn-top-cta {
  background: #ffffff;
  color: #05070e;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-top-cta:active {
  transform: scale(0.97);
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Hero */
.hero {
  padding: 28px 0 22px;
  text-align: center;
}

.handle-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 16px;
}

.hero-visual {
  position: relative;
  width: 196px;
  height: 196px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(56, 189, 248, 0.08) 55%, transparent 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 45px rgba(139, 92, 246, 0.28);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-orb-fallback {
  font-size: 64px;
  filter: drop-shadow(0 0 18px rgba(167, 139, 250, 0.8));
}

.hero h1 {
  font-size: 32px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1 .serif-line {
  display: block;
  font-size: 36px;
  text-transform: none;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #e2e8f0, #c4b5fd, #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 14px;
  color: var(--mut);
  margin-bottom: 18px;
}

.hero-sub strong {
  color: #fff;
}

.arrow-hint {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 12px;
}

/* Profile Proof Mockup */
.profile-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  margin-bottom: 18px;
  text-align: left;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.profile-slot-img {
  width: 100%;
  border-radius: 14px;
  display: block;
  object-fit: cover;
}

.profile-fallback-ui {
  background: var(--card-2);
  border: 1px dashed rgba(139, 92, 246, 0.35);
  border-radius: 14px;
  padding: 14px;
}

.pf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.pf-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
  border: 2px solid var(--ac);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.pf-stats {
  display: flex;
  flex: 1;
  justify-content: space-around;
  text-align: center;
}

.pf-stats strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.pf-stats span {
  font-size: 11px;
  color: var(--mut);
}

.pf-bio {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.45;
}

.pf-badge-1m {
  margin-top: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* Primary CTA */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 16px 20px;
  background: #ffffff;
  color: #05070e;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.22);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-pix-glow {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.45);
}

.secure-note {
  margin-top: 8px;
  font-size: 11px;
  color: var(--mut);
  text-align: center;
}

/* Sections */
.section {
  padding: 26px 0;
}

.section-heading {
  text-align: center;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-heading .serif-word {
  font-size: 28px;
  text-transform: none;
  color: #c4b5fd;
}

.section-sub {
  text-align: center;
  font-size: 13px;
  color: var(--mut);
  margin-bottom: 18px;
}

/* 1M First Video Blueprint */
.blueprint-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bp-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bp-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: #ddd6fe;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.bp-card h3 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 3px;
}

.bp-card p {
  font-size: 12px;
  color: var(--mut);
}

/* Community / Proof Carousel */
.proof-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.proof-track::-webkit-scrollbar {
  display: none;
}

.proof-slide {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
}

.proof-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.proof-placeholder {
  height: 240px;
  border-radius: 12px;
  background: var(--card-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #a5b4fc;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.wa-bubble {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px 12px 12px 2px;
  padding: 9px 11px;
  font-size: 12px;
  color: #e2e8f0;
  margin-top: 8px;
}

.wa-metric {
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-align: center;
}

/* Price Box */
.price-card {
  background: linear-gradient(180deg, #12172a 0%, #0b0f1c 100%);
  border: 1px solid var(--line-glow);
  border-radius: 24px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.22);
}

.price-old {
  font-size: 13px;
  color: var(--mut);
  text-decoration: line-through;
}

.price-main {
  font-size: 40px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 4px 0;
}

.price-main span {
  font-size: 18px;
  font-weight: 700;
  color: #c4b5fd;
}

.pix-pill {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  margin-top: 6px;
}

/* 27 Days & Students Grid */
.students-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.student-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  overflow: hidden;
}

.student-tile img {
  width: 100%;
  height: 135px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.student-mock {
  height: 125px;
  border-radius: 10px;
  background: var(--card-2);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.student-mock strong {
  font-size: 12px;
  color: #fff;
}

.student-mock span {
  font-size: 11px;
  color: #6ee7b7;
  font-weight: 700;
}

.student-mock small {
  font-size: 10px;
  color: var(--mut);
}

/* Guarantee */
.guarantee-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.badge-7d {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-7d strong {
  font-size: 22px;
  line-height: 1;
  color: #fff;
}

.badge-7d span {
  font-size: 9px;
  font-weight: 800;
  color: #c4b5fd;
  letter-spacing: 0.05em;
}

.guarantee-box h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.guarantee-box p {
  font-size: 12px;
  color: var(--mut);
}

/* Deliverables Card */
.deliverables-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}

.deliv-item {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.deliv-item strong {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 2px;
}

.deliv-item span {
  font-size: 12px;
  color: var(--mut);
}

/* Checkout Modal / Drawer (Mobile-First) */
.checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(2, 4, 10, 0.84);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-end;
  justify-content: center;
}

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

.checkout-sheet {
  width: 100%;
  max-width: 480px;
  max-height: 92dvh;
  overflow-y: auto;
  background: #0b0f1d;
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  padding: 18px 16px 28px;
  animation: slideUp 0.22s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(24px);
    opacity: 0.7;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.sheet-top h2 {
  font-size: 17px;
  font-weight: 900;
}

.btn-close-sheet {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--tx);
  font-size: 16px;
  cursor: pointer;
}

.field-group {
  margin-bottom: 14px;
}

.field-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.field-group input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--tx);
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

.field-group input:focus {
  border-color: var(--ac);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.upsell-box-title {
  font-size: 12px;
  font-weight: 800;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 14px 0 8px;
}

.upsell-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.upsell-card.selected {
  border-color: var(--ac);
  background: rgba(139, 92, 246, 0.12);
}

.upsell-card input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--ac);
  margin-top: 2px;
  flex-shrink: 0;
}

.upsell-body {
  flex: 1;
}

.upsell-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.upsell-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.upsell-price {
  font-size: 13px;
  font-weight: 900;
  color: #6ee7b7;
  white-space: nowrap;
}

.upsell-desc {
  font-size: 11px;
  color: var(--mut);
  line-height: 1.4;
}

.upsell-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #ddd6fe;
  background: rgba(139, 92, 246, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
}

.summary-box {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  margin: 14px 0;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--mut);
  margin-bottom: 5px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}

.summary-total strong {
  color: #6ee7b7;
  font-size: 20px;
}

/* Pix Payment View inside Sheet */
.pix-panel {
  display: none;
  text-align: center;
}

.pix-panel.active {
  display: block;
}

.qr-frame {
  width: 196px;
  height: 196px;
  margin: 12px auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pix-code-box {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px;
  color: #e2e8f0;
  font-family: monospace;
  font-size: 11px;
  resize: none;
  height: 74px;
  margin-bottom: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fcd34d;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  margin-top: 10px;
}

.status-pill.paid {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
}

.paid-box {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 16px;
  padding: 16px;
  margin-top: 12px;
  text-align: left;
}

.paid-box.show {
  display: block;
}

.err-msg {
  color: #fca5a5;
  font-size: 12px;
  margin-top: 8px;
  text-align: center;
  min-height: 18px;
}

/* Sticky Mobile Bottom Bar */
.sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 55;
  background: var(--glass);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
}

.sticky-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-price small {
  display: block;
  font-size: 10px;
  color: var(--mut);
}

.sticky-price strong {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.btn-sticky {
  flex: 1;
  max-width: 240px;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  background: #ffffff;
  color: #05070e;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
