/* ===============================
   Support Page Styles (Manforce)
   =============================== */

/* ---- Theme tokens ---- */
:root {
  --bg1: #e3f2fd;         /* light blue */
  --bg2: #bbdefb;         /* lighter blue */
  --surface: #ffffff;     /* card surface */
  --text: #0f172a;        /* slate-900 */
  --muted: #475569;       /* slate-600 */
  --ring: rgba(2, 136, 209, 0.08);
  --primary: #0288d1;     /* matching documentation blue */
  --primary-hover: #1a237e; /* darker navy blue */
  --accent: #4fc3f7;      /* light blue accent */

  --radius-lg: 20px;
  --radius-md: 12px;

  --shadow-1: 0 8px 28px var(--ring);
  --shadow-2: 0 14px 40px var(--ring);
}

/* Optional automatic dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg1: #0b1220;
    --bg2: #0b1220;
    --surface: #0f172a;
    --text: #e5e7eb;
    --muted: #94a3b8;
    --ring: rgba(0, 0, 0, 0.35);
    --primary: #4fc3f7;
    --primary-hover: #0288d1;
    --accent: #81d4fa;
  }
}

/* ---- Page container ---- */
.support-container.email-only {
  background: linear-gradient(135deg, #1a237e 0%, #0288d1 50%, #4fc3f7 100%);
  padding: clamp(24px, 4vw, 48px) 16px;
  min-height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

/* ---- Hero ---- */
.support-hero {
  max-width: 880px;
  margin: 0 auto 16px;
  text-align: center;
}
.support-hero h1 {
  color: #ffffff;
  margin: 0 0 6px;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.support-hero p {
  color: #ffffff;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ---- Card grid ---- */
.support-grid {
  max-width: 880px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: 1fr; /* Single card; change to repeat(2,1fr) if you add more */
}

/* ---- Card ---- */
.support-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: clamp(18px, 2.5vw, 24px);
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid rgba(2, 136, 209, 0.1);
}
.support-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: rgba(2, 136, 209, 0.2);
}
.support-card__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.15), rgba(79, 195, 247, 0.15));
  font-size: 1.45rem;
  color: var(--primary);
}
.support-card__title {
  margin: 6px 0 4px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}
.support-card__text {
  color: var(--muted);
  margin: 0 0 14px;
}

/* ---- Buttons / Links ---- */
.support-button,
.email-link {
  display: inline-block;
  background: linear-gradient(135deg, #0288d1 0%, #4fc3f7 100%);
  color: #fff !important;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: background .18s ease, transform .04s ease, box-shadow .18s ease;
  box-shadow: 0 4px 12px rgba(2, 136, 209, 0.3);
}
.support-button:hover,
.email-link:hover { 
  background: linear-gradient(135deg, #1a237e 0%, #0288d1 100%);
  box-shadow: 0 6px 16px rgba(2, 136, 209, 0.4);
}
.support-button:active,
.email-link:active { transform: translateY(1px); }
.support-button:focus-visible,
.email-link:focus-visible {
  outline: 3px solid rgba(2, 136, 209, 0.35);
  outline-offset: 2px;
  border-radius: 12px;
}

/* Text-style email link variant (if you prefer link instead of button) */
a.email-link.text {
  background: transparent;
  color: var(--primary) !important;
  padding: 0;
  border-radius: 0;
  font-weight: 500;
  box-shadow: none;
}
a.email-link.text:hover {
  text-decoration: underline;
  background: transparent;
  color: var(--primary-hover) !important;
}

/* ---- Meta (hours, policy) ---- */
.support-meta {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 10px 14px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--muted);
  font-size: .95rem;
}

/* ---- Fine note ---- */
.support-note {
  max-width: 880px;
  margin: 10px auto 0;
  text-align: center;
  color: #ffffff;
  font-size: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.15);
  padding: 12px 20px;
  border-radius: 8px;
  border-left: 3px solid #4fc3f7;
}

/* ---- FAQ ---- */
.faq-section {
  max-width: 880px;
  margin: 24px auto 0;
}
.faq-section h2 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.faq-container {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  padding: 10px 14px;
  border: 1px solid rgba(2, 136, 209, 0.1);
  transition: border-color .18s ease;
}
.faq-item:hover {
  border-color: rgba(2, 136, 209, 0.2);
}
.faq-item > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding-right: 20px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  
  content: "›";
  position: absolute;
  right: 4px; top: 0;
  transform: rotate(90deg);
  transition: transform .18s ease;
  color: var(--primary);
}
.faq-item[open] > summary::after { transform: rotate(-90deg); }
.faq-item p {
  margin: 8px 0 2px;
  color: var(--muted);
}

/* ---- Accessibility / Motion ---- */
@media (prefers-reduced-motion: reduce) {
  .support-card,
  .support-button,
  .email-link,
  .faq-item > summary::after {
    transition: none !important;
  }
}

/* ---- Small screens tweaks ---- */
@media (max-width: 420px) {
  .support-card__text { font-size: .98rem; }
  .support-button { width: 100%; }
}

/* Inline email link (for FAQ or text usage) */
.email-inline {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.email-inline:hover {
  text-decoration: underline;
  color: var(--primary-hover);
}