
/* =============================================
   Delivery Kart — Support & Help Page Styling
============================================= */

/* ===== HERO ===== */
.support-hero {
  background: linear-gradient(90deg, #f6f3ff, #ece4ff);
  text-align: center;
  padding: 5rem 2rem;
}

.support-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.support-hero h1 {
  color: #432c85;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.support-hero p {
  color: #3a2d60;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, #9d8eff, #a978ff);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(75, 0, 130, 0.2);
}

.btn-secondary {
  background: #fff;
  border: 2px solid #a978ff;
  color: #432c85;
}

.btn-secondary:hover {
  background: #f6f2ff;
}

/* ===== HELP CATEGORIES ===== */
.help-categories {
  text-align: center;
  padding: 4rem 2rem;
  background: #f8f6ff;
}

.help-categories h2 {
  color: #432c85;
  margin-bottom: 2rem;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  max-width: 1000px;
  margin: 0 auto;
}

.help-card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(67, 44, 133, 0.08);
  transition: 0.3s;
}

.help-card:hover {
  transform: translateY(-5px);
}

.help-card i {
  color: #5a35ff;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.help-card h3 {
  color: #432c85;
  margin-bottom: 0.6rem;
}

.help-card p {
  color: #3a2d60;
  font-size: 0.95rem;
}
/* ===== FAQ SECTION (Support Page) ===== */
.faq-section {
  max-width: 800px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.faq-section .faq-eyebrow {
  background: #ede8ff;
}

.faq-section h2 {
  color: #16103a;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

/* each FAQ box */
.faq-list details {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #ede8ff;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-list details:hover {
  box-shadow: 0 6px 20px rgba(108, 71, 232, 0.1);
}

.faq-list details[open] {
  border-color: #c4b5f7;
  box-shadow: 0 8px 24px rgba(108, 71, 232, 0.13);
}

/* summary row */
.faq-list summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1rem 1.2rem;
  list-style: none;
  user-select: none;
  transition: background 0.2s ease;
  position: relative;
}

.faq-list summary:hover { background: #faf8ff; }

.faq-list details[open] summary {
  background: #f5f1ff;
  border-bottom: 1px solid #e4dcff;
}

/* icon box */
.faq-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ede8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c5fe6;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-list details[open] .faq-icon-box {
  background: #6c47e8;
  color: #fff;
}

/* question text */
.faq-list summary > span:not(.faq-icon-box) {
  flex: 1;
  font-size: 0.97rem;
  font-weight: 700;
  color: #16103a;
}

/* chevron toggle via pseudo-element */
.faq-list summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.72rem;
  color: #7c5fe6;
  background: #ede8ff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(180deg);
  background: #6c47e8;
  color: #fff;
}

/* answer body */
.faq-body {
  padding: 0.2rem 1.2rem 1.2rem 4rem;
}

.faq-body p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #5a5380;
  margin: 0;
}

/* hide default marker */
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { display: none; }

/* ===== CTA ===== */
.support-cta {
  background: linear-gradient(90deg, #f3efff, #ebe3ff);
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 14px;
  margin: 5rem auto;
  max-width: 900px;
  box-shadow: 0 6px 18px rgba(90, 53, 255, 0.12);
}

.support-cta h2 {
  color: #432c85;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.support-cta p {
  color: #3a2d60;
  margin-bottom: 1.5rem;
}

.support-cta .btn-primary {
  padding: 13px 26px;
  font-size: 1rem;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */

/* EXTRA SMALL MOBILE (250px - 399px) */
@media (max-width: 399px) {
  .support-hero {
    padding: 2rem 1rem 2.5rem;
  }

  .support-hero h1 {
    font-size: 1.6rem;
  }

  .support-hero p {
    font-size: 0.85rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .help-categories {
    padding: 2rem 1rem;
  }

  .help-categories h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .help-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .help-card {
    padding: 1.2rem 1rem;
  }

  .help-card h3 {
    font-size: 0.95rem;
  }

  .help-card p {
    font-size: 0.8rem;
  }

  .faq-section {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .faq-section h2 {
    font-size: 1.4rem;
  }

  .faq-list summary {
    padding: 0.8rem;
  }

  .faq-list summary > span:not(.faq-icon-box) {
    font-size: 0.85rem;
  }

  .faq-body {
    padding: 0.2rem 0.8rem 1rem 3.2rem;
  }

  .faq-body p {
    font-size: 0.8rem;
  }

  .support-cta {
    padding: 2rem 1rem;
    margin: 2rem auto;
  }

  .support-cta h2 {
    font-size: 1.3rem;
  }

  .support-cta p {
    font-size: 0.85rem;
  }
}

/* SMALL MOBILE (400px - 599px) */
@media (min-width: 400px) and (max-width: 599px) {
  .support-hero {
    padding: 2.5rem 1.2rem 3rem;
  }

  .support-hero h1 {
    font-size: 1.9rem;
  }

  .support-hero p {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 10px 18px;
  }

  .help-categories {
    padding: 2.5rem 1rem;
  }

  .help-categories h2 {
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
  }

  .help-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .help-card {
    padding: 1.4rem 1.2rem;
  }

  .faq-section {
    margin: 2.5rem auto;
    padding: 0 1.2rem;
  }

  .faq-section h2 {
    font-size: 1.5rem;
  }

  .faq-list summary {
    padding: 0.9rem;
  }

  .faq-body {
    padding: 0.2rem 0.9rem 1rem 3.5rem;
  }

  .support-cta {
    padding: 2.5rem 1.2rem;
    margin: 2.5rem auto;
  }

  .support-cta h2 {
    font-size: 1.5rem;
  }
}

/* MEDIUM MOBILE (600px - 799px) */
@media (min-width: 600px) and (max-width: 799px) {
  .support-hero {
    padding: 3.5rem 2rem 4rem;
  }

  .support-hero h1 {
    font-size: 2.1rem;
  }

  .support-hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 85%;
  }

  .help-categories {
    padding: 3.5rem 2rem;
  }

  .help-categories h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  .help-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .faq-section {
    margin: 3rem auto;
    padding: 0 2rem;
  }

  .faq-section h2 {
    font-size: 1.8rem;
  }

  .faq-list summary {
    padding: 1rem 1.2rem;
  }

  .faq-body {
    padding: 0.2rem 1.2rem 1.2rem 4rem;
  }

  .support-cta {
    padding: 3rem 2rem;
    margin: 3rem auto;
  }

  .support-cta h2 {
    font-size: 1.6rem;
  }
}

/* TABLET (800px - 1023px) */
@media (min-width: 800px) and (max-width: 1023px) {
  .support-hero {
    padding: 4rem 2.5rem 4.5rem;
  }

  .support-hero h1 {
    font-size: 2.3rem;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: auto;
  }

  .help-categories {
    padding: 4rem 2.5rem;
  }

  .help-categories h2 {
    font-size: 1.8rem;
  }

  .help-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }

  .faq-section {
    margin: 4rem auto;
    padding: 0 2.5rem;
  }

  .faq-section h2 {
    font-size: 2rem;
  }

  .support-cta {
    padding: 4rem 2.5rem;
    margin: 4rem auto;
  }

  .support-cta h2 {
    font-size: 1.8rem;
  }
}

/* DESKTOP (1024px and above) */
@media (min-width: 1024px) {
  .help-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .hero-buttons {
    flex-direction: row;
    gap: 1rem;
  }
}