/* Xyt One — mystical crystal-ball theme, TWA-ready */

:root {
  --bg: #030305;
  --bg-elevated: #0c0814;
  --bg-card: #110d1a;
  --border: rgba(168, 85, 247, 0.12);
  --text: #ffffff;
  --text-secondary: #ebe6f2;
  --text-muted: #cfc6dc;
  --accent: #a855f7;
  --accent-2: #e879f9;
  --accent-deep: #7c3aed;
  --glow: rgba(168, 85, 247, 0.45);
  --success: #c084fc;
  --gradient: linear-gradient(135deg, #9333ea 0%, #c026d3 48%, #e879f9 100%);
  --gradient-soft: linear-gradient(180deg, rgba(147, 51, 234, 0.18) 0%, transparent 70%);
  --radius: 18px;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
  /* Typography scale */
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-lg: 1.1875rem;
  --fs-section: clamp(2.125rem, 4.5vw, 2.85rem);
  --fs-hero: clamp(2.25rem, 6vw, 3.5rem);
  --header-height: 5.25rem;
  --scroll-gap: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 55% 70% at 88% 18%, rgba(147, 51, 234, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 35% at 75% 55%, rgba(192, 38, 211, 0.1), transparent 50%),
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(124, 58, 237, 0.15), transparent 60%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 70% 20%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 85% 65%, rgba(232, 121, 249, 0.4), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0.6;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.tg-webapp body {
  background: var(--tg-bg, var(--bg));
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #f0abfc;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(3, 3, 5, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.15s;
}

a.logo:hover {
  opacity: 0.88;
}

.logo-text {
  white-space: nowrap;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.75rem;
  flex-shrink: 0;
}

.logo-mark svg,
.logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.55))
    drop-shadow(0 0 14px rgba(192, 38, 211, 0.35));
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.08);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 5rem 2rem 2rem;
  background: rgba(3, 3, 5, 0.96);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .nav-mobile {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile a:not(.btn) {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
}

.nav-mobile .btn {
  margin-top: 0.5rem;
  min-width: 220px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  text-decoration: none;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 32px rgba(147, 51, 234, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(192, 38, 211, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.btn-ghost:hover {
  border-color: rgba(232, 121, 249, 0.55);
  background: rgba(168, 85, 247, 0.08);
}

.btn-block {
  width: 100%;
}

/* Status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.22);
  border: 1px solid rgba(192, 38, 211, 0.45);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--glow);
  animation: pulse 2s ease infinite;
}

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

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-orb-wrap {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-orb {
  width: 58%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 24px rgba(168, 85, 247, 0.65))
    drop-shadow(0 0 48px rgba(192, 38, 211, 0.35));
  animation: orb-float 4s ease-in-out infinite;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.25);
  pointer-events: none;
}

.hero-orb-ring--1 {
  inset: 8%;
  animation: ring-pulse 3s ease-in-out infinite;
}

.hero-orb-ring--2 {
  inset: 0;
  border-color: rgba(232, 121, 249, 0.15);
  animation: ring-pulse 3s ease-in-out 0.5s infinite;
}

.hero-orb-ring--3 {
  inset: -8%;
  border-color: rgba(147, 51, 234, 0.1);
  animation: ring-pulse 3s ease-in-out 1s infinite;
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.hero-device {
  position: absolute;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(17, 13, 26, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--accent-2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-device svg {
  width: 1.35rem;
  height: 1.35rem;
}

.hero-device--phone {
  top: 12%;
  right: 4%;
  animation: orb-float 4s ease-in-out 0.3s infinite;
}

.hero-device--laptop {
  bottom: 14%;
  left: 2%;
  animation: orb-float 4s ease-in-out 0.6s infinite;
}

.hero h1 {
  font-size: var(--fs-hero);
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero h1 span {
  display: block;
  color: #f0abfc;
  background: linear-gradient(135deg, #e879f9 0%, #f0abfc 50%, #d946ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(232, 121, 249, 0.35));
}

.hero-lead {
  font-size: clamp(1.125rem, 2.4vw, 1.3125rem);
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 0 1.75rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 1.35rem 0 0;
  font-size: var(--fs-sm);
}

.hero-pay-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-pay-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.55rem;
}

.hero-pay-methods span {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text);
  letter-spacing: 0.02em;
}

.hero-pay-methods span:not(:last-child)::after {
  content: "·";
  margin-left: 0.55rem;
  font-weight: 400;
  color: rgba(168, 85, 247, 0.55);
}

.hero-metrics-wrap {
  max-width: 720px;
  margin: 2.25rem auto 0;
  padding-top: 2rem;
  position: relative;
}

.hero-metrics-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 520px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 85, 247, 0.45) 20%,
    rgba(232, 121, 249, 0.55) 50%,
    rgba(168, 85, 247, 0.45) 80%,
    transparent
  );
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.metric-item {
  flex: 1 1 0;
  min-width: 5.5rem;
  text-align: center;
  padding: 0.5rem 1.25rem 0;
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(168, 85, 247, 0.28) 50%,
    transparent
  );
}

.metric-num {
  display: block;
  font-size: clamp(1.65rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  text-shadow: 0 0 28px rgba(168, 85, 247, 0.2);
}

.metric-label {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.metric-detail {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid rgba(168, 85, 247, 0.08);
}

.section-title {
  font-size: var(--fs-section);
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--fs-body);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 1.65rem 1.25rem;
  border-radius: 14px;
  background: rgba(17, 13, 26, 0.5);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.28);
  color: var(--accent-2);
}

.feature-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.feature-card p {
  margin: 0.55rem 0 0;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.45;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
  }
}

@media (max-width: 420px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}

/* How to — step timeline */
.how-section {
  text-align: center;
}

.how-head {
  margin-bottom: 0.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.28);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: var(--max);
  width: 100%;
  margin: 2.5rem auto 0;
  position: relative;
  padding-top: 0.5rem;
  align-items: stretch;
}

.steps::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 85, 247, 0.35) 15%,
    rgba(192, 38, 211, 0.35) 85%,
    transparent
  );
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 0;
  background: none;
  border: none;
}

