/* partner-wizard.css - Премиальный живой дизайн партнёрской страницы GLUBINA */

/* Фоновая атмосфера страницы */
.partner-landing-wrap {
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(circle at 50% 0%, rgba(0, 180, 255, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(0, 255, 157, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 15% 65%, rgba(0, 113, 227, 0.08) 0%, transparent 50%),
    var(--bg-void, #040810);
}

.partner-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 180, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 1;
}

.partner-content-layer {
  position: relative;
  z-index: 2;
}

/* Hero блок */
.partner-hero {
  padding: 84px 0 60px;
  text-align: center;
}

.partner-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--accent-bright, #00d4ff);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.partner-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00ff9d;
  box-shadow: 0 0 10px #00ff9d;
  animation: partnerPulse 2s infinite;
}

@keyframes partnerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.partner-hero-title {
  font-family: var(--font-display, "Russo One", sans-serif);
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.18;
  color: #ffffff;
  margin: 0 auto 24px;
  max-width: 960px;
  text-align: center;
}

.partner-hero-title .title-primary {
  display: block;
  background: linear-gradient(180deg, #ffffff 40%, #c4e0f8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.partner-hero-title .title-accent {
  display: inline-block;
  background: linear-gradient(135deg, #00d4ff 0%, #00ff9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.partner-hero-desc {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-secondary, #8ab4d4);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.partner-metrics-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.partner-metric-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(13, 30, 53, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 180, 255, 0.22);
  border-radius: 50px;
  font-size: 14px;
  color: var(--text-secondary, #8ab4d4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.partner-metric-val {
  font-family: var(--font-mono, monospace);
  font-size: 18px;
  font-weight: 800;
  color: #00ff9d;
}

.partner-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sections */
.partner-section {
  padding: 80px 0;
  position: relative;
}

.partner-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.partner-section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: #00d4ff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.partner-section-title {
  font-family: var(--font-display, "Russo One", sans-serif);
  font-size: clamp(24px, 3vw, 36px);
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.partner-section-desc {
  font-size: 16px;
  color: var(--text-secondary, #8ab4d4);
  line-height: 1.6;
}

/* Benefits Grid */
.partner-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.partner-live-card {
  background: linear-gradient(180deg, rgba(13, 30, 53, 0.7) 0%, rgba(6, 13, 26, 0.95) 100%);
  border: 1px solid rgba(0, 180, 255, 0.18);
  border-radius: 18px;
  padding: 32px 26px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(0, 220, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.partner-live-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.partner-live-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 212, 255, 0.18);
}

.partner-live-card:hover::before {
  opacity: 1;
}

.partner-card-svg-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 113, 227, 0.25));
  border: 1px solid rgba(0, 212, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #00d4ff;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
}

.partner-live-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.35;
}

.partner-live-card p {
  font-size: 14px;
  color: var(--text-secondary, #8ab4d4);
  line-height: 1.6;
}

/* Two roles section */
.partner-split-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 820px) {
  .partner-split-roles {
    grid-template-columns: 1fr;
  }
}

.partner-role-box {
  background: linear-gradient(180deg, rgba(13, 30, 53, 0.8) 0%, rgba(6, 13, 26, 0.98) 100%);
  border: 1px solid rgba(0, 180, 255, 0.22);
  border-radius: 20px;
  padding: 38px 32px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.partner-role-box.is-highlight {
  border-color: rgba(0, 255, 157, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 35px rgba(0, 255, 157, 0.08);
}

.partner-role-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.partner-role-box .partner-role-tag {
  background: rgba(0, 212, 255, 0.15);
  color: #00d4ff;
  border: 1px solid rgba(0, 212, 255, 0.35);
}

.partner-role-box.is-highlight .partner-role-tag {
  background: rgba(0, 255, 157, 0.15);
  color: #00ff9d;
  border: 1px solid rgba(0, 255, 157, 0.35);
}

.partner-role-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 22px;
}

.partner-list-checked {
  list-style: none;
  padding: 0;
  margin: 0;
}

.partner-list-checked li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-secondary, #8ab4d4);
  line-height: 1.55;
}

.partner-list-checked li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: #00ff9d;
  font-size: 16px;
}

/* 5 Steps timeline */
.partner-timeline-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.partner-timeline-card {
  background: rgba(13, 30, 53, 0.6);
  border: 1px solid rgba(0, 180, 255, 0.18);
  border-radius: 16px;
  padding: 26px 22px;
  transition: border-color 0.25s ease;
}

.partner-timeline-card:hover {
  border-color: #00d4ff;
}

.partner-timeline-num {
  font-family: var(--font-mono, monospace);
  font-size: 24px;
  font-weight: 900;
  color: #00d4ff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-timeline-num::after {
  content: "";
  display: block;
  height: 2px;
  flex: 1;
  background: rgba(0, 212, 255, 0.2);
}

.partner-timeline-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.partner-timeline-card p {
  font-size: 13px;
  color: var(--text-secondary, #8ab4d4);
  line-height: 1.5;
}

/* WIZARD FORM CARD */
.partner-wizard-card {
  max-width: 740px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(13, 30, 53, 0.85) 0%, rgba(6, 13, 26, 0.98) 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 48px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 45px rgba(0, 180, 255, 0.08);
  position: relative;
  overflow: hidden;
}

/* Progress bar */
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
  position: relative;
}

.wizard-progress-track {
  position: absolute;
  top: 18px;
  left: 36px;
  right: 36px;
  height: 3px;
  background: rgba(0, 140, 255, 0.12);
  z-index: 1;
}

.wizard-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0071e3, #00d4ff);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
  transition: width 0.35s ease;
}

