@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;700;800&display=swap");

:root {
  --font-display: "Unbounded", sans-serif;
  --font-main: "Manrope", sans-serif;
  --bg: #0b0d10;
  --bg-soft: #12161d;
  --panel: #101419;
  --surface: #0f1319;
  --surface-2: #161b22;
  --text: #f3f7ff;
  --muted: #95a1b7;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #4d8cff;
  --accent-soft: #7cacff;
  --accent-cyan: #1dd3d8;
  --accent-lime: #9cff6a;
  --accent-shadow: rgba(77, 140, 255, 0.45);
  --danger: #e95f6f;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tg-viewport-height: 100vh;
  --tg-viewport-stable-height: 100vh;
  --tg-safe-area-inset-top: env(safe-area-inset-top, 0px);
  --tg-safe-area-inset-right: env(safe-area-inset-right, 0px);
  --tg-safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  --tg-safe-area-inset-left: env(safe-area-inset-left, 0px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: var(--tg-viewport-stable-height);
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(77, 140, 255, 0.2), transparent 58%),
    radial-gradient(100% 76% at 88% 6%, rgba(29, 211, 216, 0.14), transparent 60%),
    radial-gradient(120% 88% at 52% 104%, rgba(156, 255, 106, 0.08), transparent 72%),
    linear-gradient(162deg, #06090d 0%, #0a0f15 48%, #070c11 100%);
  display: flex;
  justify-content: center;
  padding:
    calc(var(--tg-safe-area-inset-top) + 14px)
    calc(var(--tg-safe-area-inset-right) + 12px)
    calc(var(--tg-safe-area-inset-bottom) + 18px)
    calc(var(--tg-safe-area-inset-left) + 12px);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 14px 14px, 21px 21px;
  background-position: 0 0, 7px 10px;
  opacity: 0.26;
  z-index: 0;
}

button,
a {
  font-family: inherit;
}

.app-shell {
  width: min(100%, 430px);
  min-height: calc(var(--tg-viewport-stable-height) - var(--tg-safe-area-inset-top) - var(--tg-safe-area-inset-bottom) - 34px);
  position: relative;
  z-index: 1;
}

.screen {
  display: none;
}

.screen.is-active {
  display: block;
  animation: fade-up 0.52s var(--ease);
}

.hero-panel,
.panel {
  background: linear-gradient(160deg, rgba(15, 19, 25, 0.98), rgba(10, 12, 16, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
}

.hero-panel {
  --hero-pointer-x: 0px;
  --hero-pointer-y: 0px;
  min-height: clamp(580px, 84vh, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 20px 18px;
  isolation: isolate;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 60%;
  background: radial-gradient(circle at center, rgba(77, 140, 255, 0.28), transparent 72%);
  pointer-events: none;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -40% -42% -40%;
  height: 66%;
  background: radial-gradient(circle at center, rgba(29, 211, 216, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
  pointer-events: none;
  opacity: 0.54;
  z-index: -1;
}

.aurora-a {
  width: 180px;
  height: 180px;
  top: 52px;
  right: -56px;
  background: radial-gradient(circle at center, rgba(77, 140, 255, 0.5), transparent 68%);
  animation: drift-aurora-a 14s ease-in-out infinite;
}

.aurora-b {
  width: 220px;
  height: 220px;
  left: -84px;
  bottom: 112px;
  background: radial-gradient(circle at center, rgba(29, 211, 216, 0.46), transparent 70%);
  animation: drift-aurora-b 16s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.09;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.float-shape {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.56), transparent 32%),
    radial-gradient(circle at 60% 70%, rgba(77, 140, 255, 0.36), rgba(17, 23, 33, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  filter: blur(0.2px);
  opacity: 0.8;
  pointer-events: none;
}

.shape-1 {
  width: 76px;
  height: 76px;
  left: 22px;
  top: 44px;
  animation: drift-a 11s ease-in-out infinite;
}

.shape-2 {
  width: 58px;
  height: 58px;
  right: 30px;
  top: 70px;
  animation: drift-b 9s ease-in-out infinite;
}

.shape-3 {
  width: 108px;
  height: 108px;
  left: -34px;
  bottom: 170px;
  opacity: 0.6;
  animation: drift-c 14s ease-in-out infinite;
}

.shape-4 {
  width: 130px;
  height: 130px;
  right: -46px;
  bottom: 140px;
  opacity: 0.54;
  animation: drift-a 15s ease-in-out infinite reverse;
}

.hero-status {
  margin-top: 62px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, rgba(17, 24, 34, 0.74), rgba(8, 12, 18, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 18px rgba(0, 0, 0, 0.34);
  font-size: clamp(26px, 8.6vw, 34px);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  color: #aec5ea;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 0 0 rgba(156, 255, 106, 0.44);
  animation: pulse-dot 2.4s ease-out infinite;
}

.hero-ribbon {
  margin-top: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(29, 211, 216, 0.34);
  background: linear-gradient(130deg, rgba(29, 211, 216, 0.18), rgba(77, 140, 255, 0.08));
  color: #9fe8ec;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.hero-brand {
  text-align: center;
  margin-top: 14px;
  transform: translate3d(calc(var(--hero-pointer-x) * 0.05), calc(var(--hero-pointer-y) * 0.05), 0);
  transition: transform 0.3s var(--ease);
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 14vw, 66px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-sub {
  margin-top: 9px;
  font-size: clamp(18px, 5.2vw, 28px);
  color: #a5b4cf;
  font-weight: 600;
}

.hero-orb {
  margin-top: 18px;
  width: 184px;
  height: 184px;
  display: grid;
  place-items: center;
  position: relative;
  transform: translate3d(calc(var(--hero-pointer-x) * 0.09), calc(var(--hero-pointer-y) * 0.09), 0);
  transition: transform 0.38s var(--ease);
}

.hero-orb::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(77, 140, 255, 0.35), transparent 68%);
  filter: blur(12px);
  animation: pulse-glow 3.8s ease-in-out infinite;
}

.planet-3d {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 70% 82%, rgba(2, 8, 18, 0.84), transparent 54%),
    radial-gradient(circle at 45% 45%, #f0f4ff 0%, #889fc8 32%, #243145 70%, #101820 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.44),
    inset 0 2px 8px rgba(255, 255, 255, 0.3),
    inset 0 -10px 24px rgba(1, 6, 15, 0.5);
  animation: orb-bob 7.5s var(--ease) infinite;
}

.planet-3d::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(120% 100% at 90% 50%, rgba(7, 12, 24, 0.6), transparent 55%),
    radial-gradient(90% 100% at 25% 18%, rgba(255, 255, 255, 0.22), transparent 50%);
  pointer-events: none;
}

.earth-texture {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  opacity: 0.28;
  background-image: url("../assets/earth-map.jpg");
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: 0 center;
  filter: contrast(1.25) saturate(0.92) brightness(0.74);
  will-change: background-position;
}

.hero-actions {
  width: 100%;
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.hero-metrics {
  width: 100%;
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  transform: translate3d(calc(var(--hero-pointer-x) * 0.04), calc(var(--hero-pointer-y) * 0.04), 0);
  transition: transform 0.3s var(--ease);
}

.metric-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(9, 13, 19, 0.95));
  padding: 8px 7px;
  display: grid;
  gap: 2px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.metric-label {
  font-size: 10px;
  color: #8ca0bf;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric-value {
  font-size: 16px;
  font-weight: 700;
  color: #edf4ff;
}

.btn,
.cta {
  border: none;
  border-radius: 14px;
  font-size: clamp(18px, 5.2vw, 24px);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease),
    border-color 0.22s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn {
  padding: 15px 16px;
}

.btn::before,
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 26%, rgba(255, 255, 255, 0.24) 44%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}

.btn:hover::before,
.cta:hover::before {
  transform: translateX(130%);
}

.btn:active,
.cta:active,
.copy-mini:active,
.page-back:active,
.close-btn:active,
.mode-btn:active,
.plan-card:active,
.profile-menu-item:active,
.text-link:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(160deg, #5c97ff 0%, #3f76e0 58%, #1f6fd8 100%);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(77, 140, 255, 0.45);
}

.btn-dark {
  background: linear-gradient(145deg, #101620, #05080b);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f0f4ff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

.btn-ghost {
  background: transparent;
  color: #8fb0d6;
  font-weight: 600;
}

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

.text-link {
  background: transparent;
  border: none;
  color: #8fa8d3;
  font-size: clamp(16px, 4.3vw, 20px);
  font-weight: 600;
  padding: 3px 0 0;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.text-link:hover {
  color: #b4cbef;
  text-shadow: 0 0 16px rgba(77, 140, 255, 0.35);
}

.support-handle {
  text-align: center;
  text-decoration: none;
  color: #7f8ba1;
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 500;
  margin-top: 2px;
  transition: color 0.2s ease;
}

.support-handle:hover {
  color: #9fb3d4;
}

.panel {
  min-height: clamp(560px, 82vh, 740px);
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.page-back,
.copy-mini,
.close-btn {
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(18, 24, 34, 0.9));
  color: #ced9ec;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  cursor: pointer;
  width: fit-content;
}

.page-back {
  justify-self: start;
}

.panel-head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.panel-sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.profile-id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(11, 14, 20, 0.9));
  padding: 12px;
  font-size: 14px;
  color: #d7e2f7;
}

.profile-menu {
  display: grid;
  gap: 8px;
}

.profile-menu-item {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.04), rgba(14, 18, 24, 0.95));
  color: #edf3ff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
}

.profile-menu-item:hover {
  border-color: rgba(77, 140, 255, 0.46);
  background: linear-gradient(140deg, rgba(77, 140, 255, 0.16), rgba(12, 16, 22, 0.94));
}

.profile-linkbox {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(9, 11, 15, 0.92));
  padding: 12px;
  display: grid;
  gap: 10px;
}

.profile-link-title {
  font-size: 13px;
  color: var(--muted);
}

.profile-link-row {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 18, 0.92);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#manualLinkValue {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #dce8ff;
}

.payment-qr {
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, rgba(77, 140, 255, 0.18), transparent 50%),
    linear-gradient(160deg, #111721 0%, #0a0f16 100%);
  min-height: 208px;
  display: grid;
  place-items: center;
}

.payment-qr-frame {
  width: 146px;
  aspect-ratio: 1;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.07) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0.07) 75%, transparent 75%, transparent),
    linear-gradient(135deg, #1a2333, #0b1018);
  background-size: 16px 16px, auto;
  display: grid;
  place-items: center;
}

