* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Inter, Arial, sans-serif;
  background: #030814;
  color: #fff;
}

body {
  position: relative;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

.bg-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 14%, rgba(34,211,238,0.10), transparent 18%),
    radial-gradient(circle at 88% 12%, rgba(236,72,153,0.10), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(59,130,246,0.08), transparent 24%),
    linear-gradient(180deg, #020611 0%, #06101c 100%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.10;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 30px 30px;
}

.bg-radial {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
}

.bg-radial-cyan {
  left: -90px;
  top: 80px;
  width: 360px;
  height: 360px;
  background: rgba(34,211,238,0.11);
}

.bg-radial-pink {
  right: -80px;
  top: 110px;
  width: 400px;
  height: 400px;
  background: rgba(236,72,153,0.10);
}

.bg-radial-blue {
  left: 30%;
  bottom: -60px;
  width: 360px;
  height: 360px;
  background: rgba(59,130,246,0.10);
}

.bg-line {
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.25), transparent);
}

.bg-line-left {
  left: 8%;
  top: 18%;
  height: 120px;
}

.bg-line-right {
  right: 10%;
  top: 22%;
  height: 150px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(2,6,17,0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo-wrap {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.brand-logo-glow {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(34,211,238,0.24) 0%, rgba(59,130,246,0.14) 45%, transparent 75%);
  filter: blur(22px);
  opacity: 0.95;
}

.brand-logo {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 18px rgba(34,211,238,0.16),
    0 0 34px rgba(236,72,153,0.08);
}

.brand-name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.top-switch {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 8px 24px rgba(0,0,0,0.18);
  flex: 0 0 auto;
}

.top-switch-btn {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.72);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .25s ease;
}

.top-switch-btn:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.top-switch-btn.active {
  background: linear-gradient(180deg, #ffffff 0%, #f2f5fb 100%);
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(255,255,255,0.10);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.tariffs-layout {
  display: grid;
  gap: 20px;
  align-items: start;
  grid-template-columns: 430px minmax(0, 1fr);
}

.left-panel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(9,16,33,0.96) 0%, rgba(8,13,27,0.96) 100%);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.03);
  padding: 28px;
}

.left-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(99,102,241,0.08), transparent 24%),
    radial-gradient(circle at bottom center, rgba(34,211,238,0.04), transparent 28%);
  pointer-events: none;
}

.eyebrow {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 114, 182, 0.92);
}

.hero-title {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  font-size: 56px;
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-text {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  max-width: 420px;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
}

.plan-switches {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-switch {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.03) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: .28s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.plan-switch:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.04) 100%);
}

.plan-switch.active {
  background: linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.05) 100%);
  border-color: rgba(255,255,255,0.16);
  transform: scale(1.01);
}

.plan-switch[data-plan="basic"].active {
  box-shadow:
    0 0 0 1px rgba(34,211,238,0.24),
    0 18px 36px rgba(0,0,0,0.24),
    0 0 36px rgba(34,211,238,0.12),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.plan-switch[data-plan="full"].active {
  box-shadow:
    0 0 0 1px rgba(236,72,153,0.24),
    0 18px 36px rgba(0,0,0,0.24),
    0 0 36px rgba(236,72,153,0.12),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.icon-basic {
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.22), transparent 34%),
    linear-gradient(135deg, #2be4ff 0%, #54b7ff 52%, #3c87ff 100%);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.20),
    0 0 28px rgba(34,211,238,0.26),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.icon-full {
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.24), transparent 34%),
    linear-gradient(135deg, #ff77c8 0%, #ff9b72 56%, #ffb347 100%);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.20),
    0 0 24px rgba(236,72,153,0.22),
    0 0 36px rgba(251,146,60,0.18),
    inset 0 1px 0 rgba(255,255,255,0.12);
}



.plan-switch-icon,
.plan-head-icon {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-switch-icon::before,
.plan-head-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 46%);
  pointer-events: none;
  z-index: 1;
}

