:root {
  --bg: #030914;
  --panel: rgba(4, 18, 33, 0.86);
  --panel-strong: rgba(2, 12, 24, 0.95);
  --cyan: #38c8ff;
  --cyan-2: #78e3ff;
  --deep: #071c35;
  --line: rgba(56, 200, 255, 0.34);
  --line-strong: rgba(120, 227, 255, 0.72);
  --text: #f5fbff;
  --muted: #b9c6d2;
  --shadow: rgba(56, 200, 255, 0.35);
  --radius: 26px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 22% 8%, rgba(83, 219, 255, 0.32), transparent 28rem),
    radial-gradient(circle at 82% 30%, rgba(25, 119, 255, 0.25), transparent 24rem),
    linear-gradient(180deg, #041328 0%, #02070f 58%, #01040a 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  font: inherit;
}

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

.app-shell {
  width: min(100%, 540px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 14px 10px 132px;
  position: relative;
}

.topbar {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.icon-button {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 13px;
  border-radius: 14px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(9, 32, 57, 0.95), rgba(2, 8, 16, 0.96));
  border: 1px solid var(--line);
  box-shadow: 0 0 22px rgba(56, 200, 255, 0.18), inset 0 0 16px rgba(255, 255, 255, 0.04);
}

.brand {
  text-align: center;
  min-width: 0;
}

.brand h1 {
  margin: 0;
  line-height: 1;
  font-size: clamp(1.55rem, 6vw, 2.05rem);
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 0 22px var(--shadow);
}

.brand h1 span,
.refer-card strong,
.section-title a,
.vip-pill span,
.vip-pill strong {
  color: var(--cyan-2);
}

.vip-pill {
  width: fit-content;
  max-width: 100%;
  margin: 7px auto 0;
  padding: 4px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(2, 8, 16, 0.78);
  box-shadow: inset 0 0 12px rgba(120, 227, 255, 0.18);
  font-size: 0.76rem;
  font-weight: 900;
}

.hero-panel,
.refer-card,
.list-item,
.overview-panel {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 28%, rgba(83, 219, 255, 0.2), transparent 12rem),
    linear-gradient(145deg, rgba(8, 28, 50, 0.93), rgba(2, 8, 16, 0.95));
  box-shadow: 0 0 28px rgba(56, 200, 255, 0.2), inset 0 0 34px rgba(56, 200, 255, 0.06);
}

.hero-panel {
  min-height: 268px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 39vw, 210px);
  align-items: center;
  padding: 22px 16px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-panel::before {
  width: 220px;
  height: 220px;
  right: -70px;
  top: -78px;
  border-radius: 999px;
  border: 34px solid rgba(85, 206, 255, 0.08);
}

.hero-panel::after {
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.35;
}

.welcome-block,
.balance-orbit {
  position: relative;
  z-index: 1;
}

.eyebrow,
.membership-card small,
.stat-card small {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 900;
  color: #e6f7ff;
}

.welcome-block h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.55rem, 6vw, 2.25rem);
  line-height: 0.96;
  font-weight: 950;
}

.muted {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 700;
}

.membership-card {
  width: min(172px, 100%);
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(3, 12, 23, 0.76);
  box-shadow: inset 0 0 16px rgba(56, 200, 255, 0.08);
}

.membership-card strong {
  display: block;
  margin-top: 2px;
  color: var(--cyan-2);
  font-size: 0.9rem;
  line-height: 1.05;
}

.round-icon,
.action-icon,
.big-icon,
.stat-card span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, #e9fbff 0 10%, transparent 11%),
    linear-gradient(145deg, var(--cyan-2), #1686ff);
  box-shadow: 0 0 24px var(--shadow);
}

.round-icon {
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 14px;
}

.balance-orbit {
  width: clamp(150px, 39vw, 206px);
  height: clamp(150px, 39vw, 206px);
  margin-left: auto;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  filter: drop-shadow(0 0 14px rgba(56, 200, 255, 0.8));
}