.qr-label {
  font-family: var(--font-display);
  font-size: 20px;
  color: #dce7fa;
}

.payment-details {
  display: grid;
  gap: 8px;
}

.payment-item {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(13, 18, 24, 0.9);
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.payment-item .label {
  font-size: 13px;
  color: var(--muted);
}

.payment-item .value {
  font-size: 15px;
  font-weight: 700;
}

.payment-actions {
  display: grid;
  gap: 10px;
}

.cta {
  padding: 14px 16px;
  width: 100%;
  font-size: 16px;
  font-weight: 700;
}

.cta.primary {
  background: linear-gradient(160deg, #5f9dff, #3f7fec);
  color: #ffffff;
  box-shadow: 0 16px 30px var(--accent-shadow);
}

.cta.ghost {
  border: 1px solid var(--line-strong);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.09), rgba(15, 20, 28, 0.92));
  color: #dce8ff;
}

.cta.wide {
  display: block;
}

.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 9, 0.82);
  backdrop-filter: blur(4px);
  z-index: 20;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding:
    calc(var(--tg-safe-area-inset-top) + 10px)
    calc(var(--tg-safe-area-inset-right) + 10px)
    calc(var(--tg-safe-area-inset-bottom) + 10px)
    calc(var(--tg-safe-area-inset-left) + 10px);
}

