/* === Industry Landing Base === */

.md-why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2ff; /* soft light-blue background */
  margin-bottom: 14px;
}

.md-why-icon i {
  font-size: 20px;
  color: #2563eb; /* your blue */
}


.md-industry-landing {
  background: radial-gradient(circle at top, #ffffff 0, #f5f5f9 55%, #eef0f7 100%);
  padding-bottom: 5rem;
}

.md-industry-landing .md-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.md-section-title {
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 2.5rem;
}

/* === Hero === */

.md-hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.md-hero-title {
  font-size: clamp(2.2rem, 4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.md-hero-subtitle {
  margin: 0 auto 2.2rem;
  max-width: 560px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #4b5563;
}

/* Hero form wrapper (shortcode or fallback) */
.md-hero-form {
  max-width: 520px;
  margin: 0 auto;
}

/* fallback simple email form */
.md-hero-email-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.25rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  gap: 0.5rem;
}

.md-hero-email-form input[type="email"] {
  flex: 1 1 auto;
  border: none;
  outline: none;
  background: transparent;
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
}

.md-hero-email-form button {
  border-radius: 999px;
  border: none;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: #2563eb;
  color: #ffffff;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.md-hero-email-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
  background: #1d4ed8;
}

/* On small screens stack input + button */
@media (max-width: 640px) {
  .md-hero-email-form {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    padding: 0.75rem;
  }

  .md-hero-email-form input[type="email"] {
    width: 100%;
    border-radius: 16px;
    background: #f9fafb;
  }

  .md-hero-email-form button {
    width: 100%;
    text-align: center;
  }
}

/* === Why Section (3 cards) === */

.md-why {
  padding: 2rem 0 3.5rem;
}

.md-why-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .md-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .md-why-grid {
    grid-template-columns: 1fr;
  }
}

.md-why-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.6rem 1.7rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.md-why-card h3 {
  margin: 0;
  font-size: 1rem;
}

.md-why-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
}

/* simple icon stub – you can swap to SVGs */
.md-why-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #111827;
}

/* === Mockup Section === */

.md-mockup {
  padding: 0 0 3.5rem;
}

.md-mockup-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

/* Device frame */
.md-mockup-frame {
  width: 100%;
  max-width: 880px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  background: #ffffff;
}

.md-mockup-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Feature bar under the mockup */
.md-mockup-features {
  width: 100%;
  max-width: 880px;
  background: #ffffff;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-top: -50px;
}

.md-mockup-feature {
  padding: 1.1rem 1.5rem;
  text-align: center;
  border-right: 1px solid #f1f5f9;
}

.md-mockup-feature:last-child {
  border-right: none;
}

.md-mockup-feature h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.md-mockup-feature p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #4b5563;
}

/* Stack on smaller screens */
@media (max-width: 768px) {
  .md-mockup-features {
    border-radius: 18px;
    grid-template-columns: 1fr;
  }

  .md-mockup-feature {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }

  .md-mockup-feature:last-child {
    border-bottom: none;
  }
}

/* Generic section + container */
.md-section {
  padding: 80px 20px;
}

.md-container {
  max-width: 1120px;
  margin: 0 auto;
}

.md-section-title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 32px;
  color: #111827;
}

/* HOW IT WORKS */

.md-how-it-works {
  background: #ffffff;
}

.md-steps-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-top: 24px;
}

/* horizontal line behind circles */
.md-steps-track::before {
  content: "";
  position: absolute;
  top: 32px; /* aligns with circle center */
  left: 0;
  right: 0;
  height: 2px;
  background: #2563eb;
  opacity: 0.4;
  z-index: 0;
}

.md-step {
  position: relative;
  text-align: center;
  flex: 1;
}

.md-step-circle {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
}

.md-step-label {
  font-size: 15px;
  color: #111827;
}

/* FAQ GRID */

.md-faq-section {
  background: #f5f6fb;
}

.md-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: flex-start;
}

.md-faq-intro {
  max-width: 420px;
}

.md-faq-subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
}

/* FAQ items / accordions */

.md-faq-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.md-faq-item {
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.md-faq-question {
  width: 100%;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #111827;
}

.md-faq-question:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.md-faq-icon {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

/* answer area */
.md-faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.25s ease, padding-bottom 0.25s ease;
}

.md-faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  margin: 12px 0 16px;
}

/* open state */
.md-faq-item.is-open .md-faq-answer {
  max-height: 300px; /* enough for typical answer */
  padding-bottom: 8px;
}

.md-faq-item.is-open .md-faq-icon {
  transform: rotate(45deg); /* + becomes x */
}

/* Responsive */

@media (max-width: 768px) {
  .md-section {
    padding: 56px 16px;
  }

  .md-section-title {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .md-steps-track {
    flex-direction: column;
    align-items: flex-start;
  }

  .md-steps-track::before {
    display: none; /* hide horizontal line on mobile */
  }

  .md-step {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .md-step-circle {
    margin: 0;
  }

  .md-faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

