@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,600;1,8..60,300&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  /* Default — inner pages: blue-teal intermediário */
  --bg:      #062830;
  --surface: #093342;
  --text:    #c8e0e8;
  --dim:     #5a9090;
  --accent:  #18b0a8;
  --gold:    transparent;
  --bdr:     rgba(24,176,168,.12);
  --f:       'Source Serif 4', Georgia, serif;
}

/* Index theme — dark navy + amber */
body.theme-index {
  --bg:      #071e2b;
  --surface: #0b2d3f;
  --text:    #e0ecf0;
  --dim:     #7aa8b8;
  --accent:  #2d8a80;
  --gold:    #c8922b;
  --bdr:     rgba(45,138,128,.12);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; scroll-behavior: smooth; }

/* ── BASE ── */
body {
  font-family: var(--f);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ── NAV ── */
nav {
  flex-shrink: 0;
  height: 56px;
  border-bottom: 1px solid var(--bdr);
  padding: 0 48px;
  display: flex;
  align-items: center;
  background: rgba(6,28,40,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 200;
}

body.theme-index nav {
  background: rgba(7,30,43,.97);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
}

/* ── NAV LINKS & DROPDOWNS ── */
.nav-links {
  display: flex;
  list-style: none;
  position: relative;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  font-size: 12.5px;
  color: var(--dim);
  padding: 0 14px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); border-bottom-color: var(--accent); }

/* Dropdown arrow */
.nav-links .has-sub > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .5;
  transition: opacity .15s;
}
.nav-links .has-sub:hover > a::after { opacity: 1; }

/* Dropdown panel */
.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--bdr);
  border-top: 2px solid var(--accent);
  padding: 6px 0;
  z-index: 300;
}
.nav-links .has-sub:hover .nav-submenu { display: block; }

.nav-submenu a {
  height: auto;
  padding: 10px 18px;
  font-size: 12px;
  border-bottom: none;
  display: block;
  color: var(--dim);
  transition: color .15s, background .15s;
}
.nav-submenu a:hover {
  color: var(--text);
  background: rgba(255,255,255,.04);
  border-bottom: none;
}
.nav-submenu .sub-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 18px 4px;
  display: block;
}

/* ── LANG SWITCH ── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--bdr);
}
.lang-btn {
  font-family: var(--f);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--dim);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 6px;
  transition: color .15s;
  text-transform: uppercase;
}
.lang-btn:hover, .lang-btn.active { color: var(--accent); }

/* ── MAIN WRAPPER ── */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── HERO — HOME ── */
.hero {
  min-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 clamp(32px, 10vw, 120px);
  position: relative;
}

/* subtle divider line between hero and cards */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: clamp(32px, 10vw, 120px);
  right: clamp(32px, 10vw, 120px);
  height: 1px;
  background: var(--bdr);
}

.hero-title {
  font-size: clamp(56px, 10vw, 112px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .9;
  margin-bottom: 28px;
  color: var(--text);
}

body.theme-index .hero-title {
  color: var(--gold);
}

.hero-tagline {
  font-size: 16px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.7;
  max-width: 480px;
}
.hero-note {
  font-size: 11px;
  font-style: italic;
  color: var(--dim);
  opacity: .5;
  margin-top: 28px;
  letter-spacing: .05em;
}

/* ── HOME CARDS SECTION ── */
.cards-section {
  padding: clamp(48px, 8vh, 80px) clamp(32px, 6vw, 80px);
}

.section-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-card {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 40px;
  background: color-mix(in srgb, var(--card-accent, var(--accent)) 5%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent)) 14%, var(--bg));
  transition: background .25s, border-color .25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* left accent bar — mirrors product-card */
.section-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--card-accent, var(--accent));
  opacity: .5;
  transition: opacity .25s;
}
.section-card:hover::before { opacity: 1; }

.section-card:hover {
  background: color-mix(in srgb, var(--card-accent, var(--accent)) 9%, var(--bg));
  border-color: color-mix(in srgb, var(--card-accent, var(--accent)) 36%, var(--bg));
}

.card-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--text);
  transition: color .2s;
}
.section-card:hover .card-title { color: var(--card-accent, var(--accent)); }