.orbit-ring circle,
.orbit-ring path {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.orbit-ring circle {
  stroke: rgba(151, 226, 255, 0.2);
}

.orbit-ring path {
  stroke: var(--cyan);
}

.balance-copy {
  width: 128px;
  min-height: 104px;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.05;
}

.balance-copy small {
  color: #eafaff;
  font-size: clamp(0.58rem, 1.8vw, 0.67rem);
  font-weight: 950;
  white-space: nowrap;
}

.balance-copy strong {
  margin-top: 4px;
  font-size: clamp(1rem, 3.7vw, 1.38rem);
  font-weight: 950;
  white-space: nowrap;
}

.balance-copy strong span {
  font-size: 0.82rem;
  color: var(--cyan-2);
}

.balance-button {
  min-height: 38px;
  margin-top: 12px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  color: #022033;
  background: linear-gradient(135deg, #e9fbff, var(--cyan-2));
  box-shadow: 0 0 22px rgba(120, 227, 255, 0.35);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.balance-button img {
  width: 16px;
  height: 16px;
}

.wallet-float {
  position: absolute;
  bottom: 19px;
  width: 54px;
  height: 54px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--cyan-2), #1686ff);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42), 0 0 30px var(--shadow);
}

.action-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    conic-gradient(from 45deg at 50% 50%, rgba(56, 200, 255, 0.18), transparent 25%, rgba(56, 200, 255, 0.17), transparent 55%, rgba(56, 200, 255, 0.18)),
    rgba(2, 9, 18, 0.9);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(56, 200, 255, 0.18);
}

.action-grid::before,
.action-grid::after {
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
}

.action-grid::before {
  width: 132px;
  height: 132px;
  background: linear-gradient(135deg, rgba(4, 18, 33, 0.98), rgba(0, 4, 10, 0.98));
  box-shadow: 0 0 34px rgba(56, 200, 255, 0.22);
}

.action-grid::after {
  width: 88px;
  height: 88px;
  background: radial-gradient(circle, rgba(56, 200, 255, 0.28), rgba(2, 8, 16, 0.98) 62%);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.action-card {
  min-height: 112px;
  padding: 26px 26px 22px;
  display: grid;
  grid-template-columns: 54px 1fr 20px;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  border-right: 1px solid rgba(56, 200, 255, 0.22);
  border-bottom: 1px solid rgba(56, 200, 255, 0.22);
}

.action-card:nth-of-type(2),
.action-card:nth-of-type(4) {
  border-right: 0;
}

.action-card:nth-of-type(3),
.action-card:nth-of-type(4) {
  border-bottom: 0;
}

.action-card strong,
.list-item strong {
  display: block;
  font-size: clamp(0.93rem, 3.5vw, 1.16rem);
  font-weight: 950;
}

.action-card small,
.list-item small,
.whatsapp-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.action-card b,
.list-item b {
  color: var(--cyan-2);
  font-size: 1.65rem;
  font-weight: 500;
}

.action-icon {
  width: 54px;
  height: 54px;
  padding: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0c2e50, #020812);
}

.center-shield {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  padding: 16px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 200, 255, 0.32), rgba(2, 7, 13, 0.98) 67%);
  border: 1px solid var(--line);
  box-shadow: 0 0 28px rgba(56, 200, 255, 0.35);
}

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

.whatsapp-card {
  min-height: 92px;
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  column-gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, #28d87e, #0fa95d);
  box-shadow: 0 0 24px rgba(28, 212, 122, 0.25);
}

.whatsapp-card span {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
}

.whatsapp-card strong {
  align-self: end;
  font-size: clamp(1rem, 4vw, 1.24rem);
  font-weight: 950;
}

.whatsapp-card small {
  align-self: start;
  color: rgba(255, 255, 255, 0.82);
}

.refer-card {
  min-height: 92px;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 112px;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 22px;
  margin-bottom: 14px;
}

.big-icon {
  width: 58px;
  height: 58px;
  padding: 13px;
  border-radius: 18px;
}

.refer-card strong {
  display: block;
  font-size: clamp(1rem, 4.4vw, 1.32rem);
  font-weight: 950;
}

