.page {
  position: relative; z-index: 1;
  min-height: 100vh; padding: 120px 24px 80px;
  display: flex; flex-direction: column; align-items: center;
}

.shop-hero { text-align: center; margin-bottom: 60px; }
.shop-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,75,255,.1); border: 1px solid rgba(200,75,255,.22);
  border-radius: 100px; padding: 6px 18px; margin-bottom: 22px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #d88aff;
  animation: fadeUp .6s ease both;
}
.shop-title {
  font-family: var(--fh); font-size: clamp(32px, 6vw, 72px); font-weight: 900;
  line-height: .95; letter-spacing: -.04em; margin-bottom: 14px;
  animation: fadeUp .6s .07s ease both;
}
.shop-title .grad {
  background: linear-gradient(135deg, var(--p1) 0%, #e066ff 45%, var(--p3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.shop-sub { font-size: 16px; color: var(--muted); animation: fadeUp .6s .14s ease both; }

.tiers-label {
  width: 100%; max-width: 1100px; margin-bottom: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--p1);
  animation: fadeUp .6s .18s ease both;
}
.tiers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  width: 100%; max-width: 1100px; margin-bottom: 48px;
  animation: fadeUp .6s .22s ease both;
}
@media (max-width: 900px) { .tiers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .tiers-grid { grid-template-columns: 1fr 1fr; } }

.tier-card {
  background: var(--bg2); border: 2px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 20px 18px; cursor: pointer;
  transition: border-color .25s, transform .2s, background .2s;
  position: relative; overflow: hidden; text-align: center;
}
.tier-card:hover { transform: translateY(-3px); border-color: rgba(200,75,255,.25); }
.tier-card.selected { border-color: var(--p1); background: rgba(200,75,255,.08); }
.tier-card.selected .tier-name { color: var(--p1); }
.tier-icon { font-size: 28px; margin-bottom: 8px; display: block; line-height: 1; }
.tier-name { font-family: var(--fh); font-size: 13px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.tier-price { font-size: 15px; font-weight: 700; color: var(--p1); }
.tier-price-period { font-size: 11px; color: var(--muted); font-weight: 400; }
.tier-card::after {
  content: '✓'; position: absolute; top: 10px; right: 12px;
  font-size: 12px; font-weight: 700; color: var(--p1);
  opacity: 0; transition: opacity .2s;
}
.tier-card.selected::after { opacity: 1; }

.period-label {
  width: 100%; max-width: 1100px; margin-bottom: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--p1);
  animation: fadeUp .6s .26s ease both;
}
.period-tabs {
  display: flex; gap: 10px; flex-wrap: wrap; width: 100%; max-width: 1100px; margin-bottom: 48px;
  animation: fadeUp .6s .3s ease both;
}
.period-tab {
  flex: 1; min-width: 130px; padding: 14px 18px; border-radius: 12px; cursor: pointer;
  background: var(--bg2); border: 2px solid rgba(255,255,255,.07);
  text-align: center; transition: border-color .2s, background .2s, transform .2s;
}
.period-tab:hover { transform: translateY(-2px); border-color: rgba(200,75,255,.2); }
.period-tab.active { border-color: var(--p1); background: rgba(200,75,255,.08); }
.period-tab .p-days { font-family: var(--fh); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.period-tab .p-disc { font-size: 12px; font-weight: 600; }
.period-tab.active .p-days { color: var(--p1); }
.badge-disc {
  display: inline-block; background: rgba(0,230,118,.12); color: var(--green);
  border: 1px solid rgba(0,230,118,.2); border-radius: 100px;
  padding: 2px 8px; font-size: 10px; font-weight: 700; letter-spacing: .04em;
}
.badge-none { color: var(--muted); font-size: 12px; }

.form-wrap {
  width: 100%; max-width: 1100px; display: grid;
  grid-template-columns: 1fr 380px; gap: 24px;
  animation: fadeUp .6s .34s ease both;
}
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }

.form-card {
  background: var(--bg2); border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px; padding: 36px;
}
.f-title { font-family: var(--fh); font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 28px; }
.f-group { margin-bottom: 22px; }
.f-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; display: block; letter-spacing: .02em; }
.f-label span { color: rgba(255,255,255,.3); font-weight: 400; }

.f-input {
  width: 100%; background: var(--bg3); border: 1.5px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 13px 16px; font-size: 15px; font-family: var(--fb);
  color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.f-input:focus { border-color: var(--p1); box-shadow: 0 0 0 3px rgba(200,75,255,.12); }
.f-input::placeholder { color: var(--muted); }
.f-input.error { border-color: #ff5252; }
.f-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.f-error { font-size: 12px; color: #ff5252; margin-top: 6px; display: none; }
.f-input.error + .f-error { display: block; }

.f-select-wrap { position: relative; }
.f-select-wrap::after {
  content: '▾'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 13px; pointer-events: none;
}
select.f-input { cursor: pointer; padding-right: 36px; }
select.f-input option { background: var(--bg2); }
select.f-input optgroup { background: var(--bg2); color: var(--muted); font-style: normal; font-weight: 700; }

.f-btn {
  width: 100%; padding: 16px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  color: #fff; font-size: 16px; font-weight: 700; font-family: var(--fb);
  cursor: pointer; transition: opacity .2s, transform .15s;
  position: relative; overflow: hidden;
}
.f-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #e066ff, var(--p3)); opacity: 0; transition: opacity .3s; }
.f-btn:hover { transform: translateY(-2px); }
.f-btn:hover::before { opacity: 1; }
.f-btn span { position: relative; z-index: 1; }

.summary-card {
  background: var(--bg2); border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px; padding: 36px; position: sticky; top: 86px; height: fit-content;
}
.summary-title { font-family: var(--fh); font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 24px; }
.summary-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.05); gap: 8px;
}
.summary-item:last-of-type { border-bottom: none; }
.summary-item-label { font-size: 13px; color: var(--muted); }
.summary-item-val { font-size: 13px; font-weight: 600; text-align: right; }
.summary-tier-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(200,75,255,.12); border: 1px solid rgba(200,75,255,.2);
  border-radius: 8px; padding: 5px 10px; font-size: 13px; font-weight: 700; color: var(--p1);
}
.summary-total {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
}
.summary-total-label { font-family: var(--fh); font-size: 14px; font-weight: 700; }
.summary-total-price { font-family: var(--fh); font-size: 26px; font-weight: 900; color: var(--p1); }
.disc-badge {
  display: inline-block; background: rgba(0,230,118,.1); color: var(--green);
  border: 1px solid rgba(0,230,118,.2); border-radius: 6px; padding: 2px 8px;
  font-size: 11px; font-weight: 700; margin-left: 6px;
}

.perks-section {
  width: 100%; max-width: 1100px; margin-top: 64px;
  animation: fadeUp .6s .4s ease both;
}
.perks-title { font-family: var(--fh); font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 24px; }
.perks-title .hl { color: #d88aff; }
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 700px) { .perks-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .perks-grid { grid-template-columns: 1fr; } }

.perk-card {
  background: var(--bg2); border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px; padding: 22px 20px;
  transition: border-color .25s, transform .2s;
}
.perk-card:hover { transform: translateY(-3px); border-color: rgba(200,75,255,.18); }
.perk-ico { font-size: 24px; margin-bottom: 10px; display: block; }
.perk-name { font-family: var(--fh); font-size: 13px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.perk-desc { font-size: 12px; color: var(--muted); line-height: 1.55; }

footer { margin-top: 80px; }