.wizard-step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.wizard-step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0d1e35;
  border: 2px solid rgba(0, 180, 255, 0.3);
  color: #4a7090;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.wizard-step-node.is-active .wizard-step-circle {
  background: #0071e3;
  border-color: #00d4ff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.wizard-step-node.is-completed .wizard-step-circle {
  background: #00ff9d;
  border-color: #00ff9d;
  color: #040810;
}

.wizard-step-label {
  font-size: 12px;
  font-weight: 600;
  color: #4a7090;
  transition: color 0.3s ease;
}

.wizard-step-node.is-active .wizard-step-label {
  color: #e8f4ff;
}

/* Steps Content */
.wizard-step-pane {
  display: none;
  animation: wizardFade 0.3s ease;
}

.wizard-step-pane.is-active {
  display: block;
}

.wizard-step-title {
  font-size: 21px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.wizard-step-desc {
  font-size: 14px;
  color: #8ab4d4;
  margin-bottom: 26px;
  line-height: 1.5;
}

/* Form Input & Inline Validation */
.wizard-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
  position: relative;
}

.wizard-field-group label {
  font-size: 13px;
  font-weight: 600;
  color: #8ab4d4;
}

.wizard-field-group .req {
  color: #00d4ff;
}

.wizard-input,
.wizard-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: #e8f4ff;
  background: rgba(13, 30, 53, 0.7);
  border: 1px solid rgba(0, 180, 255, 0.22);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.wizard-input:focus,
.wizard-textarea:focus {
  border-color: #00d4ff;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

/* Ошибки валидации без алерта */
.wizard-input.is-invalid,
.wizard-textarea.is-invalid {
  border-color: #ff3355 !important;
  background: rgba(255, 51, 85, 0.06) !important;
  box-shadow: 0 0 0 3px rgba(255, 51, 85, 0.2) !important;
}

.wizard-field-error {
  display: none;
  font-size: 12px;
  font-weight: 600;
  color: #ff6b81;
  margin-top: 4px;
  animation: partnerFadeIn 0.2s ease;
}

.wizard-form-alert {
  display: none;
  padding: 12px 16px;
  margin-bottom: 20px;
  background: rgba(255, 51, 85, 0.12);
  border: 1px solid rgba(255, 51, 85, 0.35);
  border-radius: 10px;
  color: #ff7b90;
  font-size: 14px;
  font-weight: 500;
}

.wizard-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .wizard-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Clickable Chips */
.wizard-chips-title {
  font-size: 13px;
  font-weight: 600;
  color: #8ab4d4;
  margin-bottom: 8px;
}

.wizard-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.wizard-chip {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #8ab4d4;
  background: rgba(13, 30, 53, 0.7);
  border: 1px solid rgba(0, 180, 255, 0.2);
  border-radius: 30px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wizard-chip:hover {
  border-color: #00d4ff;
  color: #ffffff;
}

.wizard-chip.is-selected {
  background: rgba(0, 212, 255, 0.18);
  border-color: #00d4ff;
  color: #00d4ff;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.3);
}

/* Actions */
.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 140, 255, 0.12);
}