.refer-card p {
  max-width: 100%;
  margin: 5px 0 0;
  overflow: hidden;
  color: white;
  font-size: 0.93rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  min-width: 96px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 18px;
  color: #022033;
  background: linear-gradient(135deg, #e9fbff, var(--cyan-2));
  box-shadow: 0 0 22px rgba(120, 227, 255, 0.35);
  font-weight: 950;
}

.copy-button img {
  width: 20px;
  height: 20px;
}

.list-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.list-item {
  min-height: 120px;
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  border-radius: 20px;
}

.list-item b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.overview-panel {
  padding: 18px;
  border-radius: 24px;
}

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

.section-title span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  font-weight: 950;
}

.section-title img {
  width: 28px;
  height: 28px;
}

.section-title a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 950;
}

.section-title a b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan-2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  min-height: 134px;
  padding: 15px 12px 13px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(56, 200, 255, 0.2);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(8, 23, 40, 0.95), rgba(2, 7, 13, 0.98));
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.035);
}

.stat-card::after {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 34px;
  height: 34px;
  border: 8px solid var(--cyan);
  border-left-color: transparent;
  border-top-color: transparent;
  border-radius: 12px;
  content: "";
}

.stat-card span {
  width: 48px;
  height: 48px;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0b2a4a, #020812);
}

.stat-card small {
  display: block;
  min-height: 32px;
  color: #eafaff;
  line-height: 1.05;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.08rem, 4.5vw, 1.46rem);
  font-weight: 950;
  line-height: 1;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 50;
  width: min(100%, 540px);
  min-height: 108px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  border-top: 1px solid rgba(56, 200, 255, 0.28);
  background: linear-gradient(180deg, rgba(3, 13, 24, 0.86), rgba(1, 4, 9, 0.98));
  box-shadow: 0 -10px 32px rgba(56, 200, 255, 0.18);
  backdrop-filter: blur(18px);
}

.bottom-nav a {
  min-width: 0;
  display: grid;
  place-items: center;
  gap: 5px;
  color: #eff9ff;
  font-size: 0.72rem;
  font-weight: 850;
}

.bottom-nav a img {
  width: 32px;
  height: 32px;
}

.bottom-nav a.active {
  color: var(--cyan-2);
  text-shadow: 0 0 14px var(--shadow);
}

.bottom-nav a.home-main {
  width: 82px;
  height: 82px;
  justify-self: center;
  transform: translateY(-24px);
  border: 9px solid rgba(1, 4, 9, 0.96);
  border-radius: 50%;
  background: linear-gradient(145deg, #e9fbff, var(--cyan));
  box-shadow: 0 0 32px rgba(56, 200, 255, 0.6);
}

.bottom-nav a.home-main img {
  width: 44px;
  height: 44px;
}

@media (max-width: 430px) {
  .app-shell {
    padding-inline: 8px;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr) 158px;
    min-height: 250px;
    padding: 18px 12px;
  }

  .balance-orbit {
    width: 158px;
    height: 158px;
  }

  .balance-copy {
    width: 118px;
    min-height: 92px;
    transform: translateY(-6px);
  }

  .balance-copy small {
    font-size: 0.6rem;
  }

  .balance-copy strong {
    font-size: 1.06rem;
  }

  .balance-button {
    min-height: 32px;
    margin-top: 8px;
    padding: 0 9px;
    gap: 5px;
    font-size: 0.62rem;
  }

  .balance-button img {
    width: 14px;
    height: 14px;
  }

  .wallet-float {
    width: 42px;
    height: 42px;
    bottom: 5px;
  }

  .action-card {
    min-height: 106px;
    grid-template-columns: 48px 1fr 16px;
    gap: 9px;
    padding: 22px 16px 20px;
  }

  .action-icon {
    width: 48px;
    height: 48px;
  }

  .refer-card {
    grid-template-columns: 56px minmax(0, 1fr) 96px;
    padding-inline: 14px;
  }

  .big-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .copy-button {
    min-width: 88px;
    min-height: 50px;
  }

  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    min-height: 126px;
    padding-inline: 10px;
  }
}

