/* =========================================================
   MradiQ – Landing Page
   ========================================================= */
:root {
  --green: #087443;
  --green-dark: #065f37;
  --green-bright: #219e2f;
  --chart-green: #0aa53c;
  --green-soft: #e4f0eb;
  --ink: #0f1712;
  --text: #2b302d;
  --muted: #4a514d;
  --bg: #f8fcfd;
  --strip: #e9f4f2;
  --line: #e7ecea;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
[data-lucide], svg.lucide { width: 1em; height: 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 42px; padding: 0 20px; border-radius: 6px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: .2s ease; cursor: pointer; border: 0; font-family: inherit;
}
.btn svg { width: 20px; height: 20px; stroke-width: 2; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline-dark { background: #fff; border: 1.5px solid #1b1f1d; color: var(--ink); width: 105px; }
.btn-outline-green { background: #fff; border: 1.5px solid var(--green); color: var(--ink); }
.btn-outline-green:hover { background: var(--green-soft); }
.btn-bright { background: var(--green-bright); color: #fff; }
.btn-bright:hover { background: #1b8a28; }
.btn-lg { height: 56px; padding: 0 20px; }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 4px; }
.logo-icon { width: 40px; height: 34px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.logo-name { font-size: 21px; font-weight: 800; color: #14231c; letter-spacing: -.5px; }
.logo-name b { color: var(--green); font-weight: 800; }
.logo-tag { font-size: 8.5px; color: #3a4a42; margin-top: 2px; margin-left: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: #fff; height: 695px; overflow: hidden; }
.hero-img {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: calc(650px + max(0px, (100vw - 1440px) / 2));
  background: url(images/image.webp) left top / auto 100% no-repeat;
  background-size: cover; background-position: right top;
}
.hero-img::before { /* soft white fade on the left edge */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.55) 6%, rgba(255,255,255,0) 20%);
}
.hero::after { /* light bottom fade like the original */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: linear-gradient(transparent, rgba(255,255,255,.6));
}

.nav { position: relative; z-index: 5; display: flex; align-items: center; height: 82px; }
.nav-links { display: flex; gap: 25px; margin-left: 54px; }
.nav-links a { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; color: #1f2622; }
.nav-links a svg { width: 18px; height: 18px; stroke-width: 2.4; }
.nav-links a:hover { color: var(--green); }
.nav-actions { margin-left: auto; display: flex; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 28px; color: var(--ink); cursor: pointer; }

.hero-content { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 14px; }
.eyebrow { color: var(--green); font-weight: 600; font-size: 17.4px; letter-spacing: .1px; }
.hero h1 {
  margin-top: 20px; font-size: 62px; line-height: 71px; font-weight: 800;
  color: #0b0d0c; letter-spacing: -.6px;
}
.hero h1 span { color: var(--green); }
.hero-sub { margin-top: 16px; max-width: 700px; font-size: 20px; line-height: 31px; color: #3a403c; }
.hero-btns { display: flex; gap: 20px; margin-top: 36px; }
.hero-btns .btn-primary { width: 195px; }
.hero-btns .btn-outline-green { width: 212px; }
.play {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 10px; padding-left: 2px; flex: 0 0 26px;
}
.hero-feats { display: flex; gap: 38px; margin-top: 36px; }
.feat { display: flex; align-items: center; gap: 15px; }
.feat p { font-size: 16px; line-height: 20px; color: #262b28; font-weight: 500; }
.feat-ic {
  position: relative; width: 54px; height: 54px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-size: 24px;
}
.feat-ic svg { width: 26px; height: 26px; stroke-width: 2; }
.feat-ic .feat-check { position: absolute; font-size: 11px; color: #fff; }

/* ---------- Trusted ---------- */
.trusted { background: var(--strip); margin-top: 25px; padding: 16px 0 22px; text-align: center; }
.trusted > p { font-size: 17px; font-weight: 500; color: #111; }
.logos {
  max-width: 1440px; margin: 22px auto 0; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logos img { height: 56px; width: auto; }
.logos .more { font-size: 16px; font-weight: 500; color: #111; padding-right: 6px; }

/* ---------- Section titles ---------- */
h2 { text-align: center; color: #0b0d0c; font-weight: 700; letter-spacing: -.3px; }

/* ---------- How it works ---------- */
.how { padding-top: 80px; }
.how h2 { font-size: 39.5px; }
.how .sub { text-align: center; font-size: 20px; color: #2c312e; margin-top: 12px; }
.steps { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 46px; margin-inline: -72px; }
.step { position: relative; text-align: center; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; }
.num {
  position: relative; z-index: 2; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 14px; font-weight: 700;
  display: grid; place-items: center; margin-bottom: -10px;
}
.step-ic {
  width: 70px; height: 70px; border-radius: 50%; background: #e1efeb;
  display: grid; place-items: center; color: #1a201d;
}
.step-ic svg { width: 30px; height: 30px; stroke-width: 1.8; }
.step h3 { margin-top: 18px; font-size: 20px; font-weight: 600; color: #121614; }
.step p { margin-top: 10px; font-size: 15px; line-height: 22px; color: #3a403c; }
.step-arrow { width: 20px !important; height: 20px !important; margin-top: 56px; color: #555; stroke-width: 1.8; flex: 0 0 auto; }

/* ---------- Modules ---------- */
.modules { padding-top: 76px; }
.modules h2 { font-size: 39.5px; }
.mod-grid { display: grid; grid-template-columns: 224px 201px 218px 227px 227px; justify-content: space-between; margin-top: 46px; }
.mod {
  background: #fff; border-radius: 8px; padding: 12px 10px 14px; text-align: center;
  box-shadow: 0 1px 4px rgba(16, 40, 30, .08); border: 1px solid #eef2f0;
  transition: .2s ease;
}
.mod:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(16, 40, 30, .1); }
.mod-ic {
  width: 60px; height: 60px; border-radius: 8px; background: var(--green-soft);
  display: grid; place-items: center; margin: 0 auto; color: var(--green); font-size: 24px;
}
.mod-ic svg { width: 30px; height: 30px; stroke-width: 1.5; }
.mod h3 { margin-top: 18px; font-size: 20px; font-weight: 600; color: #121614; }
.mod p { margin-top: 10px; font-size: 15px; line-height: 22px; color: #2f3431; }
.mod a { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 16px; font-weight: 600; color: var(--green); }
.mod a svg { width: 18px; height: 18px; stroke-width: 2.4; }

/* ---------- Dashboards ---------- */
.dashboards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 80px; }
.dash-panel { border-radius: 10px; padding: 12px 10px 12px 12px; }
.dash-panel.dev { background: #e9fbf1; }
.dash-panel.con { background: #e9f6fe; }
.dash-head { display: flex; align-items: center; gap: 12px; padding: 0 2px 10px; }
.dash-head-ic { font-size: 40px; color: var(--green); width: 58px; height: 40px; text-align: center; flex: 0 0 auto; }
.dash-head h3 { font-size: 20px; font-weight: 600; color: #121614; }
.dash-head p { font-size: 13px; color: #3a403c; margin-top: 4px; }
.view-all { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; font-size: 15px; }
.view-all svg { width: 18px; height: 18px; stroke-width: 2.4; }

.app {
  background: #fff; border-radius: 6px; display: grid; grid-template-columns: 102px 1fr;
  font-size: 8px; color: #222; overflow: hidden; min-height: 228px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.app-side { border-right: 1px solid var(--line); padding: 6px 4px; }
.app-logo { display: flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 800; color: #14231c; padding: 0 5px 6px; letter-spacing: -.3px; }
.app-logo b { color: var(--green); }
.app-logo svg { width: 18px; height: 15px; }
.app-side a { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 3px; color: #333; margin-bottom: 1px; }
.app-side a svg { width: 10px; height: 10px; stroke-width: 2; }
.app-side a.active { background: var(--chart-green); color: #fff; }
.app-main { padding: 6px 8px 8px; }
.app-top { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.app-top h4 { font-size: 9px; font-weight: 700; margin-right: auto; }
.sel { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 3px; padding: 4px 6px; font-size: 7px; color: #444; }
.sel svg { width: 8px; height: 8px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 6px; }
.kpi { display: flex; align-items: flex-start; gap: 6px; border: 1px solid var(--line); border-radius: 4px; padding: 7px 6px; }
.kpi small { display: block; font-size: 6px; color: #555; }
.kpi b { display: block; font-size: 11px; font-weight: 700; margin-top: 4px; color: #111; }
.k-ic { width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; font-size: 7px; }
.k-ic svg { width: 8px; height: 8px; stroke-width: 2.2; }
.k-ic.g { background: #e3f6e9; color: var(--chart-green); }
.k-ic.b { background: #e5effd; color: #2a6fdb; }
.card-box { border: 1px solid var(--line); border-radius: 4px; padding: 6px 7px; }
.card-box h5 { font-size: 8px; font-weight: 700; margin-bottom: 5px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 6.5px; }
.ptable th { background: #f2f4f6; text-align: left; font-weight: 500; color: #444; padding: 4px; }
.ptable td { padding: 6px 4px; border-bottom: 1px solid #f2f4f3; white-space: nowrap; }
.ptable tr:last-child td { border-bottom: 0; }
.pbar { display: inline-block; vertical-align: middle; width: 76px; height: 6px; border-radius: 6px; background: #e3e6ea; margin-right: 10px; overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--chart-green); border-radius: 6px; }
.badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 8px; font-size: 6px; }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge.ok { background: #e3f6e9; color: #0d8a36; }
.badge.risk { background: #fff4d6; color: #e08a00; }
.badge.late { background: #fde4e4; color: #d92626; }

.con-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 6px; }
.legend { display: flex; justify-content: center; gap: 10px; font-size: 6px; margin: -2px 0 4px; }
.legend span { display: flex; align-items: center; gap: 4px; }
.legend .sq { width: 5px; height: 5px; background: var(--chart-green); }
.legend .ln { width: 12px; height: 1.3px; background: #111; position: relative; }
.legend .ln::after { content: ""; position: absolute; left: 4px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: #111; }
.chart { display: grid; grid-template-columns: 16px 1fr; grid-template-rows: 82px auto; font-size: 5.5px; color: #444; }
.y-axis { display: flex; flex-direction: column; justify-content: space-between; text-align: right; padding-right: 3px; margin-top: -3px; margin-bottom: -3px; }
.plot { position: relative; border-left: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; }
.bars i { display: block; width: 60%; margin: 0 auto; background: var(--chart-green); }
.line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.dots { position: absolute; inset: 0; z-index: 3; }
.dots i { position: absolute; width: 3.5px; height: 3.5px; border-radius: 50%; background: #111; transform: translate(-50%, 50%); }
.x-axis { grid-column: 2; display: grid; grid-template-columns: repeat(12, 1fr); text-align: center; padding-top: 3px; }
.pending .pa { display: flex; align-items: center; gap: 6px; padding: 5px 0; }
.pa div { flex: 1; }
.pa b { display: block; font-size: 6.5px; font-weight: 600; }
.pa small { display: block; font-size: 5.5px; color: #666; margin-top: 1px; }
.pa em { font-style: normal; font-weight: 700; font-size: 7px; }
.pa-ic { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 7px; flex: 0 0 auto; }
.pa-ic svg { width: 8px; height: 8px; stroke-width: 2.4; }
.pa-ic.red { background: #fde4e4; color: #d92626; }
.pa-ic.amber { background: #fff1d1; color: #f0a000; }
.pa-ic.green { background: #e3f6e9; color: #0d8a36; }

/* ---------- Testimonial + Why ---------- */
.proof { display: grid; grid-template-columns: 588px 588px; justify-content: space-between; padding-top: 80px; }
.testi, .why { background: #fff; border-radius: 8px; border: 1px solid #edf1ef; overflow: hidden; }
.testi { display: flex; min-height: 176px; }
.testi-img { width: 280px; height: 176px; object-fit: cover; flex: 0 0 auto; }
.testi-body { position: relative; padding: 16px 14px 14px 36px; margin-left: -24px; }
.quote { position: absolute; left: 22px; top: 16px; font-size: 30px; color: var(--green); }
.testi-body p { padding-left: 20px; font-size: 12.6px; line-height: 18px; color: #2b302d; }
.author { display: flex; align-items: center; gap: 15px; margin-top: 20px; padding-left: 20px; }
.author img { width: 42px; height: 42px; border-radius: 50%; }
.author b { display: block; font-size: 16.5px; font-weight: 600; color: #121614; }
.author small { display: block; font-size: 13px; color: #3a403c; margin-top: 6px; }

.why { padding: 10px 10px 18px; }
.why h3 { font-size: 20px; font-weight: 600; color: #121614; }
.why-grid { display: grid; grid-template-columns: 1.08fr 1.55fr 1fr 0.95fr; margin-top: 20px; }
.why-item { text-align: center; padding: 0 3px; }
.why-item + .why-item { border-left: 1px solid #e6ebe9; }
.why-ic { width: 30px; height: 30px; display: block; margin: 0 auto; }
.why-fa { font-size: 30px; color: var(--green); height: 30px; }
.why-item h4 { margin-top: 12px; font-size: 14px; font-weight: 600; color: #121614; }
.why-item p { margin-top: 8px; font-size: 11.5px; line-height: 16px; color: #2b302d; }

/* ---------- CTA ---------- */
.cta {
  margin-top: 80px; color: #fff;
  background: linear-gradient(rgba(2, 40, 22, .25), rgba(2, 40, 22, .25)), url(images/cta-bg.jpg) center / cover no-repeat;
  background-color: #04291b;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; min-height: 165px; padding-top: 4px; }
.cta-text h3 { font-size: 20px; font-weight: 600; }
.cta-text p { font-size: 13px; line-height: 18px; margin-top: 12px; opacity: .95; }
.cta-form form { display: flex; gap: 14px; }
.cta-form input {
  width: 380px; height: 56px; border-radius: 8px; border: 0; padding: 0 20px;
  font-family: inherit; font-size: 16px; color: #222; outline: none;
}
.cta-form input::placeholder { color: #444; }
.cta-form .btn { height: 56px; width: 195px; }
.cta-points { display: flex; gap: 10px; margin-top: 26px; font-size: 12px; }
.cta-points li { display: flex; align-items: center; gap: 6px; }
.cta-points li + li { border-left: 2px solid #2ea84a; padding-left: 10px; }
.cta-points svg { width: 19px; height: 19px; color: #3fbf5f; stroke-width: 1.6; }

/* ---------- Footer ---------- */
.footer { padding-top: 86px; }
.foot-grid { display: grid; grid-template-columns: 450px 190px 190px 190px 1fr; }
.logo-lg .logo-icon { width: 52px; height: 44px; }
.logo-lg .logo-name { font-size: 31px; }
.logo-lg .logo-tag { font-size: 12px; margin-top: 3px; }
.foot-brand > p { margin-top: 38px; font-size: 16px; line-height: 25px; color: #2b302d; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 45px; height: 45px; border-radius: 50%; background: #13251b; color: #fff; display: grid; place-items: center; font-size: 20px; transition: .2s; }
.socials a:hover { background: var(--green); }
.foot-col { padding-top: 16px; }
.foot-col h4 { font-size: 20px; font-weight: 600; color: #121614; margin-bottom: 24px; }
.foot-col a { display: block; font-size: 16px; color: #2b302d; margin-bottom: 15px; }
.foot-col a:hover, .foot-bottom a:hover { color: var(--green); }
.foot-bottom {
  display: flex; justify-content: space-between; margin-top: 44px;
  border-top: 1px solid #dfe5e2; padding: 20px 20px 30px; font-size: 16px; color: #2b302d;
  max-width: 1200px; padding-left: 0; padding-right: 0;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .nav-links { gap: 20px; margin-left: 32px; }
  .steps { margin-inline: 0; flex-wrap: wrap; justify-content: center; gap: 30px 14px; }
  .mod-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .proof { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-bottom { margin-left: 20px; margin-right: 20px; width: auto; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-actions { display: none; }
  .nav.open { flex-wrap: wrap; height: auto; padding-bottom: 16px; background: #fff; }
  .nav.open .nav-toggle { margin-top: 24px; align-self: flex-start; }
  .nav.open .logo { margin-top: 24px; align-self: flex-start; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; margin: 16px 0 0; gap: 14px; }
  .nav.open .nav-actions { display: flex; width: 100%; margin: 16px 0 0; }
  .nav { height: 82px; }

  .hero { height: auto; min-height: 0; }
  .hero-img { position: relative; width: 100%; height: 0; padding-top: 106.9%; background-size: 100% auto; order: 2; }
  .hero { display: flex; flex-direction: column; }
  .hero .nav { order: 0; } .hero-content { order: 1; padding-bottom: 30px; }
  .hero-img::before { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 18%); }

  .mod-grid { grid-template-columns: repeat(3, 1fr); }
  .dashboards { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 40px 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 30px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .hero h1 { font-size: 40px; line-height: 48px; letter-spacing: -.8px; }
  .hero-sub { font-size: 17px; line-height: 27px; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-btns .btn { width: 100% !important; }
  .hero-feats { flex-wrap: wrap; gap: 18px 24px; }
  .logos { flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .logos img { height: 44px; }
  .how h2, .modules h2 { font-size: 28px; }
  .step-arrow { display: none; }
  .step { width: calc(50% - 10px); }
  .mod-grid { grid-template-columns: 1fr 1fr; }
  .dash-panel { overflow-x: auto; }
  .app { min-width: 560px; }
  .dash-head { flex-wrap: wrap; }
  .view-all { margin-left: 70px; }
  .testi { flex-direction: column; }
  .testi-img { width: 100%; height: 220px; }
  .testi-body { margin-left: 0; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .why-item:nth-child(3) { border-left: 0; }
  .cta-form form { flex-direction: column; }
  .cta-form input, .cta-form .btn { width: 100%; }
  .cta-points { flex-wrap: wrap; }
  .cta-text br, .hero-sub br { display: none; }
  .eyebrow { font-size: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 440px) {
  .mod-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Product dropdown (header)
   ========================================================= */
.has-dd { position: relative; }
.has-dd > .dd-toggle svg { transition: transform .2s ease; }
.has-dd:hover > .dd-toggle svg,
.has-dd.open > .dd-toggle svg { transform: rotate(180deg); }
.nav-links a.dd-toggle.active { color: var(--green); }
.nav-links a.dd-toggle.active::after {
  content: ""; position: absolute; left: 0; right: 26px; bottom: -8px;
  height: 2.5px; border-radius: 2px; background: var(--green);
}
.dd-toggle { position: relative; }

.dd {
  position: absolute; top: calc(100% + 14px); left: -18px; width: 370px; z-index: 50;
  background: #fff; border: 1px solid #e6ece9; border-radius: 12px; padding: 10px;
  box-shadow: 0 18px 40px rgba(10, 40, 25, .14), 0 2px 6px rgba(10, 40, 25, .06);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dd::before { /* invisible bridge so the menu stays open while the mouse moves down */
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.has-dd:hover > .dd, .has-dd:focus-within > .dd, .has-dd.open > .dd {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dd-label { font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: #7a837e; padding: 6px 12px 8px; }

.nav-links .dd-item {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 11px 12px; border-radius: 9px; color: var(--ink);
  transition: background .15s ease;
}
.dd-ic {
  width: 42px; height: 42px; border-radius: 9px; flex: 0 0 auto;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; transition: .15s ease;
}
.nav-links .dd-ic svg { width: 21px; height: 21px; stroke-width: 2; }
.dd-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.dd-txt b { font-size: 15px; font-weight: 600; transition: color .15s; }
.dd-txt small { font-size: 12.5px; font-weight: 400; color: #5d6661; }
.nav-links .dd-go { width: 18px; height: 18px; color: var(--green); opacity: 0; transform: translateX(-6px); transition: .15s ease; }

/* hover */
.nav-links .dd-item:hover { background: #f1f8f4; }
.dd-item:hover .dd-ic { background: var(--green); color: #fff; }
.dd-item:hover .dd-txt b { color: var(--green); }
.nav-links .dd-item:hover .dd-go { opacity: 1; transform: translateX(0); }

/* active (current page) */
.nav-links .dd-item.active { background: var(--green-soft); }
.dd-item.active::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3.5px;
  border-radius: 0 3px 3px 0; background: var(--green);
}
.dd-item.active .dd-ic { background: var(--green); color: #fff; }
.dd-item.active .dd-txt b { color: var(--green); }
.nav-links .dd-item.active .dd-go { opacity: 1; transform: none; }

/* =========================================================
   Product pages
   ========================================================= */
.page-header { background: #fff; border-bottom: 1px solid #e8eeeb; position: sticky; top: 0; z-index: 40; }
.product-page .nav-links a.dd-toggle.active::after { bottom: -10px; }

.phero { background: linear-gradient(180deg, #fff 0%, #f1f8f5 55%, var(--bg) 100%); padding: 26px 0 70px; text-align: center; }
.crumbs { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: #5d6661; margin-bottom: 34px; }
.crumbs svg { width: 15px; height: 15px; }
.crumbs a:hover { color: var(--green); }
.crumbs b { color: var(--green); font-weight: 600; }
.phero h1 { margin-top: 16px; font-size: 54px; line-height: 1.12; font-weight: 800; letter-spacing: -1px; color: #0b0d0c; }
.phero h1 span { color: var(--green); }
.phero-sub { max-width: 720px; margin: 18px auto 0; font-size: 19px; line-height: 30px; color: #3a403c; }
.phero-btns { justify-content: center; }

.ptabs { display: inline-flex; gap: 6px; margin-top: 44px; padding: 6px; background: #fff; border: 1px solid #e3eae6; border-radius: 12px; box-shadow: 0 2px 8px rgba(10, 40, 25, .05); }
.ptab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 8px; font-size: 15px; font-weight: 600; color: #3a403c; transition: .15s ease; }
.ptab svg { width: 18px; height: 18px; }
.ptab:hover { background: #f1f8f4; color: var(--green); }
.ptab.active { background: var(--green); color: #fff; box-shadow: 0 4px 12px rgba(8, 116, 67, .25); }

.shot { margin: 26px auto 0; max-width: 1200px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #dfe7e3; box-shadow: 0 30px 70px rgba(10, 40, 25, .16); }
.shot-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; background: #f3f6f5; border-bottom: 1px solid #e3e9e6; }
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.shot-bar i:nth-child(2) { background: #febc2e; }
.shot-bar i:nth-child(3) { background: #28c840; }
.shot-bar span { margin: 0 auto; transform: translateX(-24px); font-size: 12px; color: #6a716d; background: #fff; border: 1px solid #e3e9e6; border-radius: 6px; padding: 3px 40px; }
.shot img { width: 100%; height: auto; }

.pstats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 44px auto 0; }
.pstats div { display: flex; flex-direction: column; gap: 6px; }
.pstats div + div { border-left: 1px solid #dbe4df; }
.pstats b { font-size: 30px; font-weight: 800; color: var(--green); letter-spacing: -.5px; }
.pstats span { font-size: 15px; color: #3a403c; }

.pfeats-wrap { padding-bottom: 10px; }
.pfeats-wrap h2 { font-size: 36px; }
.pfeats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.pfeat { background: #fff; border: 1px solid #eef2f0; border-radius: 10px; padding: 24px 20px; text-align: center; box-shadow: 0 1px 4px rgba(16, 40, 30, .06); transition: .2s ease; }
.pfeat:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16, 40, 30, .1); }
.pfeat h3 { margin-top: 16px; font-size: 18px; font-weight: 600; color: #121614; }
.pfeat p { margin-top: 8px; font-size: 15px; line-height: 22px; color: #3a403c; }

@media (max-width: 1100px) {
  /* dropdown becomes an inline list inside the mobile menu */
  .dd { position: static; width: 100%; margin-top: 10px; box-shadow: none; transform: none; display: none; opacity: 1; visibility: visible; }
  .dd::before { display: none; }
  .has-dd:hover > .dd, .has-dd:focus-within > .dd { display: none; }
  .has-dd.open > .dd { display: block; }
  .has-dd:hover > .dd-toggle svg { transform: none; }
  .has-dd.open > .dd-toggle svg { transform: rotate(180deg); }
  .nav-links a.dd-toggle.active::after { display: none; }
  .pfeats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .phero h1 { font-size: 36px; }
  .phero-sub { font-size: 17px; line-height: 27px; }
  .ptabs { display: flex; flex-direction: column; width: 100%; }
  .ptab { justify-content: center; }
  .shot-bar span { display: none; }
  .pstats { grid-template-columns: 1fr; gap: 20px; }
  .pstats div + div { border-left: 0; border-top: 1px solid #dbe4df; padding-top: 20px; }
  .pfeats-wrap h2 { font-size: 28px; }
  .pfeats { grid-template-columns: 1fr; }
}
