@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg-1: #140742;
  --bg-2: #22106f;
  --bg-3: #31188f;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(120, 96, 255, 0.18);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f2ff;
  --muted: rgba(245, 242, 255, 0.72);
  --brand: #7b61ff;
  --brand-2: #9c88ff;
  --mint: #0fd8a8;
  --gold: #ffd84d;
  --shadow: 0 24px 80px rgba(8, 0, 33, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(146, 115, 255, 0.18), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(42, 230, 186, 0.1), transparent 22%),
    linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 45%, var(--bg-1) 100%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(transparent 0 96%, rgba(255, 255, 255, 0.04) 96% 100%),
    linear-gradient(90deg, transparent 0 96%, rgba(255, 255, 255, 0.035) 96% 100%);
  background-size: 100% 12px, 12px 100%;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 26px rgba(123, 97, 255, 0.45);
}

.topbar__nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topbar__nav a,
.inline-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.topbar__nav a:hover,
.inline-links a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 420px);
  gap: 28px;
  align-items: center;
}

.hero__copy,
.hero__visual,
.info-panel,
.plans-section,
.workflow-card,
.plan-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero__copy {
  padding: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 800;
  color: #c9bfff;
}

.hero h1,
.section-head h2,
.info-panel h3,
.workflow-card h3,
.plan-card h3 {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.95;
}

.hero__lead,
.info-panel p,
.workflow-card p,
.plan-card p,
.section-head__note {
  color: var(--muted);
  line-height: 1.7;
}

.hero__lead {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 18px;
}

.hero__actions,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 36px rgba(123, 97, 255, 0.42);
}

.button--secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card__label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.stat-card strong {
  font-size: 17px;
}

.hero__visual {
  padding: 18px;
}

.phone-card {
  min-height: 730px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 62%, rgba(122, 97, 255, 0.24), transparent 36%),
    linear-gradient(180deg, #2b1491 0%, #26117c 100%);
}

.phone-card::before,
.phone-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.phone-card::before {
  background:
    repeating-linear-gradient(
      -28deg,
      transparent 0 26px,
      rgba(130, 102, 255, 0.18) 26px 31px,
      transparent 31px 46px
    );
  opacity: 0.7;
}

.phone-card::after {
  background:
    radial-gradient(circle at 50% 86%, rgba(148, 123, 255, 0.4), transparent 24%),
    radial-gradient(circle at 50% 86%, rgba(15, 216, 168, 0.16), transparent 34%);
}

.phone-card__top,
.phone-card__body {
  position: relative;
  z-index: 1;
}

.phone-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 24px 8px;
}

.menu-dots {
  display: grid;
  grid-template-columns: repeat(2, 10px);
  gap: 6px;
}

.menu-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
}

.premium-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6f4fff, #8369ff);
  box-shadow: 0 18px 30px rgba(73, 31, 224, 0.36);
  font-weight: 700;
}

.premium-pill__icon {
  color: var(--gold);
}

.phone-card__body {
  padding: 38px 24px 34px;
  text-align: center;
}

.phone-card__caption {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.phone-card h2 {
  margin: 14px 0 0;
  font-size: clamp(54px, 8vw, 74px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.speed-row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  text-align: left;
}

.speed-row span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.82);
}

.speed-row strong {
  font-size: 20px;
}

.speed-row__divider {
  height: 48px;
  background: rgba(255, 255, 255, 0.28);
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 16px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, #8a69ff, #6d4eff);
  box-shadow: 0 18px 34px rgba(90, 52, 231, 0.4);
}

.location-chip__flag {
  font-size: 32px;
}

.location-chip strong,
.location-chip span {
  display: block;
  text-align: left;
}

.location-chip span {
  color: rgba(255, 255, 255, 0.74);
}

.power-zone {
  position: relative;
  height: 320px;
  margin-top: 26px;
}

.power-zone__ring,
.power-zone__glow,
.power-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.power-zone__ring--outer {
  width: 306px;
  height: 306px;
  border: 1px solid rgba(15, 216, 168, 0.3);
}

.power-zone__ring--mid {
  width: 252px;
  height: 252px;
  border: 1px solid rgba(15, 216, 168, 0.18);
}

.power-zone__glow {
  width: 238px;
  height: 238px;
  background: radial-gradient(circle, rgba(130, 103, 255, 0.38), transparent 68%);
}

.power-button {
  display: grid;
  place-items: center;
  width: 226px;
  height: 226px;
  font-size: 88px;
  color: #fff;
  border: 10px solid rgba(200, 180, 255, 0.58);
  background: linear-gradient(135deg, #6a49ff, #7d61ff);
  box-shadow: 0 26px 46px rgba(68, 24, 219, 0.4);
}

.stack-grid,
.workflow {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.stack-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-panel,
.workflow-card {
  padding: 26px;
}

.plans-section {
  margin-top: 24px;
  padding: 30px;
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.section-head__note {
  margin: 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.plan-card {
  padding: 22px;
}

.plan-card--loading {
  text-align: center;
  color: var(--muted);
}

.plan-card--featured {
  background:
    linear-gradient(180deg, rgba(123, 97, 255, 0.2), rgba(255, 255, 255, 0.06));
  border-color: rgba(172, 155, 255, 0.28);
}

.plan-card__title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.plan-card__title h3 {
  font-size: 26px;
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 216, 168, 0.14);
  color: #8af3d6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price {
  margin: 18px 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  line-height: 1;
  color: var(--text);
}

.plan-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.workflow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

code {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.92em;
  color: var(--text);
}

@media (max-width: 980px) {
  .hero,
  .section-head,
  .stack-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .hero__copy,
  .plans-section,
  .info-panel,
  .workflow-card {
    padding: 24px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .phone-card {
    min-height: 680px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar__nav {
    gap: 12px;
  }

  .hero h1 {
    max-width: none;
    font-size: 44px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .phone-card h2 {
    font-size: 56px;
  }

  .speed-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .speed-row__divider {
    display: none;
  }

  .power-zone {
    height: 280px;
  }

  .power-zone__ring--outer {
    width: 258px;
    height: 258px;
  }

  .power-zone__ring--mid {
    width: 214px;
    height: 214px;
  }

  .power-zone__glow {
    width: 200px;
    height: 200px;
  }

  .power-button {
    width: 182px;
    height: 182px;
    font-size: 72px;
  }
}