.card-body {
  display: flex;
  flex-direction: column;
}

.card-subs {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.card-subs li {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--card-accent, var(--accent));
  opacity: .55;
  transition: opacity .2s;
}
.section-card:hover .card-subs li { opacity: .85; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for sibling reveals */
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .18s; }
.reveal:nth-child(4) { transition-delay: .26s; }
.reveal:nth-child(5) { transition-delay: .34s; }

/* ── INNER PAGE HERO ── */
.page-hero {
  padding: clamp(64px, 12vh, 120px) clamp(32px, 10vw, 120px) clamp(48px, 8vh, 80px);
  border-bottom: 1px solid var(--bdr);
}

.eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  opacity: .8;
}
.page-title {
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: .93;
  color: var(--text);
  margin-bottom: 24px;
}
.page-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--dim);
  max-width: 520px;
  text-wrap: pretty;
}
.page-note {
  font-size: 11px;
  font-style: italic;
  color: var(--dim);
  opacity: .5;
  margin-top: 28px;
  letter-spacing: .05em;
}
.page-disclaimer {
  font-size: 12px;
  font-style: italic;
  line-height: 1.8;
  color: var(--dim);
  opacity: .65;
  border-left: 2px solid var(--bdr);
  padding-left: 14px;
  margin-top: 8px;
}

/* ── PRODUCT BLOCKS ── */
.products-section {
  padding: clamp(48px, 8vh, 80px) clamp(32px, 10vw, 120px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card {
  border: 1px solid var(--bdr);
  background: color-mix(in srgb, var(--accent) 4%, var(--bg));
  padding: 36px 40px;
  transition: background .25s, border-color .25s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: .6;
  transition: opacity .25s;
}
.product-card:hover::before { opacity: 1; }
.product-card:hover {
  background: color-mix(in srgb, var(--accent) 7%, var(--bg));
  border-color: color-mix(in srgb, var(--accent) 28%, var(--bg));
}

.product-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: .9;
}
.product-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}
.product-sub {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--dim);
  max-width: 560px;
}
.product-status {
  display: inline-block;
  margin-top: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--bdr);
  color: var(--dim);
  opacity: .7;
}

/* ── INNER PAGES (legacy / about / contact) ── */
.page-inner {
  max-width: 560px;
  padding: clamp(64px, 12vh, 120px) clamp(32px, 10vw, 120px);
}

/* ── CONTACT EMAIL ── */
.email-link {
  display: inline-block;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 300;
  color: var(--accent);
  margin-top: 36px;
  letter-spacing: -.01em;
  transition: opacity .15s;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding-bottom: 2px;
}
.email-link:hover { opacity: .7; }

/* ── FOOTER ── */
footer {
  flex-shrink: 0;
  height: 50px;
  border-top: 1px solid var(--bdr);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy  { font-size: 11px; color: var(--dim); letter-spacing: .04em; }
.footer-email { font-size: 12px; color: var(--dim); transition: color .15s; }
.footer-email:hover { color: var(--accent); }

/* ── HOME CARD EXPANDED ── */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.card-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--dim);
  max-width: 480px;
  text-wrap: pretty;
}
.card-product {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
  padding: 14px 18px;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent)) 22%, transparent);
  background: color-mix(in srgb, var(--card-accent, var(--accent)) 5%, transparent);
  max-width: 400px;
}
.card-product-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--card-accent, var(--accent));
}
.card-product-sub {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-title { font-size: clamp(42px, 12vw, 72px); }
  .section-card { min-height: 55vh; }
}
@media (max-width: 768px) {
  nav, footer { padding: 0 24px; }
  .nav-links a { padding: 0 10px; }
  .hero, .cards-section, .page-hero, .products-section, .page-inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .product-card { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .brand-name { font-size: 13px; }
  .lang-switch { margin-left: 12px; padding-left: 12px; }
}

/* ═══════════════════════════════════════════════════════════
   MARKET MINING DATA
═══════════════════════════════════════════════════════════ */

/* ── CTA BUTTONS ── */
.mmd-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 36px;
}
.mmd-btn {
  font-family: var(--f);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 11px 28px;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
  display: inline-block;
}
.mmd-btn--secondary {
  color: var(--dim);
  background: transparent;
  border: 1px solid var(--bdr);
}
.mmd-btn--secondary:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.mmd-btn--primary {
  color: var(--bg);
  background: var(--accent);
  border: 1px solid var(--accent);
}
.mmd-btn--primary:hover { opacity: .82; }

