:root {
  --bg: #0a0a0b;
  --bg-elev: #121214;
  --ink: #f6f4ee;
  --muted: rgba(246, 244, 238, 0.62);
  --faint: rgba(246, 244, 238, 0.4);
  --line: rgba(246, 244, 238, 0.1);
  --line-strong: rgba(246, 244, 238, 0.16);
  --glass: rgba(18, 18, 20, 0.62);
  --glass-border: rgba(255, 255, 255, 0.08);
  --gold: #f0c01a;
  --gold-hot: #fce430;
  --gold-deep: #be760f;
  --gold-soft: rgba(240, 192, 26, 0.16);
  --on-gold: #14100a;
  --success: #22c55e;
  --success-soft: rgba(34, 197, 94, 0.14);
  --shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 32px -12px rgba(0, 0, 0, 0.55);
  --font: "Manrope", system-ui, sans-serif;
  --radius-shell: 32px;
  --radius-card: 24px;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; margin: 0; }

/* —— Atmosphere —— */
.atmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.atmos-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
}
.atmos-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.55;
  animation: blob-drift 16s ease-in-out infinite;
}
.atmos-blob-a {
  width: min(52vw, 480px);
  height: min(52vw, 480px);
  left: -8%;
  top: 8%;
  background: radial-gradient(circle, rgba(245, 204, 46, 0.45), transparent 70%);
}
.atmos-blob-b {
  width: min(46vw, 420px);
  height: min(46vw, 420px);
  right: -6%;
  top: 18%;
  background: radial-gradient(circle, rgba(230, 176, 8, 0.35), transparent 70%);
  animation-delay: -5s;
}
.atmos-blob-c {
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  left: 35%;
  top: 55%;
  background: radial-gradient(circle, rgba(201, 146, 10, 0.22), transparent 70%);
  animation-delay: -9s;
}
.atmos-blob { opacity: 0.35; }
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.06); }
}

.page { position: relative; z-index: 1; }

/* —— Status bar —— */
.status-bar {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
}
.status-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}
.status-dot::before,
.status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--success);
}
.status-dot::before {
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.55;
}
@keyframes ping {
  75%, 100% { transform: scale(2.2); opacity: 0; }
}
.status-ok { color: var(--success); }
.status-meta { color: var(--muted); }

/* —— Nav —— */
.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  border-radius: 0;
}
.logo .mark { color: var(--gold-deep); }
.logo .mark { color: var(--gold); }
.footer .logo { font-size: 1rem; }
.footer .logo img { width: 22px; height: 22px; border-radius: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.theme-toggle { display: none !important; }

.btn-ghost,
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease, filter 0.15s ease;
}
.btn-ghost {
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--ink) 4%, var(--bg-elev)); }
.btn-solid {
  color: var(--on-gold);
  background: linear-gradient(165deg, var(--gold-hot) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  box-shadow: 0 14px 36px -12px rgba(190, 118, 15, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-solid:hover { filter: brightness(1.04) saturate(1.05); transform: translateY(-1px); }

.menu {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  flex-direction: column;
  gap: 6px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.menu i {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

/* —— Hero —— */
.hero-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 3.5rem;
}
.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-shell);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elev) 55%, transparent);
  box-shadow: var(--shadow);
}
.hero-aurora {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  filter: blur(42px);
  opacity: 0.45;
  background:
    radial-gradient(40% 50% at 18% 22%, rgba(245, 204, 46, 0.42), transparent 55%),
    radial-gradient(48% 40% at 82% 28%, rgba(230, 176, 8, 0.32), transparent 55%),
    radial-gradient(55% 40% at 50% 88%, rgba(201, 146, 10, 0.22), transparent 55%);
  animation: aurora 12s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-2%, 2%) scale(1.04); }
}
.hero-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--bg) 75%, transparent));
}
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2.8rem, 7vw, 4.8rem) 1.4rem 3.4rem;
}
.hero h1 {
  max-width: 16ch;
  font-size: clamp(2.35rem, 6.2vw, 4.4rem);
  font-weight: 700;
  text-wrap: balance;
}
.hero h1 .grad {
  display: inline-block;
  background: linear-gradient(120deg, #c49206, #f0c01a, #ffe56a, #e6b008, #c49206);
  background-size: 260% 260%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-flow 10s ease infinite;
}
@keyframes grad-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-sub {
  margin: 1.1rem 0 0;
  max-width: 26rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
}

/* Invite CTA — clear, friendly, logo-linked */
.invite {
  margin: 1.85rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: min(100%, 380px);
}
.invite-cta {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 64px;
  padding: 0.85rem 1.1rem;
  border-radius: 18px;
  color: var(--on-gold);
  background: linear-gradient(165deg, var(--gold-hot) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  box-shadow:
    0 18px 40px -16px rgba(190, 118, 15, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}
.invite-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.03) saturate(1.05);
  box-shadow:
    0 22px 48px -14px rgba(190, 118, 15, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.invite-cta:active { transform: translateY(0) scale(0.99); }
.invite-bolt {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(20, 16, 10, 0.25));
}
.invite-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  flex: 1;
  min-width: 0;
}
.invite-copy strong {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.invite-copy small {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.78;
}
.invite-arrow {
  font-size: 1.35rem;
  font-weight: 700;
  opacity: 0.75;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.invite-cta:hover .invite-arrow {
  transform: translateX(3px);
  opacity: 1;
}
.invite-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}
.invite-trust svg {
  width: 15px;
  height: 15px;
  color: var(--success);
  flex-shrink: 0;
}

.social-proof {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.social-proof b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* —— Sections —— */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
.section-head {
  margin-bottom: 1.75rem;
}
.section-head.center { text-align: center; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  font-weight: 700;
  text-wrap: balance;
}
.section-head h2 .grad {
  background: linear-gradient(120deg, #c49206, #f0c01a, #ffe56a, #e6b008);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-flow 10s ease infinite;
}
.section-head p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}
.section-head.center p { margin-left: auto; margin-right: auto; }

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: var(--shadow);
}

.why-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, 1fr);
}
.why-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  padding: 1.4rem 1.3rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.why-card:hover { transform: translateY(-2px); }
.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--success-soft);
  color: var(--success);
  margin-bottom: 0.95rem;
}
.why-icon svg { width: 22px; height: 22px; }
.why-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.steps {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, 1fr);
}
.step {
  border-radius: var(--radius-card);
  padding: 1.55rem 1.4rem;
  transition: transform 0.18s ease;
}
.step:hover { transform: translateY(-2px); }
.step-num {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, #c49206, #f0c01a, #ffe56a, #e6b008);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-flow 10s ease infinite;
}
.step h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
}
.step p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.price-wrap { max-width: 680px; margin: 0 auto; }
.price-list {
  border-radius: 18px;
  overflow: hidden;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}
