html,
body {
  margin: 0;
  padding: 0;
}

.ar-reset-stage {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  padding: 96px 16px 48px;
}

.ar-reset-shell {
  width: 100%;
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ar-reset-card {
  position: relative;
  width: 100%;
  border-radius: 24px;
  padding: 26px 22px 22px;
  box-sizing: border-box;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(0, 234, 255, 0.12),
      transparent 55%
    ),
    radial-gradient(circle at 100% 0%, rgba(255, 0, 122, 0.14), transparent 60%),
    rgba(5, 10, 20, 0.94);
  border: 1px solid rgba(0, 234, 255, 0.2);
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 234, 255, 0.5);
  backdrop-filter: blur(18px);
  color: #e7f6ff;
}

.ar-reset-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.ar-reset-title-wrap {
  flex: 1 1 60px;
  min-width: 0;
}

.ar-reset-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  min-width: 140px;
  gap: 8px;
}

.ar-reset-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    rgba(0, 234, 255, 0.18),
    rgba(255, 0, 122, 0.18)
  );
  border: 1px solid rgba(0, 234, 255, 0.5);
  color: #c9f4ff;
}

.ar-reset-title {
  margin: 10px 0 6px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f5fbff;
}

.ar-reset-subtitle {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(209, 233, 255, 0.8);
}

.ar-reset-meta-item {
  padding: 8px 12px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(0, 234, 255, 0.25),
    transparent 70%
  );
  border: 1px solid rgba(0, 234, 255, 0.45);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.ar-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(199, 228, 255, 0.7);
}

.ar-meta-value {
  font-size: 12px;
  font-weight: 600;
  color: #00eaff;
}

.ar-reset-form {
  margin: 0;
}

.ar-reset-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
}

.ar-reset-column {
  min-width: 0;
}

.ar-section-block {
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(0, 234, 255, 0.12),
      transparent 60%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 0, 122, 0.12),
      transparent 60%
    ),
    rgba(7, 13, 28, 0.94);
  border: 1px solid rgba(8, 30, 52, 0.92);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.85);
  height: 100%;
}

.ar-section-head {
  margin-bottom: 14px;
}

.ar-section-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f0f7ff;
}

.ar-section-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(187, 214, 244, 0.8);
}

.ar-field-group {
  margin-bottom: 16px;
}

.ar-field-group:last-child {
  margin-bottom: 0;
}

.ar-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  color: rgba(194, 221, 250, 0.9);
}

.ar-input-wrap {
  position: relative;
}

.ar-input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid rgba(32, 67, 110, 0.95);
  background: radial-gradient(
      circle at 0% 0%,
      rgba(0, 234, 255, 0.1),
      transparent 72%
    ),
    rgba(2, 8, 20, 0.98);
  color: #f3fbff;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, transform 0.1s ease;
  box-shadow: 0 0 0 0 rgba(0, 234, 255, 0);
}

.ar-input::placeholder {
  color: rgba(160, 191, 224, 0.72);
}

.ar-input:focus {
  border-color: #00eaff;
  box-shadow: 0 0 18px rgba(0, 234, 255, 0.45);
  background: radial-gradient(
      circle at 0% 0%,
      rgba(0, 234, 255, 0.16),
      transparent 78%
    ),
    rgba(2, 8, 20, 0.99);
  transform: translateY(-1px);
}

.ar-input.error,
.ar-input.text.error {
  border-color: #ff3b6b;
  box-shadow: 0 0 14px rgba(255, 59, 107, 0.55);
}

.ar-error,
.form-error {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
  color: #ff9ab5;
}

.ar-hint-block {
  margin-top: 10px;
}

.ar-hint-text {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(173, 205, 239, 0.86);
}

.ar-field-captcha {
  margin-top: 2px;
}

.ar-captcha-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.ar-captcha-image img {
  display: block;
  max-width: 130px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 234, 255, 0.5);
  box-shadow: 0 0 18px rgba(0, 234, 255, 0.48);
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.ar-captcha-input-wrap {
  min-width: 0;
}

.ar-help-text {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(160, 192, 225, 0.92);
}

.ar-reset-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(16, 48, 88, 0.94);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
}

.ar-footer-left {
  flex: 1 1 240px;
  min-width: 0;
}

.ar-footer-right {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
}

.ar-footer-note {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(173, 205, 239, 0.86);
}

.ar-submit {
  border-radius: 999px;
  border: none;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  background: linear-gradient(135deg, #ffb100, #ff007a);
  color: #020511;
  box-shadow: 0 0 24px rgba(255, 177, 0, 0.8), 0 0 54px rgba(255, 0, 122, 0.7);
  outline: none;
  transition: transform 0.1s ease, box-shadow 0.15s ease, filter 0.15s ease,
    opacity 0.12s ease;
}

.ar-submit:hover {
  box-shadow: 0 0 30px rgba(255, 177, 0, 0.95), 0 0 70px rgba(255, 0, 122, 0.8);
  filter: brightness(1.05);
}

.ar-submit:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 0 18px rgba(255, 177, 0, 0.75), 0 0 42px rgba(255, 0, 122, 0.65);
}

.ar-submit[disabled] {
  opacity: 0.65;
  cursor: default;
  box-shadow: 0 0 14px rgba(255, 177, 0, 0.5), 0 0 30px rgba(255, 0, 122, 0.45);
}

/* Скролл: для ширины > 1024px страницу фиксируем, ниже 1024px разрешаем скролл */

@media (min-width: 1025px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .ar-reset-stage {
    min-height: 100vh;
    padding: 104px 20px 56px;
  }

  .ar-reset-card {
    max-height: calc(100vh - 150px);
  }
}

/* Адаптив */

@media (max-width: 1024px) {
  html,
  body {
    height: auto;
    overflow: auto;
  }

  .ar-reset-stage {
    padding: 8px 14px 40px;
    scale: 0.95;
  }

  .ar-reset-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ar-reset-meta {
    align-items: flex-start;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .ar-reset-stage {
    scale: unset;
  }
  .ar-reset-card {
    border-radius: 18px;
    padding: 20px 14px 18px;
  }

  .ar-reset-header {
    flex-direction: column;
    gap: 10px;
  }

  .ar-reset-title {
    font-size: 20px;
  }

  .ar-section-block {
    padding: 14px 12px 12px;
  }

  .ar-captcha-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
  }

  .ar-captcha-image img {
    max-width: 160px;
  }

  .ar-footer-right {
    width: 100%;
    justify-content: stretch;
  }

  .ar-submit {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .ar-reset-stage {
    padding: 80px 10px 32px;
  }

  .ar-reset-title {
    font-size: 18px;
  }

  .ar-section-title {
    font-size: 14px;
  }

  .ar-section-note {
    font-size: 11px;
  }

  .ar-footer-note {
    font-size: 10px;
  }
}

@media (min-width: 1440px) {
  .ar-reset-shell {
    max-width: 1040px;
  }

  .ar-reset-title {
    font-size: 26px;
  }

  .ar-section-title {
    font-size: 16px;
  }
}

@media (min-width: 1920px) {
  .ar-reset-shell {
    max-width: 1120px;
  }
}
.ar-slides {
  position: relative;
}
.slide {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.38s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.28s ease,
    visibility 0.28s;
}
.slide-1 {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.slide-2 {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  pointer-events: none;
}
.slide.show {
  opacity: 1 !important;
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.ar-step-badge {
  cursor: default;
}