.wizard-btn-next,
.wizard-btn-submit {
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #0071e3, #00b4ff);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(0, 180, 255, 0.35);
}

.wizard-btn-next:hover,
.wizard-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.5);
}

.wizard-btn-prev,
.wizard-btn-skip {
  background: none;
  border: none;
  color: #4a7090;
  font-size: 14px;
  cursor: pointer;
  padding: 10px 16px;
  transition: color 0.2s ease;
}

.wizard-btn-prev:hover,
.wizard-btn-skip:hover {
  color: #8ab4d4;
}

/* Success Screen */
.wizard-success-pane {
  display: none;
  text-align: center;
  animation: wizardFade 0.4s ease;
}

.wizard-success-pane.is-active {
  display: block;
}

.wizard-success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  background: rgba(0, 255, 157, 0.15);
  border: 2px solid #00ff9d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #00ff9d;
  box-shadow: 0 0 28px rgba(0, 255, 157, 0.35);
}

.wizard-success-title {
  font-family: var(--font-display, "Russo One", sans-serif);
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.wizard-success-desc {
  font-size: 15px;
  color: #8ab4d4;
  max-width: 520px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.wizard-result-box {
  background: rgba(13, 30, 53, 0.7);
  border: 1px solid rgba(0, 180, 255, 0.25);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 24px;
  text-align: left;
}

.wizard-result-row {
  margin-bottom: 16px;
}

.wizard-result-row:last-child {
  margin-bottom: 0;
}

.wizard-result-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4a7090;
  margin-bottom: 8px;
}

.wizard-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 800;
  color: #00ff9d;
  font-family: var(--font-mono, monospace);
  background: rgba(0, 255, 157, 0.12);
  padding: 6px 18px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 157, 0.3);
}

.wizard-copy-btn {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-copy-btn:hover {
  background: #00d4ff;
  color: #040810;
}

.wizard-link-input-wrap {
  display: flex;
  gap: 10px;
}

.wizard-link-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
  background: rgba(6, 13, 26, 0.8);
  border: 1px solid rgba(0, 180, 255, 0.2);
  border-radius: 8px;
  color: #e8f4ff;
  font-family: var(--font-mono, monospace);
}

.wizard-qr-card {
  max-width: 380px;
  margin: 32px auto 20px;
  background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.2), transparent 70%),
              linear-gradient(180deg, rgba(10, 24, 48, 0.98), rgba(4, 10, 22, 0.99));
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 32px rgba(0, 212, 255, 0.2);
  text-align: center;
  box-sizing: border-box;
}

.wizard-qr-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.35);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent-bright, #00d4ff);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.wizard-qr-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 8px #00d4ff;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.wizard-qr-frame {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  background: #040b18;
  border-radius: 18px;
  border: 1px solid rgba(0, 212, 255, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 212, 255, 0.25);
}

#partner-qrcode-canvas {
  display: inline-block;
  line-height: 0;
}

.wizard-qr-code-label {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-secondary, #94a3b8);
}

.wizard-qr-code-label strong {
  color: #00ff9d;
  font-family: var(--font-mono, monospace);
  font-size: 18px;
  letter-spacing: 0.08em;
  margin-left: 6px;
}

.wizard-qr-hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
  line-height: 1.45;
}

.wizard-qr-actions {
  margin-top: 18px;
}

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

@keyframes partnerFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
