/* ========================================
   GET STARTED — MULTI-STEP FORM
   ======================================== */
/* Self-hosted Inter (variable font) — bypasses Yandex/Phoenix Google blocking */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter.woff2') format('woff2-variations'),
       url('/assets/fonts/inter.woff2') format('woff2');
}

body {
  background: #0a0a0f;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}

/* NAV */
.gs-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 14px 36px;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.gs-nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.gs-nav .nav-brand img {
  width: 36px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.4));
}

.gs-nav .nav-brand-text { display: flex; flex-direction: column; }
.gs-nav .nav-brand-name { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.2; }
.gs-nav .nav-brand-tag { font-size: 10px; font-weight: 500; color: rgba(139, 92, 246, 0.7); letter-spacing: 0.08em; text-transform: uppercase; }

/* PROGRESS */
.progress-bar {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 99;
}

.progress-fill {
  height: 100%;
  width: 16.66%;
  background: linear-gradient(90deg, #8b5cf6, #c084fc);
  transition: width 0.5s ease;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

.step-indicators {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 99;
  padding: 10px 0;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}

.step-dot.active {
  background: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

.step-dot.done {
  background: #8b5cf6;
  color: #fff;
  border-color: #8b5cf6;
}

/* CONTAINER */
.gs-container {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 120px 24px 60px;
  min-height: 100vh;
}

/* STEPS */
.gs-step {
  display: none;
  animation: stepIn 0.4s ease-out;
}

.gs-step.active {
  display: block;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.gs-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

.gs-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 36px;
  line-height: 1.5;
}

/* NICHE / CRM GRID */
.niche-grid, .voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.niche-btn {
  padding: 14px 12px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.08);
}

.niche-btn:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.08);
}

.niche-btn.selected {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
  color: #fff;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

/* OPTION BUTTONS (Step 3) */
.option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.option-btn {
  padding: 20px 24px;
  text-align: left;
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.1);
}

.option-btn:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.08);
}

.option-btn.selected {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.12);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.option-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.option-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
}

/* FORM FIELDS */
.gs-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.gs-input {
  padding: 14px 16px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.08);
}

.gs-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.15);
}

.gs-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.gs-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  margin-top: 16px;
  display: block;
}

.gs-textarea {
  padding: 14px 16px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 12px;
  outline: none;
  min-height: 80px;
  resize: vertical;
  width: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.08);
}

.gs-textarea:focus {
  border-color: #8b5cf6;
}

.gs-textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* Validation error states */
.step-error-banner {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 22px;
  line-height: 1.7;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.12);
}
.step-error-banner strong {
  color: #f87171;
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.gs-invalid {
  border-color: rgba(239, 68, 68, 0.55) !important;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.18) !important;
}
.niche-grid.gs-invalid,
.option-list.gs-invalid,
.days-grid.gs-invalid,
.voice-grid.gs-invalid {
  outline: 1px solid rgba(239, 68, 68, 0.5);
  outline-offset: 6px;
  border-radius: 12px;
}

.hours-row {
  display: flex;
  gap: 12px;
}

.gs-input-half {
  flex: 1;
}

/* DAYS GRID */
.days-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.day-btn {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.day-btn.selected {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.2);
  color: #fff;
}

/* BUTTONS */
.gs-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gs-next, .gs-back {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gs-next {
  background: #8b5cf6;
  color: #fff;
  border: none;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.gs-next:hover {
  background: #6d28d9;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.gs-back {
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gs-back:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* STEP 6 — REVIEW */
.review-card {
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 20px;
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.22), 0 0 24px rgba(139, 92, 246, 0.12);
}

.review-heading {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.review-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(139, 92, 246, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.review-value {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* INCLUDED */
.included-card {
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 20px;
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.22), 0 0 24px rgba(139, 92, 246, 0.12);
}

.included-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.included-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 10px;
}

.included-item .check {
  color: #8b5cf6;
  font-weight: 700;
  font-size: 16px;
}

/* PAYMENT */
.payment-card {
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 28px;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}

.payment-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.payment-amount {
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
}

.payment-note {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.payment-reassure {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 16px;
  line-height: 1.5;
}

/* CONFIRM */
.confirm-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
}

.confirm-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #8b5cf6;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* PAY BUTTON */
.gs-pay {
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: #fff;
  background: #8b5cf6;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.gs-pay:hover:not(:disabled) {
  background: #6d28d9;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
}

.gs-pay:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gs-pay:not(:disabled) {
  animation: payPulse 2s ease-in-out infinite;
}

@keyframes payPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }
  50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.6); }
}

/* ========================================
   MOBILE
   ======================================== */
@media (max-width: 768px) {
  .gs-nav {
    padding: 12px 16px;
  }

  .gs-container {
    padding: 110px 16px 40px;
  }

  .gs-title {
    font-size: 26px;
  }

  .niche-grid, .voice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .payment-amount {
    font-size: 44px;
  }

  .gs-buttons {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .gs-next, .gs-back, .gs-pay {
    width: 100%;
    text-align: center;
  }

  .step-indicators {
    gap: 8px;
  }

  .step-dot {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .days-grid {
    gap: 6px;
  }

  .day-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}
