* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 10% 10%, #21345f 0%, #0f1729 45%, #070b16 100%);
  color: #e6ecff;
}

.container {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 460px;
  background: rgba(15, 23, 41, 0.85);
  border: 1px solid rgba(110, 137, 207, 0.35);
  backdrop-filter: blur(6px);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 22px 40px rgba(3, 8, 20, 0.45);
}

.brand-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(112, 143, 224, 0.35);
}

h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

.subtitle {
  margin: 0 0 20px;
  color: #aab9e8;
}

.form {
  display: grid;
  gap: 10px;
}

label {
  font-size: 14px;
  color: #cfdbff;
}

input {
  width: 100%;
  border: 1px solid #3d4f7c;
  background: #101b33;
  color: #ecf2ff;
  border-radius: 14px;
  padding: 12px;
  font-size: 16px;
}

input:focus {
  outline: 2px solid #a9c1ff;
  border-color: #6f97ff;
}

button {
  margin-top: 8px;
  border: 0;
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #3468ff;
  cursor: pointer;
}

button:disabled {
  background: #8da6eb;
  cursor: not-allowed;
}

.consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #c3d0f8;
}

.checkbox-label input {
  width: 16px;
  height: 16px;
}

.inline-link {
  color: #90adff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
}

.result {
  margin-top: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.step-card {
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(238, 255, 246, 0.95), rgba(221, 255, 236, 0.92));
  border: 1px solid rgba(150, 240, 190, 0.75);
  color: #173a2a;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 8px 20px rgba(63, 187, 121, 0.18);
}

.step-card h3 {
  margin: 4px 0 8px;
  color: #0f2e22;
}

.step-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0b5c35;
  background: rgba(124, 233, 173, 0.36);
  border-radius: 999px;
  padding: 4px 10px;
}

.step-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  min-height: 42px;
  padding: 8px 10px;
  font-weight: 600;
  text-align: center;
  color: #0f2e22;
  background: rgba(173, 255, 214, 0.75);
  border: 1px solid rgba(120, 220, 171, 0.8);
}

.step-link {
  color: #156e44;
  font-weight: 600;
}

.step-note {
  margin-top: 8px;
  font-weight: 700;
}

.step-card-danger {
  background: linear-gradient(135deg, rgba(255, 233, 233, 0.96), rgba(255, 215, 215, 0.94));
  border-color: rgba(240, 125, 125, 0.78);
  color: #581515;
  box-shadow: 0 8px 20px rgba(185, 46, 46, 0.2);
}

.step-label-danger {
  color: #7e1818;
  background: rgba(255, 167, 167, 0.5);
}

.telegram-btn {
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
  border-radius: 14px;
  padding: 10px 12px;
  color: #fff;
  font-weight: 700;
  background: #e23333;
}

.danger-note {
  margin-top: 10px;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 21, 0.75);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 560px;
  border-radius: 22px;
  border: 1px solid rgba(112, 143, 224, 0.4);
  background: #0f1b35;
  padding: 22px;
  color: #e7efff;
}

.modal-card h2 {
  margin: 0 0 12px;
}

.modal-card ul {
  margin: 0 0 18px;
  padding-left: 20px;
  line-height: 1.5;
}