.sheet-overlay.is-open {
  display: flex;
}

.sheet {
  width: min(100%, 430px);
  max-height: min(86vh, 760px);
  overflow: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, #0f141c, #090c12 72%);
  padding: 16px;
  display: none;
  box-shadow:
    0 28px 62px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: sheet-in 0.36s var(--ease);
}

.sheet.is-active {
  display: grid;
  gap: 12px;
}

.sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.sheet-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.sheet-sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #090d13;
  padding: 4px;
}

.mode-btn {
  border: none;
  border-radius: 10px;
  padding: 11px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  color: #8e9cb3;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.mode-btn.is-active {
  color: #eaf2ff;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(18, 24, 34, 0.86));
  box-shadow: 0 0 0 1px rgba(77, 140, 255, 0.18) inset;
}

.plan-grid {
  display: grid;
  gap: 10px;
}

.plan-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(150deg, #040709, #020406);
  border-radius: 18px;
  color: #f4f7ff;
  padding: 16px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 8px 12px;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: border-color 0.22s ease, transform 0.22s var(--ease), box-shadow 0.22s ease;
  overflow: hidden;
}

.plan-card:hover {
  border-color: rgba(77, 140, 255, 0.4);
  transform: translateY(-1px);
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: -35% auto auto -20%;
  width: 66%;
  height: 70%;
  background: radial-gradient(circle, rgba(77, 140, 255, 0.2), transparent 72%);
  pointer-events: none;
}

.plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.18), transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.48s var(--ease);
  pointer-events: none;
}

.plan-card:hover::after {
  transform: translateX(120%);
}

