/* ===== Service Pages — Shared Styles (Dark Green Glassmorphism) ===== */

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  margin-bottom: 20px;
}

.back-link:hover {
  color: var(--accent);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

/* ===== Service Hero ===== */
.service-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 20%, rgba(74,222,128,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.service-hero::after {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,222,128,0.08) 0%, rgba(16,185,129,0.04) 40%, transparent 70%);
  pointer-events: none;
}

.service-hero .container {
  position: relative;
  z-index: 1;
}

.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 100px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  margin-bottom: 24px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}

.service-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: -0.03em;
}

.service-hero h1 .accent-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.service-hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Article Content ===== */
.service-article {
  position: relative;
  z-index: 1;
}

.service-section {
  padding: 80px 0;
}

.service-section:nth-child(even) {
  background: var(--bg-alt);
}

.service-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.service-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.service-section-header h2 .accent-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Content Block (text) ===== */
.content-block {
  max-width: 720px;
  margin: 0 auto;
}

.content-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* ===== Step Cards ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.step-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.step-card:hover {
  border-color: rgba(74,222,128,0.25);
  box-shadow: 0 12px 40px rgba(74,222,128,0.1);
  transform: translateY(-4px);
}

.step-card-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient);
  color: #080c0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

/* ===== Stat Cards ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.stat-card:hover {
  border-color: rgba(74,222,128,0.25);
  box-shadow: 0 12px 40px rgba(74,222,128,0.1);
  transform: translateY(-4px);
}

.stat-card-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
  line-height: 1.2;
}

.stat-card-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Who It's For ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.audience-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.audience-card:hover {
  border-color: rgba(74,222,128,0.25);
  box-shadow: 0 8px 24px rgba(74,222,128,0.08);
}

.audience-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.audience-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== CTA Banner ===== */
.service-cta {
  padding: 80px 0;
  text-align: center;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.service-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.service-cta .container {
  position: relative;
  z-index: 1;
}

.service-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #080c0a;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.service-cta p {
  color: rgba(0,0,0,0.6);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.service-cta .btn {
  background: #080c0a;
  color: var(--accent);
  font-weight: 700;
}

.service-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.faq-item.active {
  border-color: rgba(74,222,128,0.25);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ===== Service Footer ===== */
.service-footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.service-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.service-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-footer-brand img {
  height: 34px;
  width: auto;
}

.service-footer-brand span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.service-footer-links {
  display: flex;
  gap: 20px;
}

.service-footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.service-footer-links a:hover {
  color: var(--accent);
}

/* ===== Service Content Container ===== */
.service-content {
  max-width: 800px;
  margin: 0 auto;
}

.service-content > h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 16px;
}

.service-content > h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.service-content > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Alternating section backgrounds */
.service-section-alt {
  background: var(--bg-alt);
}

/* ===== Service Features Grid ===== */
.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.service-feature {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-feature:hover {
  border-color: rgba(74,222,128,0.25);
  box-shadow: 0 8px 32px rgba(74,222,128,0.08);
  transform: translateY(-3px);
}

.service-feature h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-feature h3::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.service-feature p {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

/* ===== Service Steps (Numbered) ===== */
.service-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 28px;
  position: relative;
}

.service-steps::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(74,222,128,0.1));
  border-radius: 2px;
}

.service-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  position: relative;
}

.service-step:last-child {
  padding-bottom: 0;
}

.service-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #080c0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(74,222,128,0.25);
}

.service-step-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.service-step-body p {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

/* ===== Hero Stats Row ===== */
.service-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
}

.service-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.service-stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Impact Grid ===== */
.service-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.service-impact-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-impact-card:hover {
  border-color: rgba(74,222,128,0.25);
  box-shadow: 0 8px 32px rgba(74,222,128,0.08);
  transform: translateY(-3px);
}

.service-impact-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1.2;
}

.service-impact-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== Audience / Who Is This For ===== */
.service-audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.service-audience-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-audience-item:hover {
  border-color: rgba(74,222,128,0.25);
  box-shadow: 0 8px 24px rgba(74,222,128,0.08);
}

.service-audience-item h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-audience-item h3::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
}

.service-audience-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Service FAQ ===== */
.service-faq {
  margin-top: 24px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .service-hero {
    padding: 110px 0 50px;
  }

  .service-hero h1 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .service-hero-sub {
    font-size: 0.92rem;
  }

  .service-hero-ctas {
    flex-direction: row;
    justify-content: center;
  }

  .service-hero-ctas .btn {
    font-size: 0.78rem;
    padding: 10px 18px;
  }

  .service-section {
    padding: 50px 0;
  }

  .service-content > h2 {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .service-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-feature {
    padding: 18px;
  }

  .service-steps::before {
    left: 18px;
  }

  .service-step {
    gap: 14px;
    padding: 18px 0;
  }

  .service-step-num {
    width: 36px;
    height: 36px;
    font-size: 0.82rem;
  }

  .service-step-body h3 {
    font-size: 0.9rem;
  }

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

  .service-hero-stats {
    gap: 24px;
    margin-top: 24px;
  }

  .service-stat-value {
    font-size: 1.3rem;
  }

  .service-stat-label {
    font-size: 0.7rem;
  }

  .service-impact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .service-impact-card {
    padding: 20px 16px;
  }

  .service-impact-value {
    font-size: 1.5rem;
  }

  .service-impact-label {
    font-size: 0.75rem;
  }

  .service-audience {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-audience-item {
    padding: 18px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .service-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .service-footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .service-cta {
    padding: 50px 0;
  }

  .service-cta h2 {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
}

@media (max-width: 480px) {
  .service-hero {
    padding: 100px 0 40px;
  }

  .service-hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .service-impact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .service-features {
    gap: 10px;
  }

  .service-feature {
    padding: 16px;
  }
}

/* ===== Light Mode Overrides ===== */
html[data-theme="light"] .service-hero::before {
  background: radial-gradient(ellipse 60% 40% at 50% 20%, rgba(22,163,74,0.04) 0%, transparent 60%);
}

html[data-theme="light"] .service-hero::after {
  background: radial-gradient(circle, rgba(22,163,74,0.05) 0%, rgba(5,150,105,0.02) 40%, transparent 70%);
}

html[data-theme="light"] .service-cta {
  background: var(--gradient);
}

html[data-theme="light"] .service-cta .btn {
  background: #fff;
  color: var(--accent);
}

html[data-theme="light"] .service-cta .btn:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

html[data-theme="light"] .service-footer-brand img {
  filter: invert(1) hue-rotate(180deg);
}
