/* Industries page — modern overview layout matching industry-overview.html reference */

.mmc-industry-page {
  --g: #7AB53D;
  --gd: #4A7C29;
  --gl: #B8DC78;
  --gll: #D4F0A0;
  --o: #F37121;
  --ol: #FF9445;
  --b: #1A6FD4;
  --bd: #0F4A9C;
  --ink: #0A1206;
  --ink2: #182010;
  --card: #FFFFFF;
  --bg: #F4F8EE;
  --bg2: #EAF2D8;
  --border: #D8EAB8;
  --t1: #3D7A1C;
  --t1bg: #EBF8D4;
  --t1b: #B8DC88;
  --t2: #0F5FA8;
  --t2bg: #E0EEFA;
  --t2b: #90BCEC;
  --t3: #B85800;
  --t3bg: #FFF0E0;
  --t3b: #F0C080;
  --shadow: 0 2px 8px rgba(10,18,6,.07), 0 8px 32px rgba(10,18,6,.08);
  --shadow-lg: 0 8px 40px rgba(10,18,6,.14), 0 2px 10px rgba(10,18,6,.08);

  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
}

.mmc-industry-page h1,
.mmc-industry-page h2,
.mmc-industry-page h3,
.mmc-industry-page h4,
.mmc-industry-page h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--ink);
}

.mmc-industry-page .btn {
  font-family: inherit;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.mmc-industry-page .btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(10,18,6,.16);
}

.mmc-industry-page .btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.mmc-industry-page .btn-primary {
  background: var(--yl);
  color: var(--dk);
  border: 1px solid #113008;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.mmc-industry-page .btn-primary:hover {
  background: var(--ylh);
  transform: translateY(-2px);
}

.mmc-industry-page .btn-lg {
  padding: 15px 26px;
  font-size: 15.5px;
}

/* HERO */
.mmc-industry-page .hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 120px 32px 100px;
  overflow: hidden;
}

.mmc-industry-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(122,181,61,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(122,181,61,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: drift 18s linear infinite;
  opacity: .7;
}

.mmc-industry-page .hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,181,61,.18), transparent 70%);
  top: -200px;
  right: -150px;
  animation: float 9s ease-in-out infinite;
}

.mmc-industry-page .hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.mmc-industry-page .hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.mmc-industry-page .hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,18,6,.55) 0%, rgba(10,18,6,.72) 100%);
  z-index: 1;
}

.mmc-industry-page .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.mmc-industry-page .orb-1 {
  width: 380px;
  height: 380px;
  background: rgba(26,111,212,.16);
  top: 60%;
  left: -100px;
  animation: float 11s ease-in-out infinite;
}

.mmc-industry-page .orb-2 {
  width: 420px;
  height: 420px;
  background: rgba(243,113,33,.12);
  bottom: -180px;
  right: -80px;
  animation: float 13s ease-in-out infinite reverse;
}

@keyframes drift {
  0% { background-position: 0 0; }
  100% { background-position: 44px 44px; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.mmc-industry-page .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.mmc-industry-page .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(122,181,61,.12);
  border: 1px solid rgba(122,181,61,.3);
  color: var(--gl);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}

.mmc-industry-page .pill .pd {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g);
  box-shadow: 0 0 0 0 rgba(122,181,61,.6);
  animation: pd 1.6s ease-in-out infinite;
}

@keyframes pd {
  0%, 100% { box-shadow: 0 0 0 0 rgba(122,181,61,.6); }
  50% { box-shadow: 0 0 0 8px rgba(122,181,61,0); }
}

.mmc-industry-page .hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.04;
}

.mmc-industry-page .grad {
  background: linear-gradient(135deg, var(--g), var(--gl));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mmc-industry-page .hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(255,255,255,.7);
  max-width: 780px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.mmc-industry-page .hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* STAT STRIP */
.mmc-industry-page .statstrip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
  max-width: 980px;
  margin: -50px auto 0;
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,.04);
}

.mmc-industry-page .statstrip .s {
  padding: 22px 18px;
  text-align: center;
  background: rgba(10,18,6,.35);
}

.mmc-industry-page .statstrip .s .n {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: var(--gl);
  line-height: 1;
  margin-bottom: 6px;
}

.mmc-industry-page .statstrip .s .l {
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* SECTIONS */
.mmc-industry-page .section {
  padding: 110px 32px;
  position: relative;
}

.mmc-industry-page .section.light {
  background: #FEFAF1;
}

.mmc-industry-page .section.dark {
  background: var(--ink);
  color: #fff;
}

.mmc-industry-page .container {
  max-width: 1240px;
  margin: 0 auto;
}

.mmc-industry-page .eyebrow {
  display: inline-block;
  background: #D4E875;
  color: #113008 !important;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  padding: 8px 22px;
  border-radius: 100px;
  line-height: 1.2;
  margin-bottom: 22px;
}

.mmc-industry-page .section-title {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 18px;
}

.mmc-industry-page .section-sub {
  font-size: 17px;
  color: rgba(10,18,6,.65);
  max-width: 680px;
  margin-bottom: 60px;
  font-weight: 300;
}

.mmc-industry-page .section.dark .section-sub {
  color: rgba(255,255,255,.65);
}

/* FILTERS */
.mmc-industry-page .filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.mmc-industry-page .chip {
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: .25s;
}

.mmc-industry-page .chip:hover,
.mmc-industry-page .chip.active {
  background: var(--g);
  color: #fff;
  border-color: var(--g);
}

/* INDUSTRY GRID */
.mmc-industry-page .ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mmc-industry-page .ind-card {
  position: relative;
  background: var(--card);
  border-radius: 18px;
  padding: 30px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all .35s cubic-bezier(.2,.7,.3,1);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.mmc-industry-page .ind-card::before,
.mmc-industry-page .ind-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid var(--border);
  transition: .35s;
  pointer-events: none;
  z-index: -1;
}

.mmc-industry-page .ind-card::before {
  opacity: .5;
}

.mmc-industry-page .ind-card::after {
  transform: translate(12px, 16px);
  opacity: .25;
  background: var(--card);
}

.mmc-industry-page .ind-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(122,181,61,.18);
}