@media (max-width: 360px) {
  .topbar {
    grid-template-columns: 48px 1fr 48px;
  }

  .icon-button {
    width: 48px;
    height: 48px;
    padding: 11px;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr) 138px;
    min-height: 226px;
    gap: 4px;
    padding: 16px 10px;
  }

  .membership-card {
    width: 144px;
    min-height: 62px;
    margin-top: 18px;
    gap: 8px;
    padding: 9px;
  }

  .membership-card strong {
    font-size: 0.78rem;
  }

  .membership-card small {
    font-size: 0.66rem;
  }

  .round-icon {
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .welcome-block h2 {
    font-size: 1.36rem;
  }

  .muted {
    font-size: 0.78rem;
  }

  .balance-orbit {
    width: 138px;
    height: 138px;
    margin-left: auto;
  }

  .balance-copy {
    width: 106px;
    min-height: 82px;
    transform: translateY(-7px);
  }

  .balance-copy small {
    font-size: 0.56rem;
  }

  .balance-copy strong {
    font-size: 0.92rem;
  }

  .balance-button {
    min-height: 28px;
    margin-top: 6px;
    padding: 0 7px;
    gap: 4px;
    font-size: 0.54rem;
  }

  .balance-button img {
    width: 13px;
    height: 13px;
  }

  .wallet-float {
    width: 36px;
    height: 36px;
    padding: 8px;
    bottom: 3px;
  }

  .action-card {
    padding: 18px 12px;
  }

  .whatsapp-row,
  .list-panel,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .whatsapp-card {
    min-height: 78px;
    grid-template-columns: 34px 1fr;
    column-gap: 8px;
    padding: 12px 10px;
  }

  .whatsapp-card span {
    width: 34px;
    height: 34px;
    padding: 6px;
  }

  .whatsapp-card strong {
    font-size: 0.88rem;
  }

  .whatsapp-card small {
    font-size: 0.74rem;
  }

  .list-item {
    min-height: 104px;
    grid-template-columns: 42px 1fr;
    gap: 8px;
    padding: 12px 10px;
  }

  .list-item .big-icon {
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 14px;
  }

  .list-item strong {
    font-size: 0.8rem;
    line-height: 1.05;
  }

  .list-item small {
    font-size: 0.7rem;
  }

  .list-item b {
    width: 26px;
    height: 26px;
    font-size: 1.1rem;
  }

  .refer-card {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .copy-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .section-title {
    align-items: center;
    flex-direction: row;
  }

  .section-title span {
    font-size: 1.12rem;
  }

  .section-title a {
    font-size: 0.74rem;
  }

  .stat-card {
    min-height: 116px;
  }

  .stat-card small {
    font-size: 0.68rem;
  }

  .stat-card strong {
    font-size: 1rem;
  }

  .bottom-nav {
    min-height: 100px;
    padding-inline: 6px;
  }

  .bottom-nav a {
    font-size: 0.64rem;
  }

  .bottom-nav a img {
    width: 28px;
    height: 28px;
  }

  .bottom-nav a.home-main {
    width: 72px;
    height: 72px;
  }
}

.plans-page {
  background:
    radial-gradient(circle at 50% -8%, rgba(120, 227, 255, 0.28), transparent 18rem),
    radial-gradient(circle at 96% 28%, rgba(22, 134, 255, 0.24), transparent 18rem),
    linear-gradient(180deg, #020914 0%, #02070f 54%, #010309 100%);
}

.plans-shell {
  width: min(100%, 540px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 64px 22px 28px;
}

.plans-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 78px;
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  gap: 10px;
  margin: -64px -22px 24px;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(120, 227, 255, 0.26);
  background: linear-gradient(180deg, rgba(1, 6, 13, 0.98), rgba(3, 12, 23, 0.9));
  box-shadow: 0 14px 30px rgba(56, 200, 255, 0.12);
  backdrop-filter: blur(14px);
}

.plans-topbar h1 {
  margin: 0;
  text-align: center;
  color: #eafaff;
  font-size: clamp(1.22rem, 5vw, 1.72rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: 0 0 22px rgba(120, 227, 255, 0.45);
}

.plan-back {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 15px;
  border: 1px solid rgba(120, 227, 255, 0.35);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(9, 32, 57, 0.95), rgba(2, 8, 16, 0.98));
  box-shadow: 0 0 24px rgba(56, 200, 255, 0.22), inset 0 0 16px rgba(120, 227, 255, 0.06);
}

.plans-list {
  display: grid;
  gap: 24px;
}

.plan-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 24px;
  border: 1px solid rgba(120, 227, 255, 0.36);
  border-radius: 28px;
  background:
    radial-gradient(circle at 76% 0%, rgba(120, 227, 255, 0.18), transparent 12rem),
    radial-gradient(circle at 9% 100%, rgba(22, 134, 255, 0.22), transparent 11rem),
    linear-gradient(145deg, rgba(8, 28, 50, 0.94), rgba(1, 6, 13, 0.98));
  box-shadow: 0 0 30px rgba(56, 200, 255, 0.18), inset 0 0 34px rgba(120, 227, 255, 0.06);
}

.plan-card::before,
.plan-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.plan-card::before {
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.18;
}

.plan-card::after {
  left: -42px;
  bottom: -52px;
  width: 220px;
  height: 150px;
  transform: rotate(-40deg);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(120, 227, 255, 0.2), rgba(22, 134, 255, 0.04));
}