.icon-basic {
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.18), transparent 34%),
    linear-gradient(135deg, #29dfff 0%, #57b8ff 56%, #3d88ff 100%);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.20),
    0 0 28px rgba(34,211,238,0.24),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.icon-full {
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.18), transparent 34%),
    linear-gradient(135deg, #ff79c9 0%, #ff9d70 58%, #ffb24a 100%);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.20),
    0 0 26px rgba(236,72,153,0.20),
    0 0 34px rgba(251,146,60,0.16),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.brand-real-icon {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0.92;
  filter:
    drop-shadow(0 0 10px rgba(255,255,255,0.12))
    drop-shadow(0 0 16px rgba(255,255,255,0.08));
}

.brand-real-icon.big {
  width: 28px;
  height: 28px;
}

.plan-switch-content {
  flex: 1;
  min-width: 0;
}

.plan-switch-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}

.plan-switch-subtitle {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,0.58);
}

.plan-switch-arrow {
  font-size: 28px;
  color: rgba(255,255,255,0.45);
}

.plan-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.34);
  padding: 28px;
  display: none;
}

.plan-card.active {
  display: block;
  animation: fadeInUp .45s ease;
}

.plan-basic {
  background:
    linear-gradient(135deg, rgba(11,36,56,0.98) 0%, rgba(12,31,52,0.98) 52%, rgba(10,24,41,0.98) 100%);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.34),
    0 0 0 1px rgba(255,255,255,0.02),
    0 0 42px rgba(34,211,238,0.18);
}

.plan-full {
  background:
    linear-gradient(135deg, rgba(41,19,63,0.98) 0%, rgba(36,18,55,0.98) 52%, rgba(26,16,42,0.98) 100%);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.34),
    0 0 0 1px rgba(255,255,255,0.02),
    0 0 42px rgba(236,72,153,0.18);
}

.plan-card-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.09), transparent 20%);
  pointer-events: none;
}

.plan-card-top,
.plan-description,
.price-grid,
.features-grid {
  position: relative;
  z-index: 1;
}

.plan-card-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.plan-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}

.plan-head-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 26px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.08);
  flex: 0 0 auto;
}

.plan-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.plan-subtitle {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.62);
}

.plan-chip {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.11) 0%, rgba(255,255,255,0.05) 100%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.92);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 22px rgba(0,0,0,0.14);
}

.buy-main-btn {
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f5fb 100%);
  color: #0f172a;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: .25s ease;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(255,255,255,0.08);
}

.buy-main-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 32px rgba(255,255,255,0.12);
}

.plan-description {
  margin-top: 24px;
  max-width: 920px;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
}

.price-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  position: relative;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.03) 100%);
  padding: 16px;
  transition: .28s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.price-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.04) 100%);
}

.price-card.active {
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.06) 100%);
  border-color: rgba(255,255,255,0.18);
}

.basic-glow {
  box-shadow:
    0 0 0 1px rgba(34,211,238,0.20),
    0 14px 34px rgba(34,211,238,0.12),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.full-glow {
  box-shadow:
    0 0 0 1px rgba(236,72,153,0.20),
    0 14px 34px rgba(236,72,153,0.12),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.price-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.price-label {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.60);
}

.price-badge {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 8px 18px rgba(0,0,0,0.14);
}

.plan-basic .price-badge {
  background: linear-gradient(90deg, rgba(65,191,255,0.28) 0%, rgba(86,134,255,0.22) 100%);
}

.plan-full .price-badge {
  background: linear-gradient(90deg, rgba(236,72,153,0.28) 0%, rgba(251,146,60,0.24) 100%);
}

.price-value {
  margin-top: 22px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-btn {
  margin-top: 20px;
  height: 44px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: .25s ease;
}

.price-btn:hover {
  transform: scale(1.02);
  background: rgba(255,255,255,0.16);
}

.price-btn-active {
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.24);
}

.basic-btn {
  background: linear-gradient(90deg, #22d3ee 0%, #4aa8ff 46%, #3b82f6 100%);
}

.full-btn {
  background: linear-gradient(90deg, #f472b6 0%, #ff8b68 52%, #fb923c 100%);
}

.features-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.features-title {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.features-title.cyan {
  color: #67e8f9;
  text-shadow: 0 0 14px rgba(34,211,238,0.18);
}

.features-title.yellow {
  color: #fde047;
  text-shadow: 0 0 14px rgba(250,204,21,0.14);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.86);
}

.feature-note {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.70);
}

.cabinet-card {
  animation: fadeInUp .45s ease;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(11,27,47,0.98) 0%, rgba(15,34,57,0.98) 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,0.34);
  padding: 28px;
}

.cabinet-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.cabinet-title {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cabinet-subtitle {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.62);
}

.cabinet-status {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(52,211,153,0.20);
  background: rgba(52,211,153,0.12);
  color: #bbf7d0;
  font-size: 14px;
  font-weight: 700;
}

.auth-layout {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 20px;
}

.auth-box,
.auth-side {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.035) 100%);
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.auth-tab {
  border: 0;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.74);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .25s ease;
}