.price-row:last-child { border-bottom: 0; }
.price-row:hover { background: color-mix(in srgb, var(--ink) 3.5%, transparent); }
.price-row.featured {
  background: var(--gold-soft);
}
.price-row.featured:hover {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
}
.price-info { flex: 1; min-width: 0; }
.price-name {
  font-size: 1.15rem;
  font-weight: 700;
}
.price-row.featured .price-name {
  background: linear-gradient(120deg, #c49206, #f0c01a, #ffe56a);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-flow 10s ease infinite;
}
.price-desc {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.price-sum {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-sum span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.15rem;
}
.price-chevron {
  width: 18px;
  height: 18px;
  color: var(--faint);
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}
.price-row:hover .price-chevron {
  transform: translateX(2px);
  color: var(--ink);
}
.price-note {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* FAQ */
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq {
  border-radius: var(--radius-card);
  padding: 0.35rem 0.65rem;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.55rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
}
.faq-q svg {
  width: 18px;
  height: 18px;
  color: var(--faint);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 0.55rem 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 56ch;
}
.faq-item.open .faq-a { display: block; }

/* Final CTA */
.final {
  max-width: 900px;
  margin: 0 auto 1rem;
  padding: 0 1.25rem 3.5rem;
}
.final-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-shell);
  padding: clamp(2.2rem, 5vw, 3.5rem) 1.4rem;
  text-align: center;
}
.final-shell .hero-aurora { opacity: 0.5; }
.final-shell h2 {
  position: relative;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
}
.final-shell .invite { margin-top: 1.6rem; }

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.foot-brand p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 28ch;
}
.foot h4 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.foot a {
  color: var(--muted);
  font-size: 0.9rem;
}
.foot a:hover { color: var(--ink); }
.foot-copy {
  grid-column: 1 / -1;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.8rem;
}

/* Mobile sticky CTA */
.m-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.75rem 0.9rem calc(0.75rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.m-cta a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 12px;
  color: var(--on-gold);
  background: linear-gradient(165deg, var(--gold-hot) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  font-weight: 700;
  box-shadow: 0 14px 36px -12px rgba(190, 118, 15, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.m-cta a small {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 118px;
    left: 12px;
    right: 12px;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.85rem;
    border-radius: 14px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 0.7rem 0.55rem; }
  .nav { position: relative; }
  .menu { display: inline-flex; }
  .theme-toggle { display: none; }
  .btn-ghost span.full,
  .btn-solid span.full { display: none; }
  .btn-ghost span.short,
  .btn-solid span.short { display: inline; }
  .why-grid,
  .steps { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .m-cta { display: block; }
  body { padding-bottom: 5.5rem; }
}

@media (min-width: 901px) {
  .btn-ghost span.short,
  .btn-solid span.short { display: none; }
}

@media (max-width: 520px) {
  .hero { padding-top: 2.2rem; padding-bottom: 2.4rem; }
  .invite { width: min(100%, 100%); }
  .invite-cta { min-height: 60px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .atmos-blob,
  .hero-aurora,
  .grad,
  .hero h1 .grad,
  .offer,
  .section-head h2 .grad,
  .step-num,
  .price-row.featured .price-name,
  .status-dot::before {
    animation: none !important;
  }
}
