/* support.css — премиум-страница поддержки. */

.support-page-body {
  min-height: 100vh;
}

.support-main {
  padding: 56px 0 96px;
  position: relative;
  z-index: 1;
}

.support-shell {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* ── Hero ── */
.support-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  padding: 36px 40px;
  border-radius: 24px;
  background:
    linear-gradient(140deg, rgba(214, 158, 78, 0.08) 0%, rgba(15, 22, 38, 0.55) 50%) ,
    rgba(15, 22, 38, 0.65);
  border: 1px solid rgba(214, 158, 78, 0.22);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.support-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(214, 158, 78, 0.18) 0%, transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}

.support-hero__label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(214, 158, 78, 0.85);
  font-weight: 700;
  margin-bottom: 10px;
}

.support-hero__title {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  color: #f7f9fd;
  font-weight: 700;
}

.support-hero__lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(241, 243, 249, 0.78);
  max-width: 640px;
  margin: 0 0 24px;
}

.support-hero__lead strong {
  color: #f7f9fd;
  font-weight: 700;
}

.support-hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.support-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 200px;
}
.support-bullet__icon {
  font-size: 18px;
  flex: 0 0 auto;
  filter: saturate(1.1);
}
.support-bullet strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #f7f9fd;
  letter-spacing: 0.01em;
}
.support-bullet small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: rgba(241, 243, 249, 0.55);
}

.support-hero__stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-stat {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(15, 22, 38, 0.65);
  border: 1px solid rgba(214, 158, 78, 0.18);
  text-decoration: none;
  color: #f1f3f9;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.support-stat small {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(241, 243, 249, 0.45);
  font-weight: 600;
}
.support-stat strong {
  font-size: 28px;
  font-weight: 700;
  color: #d69e4e;
  letter-spacing: -0.01em;
}
.support-stat--link strong {
  font-size: 16px;
  color: #f7f9fd;
}
.support-stat--link:hover {
  border-color: rgba(214, 158, 78, 0.5);
  transform: translateY(-2px);
}

/* ── Grid: form + list ── */
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
}

.support-card {
  position: relative;
  padding: 28px 32px;
  border-radius: 20px;
  background: rgba(15, 22, 38, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.support-card__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.support-card__step {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(214, 158, 78, 0.85) 0%, rgba(166, 121, 52, 0.95) 100%);
  color: #0b1224;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(214, 158, 78, 0.25);
}

.support-card__head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  color: #f7f9fd;
  letter-spacing: -0.005em;
}
.support-card__head p {
  margin: 0;
  font-size: 13px;
  color: rgba(241, 243, 249, 0.6);
  line-height: 1.5;
}

/* ── Lux form ── */
.ticket-form-lux {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.lux-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lux-field__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(241, 243, 249, 0.65);
  font-weight: 700;
}

.lux-field input,
.lux-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #f1f3f9;
  font: 500 15px/1.5 'Inter', system-ui, sans-serif;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.lux-field input::placeholder,
.lux-field textarea::placeholder {
  color: rgba(241, 243, 249, 0.32);
}
.lux-field input:focus,
.lux-field textarea:focus {
  border-color: rgba(214, 158, 78, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(214, 158, 78, 0.12);
}
.lux-field textarea {
  resize: vertical;
  min-height: 130px;
  font-family: inherit;
}

.lux-field__hint {
  font-size: 11px;
  color: rgba(241, 243, 249, 0.4);
  letter-spacing: 0.02em;
}

/* ── Priority selector ── */
.lux-priority {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lux-priority__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lux-priority__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f3f9;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.lux-priority__btn:hover {
  border-color: rgba(214, 158, 78, 0.3);
  background: rgba(255, 255, 255, 0.05);
}
.lux-priority__btn.is-active {
  border-color: rgba(214, 158, 78, 0.7);
  background: rgba(214, 158, 78, 0.1);
  box-shadow: 0 0 0 3px rgba(214, 158, 78, 0.1);
}
.lux-priority__btn strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.lux-priority__btn small {
  font-size: 11px;
  color: rgba(241, 243, 249, 0.5);
}

.lux-priority__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 4px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}
.lux-priority__dot--low { background: #6b7a99; }
.lux-priority__dot--normal { background: #d69e4e; }
.lux-priority__dot--high {
  background: #ff6f6f;
  box-shadow: 0 0 0 3px rgba(255, 111, 111, 0.18);
  animation: luxDotPulse 1.6s ease-in-out infinite;
}
@keyframes luxDotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 111, 111, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(255, 111, 111, 0.06); }
}

/* ── Submit button ── */
.lux-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 12px;
  margin-top: 6px;
  width: 100%;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.lux-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(214, 158, 78, 0.35);
}
.lux-submit:active { transform: translateY(0); }
.lux-submit svg { transition: transform 0.16s ease; }
.lux-submit:hover svg { transform: translateX(4px); }
.lux-submit[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Tickets list ── */
.ticket-list-lux {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 320px;
}

.ticket-list-lux__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  color: rgba(241, 243, 249, 0.55);
}
.ticket-list-lux__empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(214, 158, 78, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.ticket-list-lux__empty strong {
  display: block;
  font-size: 15px;
  color: #f1f3f9;
  margin-bottom: 4px;
}
.ticket-list-lux__empty small {
  font-size: 13px;
  line-height: 1.5;
}

.ticket-card-lux {
  display: block;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  color: #f1f3f9;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.ticket-card-lux:hover {
  border-color: rgba(214, 158, 78, 0.45);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}

.ticket-card-lux__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.ticket-card-lux__top strong {
  font-size: 14px;
  font-weight: 700;
  color: #f7f9fd;
  letter-spacing: 0.005em;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-status-pill {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ticket-status-pill--open {
  background: linear-gradient(135deg, #50c878, #2da25b);
  color: #0b1224;
}
.ticket-status-pill--in_progress {
  background: linear-gradient(135deg, #4a82c8, #2c5a99);
  color: #fff;
}
.ticket-status-pill--closed {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(241, 243, 249, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-card-lux__body {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(241, 243, 249, 0.62);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ticket-card-lux__meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(241, 243, 249, 0.4);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .support-hero {
    grid-template-columns: 1fr;
  }
  .support-hero__stats {
    flex-direction: row;
  }
  .support-stat { flex: 1; }
  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .support-main { padding: 32px 0 60px; }
  .support-hero { padding: 24px 20px; }
  .support-card { padding: 22px 20px; }
  .support-hero__title { font-size: 30px; }
  .support-hero__bullets { gap: 10px; }
  .support-bullet { min-width: 0; flex: 1 1 calc(50% - 10px); }
  .lux-priority__row { grid-template-columns: 1fr; }
  .support-hero__stats { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .lux-priority__dot--high { animation: none; }
  .lux-submit:hover { transform: none; }
  .lux-submit:hover svg { transform: none; }
}