.auth-tab.active {
  background: linear-gradient(180deg, #ffffff 0%, #f2f5fb 100%);
  color: #0f172a;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-label {
  display: block;
  margin: 12px 0 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
}

.auth-input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  transition: .25s ease;
}

.auth-input:focus {
  border-color: rgba(34,211,238,0.35);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.10);
}

.auth-submit {
  width: 100%;
  margin-top: 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, #22d3ee 0%, #4aa8ff 46%, #3b82f6 100%);
  color: #fff;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: .25s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.auth-link-btn {
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.66);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}

.auth-message {
  margin-top: 16px;
  min-height: 20px;
  font-size: 14px;
  color: #fde68a;
}

.auth-side-title {
  font-size: 18px;
  font-weight: 800;
}

.auth-side-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-side-item {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

.stats-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.035) 100%);
  padding: 20px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.46);
}

.stat-value {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
}

.subscription-box {
  margin-top: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.20);
  padding: 20px;
}

.subscription-link-wrap {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 16px;
  border: 1px solid rgba(251,146,60,0.20);
  background: rgba(251,146,60,0.10);
  padding: 14px;
}

.subscription-link {
  flex: 1;
  word-break: break-all;
  font-family: monospace;
  font-size: 12px;
  line-height: 1.8;
  color: #fed7aa;
}

.copy-btn {
  border: 0;
  background: rgba(255,255,255,0.10);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  transition: .25s ease;
}

.copy-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.03);
}

.cabinet-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cabinet-btn {
  border: 0;
  border-radius: 18px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  padding: 15px 22px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: .25s ease;
}

.cabinet-btn:hover {
  background: rgba(255,255,255,0.14);
  transform: scale(1.03);
}

.cabinet-btn-primary {
  background: linear-gradient(90deg, #22d3ee 0%, #4aa8ff 46%, #3b82f6 100%);
  box-shadow: 0 14px 28px rgba(37,99,235,0.20);
}

.cabinet-btn-primary:hover {
  filter: brightness(1.08);
}

.cabinet-btn-danger {
  background: rgba(239,68,68,0.14);
  color: #fecaca;
}

.telegram-box {
  margin-top: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.telegram-title {
  font-size: 18px;
  font-weight: 800;
}

.telegram-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  max-width: 760px;
}

.telegram-btn {
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f5fb 100%);
  color: #0f172a;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: .25s ease;
  white-space: nowrap;
}