.plan-card > * {
  position: relative;
  z-index: 1;
}

.plan-head small,
.price-box span,
.metric-card small {
  display: block;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.35em;
}

.plan-head small,
.price-box span {
  color: #bdefff;
}

.plan-name-row {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
}

.plan-name-row h2 {
  margin: 0;
  min-width: 0;
  color: #ffffff;
  font-size: clamp(2rem, 9vw, 2.82rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.18);
}

.plan-badge {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 66px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  border-radius: 999px;
  color: #032033;
  background: linear-gradient(135deg, #e9fbff, #78e3ff);
  box-shadow: 0 0 24px rgba(120, 227, 255, 0.38);
  font-size: 0.82rem;
  font-weight: 950;
}

.plan-badge img {
  width: 17px;
  height: 17px;
}

.price-box {
  min-height: 120px;
  display: grid;
  place-items: center;
  margin: 22px 0 18px;
  padding: 18px;
  border: 1px solid rgba(120, 227, 255, 0.34);
  border-radius: 22px;
  background:
    linear-gradient(90deg, transparent, rgba(120, 227, 255, 0.18), transparent) 50% 34% / 72% 3px no-repeat,
    linear-gradient(145deg, rgba(2, 10, 19, 0.94), rgba(1, 4, 9, 0.98));
  box-shadow: inset 0 0 22px rgba(56, 200, 255, 0.08), 0 0 22px rgba(56, 200, 255, 0.14);
  text-align: center;
}

.price-box span {
  color: #78e3ff;
}

.price-box strong {
  margin-top: 4px;
  color: #78e3ff;
  font-size: clamp(2rem, 9vw, 2.72rem);
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
  text-shadow: 0 0 24px rgba(120, 227, 255, 0.35);
}

.price-box strong small {
  font-size: 0.9rem;
  color: #eafaff;
}

.plan-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  min-height: 178px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  overflow: hidden;
  padding: 18px 12px;
  border: 1px solid rgba(120, 227, 255, 0.25);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(2, 10, 20, 0.96), rgba(0, 4, 9, 0.99));
  text-align: center;
  box-shadow: inset 0 -38px 44px rgba(56, 200, 255, 0.11);
}

.metric-card span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 13px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0c2e50, #020812);
  box-shadow: 0 0 26px rgba(56, 200, 255, 0.34);
}

.metric-card small {
  color: #9feaff;
  line-height: 1.15;
}

.metric-card strong {
  color: #ffffff;
  font-size: clamp(1.05rem, 4.7vw, 1.42rem);
  line-height: 1.12;
  font-weight: 950;
}

.metric-card.blue {
  border-color: rgba(56, 150, 255, 0.44);
  box-shadow: inset 0 -42px 48px rgba(56, 150, 255, 0.18);
}

