:root {
  --new2-bg-top: #edf3f8;
  --new2-bg-bottom: #d5e8e8;
  --new2-paper: rgba(255, 255, 255, 0.82);
  --new2-paper-strong: rgba(255, 255, 255, 0.92);
  --new2-line: rgba(120, 145, 175, 0.18);
  --new2-ink: #152033;
  --new2-muted: #6f7f96;
  --new2-muted-soft: #9aa8bc;
  --new2-dark: #0f1a2a;
  --new2-blue: #5f97ff;
  --new2-blue-deep: #4573e9;
  --new2-blue-soft: rgba(95, 151, 255, 0.14);
  --new2-shadow: 0 28px 70px rgba(95, 130, 155, 0.2);
  --new2-glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(247, 251, 253, 0.62) 100%);
  --new2-glass-shadow:
    0 28px 72px rgba(95, 130, 155, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  --new2-radius-device: 42px;
  --new2-radius-card: 28px;
  --new2-radius-control: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--new2-ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 34%),
    radial-gradient(circle at bottom center, rgba(112, 181, 170, 0.28), transparent 28%),
    linear-gradient(180deg, var(--new2-bg-top) 0%, var(--new2-bg-bottom) 100%);
}

a,
button,
input {
  font: inherit;
}

.new2-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 14px 36px;
}

.new2-device {
  position: relative;
  width: min(100%, 408px);
}

.new2-glass-panel {
  background: var(--new2-glass-bg);
  box-shadow: var(--new2-glass-shadow);
  backdrop-filter: blur(16px);
}

.new2-device-glow {
  position: absolute;
  inset: 18px;
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(34px);
}

.new2-surface,
.new2-flow {
  position: relative;
  overflow: hidden;
  border-radius: var(--new2-radius-device);
  border: 0;
}

.new2-surface {
  padding: 34px 20px 28px;
}

.new2-hero-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 228px;
  background:
    url("/assets/images/fon8383.png") center top / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.new2-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 248px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(248, 251, 253, 0.28) 52%, rgba(248, 251, 253, 0) 100%);
  pointer-events: none;
}

.new2-orb {
  display: none;
}

.new2-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.new2-logo {
  width: 56px;
  height: 56px;
}

.new2-logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.new2-brand span {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.new2-hero {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  text-align: center;
}

.new2-hero h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: -0.05em;
}

.new2-hero p {
  margin: 16px auto 0;
  max-width: 296px;
  color: var(--new2-muted);
  font-size: 16px;
  line-height: 1.45;
}

.new2-card {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  padding: 14px 14px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(229, 236, 243, 0.88);
  box-shadow: 0 20px 36px rgba(161, 181, 196, 0.14);
}

.new2-promo-copy {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  padding: 0 8px;
}

.new2-promo-copy h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.new2-promo-copy p {
  margin: 12px 0 0;
  color: var(--new2-muted);
  font-size: 15px;
  line-height: 1.55;
}

.new2-promo-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.new2-promo-price strong {
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.new2-promo-price span {
  color: var(--new2-muted);
  font-size: 15px;
}

.new2-promo-price-old {
  position: relative;
  color: var(--new2-muted-soft);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.new2-promo-price-note {
  margin-top: 6px;
  color: var(--new2-muted);
  font-size: 15px;
  font-weight: 600;
}

.new2-promo-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.new2-promo-point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--new2-ink);
  font-size: 15px;
  font-weight: 600;
}

.new2-promo-point::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--new2-blue) 0%, #6fc6b0 100%);
  box-shadow: 0 0 0 6px rgba(95, 151, 255, 0.08);
  flex: 0 0 auto;
}

.new2-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4f6fa 0%, #eef3f8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.new2-tab {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  border-radius: 18px;
  color: var(--new2-muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.new2-tab-active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f8fbff 100%);
  color: var(--new2-ink);
  box-shadow:
    0 8px 18px rgba(147, 164, 183, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(225, 232, 241, 0.95);
}

.new2-card-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  margin-bottom: 12px;
}

.new2-card-price strong {
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.new2-card-price span {
  color: var(--new2-muted);
  font-size: 16px;
}

.new2-alert {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 116, 102, 0.1);
  color: #9d4339;
  font-size: 14px;
}

.new2-alert-ok {
  background: rgba(84, 127, 255, 0.1);
  color: #2f58b8;
}

.new2-form {
  margin-top: 18px;
}

.new2-form-hidden,
.new2-panel-hidden {
  display: none;
}

.new2-field {
  display: block;
  margin-top: 14px;
  position: relative;
}

.new2-field input {
  width: 100%;
  min-height: 68px;
  border-radius: var(--new2-radius-control);
  border: 1px solid var(--new2-line);
  background: #fff;
  padding: 0 22px;
  color: var(--new2-ink);
  font-size: 18px;
  font-weight: 400;
  outline: none;
}

.new2-field input::placeholder {
  color: var(--new2-muted-soft);
}

.new2-field input:focus {
  border-color: rgba(82, 126, 255, 0.34);
  box-shadow: 0 0 0 4px rgba(82, 126, 255, 0.08);
}

.new2-input-wrap {
  position: relative;
}

.new2-field-mark {
  position: absolute;
  top: 50%;
  right: 20px;
  color: #7d8697;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
}

.new2-legal-note {
  margin: 14px 0 0;
  color: rgba(21, 32, 51, 0.56);
  font-size: 8px;
  line-height: 1.45;
}

.new2-legal-note a {
  color: rgba(21, 32, 51, 0.78);
  text-decoration: underline;
}

