/* ═══════════════════════════════════════════════════════════════
   Support page — builds on style.css (shared tokens, glass, logo,
   buttons, background layers). Only support-specific pieces here.
   ═══════════════════════════════════════════════════════════════ */

/* ── Top bar ─────────────────────────────────────────────────── */
.sup-topbar {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.5rem; padding-bottom: 1.5rem;
}
.sup-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.6);
  border-radius: 9999px; padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.09); background: rgba(255,255,255,0.04);
  transition: color .25s ease, border-color .25s ease;
}
.sup-back:hover { color: #fff; border-color: rgba(127,90,240,0.45); }
.sup-back .ico { color: var(--neon); }

/* ── Hero ────────────────────────────────────────────────────── */
.sup-hero { padding-top: 3rem; padding-bottom: 1rem; text-align: center; }
.sup-hero .badge { color: rgba(255,255,255,0.6); margin: 0 auto; }
.sup-hero h1 {
  margin: 1.5rem 0 0; font-family: var(--font-display); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.0; color: #fff;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
}
.sup-hero-sub {
  margin: 1.5rem auto 0; max-width: 34rem;
  font-size: 1.0625rem; color: rgba(255,255,255,0.6); line-height: 1.7;
}

/* ── Section rhythm + shared section heading ─────────────────── */
.sup-section { padding-top: 3.5rem; padding-bottom: 0; }
.sup-h2 {
  margin: 0.75rem 0 0; font-family: var(--font-display);
  font-size: 1.875rem; font-weight: 600; letter-spacing: -0.02em; color: #fff;
}

/* ── Quick channel cards ─────────────────────────────────────── */
.channel-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
.channel-card {
  position: relative; text-align: left; display: flex; flex-direction: column;
  align-items: flex-start; gap: 0.25rem;
  border-radius: 1.25rem; padding: 1.5rem; color: inherit;
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .35s, background .35s;
}
.channel-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--c, #7F5AF0) 45%, transparent);
  background: color-mix(in srgb, var(--c, #7F5AF0) 7%, rgba(255,255,255,0.045));
}
.channel-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 0.75rem; margin-bottom: 0.75rem;
  color: var(--c, #7F5AF0);
  background: color-mix(in srgb, var(--c, #7F5AF0) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, #7F5AF0) 38%, transparent);
}
.channel-card h3 {
  margin: 0; font-family: var(--font-display); font-size: 1.125rem;
  font-weight: 600; color: #fff; letter-spacing: -0.01em;
}
.channel-card p { margin: 0.15rem 0 0; color: rgba(255,255,255,0.7); font-size: 0.9375rem; }
.channel-card .channel-meta {
  margin-top: 0.85rem; font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,255,255,0.4); letter-spacing: 0.02em;
}

/* ── FAQ accordion ───────────────────────────────────────────── */
.faq { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border-radius: 1rem; overflow: hidden; transition: border-color .3s ease; }
.faq-item.open { border-color: rgba(127,90,240,0.4); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.15rem 1.35rem; background: none; border: none;
  text-align: left; font-family: var(--font-body); font-size: 1.0625rem;
  font-weight: 600; color: #fff;
}
.faq-chevron { color: rgba(255,255,255,0.5); transition: transform .35s cubic-bezier(.22,1,.36,1), color .3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--neon); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.22,1,.36,1);
}
.faq-a p {
  margin: 0; padding: 0 1.35rem 1.3rem; color: rgba(255,255,255,0.6);
  line-height: 1.7; font-size: 0.9375rem;
}

/* ── Inquiry form ────────────────────────────────────────────── */
.form-card { border-radius: 2rem; padding: 2rem; position: relative; overflow: hidden; }
.form-card .blob {
  position: absolute; top: -7rem; right: -4rem;
  width: 16rem; height: 16rem; border-radius: 9999px; filter: blur(52px);
  background: rgba(127,90,240,0.28);
}
.form-inner { position: relative; }
.form-lead { margin: 1rem 0 0; color: rgba(255,255,255,0.55); font-size: 0.9375rem; }

#sup-form { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,0.75);
  letter-spacing: 0.01em;
}
.field label .req { color: #FF6584; }

.field input,
.field textarea,
.field select {
  width: 100%; font-family: var(--font-body); font-size: 0.9375rem; color: #fff;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem; padding: 0.8rem 0.95rem;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.32); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none; border-color: rgba(127,90,240,0.6);
  background: rgba(127,90,240,0.06);
  box-shadow: 0 0 0 3px rgba(127,90,240,0.18);
}
.field input.invalid,
.field textarea.invalid {
  border-color: rgba(255,80,110,0.7);
  box-shadow: 0 0 0 3px rgba(255,80,110,0.14);
}
.field-err {
  font-size: 0.75rem; color: #FF6584; min-height: 0.9rem;
  font-family: var(--font-mono);
}
.field-err:empty { min-height: 0; }

/* custom select chevron */
.select-wrap { position: relative; }
.select-wrap select { padding-right: 2.5rem; cursor: pointer; }
.select-wrap select option { background: #15151A; color: #fff; }
.select-chevron {
  position: absolute; right: 0.95rem; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.5); pointer-events: none;
}

.form-submit { margin-top: 0.5rem; justify-content: center; padding: 0.9rem; }

.form-success {
  margin-top: 0.25rem; display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 0.75rem; padding: 0.8rem 1rem; font-size: 0.875rem;
  color: #7EF0C0; background: rgba(62,230,160,0.1);
  border: 1px solid rgba(62,230,160,0.3);
}
.form-success .ico { color: #3EE6A0; }

/* ── Footer ──────────────────────────────────────────────────── */
.sup-footer { padding-top: 4rem; padding-bottom: 3rem; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (min-width: 640px) {
  .sup-hero { padding-top: 4.5rem; }
  .sup-hero-sub { font-size: 1.125rem; }
  .sup-h2 { font-size: 2.25rem; }
  .form-card { padding: 3rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
}