.metric-card.green {
  border-color: rgba(70, 220, 143, 0.42);
  box-shadow: inset 0 -42px 48px rgba(70, 220, 143, 0.16);
}

.metric-card.purple {
  border-color: rgba(190, 100, 255, 0.42);
  box-shadow: inset 0 -42px 48px rgba(190, 100, 255, 0.16);
}

.metric-card.gold {
  border-color: rgba(120, 227, 255, 0.5);
  box-shadow: inset 0 -42px 48px rgba(120, 227, 255, 0.18);
}

.buy-plan {
  width: min(292px, 86%);
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 24px auto 0;
  padding: 0 26px;
  border-radius: 22px;
  color: #032033;
  background: linear-gradient(135deg, #f5fdff 0%, #78e3ff 52%, #1686ff 100%);
  box-shadow: 0 0 30px rgba(120, 227, 255, 0.38);
  font-size: 1.12rem;
  font-weight: 950;
}

.buy-plan img {
  width: 32px;
  height: 32px;
}

@media (max-width: 430px) {
  .plans-shell {
    padding: 60px 14px 24px;
  }

  .plans-topbar {
    min-height: 72px;
    margin: -60px -14px 22px;
    padding: 10px 14px;
    grid-template-columns: 54px 1fr 54px;
  }

  .plan-back {
    width: 52px;
    height: 52px;
    padding: 14px;
  }

  .plan-card {
    padding: 20px 18px 22px;
    border-radius: 24px;
  }

  .price-box {
    min-height: 112px;
    margin: 20px 0 16px;
  }

  .metric-card {
    min-height: 164px;
  }
}

@media (max-width: 360px) {
  .plans-shell {
    padding-inline: 10px;
  }

  .plans-topbar {
    margin-inline: -10px;
    grid-template-columns: 48px 1fr 48px;
  }

  .plan-back {
    width: 46px;
    height: 46px;
    padding: 12px;
  }

  .plans-topbar h1 {
    font-size: 1rem;
  }

  .plan-card {
    padding: 18px 14px 20px;
  }

  .plan-head small,
  .price-box span,
  .metric-card small {
    font-size: 0.62rem;
  }

  .plan-name-row h2 {
    font-size: 1.64rem;
  }

  .plan-badge {
    min-width: 58px;
    height: 30px;
    padding-inline: 9px;
    font-size: 0.72rem;
  }

  .price-box {
    min-height: 96px;
    padding: 14px;
  }

  .price-box strong {
    font-size: 1.65rem;
  }

  .plan-metrics {
    gap: 10px;
  }

  .metric-card {
    min-height: 142px;
    gap: 9px;
    padding: 14px 8px;
    border-radius: 16px;
  }

  .metric-card span {
    width: 48px;
    height: 48px;
    padding: 11px;
  }

  .metric-card strong {
    font-size: 0.94rem;
  }

  .buy-plan {
    width: 88%;
    min-height: 60px;
    font-size: 1rem;
  }
}

.public-page,
.auth-page {
  background:
    radial-gradient(circle at 22% 8%, rgba(120, 227, 255, 0.24), transparent 20rem),
    radial-gradient(circle at 92% 44%, rgba(22, 134, 255, 0.22), transparent 18rem),
    linear-gradient(180deg, #030b18 0%, #02070f 58%, #010309 100%);
}

.public-shell {
  width: min(100%, 540px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 14px 14px 34px;
}

.public-topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.public-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f5fbff;
  font-weight: 950;
}

.public-brand span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #032033;
  background: linear-gradient(145deg, #e9fbff, #78e3ff 58%, #1686ff);
  box-shadow: 0 0 26px rgba(120, 227, 255, 0.4);
}

.public-brand strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.public-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.public-actions a,
.home-secondary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid rgba(120, 227, 255, 0.32);
  border-radius: 14px;
  color: #eafaff;
  background: rgba(3, 13, 24, 0.72);
  font-size: 0.86rem;
  font-weight: 900;
}

.public-actions a.primary,
.home-primary,
.auth-submit {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 15px;
  color: #032033;
  background: linear-gradient(135deg, #f5fdff 0%, #78e3ff 52%, #1686ff 100%);
  box-shadow: 0 0 26px rgba(120, 227, 255, 0.36);
  font-weight: 950;
}

.home-hero {
  display: grid;
  gap: 18px;
}

.hero-copy {
  padding: 20px 16px 4px;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: #78e3ff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.22em;
}

.hero-copy h1 {
  margin: 0;
  color: white;
  font-size: clamp(2.1rem, 10vw, 3.2rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 0 32px rgba(120, 227, 255, 0.2);
}

.hero-copy p {
  margin: 14px 0 0;
  color: #b9c6d2;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 650;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.home-primary,
.home-secondary {
  min-height: 54px;
  padding-inline: 20px;
  border-radius: 18px;
}

.home-primary img,
.home-secondary img,
.auth-submit img {
  width: 24px;
  height: 24px;
}

.hero-slider {
  position: relative;
  min-height: 360px;
  perspective: 1000px;
  border: 1px solid rgba(120, 227, 255, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(120, 227, 255, 0.18), transparent 14rem),
    linear-gradient(145deg, rgba(8, 28, 50, 0.94), rgba(1, 6, 13, 0.98));
  box-shadow: 0 0 30px rgba(56, 200, 255, 0.18), inset 0 0 34px rgba(120, 227, 255, 0.06);
  overflow: hidden;
}

.hero-slider::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.2;
}

.slider-stage {
  position: relative;
  height: 292px;
  margin: 24px 0 0;
  transform-style: preserve-3d;
}

.slide-card {
  position: absolute;
  inset: 0;
  width: 82%;
  min-height: 258px;
  display: grid;
  grid-template-columns: 1fr 128px;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(120, 227, 255, 0.34);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(120, 227, 255, 0.16), transparent 44%),
    linear-gradient(145deg, rgba(2, 10, 20, 0.95), rgba(0, 4, 9, 0.98));
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.38), 0 0 28px rgba(120, 227, 255, 0.24);
  opacity: 0;
  transform: translateX(0) translateZ(-180px) rotateY(0deg) scale(0.86);
  transition: transform 520ms ease, opacity 520ms ease;
}

.slide-card.active {
  opacity: 1;
  transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
}

.slide-card.prev {
  opacity: 0.48;
  transform: translateX(-54%) translateZ(-120px) rotateY(28deg) scale(0.82);
}

.slide-card.next {
  opacity: 0.48;
  transform: translateX(54%) translateZ(-120px) rotateY(-28deg) scale(0.82);
}

.slide-card small {
  color: #78e3ff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.22em;
}

.slide-card h2 {
  margin: 8px 0 0;
  color: white;
  font-size: clamp(1.45rem, 6vw, 2.1rem);
  line-height: 1;
  font-weight: 950;
}

.slide-card p {
  margin: 10px 0 0;
  color: #b9c6d2;
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 700;
}

.slide-card > img {
  width: 128px;
  height: 128px;
  filter: drop-shadow(0 0 26px rgba(120, 227, 255, 0.42));
}

.slider-controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(120, 227, 255, 0.34);
  border-radius: 50%;
  color: #78e3ff;
  background: rgba(3, 13, 24, 0.82);
  font-size: 1.8rem;
  line-height: 1;
}

