:root {
  --page-max: 430px;
  --ink: #182133;
  --cyan: #12b8ef;
  --page-bg: #fbfbfc;
}

* { box-sizing: border-box; }
html { background: #eef1f4; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: #eef1f4;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
button, a { font: inherit; -webkit-tap-highlight-color: transparent; }

.page-shell {
  width: min(100%, var(--page-max));
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(23px + env(safe-area-inset-top)) 0 calc(20px + env(safe-area-inset-bottom));
  overflow: hidden;
  background: var(--page-bg);
  position: relative;
}

.brand-wrap { padding-inline: 12px; text-align: center; }
.brand {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  font-size: clamp(33px, 9.9vw, 43px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  white-space: nowrap;
}
.brand-dark { color: #101274; }
.brand-blue { color: #10b9ef; }

.plans {
  width: 84.5%;
  margin: clamp(132px, 19svh, 162px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(13px, 5vw, 22px);
}

.plan-card {
  min-width: 0;
  height: 225px;
  padding: 0 0 7px;
  border: 1.7px solid #2fc0f8;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 13px 23px rgba(57, 167, 239, .14), 0 3px 7px rgba(63, 55, 224, .1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: var(--ink);
  transition: transform .16s ease, box-shadow .16s ease;
}
.plan-card:active { transform: translateY(1px) scale(.995); }

.plan-head {
  width: 100%;
  height: 39px;
  flex: 0 0 39px;
  padding: 6px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  background: radial-gradient(circle at 10% 5%, rgba(255,58,194,.7), transparent 35%), linear-gradient(112deg,#7126eb 0%,#204fed 58%,#14b7f0 100%);
  font-size: clamp(10.3px, 3vw, 12.8px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.plan-head strong { color: #27ec9a; }
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 9px;
  box-shadow: 0 0 8px currentColor;
}
.status-red { background: #ff4164; color: #ff4164; }
.status-green { background: #28da8f; color: #28da8f; }
.cross-mark, .tick-mark {
  width: 19px;
  height: 19px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 19px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}
.cross-mark { background: #ff4262; }
.tick-mark { background: #26d99a; }

.feature-list {
  width: 100%;
  padding: 9px 8px 4px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.feature {
  min-width: 0;
  min-height: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(9px, 2.65vw, 11.1px);
  font-weight: 800;
  line-height: 1.03;
  white-space: nowrap;
  letter-spacing: -.15px;
}
.check {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg,#36e2a5,#20bf87);
  box-shadow: 0 3px 7px rgba(32,191,135,.26);
  font-size: 11px;
  font-weight: 900;
}

.price {
  position: relative;
  isolation: isolate;
  width: calc(100% - 20px);
  height: 35px;
  flex: 0 0 35px;
  margin: 0 10px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: radial-gradient(circle at 0% 0%,rgba(41,243,223,.88),transparent 44%), linear-gradient(110deg,#16bde9 0%,#3465ef 58%,#7425e3 100%);
  box-shadow: 0 7px 12px rgba(69,80,236,.19);
  font-size: clamp(17px, 5vw, 21px);
  font-weight: 800;
  letter-spacing: -.45px;
  text-align: center;
}
.price span { position: relative; z-index: 2; }
.price::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -30%;
  bottom: -30%;
  left: -55%;
  width: 34%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), rgba(255,255,255,.58), rgba(255,255,255,.1), transparent);
  filter: blur(.2px);
  animation: price-shimmer 2.7s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes price-shimmer {
  0%, 10% { left: -55%; opacity: .28; }
  78%, 100% { left: 122%; opacity: .9; }
}

.buy-video {
  position: relative;
  isolation: isolate;
  width: 72%;
  min-height: 52px;
  margin: clamp(52px, 7svh, 64px) auto 0;
  border: 2px solid transparent;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(#11ace8,#11ace8) padding-box,
              linear-gradient(90deg,#44f0dc,#2679ff,#8d36ef,#44f0dc) border-box;
  background-size: 100% 100%, 260% 100%;
  box-shadow: 0 8px 16px rgba(17,172,232,.13);
  text-decoration: none;
  font-size: clamp(17px, 4.8vw, 21px);
  font-weight: 800;
  letter-spacing: -.35px;
  text-align: center;
  animation: buy-pulse 2.15s ease-in-out infinite, border-flow 3s linear infinite;
}
.buy-video span { position: relative; z-index: 2; }
.buy-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.26) 50%, transparent 65%);
  transform: translateX(-125%);
  animation: video-glint 3.1s ease-in-out infinite;
}
@keyframes buy-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}
@keyframes border-flow {
  to { background-position: 0 0, -260% 0; }
}
@keyframes video-glint {
  0%, 55% { transform: translateX(-125%); }
  80%, 100% { transform: translateX(125%); }
}

.social-row {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 9vw, 39px);
}
.social {
  width: 51px;
  height: 51px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(0,0,0,.08);
  overflow: hidden;
  transition: transform .16s ease;
}
.social:active { transform: scale(.95); }
.social svg { width: 100%; height: 100%; }
.social-youtube { background: #f20d12; }
.social-instagram { background: radial-gradient(circle at 66% 72%,#ffd16c 0 14%,transparent 15%),linear-gradient(145deg,#ffac43 5%,#ee436b 45%,#a52cdd 100%); }
.social-telegram { background: linear-gradient(145deg,#40bde9,#219ad5); }
.demo-note {
  margin: 25px 16px 0;
  color: #89909b;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12px;
  text-align: center;
}

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12,19,37,.56);
  backdrop-filter: blur(3px);
}
.modal-card {
  width: min(100%, 350px);
  position: relative;
  z-index: 1;
  padding: 24px 19px 19px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  text-align: center;
}
.modal-card h2 { margin: 0 28px 10px; color: #111c31; font-size: 22px; }
.modal-card p { margin: 0 0 17px; color: #596273; line-height: 1.48; }
.modal-close {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 33px;
  height: 33px;
  border: 0;
  border-radius: 50%;
  background: #eef3f7;
  color: #2d3748;
  font-size: 24px;
  cursor: pointer;
}
.modal-action {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(110deg,#12b9ed,#3561f4 60%,#6b2ae9);
  font-weight: 800;
  cursor: pointer;
}
.modal-payment {
  margin: 17px 0 12px;
  text-align: left;
}
.mobile-label {
  display: block;
  margin-bottom: 6px;
  color: #5c6676;
  font-size: 12px;
  font-weight: 800;
}
.mobile-input {
  width: 100%;
  min-height: 43px;
  border: 1px solid #d7e2ec;
  border-radius: 10px;
  padding: 0 12px;
  color: #182133;
  outline: none;
}
.mobile-input:focus {
  border-color: #12b8ef;
  box-shadow: 0 0 0 3px rgba(18,184,239,.12);
}
.modal-pay {
  margin-top: 11px;
}
.modal-action:disabled {
  opacity: .68;
  cursor: wait;
}
.payment-help {
  min-height: 18px;
  margin: 9px 1px 0;
  color: #596273;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.page-shell .plan-card:focus-visible,
.page-shell a:focus-visible,
.page-shell button:focus-visible {
  outline: 3px solid rgba(17,172,232,.28);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

@media (max-width: 360px) {
  .plans { width: 89%; gap: 10px; }
  .plan-card { height: 224px; }
  .plan-head { padding-inline: 4px; gap: 3px; }
  .feature-list { padding-inline: 6px; gap: 4px; }
  .feature { min-height: 20px; gap: 4px; font-size: 9px; }
  .price { width: calc(100% - 16px); margin-inline: 8px; font-size: 17px; }
}

@media (max-height: 720px) {
  .plans { margin-top: 100px; }
  .buy-video { margin-top: 37px; }
  .social-row { margin-top: 19px; }
}

@media (min-width: 431px) {
  .page-shell { box-shadow: 0 0 30px rgba(18,29,52,.12); }
}

.status-shell {
  padding-inline: 18px;
}
.status-panel {
  margin: 118px auto 0;
  text-align: center;
}
.status-panel h2 {
  margin: 0 0 12px;
  color: #111c31;
  font-size: 26px;
}
.status-panel p {
  margin: 0 auto 17px;
  color: #596273;
  line-height: 1.45;
}
.status-list {
  margin: 0 0 18px;
  text-align: left;
}
.status-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #e5edf4;
}
.status-list dt {
  color: #667084;
  font-weight: 800;
}
.status-list dd {
  margin: 0;
  color: #182133;
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}
.status-home {
  display: inline-flex;
  margin-top: 14px;
  color: #1577d2;
  font-weight: 800;
  text-decoration: none;
}