/* ── STATISTICS BAR ── */
.mmd-stats {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  overflow-x: auto;
}
.mmd-stat {
  flex: 1;
  min-width: 110px;
  padding: 24px 28px;
  border-right: 1px solid var(--bdr);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mmd-stat:last-child { border-right: none; }
.mmd-stat-value {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--text);
}
.mmd-stat-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .7;
}

/* ── SHARED SECTION ELEMENTS ── */
.mmd-section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .8;
  margin-bottom: 20px;
  display: block;
}
.mmd-note {
  font-size: 11.5px;
  font-style: italic;
  color: var(--dim);
  opacity: .65;
  line-height: 1.6;
}

/* ── SAMPLE IFRAME ── */
.mmd-sample {
  padding: clamp(48px, 8vh, 80px) clamp(32px, 10vw, 120px);
  border-bottom: 1px solid var(--bdr);
}
.mmd-iframe-wrap {
  border: 1px solid var(--bdr);
  overflow: hidden;
  margin-bottom: 12px;
}
.mmd-iframe {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
  background: var(--surface);
}

/* ── PRICING ── */
.mmd-pricing {
  padding: clamp(48px, 8vh, 80px) clamp(32px, 10vw, 120px);
  border-bottom: 1px solid var(--bdr);
}
.mmd-early-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c8922b;
  border: 1px solid color-mix(in srgb, #c8922b 38%, transparent);
  padding: 4px 12px;
  margin-bottom: 8px;
}
.mmd-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 12px;
}
.mmd-plan {
  border: 1px solid var(--bdr);
  background: color-mix(in srgb, var(--accent) 3%, var(--bg));
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.mmd-plan--featured {
  border-color: color-mix(in srgb, var(--accent) 32%, transparent);
  background: color-mix(in srgb, var(--accent) 6%, var(--bg));
}
.mmd-plan-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.mmd-plan-cycle {
  font-size: 10px;
  color: var(--dim);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 3px;
  opacity: .7;
}
.mmd-plan-price-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mmd-plan-early-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.mmd-plan-amount {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--text);
}
.mmd-plan-period {
  font-size: 12px;
  color: var(--dim);
  font-weight: 300;
}
.mmd-plan-ea-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #c8922b;
  border: 1px solid color-mix(in srgb, #c8922b 32%, transparent);
  padding: 2px 7px;
}
.mmd-plan-full {
  font-size: 11.5px;
  color: var(--dim);
  opacity: .55;
}
.mmd-plan-full s { text-decoration: line-through; }
.mmd-plan-limit {
  font-size: 12px;
  color: var(--dim);
  padding-top: 14px;
  border-top: 1px solid var(--bdr);
  margin-top: auto;
}
.mmd-plan-action {
  display: block;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--bg);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: opacity .18s;
}
.mmd-plan-action:hover { opacity: .8; }

/* API + Enterprise */
.mmd-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mmd-contact-card {
  border: 1px solid var(--bdr);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mmd-contact-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  opacity: .8;
}
.mmd-contact-price {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
}
.mmd-contact-sub {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--dim);
}
.mmd-contact-link {
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: .02em;
  text-decoration: none;
  transition: opacity .15s;
  margin-top: 4px;
}
.mmd-contact-link:hover { opacity: .65; }

/* ── PRODUCT DETAILS ── */
.mmd-details {
  padding: clamp(48px, 8vh, 80px) clamp(32px, 10vw, 120px);
  border-bottom: 1px solid var(--bdr);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.mmd-details-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}
.mmd-details-sub {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dim);
}
.mmd-filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mmd-filter-item {
  font-size: 12.5px;
  color: var(--dim);
  padding: 9px 14px;
  border: 1px solid var(--bdr);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}
.mmd-filter-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  flex-shrink: 0;
  opacity: .8;
}