.slider-dots {
  display: inline-flex;
  gap: 7px;
}

.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(120, 227, 255, 0.32);
}

.slider-dots span.active {
  width: 24px;
  background: #78e3ff;
  box-shadow: 0 0 14px rgba(120, 227, 255, 0.55);
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.home-feature-grid article,
.home-cta,
.auth-card {
  border: 1px solid rgba(120, 227, 255, 0.28);
  background: linear-gradient(145deg, rgba(8, 28, 50, 0.9), rgba(1, 6, 13, 0.96));
  box-shadow: 0 0 26px rgba(56, 200, 255, 0.14), inset 0 0 24px rgba(120, 227, 255, 0.05);
}

.home-feature-grid article {
  min-height: 138px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 18px;
  text-align: center;
}

.home-feature-grid span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  justify-self: center;
  padding: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0c2e50, #020812);
  box-shadow: 0 0 24px rgba(56, 200, 255, 0.28);
}

.home-feature-grid strong {
  color: white;
  font-size: 0.92rem;
  font-weight: 950;
}

.home-feature-grid small,
.home-cta p {
  color: #b9c6d2;
  font-weight: 700;
}

.home-cta {
  margin-top: 16px;
  padding: 22px 18px;
  border-radius: 24px;
}

.home-cta h2 {
  margin: 0;
  color: white;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 950;
}

