:root {
  --mfg-primary: #0284c7;
  --mfg-primary-dark: #0f172a;
  --mfg-slate: #334155;
  --mfg-amber: #d97706;
  --mfg-emerald: #059669;
  --mfg-bg: #f8fafc;
  --mfg-border: #e2e8f0;
  --mfg-text-main: #0f172a;
  --mfg-text-muted: #64748b;
}

body {
  background-color: var(--mfg-bg) !important;
  font-family: "Celias", "Inter", system-ui, -apple-system, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.mfg-section-title,
.mfg-hero-title,
.mfg-cta-box h2,
.mfg-cta-box h3 {
  font-family: "Celias", "Inter", system-ui, sans-serif !important;
}

/* Hero Section */
.mfg-hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #0369a1 85%, #0284c7 100%);
  color: #ffffff;
  padding: 4.5rem 1.5rem 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mfg-hero-section::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.mfg-hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
}

.mfg-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.mfg-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
}

.mfg-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: none;
}

.mfg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #bae6fd;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.mfg-hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.mfg-hero-title span {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mfg-hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #e2e8f0;
  font-weight: 300;
  line-height: 1.65;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.mfg-hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mfg-btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.05rem;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mfg-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.45);
  color: #ffffff;
  text-decoration: none;
}

.mfg-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.2s ease;
}

.mfg-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
}

/* Main Container */
.mfg-main-container {
  max-width: 1140px;
  margin: -2.75rem auto 4rem;
  padding: 0 1.25rem;
  position: relative;
  z-index: 10;
}

/* 4-Pillar Grid */
.mfg-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 768px) {
  .mfg-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.mfg-pillar-card {
  background: #ffffff;
  border: 1px solid var(--mfg-border);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mfg-pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
  border-color: #bae6fd;
}

.mfg-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.mfg-pillar-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mfg-text-main);
  margin-bottom: 8px;
}

.mfg-pillar-card p {
  font-size: 0.95rem;
  color: var(--mfg-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Content Card */
.mfg-card {
  background: #ffffff;
  border: 1px solid var(--mfg-border);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.mfg-badge-sky {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 6px;
  background: #e0f2fe;
  color: #0369a1;
  margin-bottom: 10px;
}

.mfg-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--mfg-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.mfg-section-desc {
  font-size: 1.05rem;
  color: var(--mfg-text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* Step by Step Timeline */
.mfg-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .mfg-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .mfg-timeline {
    grid-template-columns: 1fr;
  }
}

.mfg-step-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.mfg-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.mfg-step-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mfg-text-main);
  margin-bottom: 6px;
}

.mfg-step-box p {
  font-size: 0.88rem;
  color: var(--mfg-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Document Types List */
.mfg-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 860px) {
  .mfg-doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .mfg-doc-grid {
    grid-template-columns: 1fr;
  }
}

.mfg-doc-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #1e293b;
  font-size: 0.92rem;
}

/* FAQ Accordion */
.mfg-faq-card {
  border: 1px solid var(--mfg-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

.mfg-faq-header {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--mfg-text-main);
  background: #ffffff;
  user-select: none;
}

.mfg-faq-header:hover {
  background: #f8fafc;
}

.mfg-faq-body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
}

/* Related Tools Cluster Grid */
.mfg-cluster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 860px) {
  .mfg-cluster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mfg-cluster-link-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--mfg-text-main);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.92rem;
}

.mfg-cluster-link-card:hover {
  background: #ffffff;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.1);
  text-decoration: none;
}

/* Bottom CTA */
.mfg-cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #0369a1 85%, #0284c7 100%);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  color: #ffffff;
  margin-top: 3.5rem;
  box-shadow: 0 20px 40px rgba(3, 105, 161, 0.25);
}

.mfg-cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.mfg-cta-box p {
  font-size: 1.1rem;
  color: #bae6fd;
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  font-weight: 300;
}