/* ── VALUE PROPOSITION ── */
.mmd-value {
  padding: clamp(48px, 8vh, 80px) clamp(32px, 10vw, 120px);
  border-bottom: 1px solid var(--bdr);
}
.mmd-value-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 580px;
}
.mmd-value-sub {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dim);
  max-width: 560px;
  margin-bottom: 36px;
}
.mmd-queries {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 700px;
}
.mmd-query {
  font-size: 13px;
  color: var(--dim);
  padding: 16px 20px;
  border-left: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 4%, var(--bg));
  font-style: italic;
  line-height: 1.65;
}

/* ── AI DISCLAIMER ── */
.mmd-ai-section {
  padding: clamp(28px, 5vh, 52px) clamp(32px, 10vw, 120px);
  border-bottom: 1px solid var(--bdr);
}

/* ── COUNTDOWN ── */
.mmd-cd-intro {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  opacity: .65;
  margin-top: 20px;
  margin-bottom: 10px;
}
.mmd-countdown {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 52px;
}
.cd-val {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1;
  text-align: center;
  min-width: 2ch;
}
.cd-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  opacity: .55;
}
.cd-sep {
  font-size: 36px;
  font-weight: 300;
  color: var(--dim);
  opacity: .35;
  line-height: 1;
  margin-top: 4px;
}

/* ── PLAN CHOOSE BUTTON ── */
.mmd-plan-choose {
  padding: 24px 0 8px;
}

/* ── CONTACT NOTE (below API + Enterprise) ── */
.mmd-contact-note {
  font-size: 13px;
  color: var(--dim);
  padding: 18px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mmd-contact-email {
  color: var(--accent);
  text-decoration: none;
  transition: opacity .15s;
}
.mmd-contact-email:hover { opacity: .65; }

/* ── WHO IT'S FOR ── */
.mmd-for {
  padding: clamp(48px, 8vh, 80px) clamp(32px, 10vw, 120px);
  border-bottom: 1px solid var(--bdr);
}
.mmd-for-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.mmd-for-card {
  border: 1px solid var(--bdr);
  padding: 28px 30px;
  position: relative;
  background: color-mix(in srgb, var(--accent) 2%, var(--bg));
  transition: background .2s, border-color .2s;
}
.mmd-for-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: .45;
  transition: opacity .2s;
}
.mmd-for-card:hover { background: color-mix(in srgb, var(--accent) 5%, var(--bg)); border-color: color-mix(in srgb, var(--accent) 25%, transparent); }
.mmd-for-card:hover::before { opacity: .9; }
.mmd-for-role {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: 12px;
}
.mmd-for-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--dim);
}

/* ── LOGIN FORM ── */
.mmd-login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
  max-width: 380px;
}
.mmd-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mmd-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  opacity: .8;
}
.mmd-input {
  font-family: var(--f);
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--bdr);
  padding: 10px 14px;
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.mmd-input::placeholder { color: var(--dim); opacity: .4; }
.mmd-input:focus { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.mmd-login-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--dim);
  max-width: 380px;
}
.mmd-login-links a { color: var(--accent); text-decoration: none; transition: opacity .15s; }
.mmd-login-links a:hover { opacity: .65; }

/* ── API/ENTERPRISE FEATURE LIST ── */
.ct-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.ct-feature-list li {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dim);
  padding-left: 14px;
  position: relative;
}
.ct-feature-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: .6;
}

/* ── SUBSCRIPTION PAGE FEATURES ── */
.sub-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--bdr);
  flex: 1;
}
.sub-features li {
  font-size: 11.5px;
  color: var(--dim);
  line-height: 1.5;
  padding-left: 12px;
  position: relative;
}
.sub-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
  opacity: .8;
}

/* ── MMD RESPONSIVE ── */
@media (max-width: 960px) {
  .mmd-plans-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .mmd-plans-grid   { grid-template-columns: 1fr; }
  .mmd-contact-grid { grid-template-columns: 1fr; }
  .mmd-details      { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .mmd-stats { flex-wrap: wrap; }
  .mmd-stat  { min-width: 50%; border-bottom: 1px solid var(--bdr); }
  .mmd-iframe { height: 440px; }
}
