/* ==========================================================================
   EarnZyada - Dedicated Content & Support Pages Stylesheet
   (Help Center, Contact Us, Terms & Conditions, Privacy Policy)
   ========================================================================== */

/* Page Hero Banner */
.page-hero-section {
  padding: 140px 0 60px;
  background: radial-gradient(100% 80% at 50% 0%, rgba(0, 168, 107, 0.08) 0%, rgba(255, 255, 255, 0) 100%), #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.page-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 168, 107, 0.1);
  border: 1px solid rgba(0, 168, 107, 0.25);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #008755;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  line-height: 1.15;
}

.page-hero-title .highlight {
  color: #00a86b;
  position: relative;
}

.page-hero-desc {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Breadcrumb Navigation */
.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 20px;
}

.page-breadcrumb a {
  color: #00a86b;
  text-decoration: none;
  font-weight: 600;
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}

/* Main Content Container */
.page-content-wrap {
  padding: 70px 0 100px;
  background: #f8fafc;
}

/* Legal & Text Content Cards */
.legal-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 50px 48px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.75;
  color: #334155;
}

.legal-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin: 24px 0 10px;
}

.legal-card p {
  margin: 0 0 16px;
  font-size: 0.98rem;
}

.legal-card ul, .legal-card ol {
  margin: 0 0 20px 24px;
  padding: 0;
}

.legal-card li {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.legal-notice-box {
  background: rgba(0, 168, 107, 0.06);
  border-left: 4px solid #00a86b;
  padding: 16px 20px;
  border-radius: 0 14px 14px 0;
  margin: 24px 0;
  font-size: 0.92rem;
  color: #065f46;
}

.legal-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}

/* Help Center Category Cards */
.help-grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.help-topic-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 26px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  text-decoration: none;
  display: block;
}

.help-topic-card:hover {
  transform: translateY(-4px);
  border-color: #00a86b;
  box-shadow: 0 12px 30px rgba(0, 168, 107, 0.1);
}

.help-topic-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 168, 107, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.help-topic-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.help-topic-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Accordion FAQ Styling */
.accordion-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.accordion-item.active {
  border-color: #00a86b;
  box-shadow: 0 4px 20px rgba(0, 168, 107, 0.08);
}

.accordion-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  transition: color 0.2s ease;
}

.accordion-header:hover {
  color: #00a86b;
}

.accordion-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
  background: #00a86b;
  color: #ffffff;
}

.accordion-body {
  padding: 0 24px 22px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
}

.accordion-item.active .accordion-body {
  display: block;
}

/* Contact Us Grid & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
}

.contact-info-card {
  background: #092c24;
  color: #ffffff;
  border-radius: 28px;
  padding: 44px 36px;
  box-shadow: 0 20px 50px rgba(9, 44, 36, 0.2);
}

.contact-info-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.contact-info-sub {
  color: #a7f3d0;
  font-size: 0.95rem;
  margin: 0 0 36px;
  line-height: 1.5;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.contact-channel-item:hover {
  transform: translateX(4px);
}

.contact-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-channel-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.contact-channel-val {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.contact-form-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 44px 40px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.form-field-group {
  margin-bottom: 20px;
}

.form-field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.form-field-input, .form-field-select, .form-field-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  background: #ffffff;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.form-field-input:focus, .form-field-select:focus, .form-field-textarea:focus {
  outline: none;
  border-color: #00a86b;
  box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.15);
}

.form-field-textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-contact-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #00a86b 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 168, 107, 0.35);
  transition: all 0.2s ease;
}

.btn-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 168, 107, 0.45);
}

.contact-success-msg {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

/* Responsive */
@media (max-width: 860px) {
  .page-hero-section {
    padding: 120px 0 40px;
  }
  .legal-card {
    padding: 32px 24px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card, .contact-form-card {
    padding: 32px 24px;
  }
}
