/* ── Demandium Service Page Custom Styling ── */

/* Hero Section */
.demand-hero {
  padding: 140px 0 80px;
  background: radial-gradient(circle at 80% 20%, rgba(16,185,129,0.06) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(222,70,70,0.04) 0%, transparent 50%);
}
.demand-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 52px;
  align-items: center;
}
.demand-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #f0fdf4;
  color: #10b981;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(16,185,129,0.15);
}
.demand-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #0f1117;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -1px;
}
.demand-hero-sub {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin: 0 0 32px;
}

/* Hero UI Showcase */
.demand-visual-container {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demand-screen-mock {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  transition: transform 0.3s ease;
}
.demand-screen-mock:hover {
  transform: translateY(-8px) scale(1.02);
  z-index: 10;
}
.mock-admin {
  width: 280px;
  height: 180px;
  left: 0;
  top: 40px;
  z-index: 2;
  background: #0f172a; /* Dark dashboard mockup representation */
  padding: 12px;
  box-sizing: border-box;
}
.mock-customer {
  width: 140px;
  height: 280px;
  right: 60px;
  bottom: 20px;
  z-index: 4;
}
.mock-provider {
  width: 130px;
  height: 260px;
  right: 180px;
  top: 80px;
  z-index: 3;
}

/* Modules Grid */
.demand-section {
  padding: 80px 0;
}
.demand-section-dark {
  background: #09090b;
  color: #fff;
}
.demand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.demand-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.demand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.05);
}
.demand-card-dark {
  background: #18181b;
  border-color: #27272a;
}
.demand-card-dark:hover {
  border-color: rgba(16,185,129,0.3);
  box-shadow: 0 16px 36px rgba(16,185,129,0.06);
}
.demand-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0fdf4;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.demand-card-dark .demand-icon-box {
  background: rgba(16,185,129,0.1);
  color: #34d399;
}
.demand-card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}
.demand-card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}
.demand-card-dark .demand-card-desc {
  color: #a1a1aa;
}

/* Checklist section */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.check-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e6fdf0;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-text-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f1117;
  margin: 0 0 4px;
}
.check-text-desc {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* FAQ Accordion */
.demand-faq-container {
  max-width: 800px;
  margin: 48px auto 0;
}
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 24px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: #0f1117;
  text-align: left;
  cursor: pointer;
  padding: 0;
}
.faq-question:hover {
  color: #de4646;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 14px;
}
.faq-arrow {
  transition: transform 0.3s;
}
.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .demand-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .demand-visual-container {
    max-width: 500px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .demand-hero-title {
    font-size: 36px;
  }
  .checklist-grid {
    grid-template-columns: 1fr;
  }
  .mock-admin {
    width: 220px;
    height: 140px;
  }
  .mock-customer {
    width: 110px;
    height: 220px;
    right: 20px;
  }
  .mock-provider {
    width: 100px;
    height: 200px;
    right: 120px;
  }
}