.new2-payments {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.new2-payments-single {
  margin-top: 22px;
}

.new2-account-summary {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.new2-account-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.new2-account-summary-label {
  color: var(--new2-muted);
  font-size: 12px;
  line-height: 1.4;
}

.new2-account-summary-value {
  margin-top: 4px;
  color: var(--new2-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.new2-account-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(84, 127, 255, 0.14);
  color: #4067c6;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.new2-pay {
  width: 100%;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.new2-pay:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.new2-pay-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--new2-blue) 0%, var(--new2-blue-deep) 100%);
  box-shadow: 0 12px 22px rgba(95, 151, 255, 0.22);
}

.new2-pay-secondary {
  color: var(--new2-ink);
  background: #fff;
  border: 1px solid var(--new2-line);
}

.new2-pay-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.new2-pay-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.new2-footer-link {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  text-align: center;
}

.new2-footer-link a {
  color: var(--new2-muted);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.new2-policy {
  width: min(100%, 408px);
  margin-top: 16px;
  color: rgba(21, 32, 51, 0.58);
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.new2-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 10px;
}

.new2-policy-links a {
  color: inherit;
}

.new2-flow {
  width: min(100%, 408px);
  margin-top: 30px;
  padding: 28px 20px 24px;
  color: var(--new2-ink);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.74) 0%, rgba(247, 251, 253, 0.62) 100%);
}

.new2-flow-glow {
  position: absolute;
  inset: 18px;
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(34px);
  pointer-events: none;
}

.new2-flow-head {
  position: relative;
  z-index: 1;
  text-align: left;
}

.new2-flow-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5b7cb8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.new2-flow-label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  color: #4f74bc;
  font-size: 13px;
}

.new2-flow-foot {
  display: inline-block;
  color: #5b7cb8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.new2-flow-head h2 {
  margin: 14px 0 0;
  font-size: 32px;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.new2-flow-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

.new2-flow-step {
  position: relative;
  padding-left: 92px;
  min-height: 86px;
}

.new2-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 76px;
  left: 26px;
  width: 1px;
  height: calc(100% - 36px);
  background: linear-gradient(180deg, rgba(95, 151, 255, 0.38) 0%, rgba(112, 181, 170, 0.24) 100%);
}

.new2-flow-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 54px;
  margin: 0;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(95, 151, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 248, 252, 0.82) 100%);
  color: var(--new2-blue-deep);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  box-shadow:
    0 12px 22px rgba(95, 151, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.new2-flow-step h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.new2-flow-step p {
  margin: 10px 0 0;
  color: var(--new2-muted);
  font-size: 15px;
  line-height: 1.58;
}

.new2-flow-foot {
  display: block;
  margin-top: 18px;
  text-align: left;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.6;
}

.new2-servers {
  width: min(100%, 408px);
  margin-top: 30px;
  padding: 28px 20px 24px;
  color: var(--new2-ink);
  border-radius: var(--new2-radius-device);
}

.new2-servers-head {
  position: relative;
  z-index: 1;
}

.new2-servers-head h2 {
  margin: 14px 0 0;
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.new2-servers-head p {
  margin: 12px 0 0;
  color: var(--new2-muted);
  font-size: 14px;
  line-height: 1.5;
}

.new2-servers-list {
  margin-top: 22px;
  display: grid;
  gap: 6px;
}

.new2-server-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(120, 145, 175, 0.14);
}

.new2-server-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.new2-server-flag {
  font-size: 24px;
  line-height: 1;
}

.new2-server-side {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.new2-server-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.new2-server-status[hidden] {
  display: none;
}

.new2-server-status-active {
  background: rgba(74, 179, 122, 0.14);
  color: #28794f;
}

.new2-server-status-down {
  background: rgba(233, 97, 97, 0.14);
  color: #b24545;
}

.new2-server-action {
  min-width: 92px;
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(84, 127, 255, 0.14);
  color: #4067c6;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.new2-server-action:disabled {
  cursor: wait;
  opacity: 0.9;
}

.new2-server-action-loading {
  position: relative;
  color: transparent;
}

.new2-server-action-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  border: 2px solid rgba(64, 103, 198, 0.22);
  border-top-color: #4067c6;
  animation: new2-spin 0.7s linear infinite;
}

@keyframes new2-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 700px) {
  .new2-page {
    padding: 36px 20px 42px;
  }

  .new2-device {
    width: 408px;
  }
}

@media (max-width: 1100px) {
  .new2-flow-grid {
    margin-top: 24px;
  }
}

@media (max-width: 700px) {
  .new2-flow {
    width: min(100%, 408px);
    padding: 24px 18px 22px;
    border-radius: var(--new2-radius-device);
  }

  .new2-servers {
    width: min(100%, 408px);
    padding: 24px 18px 22px;
    border-radius: var(--new2-radius-device);
  }

  .new2-promo-copy h2 {
    font-size: 28px;
  }

  .new2-promo-price strong {
    font-size: 30px;
  }

  .new2-servers-head h2 {
    font-size: 28px;
  }

  .new2-server-row {
    align-items: center;
    padding: 8px 0;
  }

  .new2-server-main {
    font-size: 16px;
  }

  .new2-server-side {
    gap: 8px;
  }

  .new2-account-summary-grid {
    grid-template-columns: 1fr;
  }

  .new2-flow-head h2 {
    margin-top: 12px;
    font-size: 30px;
  }

  .new2-flow-badge {
    width: 50px;
    height: 50px;
    font-size: 17px;
  }

  .new2-flow-step h3 {
    font-size: 18px;
  }

  .new2-flow-step p {
    font-size: 15px;
  }
}