.step-num {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
}

.step--1 .step-num {
  background: linear-gradient(135deg, #6366f1 0%, #9333ea 100%);
  box-shadow: 0 0 28px rgba(99, 102, 241, 0.45);
}

.step--2 .step-num {
  background: linear-gradient(135deg, #9333ea 0%, #c026d3 100%);
  box-shadow: 0 0 28px rgba(147, 51, 234, 0.45);
}

.step--3 .step-num {
  background: linear-gradient(135deg, #c026d3 0%, #e879f9 100%);
  box-shadow: 0 0 28px rgba(192, 38, 211, 0.45);
}

.step--4 .step-num {
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.4);
}

.step-body {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 1.4rem 1.35rem;
  background: rgba(17, 13, 26, 0.85);
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 9.25rem;
}

.step-body h3 {
  margin: 0 0 0.6rem;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.step-body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1.15rem;
    padding-top: 0;
    max-width: 560px;
  }

  .steps::before {
    display: none;
  }

  .step-body {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card.popular {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 0 1px rgba(147, 51, 234, 0.25), 0 0 48px rgba(147, 51, 234, 0.15);
  padding: 1.9rem 1.5rem;
}

@media (min-width: 901px) {
  .price-card.popular {
    transform: scale(1.04);
    z-index: 1;
  }
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .price-card.popular {
    transform: none;
  }
}

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.price-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
}

.badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: var(--fs-lg);
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.5rem 0;
}

.price-amount small {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-per {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: 1rem;
}

.price-save {
  color: #f0abfc;
  font-size: var(--fs-xs);
  font-weight: 600;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.price-features li {
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.price-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.pay-banner {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.12) 0%, rgba(12, 8, 20, 0.9) 100%);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius);
  padding: 1.35rem 1.65rem;
  text-align: center;
  margin-bottom: 2rem;
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.55;
}

.pay-banner strong {
  color: var(--text);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: var(--accent-2);
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform 0.2s, background 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
  background: rgba(168, 85, 247, 0.22);
}

.faq-item summary:hover {
  color: #f0abfc;
}

.faq-answer {
  padding: 0 0 1.25rem;
}

.faq-answer p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--fs-body);
  line-height: 1.55;
}

/* Final CTA */
.cta-final {
  padding: 4.5rem 0;
}

.cta-final-inner {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(147, 51, 234, 0.22), transparent 65%),
    rgba(17, 13, 26, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 64px rgba(147, 51, 234, 0.12);
}

.cta-final-inner h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-final-lead {
  margin: 0 auto 1.75rem;
  max-width: 480px;
  color: var(--text-secondary);
  font-size: var(--fs-body);
  line-height: 1.55;
}

.cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Mini app banner */
.miniapp-banner {
  background: var(--bg-elevated);
  border: 1px dashed rgba(168, 85, 247, 0.35);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.miniapp-banner p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--fs-body);
  line-height: 1.55;
}

.miniapp-banner strong {
  color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

.site-footer a {
  color: var(--text-secondary);
}

.site-footer a:hover {
  color: var(--text);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

@media (min-width: 769px) {
  .nav-mobile {
    display: none;
  }

  .site-header .logo-mark {
    width: 2.85rem;
    height: 3.05rem;
  }

  .site-header .logo-text {
    font-size: 1.65rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .nav-cta .btn {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-pay {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-orb-wrap {
    width: min(100%, 260px);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2rem;
  }

  .hero-metrics-wrap {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 0;
    max-width: 320px;
    margin-inline: auto;
  }

  .metric-item {
    padding: 0 0.75rem;
  }

  .metric-item:not(:last-child)::after {
    display: none;
  }

  .metric-item:nth-child(odd) {
    border-right: 1px solid rgba(168, 85, 247, 0.15);
  }
}