.telegram-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 28px rgba(255,255,255,0.12);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .tariffs-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid,
  .stats-grid,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .cabinet-top,
  .telegram-box,
  .plan-card-top {
    flex-direction: column;
  }

  .buy-main-btn,
  .telegram-btn {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 14px;
    gap: 12px;
  }

  .page {
    padding: 12px 12px 28px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
    flex: 1;
  }

  .brand-logo-wrap,
  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-switch {
    padding: 4px;
    gap: 4px;
    border-radius: 16px;
  }

  .top-switch-btn {
    padding: 10px 14px;
    font-size: 14px;
  }

  .hero-title {
    font-size: 34px;
    line-height: 0.98;
    margin-top: 14px;
  }

  .hero-text {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.55;
  }

  .left-panel,
  .plan-card,
  .cabinet-card {
    padding: 18px;
    border-radius: 24px;
  }

  .plan-switches {
    margin-top: 22px;
    gap: 12px;
  }

  .plan-switch {
    padding: 14px;
    gap: 12px;
    border-radius: 20px;
  }

  .plan-switch-icon {
    width: 40px;
    height: 40px;
    border-radius: 15px;
  }

  .glyph {
    font-size: 15px;
  }

  .plan-switch-title {
    font-size: 15px;
  }

  .plan-switch-subtitle {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
  }

  .plan-head {
    gap: 14px;
  }

  .plan-head-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .plan-title {
    font-size: 28px;
    line-height: 1.04;
  }

  .plan-subtitle {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.45;
  }

  .plan-chip {
    margin-top: 12px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .buy-main-btn {
    padding: 12px 18px;
    font-size: 15px;
    border-radius: 16px;
  }

  .plan-description {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.55;
  }

  .price-grid {
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .price-card {
    min-height: auto;
    padding: 14px;
    border-radius: 18px;
  }

  .price-value {
    margin-top: 14px;
    font-size: 22px;
  }

  .price-btn {
    margin-top: 14px;
    height: 42px;
    border-radius: 12px;
    font-size: 15px;
  }

  .features-grid {
    margin-top: 22px;
    gap: 22px;
  }

  .features-title {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .feature-item {
    font-size: 15px;
    line-height: 1.6;
  }

  .feature-note {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
  }

  .cabinet-title {
    font-size: 28px;
  }

  .cabinet-subtitle {
    font-size: 15px;
    line-height: 1.5;
  }

  .auth-box,
  .auth-side,
  .stat-card,
  .subscription-box,
  .telegram-box {
    padding: 16px;
    border-radius: 18px;
  }

  .stat-value {
    font-size: 18px;
  }

  .cabinet-actions {
    gap: 10px;
  }

  .cabinet-btn,
  .telegram-btn,
  .auth-submit {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    font-size: 15px;
  }

  .subscription-link-wrap {
    padding: 12px;
    gap: 10px;
  }

  .copy-btn {
    width: 40px;
    height: 40px;
  }
}


/* ===== Brand neon icons: remove colored squares, use animated PNGs ===== */
.plan-switch-icon,
.plan-head-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.plan-switch-icon {
  width: 56px;
  height: 56px;
}

.plan-head-icon {
  width: 60px;
  height: 60px;
}

.plan-switch-icon::before,
.plan-head-icon::before {
  display: none !important;
  content: none !important;
}

.icon-basic,
.icon-full {
  background: transparent !important;
  box-shadow: none !important;
}

.brand-real-icon {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 0 !important;
  opacity: 1;
  animation: iconFloat 4.6s ease-in-out infinite, iconPulse 3.4s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, opacity, filter;
}

.brand-real-icon.big {
  width: 48px;
  height: 48px;
}

.plan-switch .icon-basic .brand-real-icon,
.plan-head .icon-basic .brand-real-icon {
  filter:
    drop-shadow(0 0 8px rgba(34,211,238,0.62))
    drop-shadow(0 0 16px rgba(59,130,246,0.38))
    drop-shadow(0 0 28px rgba(34,211,238,0.20));
}

.plan-switch .icon-full .brand-real-icon,
.plan-head .icon-full .brand-real-icon {
  filter:
    drop-shadow(0 0 8px rgba(251,146,60,0.62))
    drop-shadow(0 0 16px rgba(236,72,153,0.38))
    drop-shadow(0 0 28px rgba(251,146,60,0.20));
}

.plan-switch-icon::after,
.plan-head-icon::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.88;
  filter: blur(18px);
}

.plan-switch-icon.icon-basic::after,
.plan-head-icon.icon-basic::after {
  background: radial-gradient(circle, rgba(34,211,238,0.24) 0%, rgba(59,130,246,0.10) 45%, transparent 72%);
}

.plan-switch-icon.icon-full::after,
.plan-head-icon.icon-full::after {
  background: radial-gradient(circle, rgba(251,146,60,0.24) 0%, rgba(236,72,153,0.10) 45%, transparent 72%);
}

.plan-switch.active .icon-basic .brand-real-icon,
.plan-card.active .icon-basic .brand-real-icon {
  filter:
    drop-shadow(0 0 10px rgba(34,211,238,0.82))
    drop-shadow(0 0 22px rgba(59,130,246,0.48))
    drop-shadow(0 0 36px rgba(34,211,238,0.24));
}

.plan-switch.active .icon-full .brand-real-icon,
.plan-card.active .icon-full .brand-real-icon {
  filter:
    drop-shadow(0 0 10px rgba(251,146,60,0.82))
    drop-shadow(0 0 22px rgba(236,72,153,0.48))
    drop-shadow(0 0 36px rgba(251,146,60,0.24));
}

@keyframes iconFloat {
  0%   { transform: translateY(0px) scale(1); }
  25%  { transform: translateY(-1px) scale(1.01); }
  50%  { transform: translateY(-3px) scale(1.025); }
  75%  { transform: translateY(-1px) scale(1.01); }
  100% { transform: translateY(0px) scale(1); }
}

@keyframes iconPulse {
  0%, 100% { opacity: 0.94; }
  50%      { opacity: 1; }
}

@media (max-width: 640px) {
  .plan-switch-icon {
    width: 44px;
    height: 44px;
  }

  .plan-head-icon {
    width: 52px;
    height: 52px;
  }

  .brand-real-icon {
    width: 34px;
    height: 34px;
  }

  .brand-real-icon.big {
    width: 40px;
    height: 40px;
  }
}
/* ===== SHIFRO PREMIUM ICONS OVERRIDE ===== */

.plan-switch-icon,
.plan-head-icon {
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.plan-switch-icon::before,
.plan-switch-icon::after,
.plan-head-icon::before,
.plan-head-icon::after {
  display: none !important;
}

/* Левые карточки тарифов */
.plan-switch .brand-real-icon,
.plan-switch .plan-icon img,
.plan-switch-icon img {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
  display: block;
  transform-origin: center;
  animation: shifroFloat 4.6s ease-in-out infinite,
             shifroBreath 3.2s ease-in-out infinite;
  will-change: transform, filter, opacity;
}

/* Большая карточка справа */
.plan-head .brand-real-icon,
.plan-head .plan-icon img,
.plan-head-icon img {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain !important;
  display: block;
  transform-origin: center;
  animation: shifroFloatBig 4.8s ease-in-out infinite,
             shifroBreathBig 3.4s ease-in-out infinite;
  will-change: transform, filter, opacity;
}

/* Базовый тариф — cyan / electric blue */
.plan-switch[data-plan="basic"] img,
#plan-basic .plan-head-icon img,
#plan-basic .plan-switch-icon img {
  filter:
    drop-shadow(0 0 10px rgba(34,211,238,0.70))
    drop-shadow(0 0 22px rgba(59,130,246,0.55))
    drop-shadow(0 0 42px rgba(34,211,238,0.28));
}

/* Полный тариф — orange / pink */
.plan-switch[data-plan="full"] img,
#plan-full .plan-head-icon img,
#plan-full .plan-switch-icon img {
  filter:
    drop-shadow(0 0 10px rgba(251,146,60,0.78))
    drop-shadow(0 0 22px rgba(236,72,153,0.52))
    drop-shadow(0 0 42px rgba(251,146,60,0.26));
}

