/* ═══════════════════════════════════════════════
   Support Page — Page-Specific Styles
   ═══════════════════════════════════════════════ */

/* Main content area */
main { padding-top: 64px; }

/* Hero section */
.hero {
  text-align: center;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(73,53,181,0.22) 0%, transparent 65%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(239,62,45,0.12) 0%, transparent 65%);
  bottom: 10%;
  right: 10%;
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 1.5rem auto;
  line-height: 1.7;
}

/* Hero eyebrow (support center badge) */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(73,53,181,0.45);
  background: rgba(73,53,181,0.12);
  color: #B0A0FF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* Search bar */
.search-wrapper {
  max-width: 500px;
  margin: 2rem auto 0;
}
.search-bar {
  position: relative;
  display: flex;
  align-items: center;
}
.search-bar input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  background: rgba(244,244,252,0.08);
  border: 1px solid var(--line);
  border-radius: var(--rl);
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.search-bar input::placeholder {
  color: var(--muted);
}
.search-bar input:focus {
  outline: none;
  background: rgba(244,244,252,0.12);
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(73,53,181,0.1);
}
.search-icon {
  position: absolute;
  left: 1rem;
  pointer-events: none;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Browse by topic section */
.browse-section {
  background: var(--ink-2);
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.topic-card {
  position: relative;
  background: var(--ink-2);
  border-radius: var(--rl);
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}
.topic-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--rl);
  padding: 2px;
  background: linear-gradient(135deg, rgba(73,53,181,0.3) 0%, rgba(158,203,227,0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0%, #fff) content-box, linear-gradient(#fff 0%, #fff);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.topic-card:hover {
  transform: translateY(-8px);
  background: var(--ink-3);
}
.topic-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}
.topic-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.topic-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.topic-count {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  display: inline-block;
  background: rgba(73,53,181,0.15);
  padding: 0.4rem 0.8rem;
  border-radius: var(--r);
}

/* FAQ section */
.faq-section {
  background: var(--ink);
}
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.faq-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.faq-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.faq-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}
details {
  cursor: pointer;
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  user-select: none;
  transition: all 0.3s ease;
}
summary:hover {
  color: var(--blue);
}
.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--purple);
  transition: transform 0.3s ease;
}
details[open] .faq-toggle {
  transform: rotate(180deg);
}
.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--line);
}

/* Contact section */
.contact-section {
  background: var(--ink-2);
}
.contact-section h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}
.contact-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-card {
  position: relative;
  background: var(--ink-2);
  border-radius: var(--rl);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
}
.contact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--rl);
  padding: 2px;
  background: linear-gradient(135deg, rgba(73,53,181,0.3) 0%, rgba(158,203,227,0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0%, #fff) content-box, linear-gradient(#fff 0%, #fff);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.contact-card:hover {
  transform: translateY(-8px);
  background: var(--ink-3);
}
.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.contact-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.contact-link {
  display: inline-block;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.contact-link:hover {
  color: var(--white);
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 930px) {
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .topic-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  section { padding: 5rem 1.25rem; }
}