.mmc-industry-page .ind-card .ind-card__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 18px;
  display: block;
}

.mmc-industry-page .ind-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.mmc-industry-page .ind-card p {
  font-size: 14px;
  color: rgba(10,18,6,.65);
  margin-bottom: 16px;
  line-height: 1.55;
}

.mmc-industry-page .ind-card .link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gd);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mmc-industry-page .ind-card .tier {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--g), var(--gl));
}

.mmc-industry-page .ind-card.t2 .tier {
  background: linear-gradient(90deg, var(--b), #90BCEC);
}

.mmc-industry-page .ind-card.t3 .tier {
  background: linear-gradient(90deg, var(--o), #FFB070);
}

/* CASE STUDIES */
.mmc-industry-page .cs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mmc-industry-page .cs-card {
  position: relative;
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: .35s;
}

.mmc-industry-page .cs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.mmc-industry-page .cs-img {
  height: 70px;
  background: #FEFAF1 !important;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: 20px;
}

.mmc-industry-page .cs-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 60%);
}

.mmc-industry-page .cs-img__icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.mmc-industry-page .cs-body {
  padding: 20px 24px 26px 24px;
  background: #FEFAF1 !important;
}

.mmc-industry-page .cs-body .label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gd);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
}

.mmc-industry-page .cs-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.mmc-industry-page .cs-body p {
  font-size: 14px;
  color: rgba(10,18,6,.65);
  margin-bottom: 14px;
}

.mmc-industry-page .cs-stats {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.mmc-industry-page .cs-stats div {
  font-size: 13px;
  color: var(--g);
}

.mmc-industry-page .cs-stats .n {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--g);
  display: block;
  line-height: 1;
}

/* DARK SECTION */
.mmc-industry-page .dark {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.mmc-industry-page .dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(122,181,61,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(122,181,61,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .6;
}

.mmc-industry-page .dark .container {
  position: relative;
  z-index: 2;
}

.mmc-industry-page .signalbars {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.mmc-industry-page .sb {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mmc-industry-page .sb-l {
  width: 140px;
  font-size: 13px;
  color: var(--ink2);
  text-align: right;
  font-weight: 500;
}

.mmc-industry-page .sb-r {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.mmc-industry-page .sb-fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  width: var(--sb-pct, 100%);
  background: linear-gradient(90deg, var(--g), var(--gl));
  border-radius: 6px;
  animation: fill 1.4s cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: var(--sb-delay, 0s);
  transform: scaleX(0);
  transform-origin: left;
}

@keyframes fill {
  to { transform: scaleX(1); }
}

/* LIVE FEED PANEL */
.mmc-industry-page .ai-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.mmc-industry-page .ai-live-panel {
  background: linear-gradient(135deg, var(--bg2), var(--bg));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.mmc-industry-page .ai-live-panel__badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gd);
  margin-bottom: 18px;
}

.mmc-industry-page .ai-live-panel__metric {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

.mmc-industry-page .ai-live-panel__metric--last {
  margin-bottom: 0;
}

.mmc-industry-page .ai-live-panel__metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mmc-industry-page .ai-live-panel__metric-row span:first-child {
  font-size: 13px;
  color: var(--ink2);
}

.mmc-industry-page .ai-live-panel__value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
}

.mmc-industry-page .ai-live-panel__bar {
  height: 6px;
  background: var(--bg2);
  border-radius: 3px;
  overflow: hidden;
}

.mmc-industry-page .ai-live-panel__bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--g), var(--gl));
}

.mmc-industry-page .ai-live-panel__caption {
  font-size: 11px;
  color: var(--ink2);
  margin-top: 6px;
}

/* API BAR */
.mmc-industry-page .apibar {
  background: var(--ink2);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid rgba(122,181,61,.15);
  border-bottom: 1px solid rgba(122,181,61,.15);
}

.mmc-industry-page .apibar-text {
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
}

.mmc-industry-page .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mmc-industry-page .tag {
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(122,181,61,.12);
  border: 1px solid rgba(122,181,61,.3);
  color: var(--gl);
  font-size: 12.5px;
  font-weight: 600;
}

/* FINAL CTA */
.mmc-industry-page .finalcta {
  background: var(--ink);
  color: #fff;
  padding: 130px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mmc-industry-page .finalcta::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,181,61,.18), transparent 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
}

.mmc-industry-page .finalcta h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  margin-bottom: 18px;
  position: relative;
}

.mmc-industry-page .checks {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin: 40px 0 50px;
  position: relative;
}

.mmc-industry-page .check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: rgba(255,255,255,.85);
}

.mmc-industry-page .check::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--g);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* REVEAL */
.mmc-industry-page .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.2,.7,.3,1);
}

.mmc-industry-page .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* FILTERING */
.mmc-industry-page .ind-card[hidden] {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .mmc-industry-page .ind-grid,
  .mmc-industry-page .cs { grid-template-columns: 1fr 1fr; }
  .mmc-industry-page .statstrip { grid-template-columns: 1fr 1fr; }
  .mmc-industry-page .hero { padding: 80px 20px 80px; }
  .mmc-industry-page .section { padding: 70px 20px; }
  .mmc-industry-page .ai-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .mmc-industry-page .ind-grid,
  .mmc-industry-page .cs { grid-template-columns: 1fr; }
  .mmc-industry-page .statstrip { grid-template-columns: 1fr 1fr; }
}