/* Активная карточка слева — усиление свечения */
.plan-switch[data-plan="basic"].active img {
  filter:
    drop-shadow(0 0 12px rgba(34,211,238,0.88))
    drop-shadow(0 0 28px rgba(59,130,246,0.68))
    drop-shadow(0 0 56px rgba(34,211,238,0.34));
}

.plan-switch[data-plan="full"].active img {
  filter:
    drop-shadow(0 0 12px rgba(251,146,60,0.92))
    drop-shadow(0 0 28px rgba(236,72,153,0.66))
    drop-shadow(0 0 56px rgba(251,146,60,0.34));
}

/* Если справа открыт активный тариф */
#plan-basic.active .plan-head-icon img {
  filter:
    drop-shadow(0 0 14px rgba(34,211,238,0.92))
    drop-shadow(0 0 30px rgba(59,130,246,0.72))
    drop-shadow(0 0 64px rgba(34,211,238,0.34));
}

#plan-full.active .plan-head-icon img {
  filter:
    drop-shadow(0 0 14px rgba(251,146,60,0.95))
    drop-shadow(0 0 30px rgba(236,72,153,0.70))
    drop-shadow(0 0 64px rgba(251,146,60,0.34));
}

/* Подложка-свечение */
.plan-switch-icon,
.plan-head-icon {
  position: relative !important;
}