.plan-copy {
  display: grid;
  gap: 4px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 9.2vw, 44px);
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.plan-period {
  font-size: clamp(14px, 4.6vw, 27px);
  font-weight: 600;
  color: #b8c4d9;
}

.plan-users {
  font-size: clamp(13px, 4.1vw, 23px);
  color: #8f9eb7;
}

.plan-price {
  align-self: end;
  display: grid;
  gap: 2px;
  justify-items: end;
}

.plan-old {
  font-size: clamp(11px, 3.4vw, 20px);
  color: rgba(163, 172, 190, 0.65);
  text-decoration: line-through;
}

.plan-now {
  font-size: clamp(28px, 8.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-check {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 76px;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(165deg, #5d9bff, #3f7ce7);
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  animation: check-in 0.25s var(--ease);
}

.plan-card.is-active {
  border-color: rgba(77, 140, 255, 0.7);
  box-shadow:
    0 16px 34px rgba(8, 13, 20, 0.7),
    0 0 0 1px rgba(77, 140, 255, 0.28);
}

.plan-card.is-active .plan-check {
  display: flex;
}

.plan-card.is-active .plan-price {
  padding-right: 84px;
}

.top-pill {
  font-size: clamp(12px, 3.8vw, 19px);
  font-weight: 700;
  color: #ffd5a8;
  vertical-align: middle;
  letter-spacing: 0.04em;
}

.plan-grid .plan-card:nth-child(1) {
  animation: card-in 0.32s var(--ease);
}

.plan-grid .plan-card:nth-child(2) {
  animation: card-in 0.4s var(--ease);
}

.plan-grid .plan-card:nth-child(3) {
  animation: card-in 0.48s var(--ease);
}

.plan-grid .plan-card:nth-child(4) {
  animation: card-in 0.56s var(--ease);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.sheet-meta {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 15, 21, 0.9);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #c5d2e8;
}

.sheet-footer {
  display: grid;
  gap: 10px;
  position: sticky;
  bottom: 0;
  padding-top: 2px;
  background: linear-gradient(to top, rgba(9, 12, 18, 0.98), rgba(9, 12, 18, 0));
}

.sheet-price {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 18, 0.9);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: #b7c4dc;
}

.sheet-price strong {
  font-size: 20px;
  color: #ecf3ff;
}

.setup-list {
  display: grid;
  gap: 8px;
}

.setup-item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.05), rgba(14, 18, 24, 0.95));
  padding: 11px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: start;
  transition: transform 0.22s var(--ease), border-color 0.22s ease;
}

.setup-item:hover {
  transform: translateY(-1px);
  border-color: rgba(77, 140, 255, 0.45);
}

.setup-step {
  width: 42px;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid rgba(77, 140, 255, 0.55);
  display: grid;
  place-items: center;
  color: #acc6f4;
  font-weight: 800;
}

.setup-title {
  font-size: 15px;
  font-weight: 700;
  color: #e7efff;
}

.setup-text {
  font-size: 13px;
  margin-top: 2px;
  color: #9caac2;
}

[data-animate] {
  animation: fade-up 0.56s var(--ease);
}

[data-animate="2"] {
  animation-delay: 0.08s;
  animation-fill-mode: both;
}

[data-animate="3"] {
  animation-delay: 0.14s;
  animation-fill-mode: both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sheet-in {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes drift-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(12px, -9px, 0) rotate(16deg);
  }
}

@keyframes drift-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-11px, 13px, 0) rotate(-18deg);
  }
}

@keyframes drift-c {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(18px, 12px, 0) rotate(12deg);
  }
}

@keyframes orb-bob {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(0.99);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(156, 255, 106, 0.44);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(156, 255, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(156, 255, 106, 0);
  }
}

@keyframes drift-aurora-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-16px, 11px, 0);
  }
}

@keyframes drift-aurora-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(14px, -14px, 0);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes check-in {
  from {
    transform: translateX(8px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 390px) {
  .hero-panel {
    padding-left: 14px;
    padding-right: 14px;
  }

  .panel {
    padding: 14px;
  }

  .hero-status {
    margin-top: 54px;
    font-size: 30px;
  }

  .hero-ribbon {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .hero-metrics {
    gap: 6px;
  }

  .metric-card {
    padding: 7px 5px;
  }

  .metric-value {
    font-size: 14px;
  }

  .shape-3,
  .shape-4 {
    display: none;
  }

  .plan-check {
    width: 64px;
    font-size: 30px;
  }

  .plan-card.is-active .plan-price {
    padding-right: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