.home-cta p {
  margin: 10px 0 0;
}

.auth-shell {
  width: min(100%, 480px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 20px 14px 30px;
}

.auth-header {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.auth-back {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(120, 227, 255, 0.34);
  border-radius: 16px;
  background: rgba(3, 13, 24, 0.82);
  box-shadow: 0 0 22px rgba(56, 200, 255, 0.18);
}

.auth-header small {
  color: #78e3ff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.24em;
}

.auth-header h1 {
  margin: 2px 0 0;
  color: white;
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 950;
}

.auth-card {
  position: relative;
  overflow: hidden;
  padding: 24px 18px 20px;
  border-radius: 28px;
}

.auth-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 84% 0%, rgba(120, 227, 255, 0.18), transparent 12rem),
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 18px 18px;
  opacity: 0.8;
}

.auth-card > * {
  position: relative;
  z-index: 1;
}

.auth-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(145deg, #e9fbff, #78e3ff 58%, #1686ff);
  box-shadow: 0 0 30px rgba(120, 227, 255, 0.4);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #eafaff;
  font-size: 0.82rem;
  font-weight: 900;
}

.auth-form label span {
  min-height: 56px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(120, 227, 255, 0.26);
  border-radius: 17px;
  background: rgba(1, 6, 13, 0.78);
}

.auth-form label img {
  width: 25px;
  height: 25px;
}

.auth-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
}

.auth-form input::placeholder {
  color: rgba(185, 198, 210, 0.72);
}

.auth-submit {
  width: 100%;
  min-height: 60px;
  margin-top: 4px;
  border: 0;
  font-size: 1rem;
}

a.auth-submit {
  text-decoration: none;
}

.forgot-link {
  justify-self: end;
  color: #78e3ff;
  font-size: 0.84rem;
  font-weight: 900;
}

.auth-switch {
  margin: 18px 0 0;
  color: #b9c6d2;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 750;
}

.auth-switch a {
  color: #78e3ff;
  font-weight: 950;
}

@media (max-width: 430px) {
  .public-shell {
    padding-inline: 10px;
  }

  .public-brand strong {
    font-size: 0.88rem;
  }

  .public-actions a {
    min-height: 38px;
    padding-inline: 10px;
    border-radius: 12px;
    font-size: 0.78rem;
  }

  .hero-copy {
    padding-inline: 8px;
  }

  .hero-slider {
    min-height: 338px;
  }

  .slider-stage {
    height: 274px;
  }

  .slide-card {
    width: 86%;
    min-height: 242px;
    grid-template-columns: 1fr 104px;
    padding: 18px;
  }

  .slide-card > img {
    width: 104px;
    height: 104px;
  }

  .home-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-feature-grid article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  .public-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-actions {
    width: 100%;
  }

  .public-actions a {
    flex: 1;
  }

  .hero-copy h1 {
    font-size: 1.92rem;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-primary,
  .home-secondary {
    min-height: 50px;
    padding-inline: 12px;
    font-size: 0.84rem;
  }

  .hero-slider {
    min-height: 320px;
  }

  .slider-stage {
    height: 254px;
  }

  .slide-card {
    width: 88%;
    min-height: 226px;
    grid-template-columns: 1fr 86px;
    padding: 16px;
  }

  .slide-card > img {
    width: 86px;
    height: 86px;
  }

  .slide-card h2 {
    font-size: 1.2rem;
  }

  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-feature-grid article:last-child {
    grid-column: auto;
  }
}