.plan-switch[data-plan="basic"] .plan-switch-icon,
#plan-basic .plan-head-icon {
  background: radial-gradient(circle, rgba(34,211,238,0.18) 0%, rgba(59,130,246,0.08) 48%, transparent 74%) !important;
}

.plan-switch[data-plan="full"] .plan-switch-icon,
#plan-full .plan-head-icon {
  background: radial-gradient(circle, rgba(251,146,60,0.18) 0%, rgba(236,72,153,0.08) 48%, transparent 74%) !important;
}

/* Анимации */
@keyframes shifroFloat {
  0%   { transform: translateY(0px) scale(1); }
  20%  { transform: translateY(-1px) scale(1.015); }
  50%  { transform: translateY(-4px) scale(1.04); }
  80%  { transform: translateY(-1px) scale(1.015); }
  100% { transform: translateY(0px) scale(1); }
}

@keyframes shifroBreath {
  0%, 100% { opacity: 0.93; }
  50%      { opacity: 1; }
}

@keyframes shifroFloatBig {
  0%   { transform: translateY(0px) scale(1); }
  20%  { transform: translateY(-2px) scale(1.02); }
  50%  { transform: translateY(-5px) scale(1.06); }
  80%  { transform: translateY(-2px) scale(1.02); }
  100% { transform: translateY(0px) scale(1); }
}

@keyframes shifroBreathBig {
  0%, 100% { opacity: 0.94; }
  50%      { opacity: 1; }
}

/* Мобильная версия */
@media (max-width: 640px) {
  .plan-switch .brand-real-icon,
  .plan-switch .plan-icon img,
  .plan-switch-icon img {
    width: 42px !important;
    height: 42px !important;
  }

  .plan-head .brand-real-icon,
  .plan-head .plan-icon img,
  .plan-head-icon img {
    width: 52px !important;
    height: 52px !important;
  }
}
.plan-basic::before {
    width: 300px;
    height: 300px;
}

.plan-premium::before {
    width: 300px;
    height: 300px;
}
.features-title.red {
  color: #ff4d6d;
  text-shadow:
    0 0 8px rgba(255, 77, 109, 0.6),
    0 0 16px rgba(255, 77, 109, 0.4);
  position: relative;
}

.features-title.red::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(90deg, #ff4d6d, transparent);
  box-shadow: 0 0 10px rgba(255, 77, 109, 0.6);
}
.features-title.cyan {
  color: #4de3ff;
  text-shadow:
    0 0 8px rgba(77, 227, 255, 0.6),
    0 0 16px rgba(77, 227, 255, 0.4);
  position: relative;
}

.features-title.cyan::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(90deg, #4de3ff, transparent);
  box-shadow: 0 0 10px rgba(77, 227, 255, 0.6);
}
.features-title.violet {
  color: #c77dff;
  text-shadow:
    0 0 8px rgba(199, 125, 255, 0.6),
    0 0 16px rgba(199, 125, 255, 0.4);
  position: relative;
}

.features-title.violet::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(90deg, #c77dff, transparent);
  box-shadow: 0 0 10px rgba(199, 125, 255, 0.6);
}