/* ═══════════════════════════════════════════════════════════════
   GATO DYNAMICS — SUPPORT & FAQ HUB STYLES
   Design: Spatial Dark Glassmorphism · Cyberpunk Precision
   ═══════════════════════════════════════════════════════════════ */

/* ─── SUPPORT PAGE WRAPPER & HERO ─── */
.support-hero {
  padding: 140px 0 50px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.support-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.support-title {
  font-family: var(--font, 'Outfit', sans-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.support-title .highlight-cyan {
  background: linear-gradient(135deg, #00e5ff 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.support-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary, #94a3b8);
  max-width: 760px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

/* ─── SEARCH BAR CONTAINER ─── */
.faq-search-wrapper {
  max-width: 680px;
  margin: 0 auto 40px auto;
  position: relative;
}

.faq-search-box {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.75);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  border-radius: 14px;
  padding: 6px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.faq-search-box:focus-within {
  border-color: #00e5ff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 229, 255, 0.25);
  transform: translateY(-2px);
}

.faq-search-icon {
  font-size: 1.25rem;
  color: #38bdf8;
  margin-right: 12px;
}

.faq-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #f8fafc;
  font-family: inherit;
  font-size: 1.05rem;
  padding: 10px 0;
}

.faq-search-input::placeholder {
  color: #64748b;
}

.faq-search-clear {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.faq-search-clear:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.faq-search-count {
  font-size: 0.88rem;
  color: #38bdf8;
  margin-top: 10px;
  font-weight: 600;
  min-height: 22px;
}

/* ─── QUICK CONTACT CARDS ─── */
.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.quick-contact-card {
  background: rgba(17, 24, 39, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.quick-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quick-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(56, 189, 248, 0.12);
}

.quick-contact-card:hover::before {
  opacity: 1;
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.icon-email { background: rgba(56, 189, 248, 0.12); color: #38bdf8; }
.icon-phone { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.icon-whatsapp { background: rgba(37, 211, 102, 0.15); color: #25d366; }
.icon-stripe { background: rgba(99, 102, 241, 0.15); color: #818cf8; }

.contact-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.contact-card-desc {
  font-size: 0.86rem;
  color: #94a3b8;
  margin-bottom: 16px;
  line-height: 1.45;
}

.contact-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-card-blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.btn-card-blue:hover {
  background: #38bdf8;
  color: #06080d;
}

.btn-card-green {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.btn-card-green:hover {
  background: #22c55e;
  color: #06080d;
}

.btn-card-wa {
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.35);
}
.btn-card-wa:hover {
  background: #25d366;
  color: #06080d;
}

.btn-card-stripe {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.btn-card-stripe:hover {
  background: #ef4444;
  color: #fff;
}

/* ─── CATEGORY FILTER PILLS ─── */
.faq-filter-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.faq-filter-pill {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.faq-filter-pill:hover {
  color: #f8fafc;
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(30, 41, 59, 0.8);
}

.faq-filter-pill.active {
  background: #00e5ff;
  color: #06080d;
  border-color: #00e5ff;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
}

/* ─── FAQ ACCORDION CONTAINER ─── */
.faq-accordion-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.faq-item.is-open {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(56, 189, 248, 0.08);
}

.faq-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-header-content {
  flex: 1;
}

.faq-category-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.cat-funktionen { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.cat-abo { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.cat-trouble { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.cat-kuendigung { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.cat-privacy { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.cat-kontakt { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; border: 1px solid rgba(20, 184, 166, 0.3); }

.faq-question-text {
  font-size: 1.12rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.35;
  margin: 0;
  transition: color 0.2s ease;
}

.faq-item.is-open .faq-question-text {
  color: #38bdf8;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 4px;
}

.faq-item.is-open .faq-toggle-icon {
  transform: rotate(180deg);
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-body-inner {
  padding: 0 24px 22px 24px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
  padding-top: 16px;
}

.faq-body-inner p {
  margin-bottom: 12px;
}

.faq-body-inner p:last-child {
  margin-bottom: 0;
}

.faq-body-inner ul, .faq-body-inner ol {
  margin: 10px 0 14px 22px;
  padding: 0;
}

.faq-body-inner li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.faq-highlight-box {
  background: rgba(56, 189, 248, 0.06);
  border-left: 3px solid #38bdf8;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.faq-warning-box {
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid #ef4444;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 0.92rem;
  color: #fca5a5;
}

.faq-anchor-link {
  color: #64748b;
  font-size: 0.85rem;
  margin-left: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.faq-header:hover .faq-anchor-link {
  opacity: 1;
}

.faq-anchor-link:hover {
  color: #38bdf8;
}

/* ─── NOTFALL BANNER ─── */
.support-emergency-banner {
  max-width: 960px;
  margin: 0 auto 60px auto;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.35);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 15px 35px rgba(239, 68, 68, 0.08);
  backdrop-filter: blur(12px);
}

.emergency-banner-icon {
  font-size: 2.2rem;
  color: #f87171;
  flex-shrink: 0;
}

.emergency-banner-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fca5a5;
  margin-bottom: 4px;
}

.emergency-banner-content p {
  font-size: 0.92rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

.emergency-btn-group {
  margin-left: auto;
  flex-shrink: 0;
}

/* ─── RESPONSIVE ADJUSTMENTS ─── */
@media (max-width: 768px) {
  .support-hero {
    padding: 110px 15px 40px 15px;
  }
  .quick-contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 15px;
  }
  .faq-filter-container {
    gap: 8px;
    padding: 0 15px;
  }
  .faq-filter-pill {
    font-size: 0.82rem;
    padding: 6px 14px;
  }
  .faq-accordion-container {
    padding: 0 15px 60px 15px;
  }
  .faq-header {
    padding: 16px 18px;
  }
  .faq-body-inner {
    padding: 0 18px 18px 18px;
    font-size: 0.92rem;
  }
  .support-emergency-banner {
    flex-direction: column;
    text-align: center;
    margin: 0 15px 50px 15px;
    gap: 14px;
  }
  .emergency-btn-group {
    margin-left: 0;
    width: 100%;
  }
}
