/*
Theme Name: Markitlift Editable Theme v5.1 Markit Lift Spacing
Theme URI: https://markitlift.com
Author: Markitlift
Author URI: https://markitlift.com
Description: Editable WordPress theme for Markitlift with separate editable pages, custom header/footer, Amazon audit/contact forms, and saved lead submissions in the WordPress dashboard.
Version: 5.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: markitlift
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --ml-navy: #0f172a;
  --ml-navy-2: #172554;
  --ml-blue: #2563eb;
  --ml-orange: #f59e0b;
  --ml-orange-dark: #d97706;
  --ml-green: #16a34a;
  --ml-teal: #0d9488;
  --ml-text: #111827;
  --ml-muted: #6b7280;
  --ml-light: #f8fafc;
  --ml-card: #ffffff;
  --ml-border: #e5e7eb;
  --ml-shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
  --ml-shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.06);
  --ml-radius: 22px;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--ml-text);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; }

.ml-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.ml-topbar {
  background: var(--ml-navy);
  color: #e5e7eb;
  font-size: 14px;
  padding: 10px 0;
}
.ml-topbar-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.ml-topbar-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.ml-pill-small {
  color: #fff;
  background: rgba(255,255,255,0.10);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
}

.ml-site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ml-border);
}
.admin-bar .ml-site-header { top: 32px; }
.ml-nav {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.ml-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.06em;
  color: var(--ml-navy);
}
.ml-brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ml-orange), var(--ml-blue));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(37,99,235,.20);
  letter-spacing: 0;
}
.ml-brand span span { color: var(--ml-orange); }
.ml-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #334155;
  font-size: 15px;
  font-weight: 800;
}
.ml-menu ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; align-items: center; }
.ml-menu a:hover, .ml-menu .current-menu-item > a { color: var(--ml-blue); }
.ml-mobile-toggle { display: none; border: 0; background: var(--ml-light); border-radius: 12px; padding: 10px 12px; font-weight: 900; }

.ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: all .2s ease;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
}
.ml-btn-primary {
  background: var(--ml-orange);
  color: #111827;
  box-shadow: 0 14px 28px rgba(245,158,11,.25);
}
.ml-btn-primary:hover { background: var(--ml-orange-dark); color: #fff; transform: translateY(-2px); }
.ml-btn-dark { background: var(--ml-navy); color: #fff; }
.ml-btn-dark:hover { background: var(--ml-blue); color: #fff; transform: translateY(-2px); }
.ml-btn-outline { border: 1px solid var(--ml-border); color: var(--ml-navy); background: #fff; }
.ml-btn-outline:hover { border-color: var(--ml-blue); color: var(--ml-blue); transform: translateY(-2px); }

.ml-page-main { background: #fff; }
.ml-page-main > .wp-block-post-title { display: none; }

/* Home hero */
.ml-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(245,158,11,.24), transparent 26%),
    radial-gradient(circle at 82% 10%, rgba(37,99,235,.30), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #172554 56%, #111827 100%);
  color: #fff;
  padding: 96px 0 72px;
}
.ml-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 54px;
}
.ml-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  color: #fde68a;
  border: 1px solid rgba(255,255,255,.16);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 20px;
}
.ml-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -0.07em;
  margin: 0 0 24px;
  color: #fff;
}
.ml-hero h1 span { color: #fbbf24; }
.ml-hero p {
  color: #dbeafe;
  font-size: 19px;
  max-width: 650px;
  margin: 0 0 32px;
}
.ml-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.ml-trust-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; max-width: 680px; }
.ml-trust-item { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 16px; }
.ml-trust-item strong { display: block; color: #fff; font-size: 20px; line-height: 1.1; }
.ml-trust-item span { color: #bfdbfe; font-size: 13px; }
.ml-hero-card { background: rgba(255,255,255,.96); color: var(--ml-text); border-radius: 30px; padding: 28px; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.ml-hero-card h3 { font-size: 25px; letter-spacing: -0.03em; margin: 0 0 8px; color: var(--ml-navy); }
.ml-hero-card p { color: var(--ml-muted); font-size: 15px; margin: 0 0 22px; }
.ml-mini-dashboard { display: grid; gap: 14px; }
.ml-dash-row { background: var(--ml-light); border: 1px solid var(--ml-border); border-radius: 18px; padding: 16px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.ml-dash-row b { color: var(--ml-navy); }
.ml-dash-row span { color: var(--ml-green); font-weight: 900; }
.ml-progress { height: 9px; background: #e5e7eb; border-radius: 999px; overflow: hidden; margin-top: 8px; min-width: 170px; }
.ml-progress div { height: 100%; background: linear-gradient(90deg, var(--ml-orange), var(--ml-blue)); border-radius: 999px; }

.ml-section { padding: 84px 0; }
.ml-section-light { background: var(--ml-light); }
.ml-section-head { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.ml-label { display: inline-block; color: var(--ml-blue); background: #dbeafe; border-radius: 999px; padding: 6px 14px; font-weight: 900; font-size: 13px; margin-bottom: 14px; }
.ml-section-head h2, .ml-page-hero h1 { color: var(--ml-navy); font-size: clamp(32px, 4vw, 50px); line-height: 1.05; letter-spacing: -0.06em; margin: 0 0 14px; }
.ml-section-head p, .ml-page-hero p { color: var(--ml-muted); font-size: 17px; margin: 0; }

.ml-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ml-service-card, .ml-card, .ml-why-card, .ml-story, .ml-testimonial, .ml-process-card {
  background: var(--ml-card);
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  padding: 28px;
  box-shadow: var(--ml-shadow-soft);
}
.ml-service-card { transition: transform .2s ease, box-shadow .2s ease; }
.ml-service-card:hover { transform: translateY(-5px); box-shadow: var(--ml-shadow); }
.ml-icon-box { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: #fff7ed; font-size: 25px; margin-bottom: 18px; }
.ml-service-card h3, .ml-card h3, .ml-why-card h3 { color: var(--ml-navy); font-size: 22px; letter-spacing: -0.035em; margin: 0 0 10px; }
.ml-service-card p, .ml-card p, .ml-why-card p { color: var(--ml-muted); margin: 0 0 18px; }
.ml-check-list { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.ml-check-list li { display: flex; gap: 9px; color: #374151; font-size: 15px; }
.ml-check-list li::before { content: "✓"; color: var(--ml-green); font-weight: 900; flex: 0 0 auto; }

/* How we help */
.ml-help-section { background: #fff; }
.ml-help-feature {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
  margin: 28px 0;
  padding: 32px;
  border: 1px solid var(--ml-border);
  border-radius: 30px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: var(--ml-shadow-soft);
}
.ml-help-feature:nth-child(even) { grid-template-columns: 1.1fr .9fr; }
.ml-help-feature:nth-child(even) .ml-help-copy { order: 2; }
.ml-help-copy h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -0.06em; color: var(--ml-navy); margin: 10px 0 16px; }
.ml-help-copy p { color: var(--ml-muted); margin: 0 0 22px; font-size: 16px; }
.ml-help-kicker { color: var(--ml-blue); font-weight: 900; font-size: 14px; }
.ml-accordion { display: grid; gap: 10px; }
.ml-accordion details { border: 1px solid var(--ml-border); border-radius: 16px; background: #fff; overflow: hidden; }
.ml-accordion summary { list-style: none; cursor: pointer; padding: 16px 50px 16px 16px; font-weight: 850; color: #334155; position: relative; }
.ml-accordion summary::-webkit-details-marker { display: none; }
.ml-accordion summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--ml-blue); font-size: 22px; font-weight: 500; }
.ml-accordion details[open] summary::after { content: "−"; }
.ml-accordion details p { color: var(--ml-muted); padding: 0 16px 16px; margin: 0; font-size: 14px; }
.ml-creative-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ml-preview-card { min-height: 126px; border-radius: 18px; border: 1px solid var(--ml-border); background: #fff; overflow: hidden; box-shadow: 0 12px 24px rgba(15,23,42,.07); }
.ml-preview-top { height: 44px; background: linear-gradient(135deg, #fff7ed, #dbeafe); display: flex; align-items: center; padding: 10px 12px; gap: 8px; font-weight: 900; color: var(--ml-navy); }
.ml-preview-body { padding: 12px; display: grid; gap: 8px; }
.ml-preview-line { height: 8px; background: #e5e7eb; border-radius: 999px; }
.ml-preview-line.short { width: 65%; }
.ml-preview-products { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 6px; }
.ml-preview-product { height: 28px; border-radius: 8px; background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(37,99,235,.18)); }
.ml-icon-cloud { min-height: 360px; position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: center; }
.ml-floating-icon { border-radius: 24px; padding: 22px; background: #fff; border: 1px solid var(--ml-border); box-shadow: var(--ml-shadow-soft); }
.ml-floating-icon strong { display: block; font-size: 18px; color: var(--ml-navy); margin-bottom: 6px; }
.ml-floating-icon span { color: var(--ml-muted); font-size: 13px; }
.ml-floating-icon .emoji { font-size: 36px; margin-bottom: 10px; }

.ml-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ml-why-card strong { display: block; color: var(--ml-navy); font-size: 19px; margin: 10px 0 8px; }
.ml-why-card p { color: var(--ml-muted); margin: 0; }

/* Page templates */
.ml-page-hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(245,158,11,.20), transparent 24%),
    radial-gradient(circle at 82% 15%, rgba(37,99,235,.20), transparent 28%),
    linear-gradient(180deg, #f8fafc, #ffffff);
  padding: 76px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--ml-border);
}
.ml-page-hero .ml-container { max-width: 900px; }
.ml-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.ml-four-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ml-metric-card { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 18px; padding: 18px; text-align: center; }
.ml-metric-card strong { display:block; color: var(--ml-blue); font-size: 24px; font-weight: 900; }
.ml-metric-card span { color: #64748b; font-weight: 700; font-size: 13px; }
.ml-story { margin-bottom: 22px; }
.ml-story h3 { font-size: 28px; color: var(--ml-navy); letter-spacing: -0.04em; margin: 0 0 6px; }
.ml-story .cat { color: var(--ml-muted); font-weight: 700; margin-bottom: 18px; }
.ml-story-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ml-note { background: var(--ml-light); border: 1px solid var(--ml-border); border-radius: 18px; padding: 18px; }
.ml-note b { color: var(--ml-navy); display:block; margin-bottom:8px; }
.ml-note p { color: var(--ml-muted); margin: 0; font-size: 15px; }
.ml-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ml-testimonial .quote { font-size: 38px; color: var(--ml-orange); line-height: 1; margin-bottom: 12px; }
.ml-testimonial p { color: #475569; margin: 0 0 20px; }
.ml-author { display:flex; gap:12px; align-items:center; }
.ml-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--ml-orange), var(--ml-blue)); display:grid; place-items:center; color:#fff; font-weight:900; }
.ml-author b { display:block; color: var(--ml-navy); }
.ml-author span { color: var(--ml-muted); font-size:13px; }
.ml-tag-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.ml-tag-grid span { background:#fff; border:1px solid var(--ml-border); padding:12px 16px; border-radius:999px; color:#334155; font-weight:800; box-shadow:0 8px 18px rgba(15,23,42,.04); }

.ml-contact-section {
  background:
    radial-gradient(circle at 90% 15%, rgba(245,158,11,.22), transparent 26%),
    linear-gradient(135deg, #172554, #0f172a);
  color: #fff;
}
.ml-contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: stretch; }
.ml-contact-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 28px; padding: 30px; }
.ml-contact-box h2 { font-size: 42px; line-height: 1.05; letter-spacing: -0.05em; margin: 0 0 14px; color:#fff; }
.ml-contact-box p { color: #cbd5e1; margin: 0 0 22px; }
.ml-contact-list { display: grid; gap: 14px; }
.ml-contact-list div { background: rgba(255,255,255,.08); padding: 16px; border-radius: 18px; }
.ml-contact-list b { display:block; color:#fbbf24; margin-bottom:3px; }
.ml-form { background:#fff; color: var(--ml-text); border-radius:28px; padding:30px; box-shadow: var(--ml-shadow); }
.ml-form h3 { color: var(--ml-navy); font-size:26px; margin: 0 0 16px; letter-spacing:-0.035em; }
.ml-field-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.ml-field { margin-bottom:14px; }
.ml-field label { display:block; font-weight:900; color:#374151; font-size:13px; margin-bottom:7px; }
.ml-field input, .ml-field select, .ml-field textarea { width:100%; border:1px solid var(--ml-border); border-radius:14px; padding:13px 14px; font:inherit; outline:none; background:#fff; color: var(--ml-text); }
.ml-field textarea { min-height:126px; resize:vertical; }
.ml-field input:focus, .ml-field select:focus, .ml-field textarea:focus { border-color: var(--ml-blue); box-shadow:0 0 0 4px rgba(37,99,235,.10); }
.ml-alert { padding: 14px 16px; border-radius: 14px; margin-bottom: 16px; font-weight: 800; }
.ml-alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }

.ml-site-footer { background: #020617; color:#cbd5e1; padding:50px 0 28px; }
.ml-footer-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap:36px; padding-bottom:30px; border-bottom:1px solid rgba(255,255,255,.10); }
.ml-site-footer h3 { color:#fff; margin:0 0 12px; font-size:22px; }
.ml-site-footer p { color:#cbd5e1; margin:0; }
.ml-footer-links { display:flex; gap:16px; flex-wrap:wrap; margin-top:16px; color:#fff; font-weight:700; }
.ml-footer-contact { background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.09); border-radius:20px; padding:20px; display:grid; gap:7px; font-size:14px; }
.ml-copyright { padding-top:24px; font-size:13px; color:#94a3b8; }
.ml-disclaimer { margin-top:10px; font-size:12px; color:#94a3b8; max-width:980px; }

@media (max-width: 1000px) {
  .ml-hero-grid, .ml-contact-wrap, .ml-footer-grid, .ml-help-feature, .ml-help-feature:nth-child(even), .ml-two-col { grid-template-columns:1fr; }
  .ml-help-feature:nth-child(even) .ml-help-copy { order:0; }
  .ml-cards-grid, .ml-why-grid, .ml-testimonial-grid, .ml-four-grid { grid-template-columns: repeat(2, 1fr); }
  .ml-story-columns { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
  .admin-bar .ml-site-header { top: 46px; }
}

.ml-footer-contact .ml-footer-legal-inside {
  margin: 6px 0 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.10);
  gap: 14px;
}
.ml-footer-contact .ml-footer-legal-inside a {
  color: #fff;
}
.ml-footer-contact .ml-footer-legal-inside a:hover {
  color: #fbbf24;
}

@media (max-width: 760px) {
  .ml-topbar-wrap { justify-content:center; text-align:center; }
  .ml-topbar-links { justify-content:center; }
  .ml-nav { min-height:auto; padding: 16px 0; flex-wrap: wrap; }
  .ml-mobile-toggle { display:inline-flex; }
  .ml-menu { width:100%; display:none; }
  .ml-menu.is-open { display:block; }
  .ml-menu ul { display:grid; gap:10px; padding: 12px 0; }
  .ml-header-cta { display:none; }
  .ml-hero { padding: 68px 0 58px; }
  .ml-trust-row, .ml-cards-grid, .ml-why-grid, .ml-testimonial-grid, .ml-field-grid, .ml-four-grid, .ml-creative-grid, .ml-icon-cloud { grid-template-columns:1fr; }
  .ml-section { padding:64px 0; }
  .ml-help-feature { padding: 22px; }
  .ml-progress { min-width: 120px; }
}

/* v4.2/v4.3 Detailed Amazon advertising visual cards */
.ml-ad-visual-grid {
  gap: 16px;
  align-items: stretch;
}
.ml-ad-visual-card {
  background: #fff;
  border: 1px solid var(--ml-border);
  border-radius: 18px;
  padding: 18px;
  min-height: 255px;
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.ml-ad-visual-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(37,99,235,.18), rgba(245,158,11,.18));
}
.ml-ad-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ml-navy);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.ml-ad-visual-card p {
  color: #536175;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 14px;
}
.ml-mini-icon { color: var(--ml-blue); letter-spacing: -4px; font-size: 22px; transform: rotate(180deg); display: inline-block; }
.ml-search-icon { width: 22px; height: 22px; border: 3px solid var(--ml-orange); border-radius: 50%; position: relative; display: inline-block; }
.ml-search-icon::after { content: ""; width: 9px; height: 3px; background: var(--ml-orange); position: absolute; right: -7px; bottom: -4px; transform: rotate(45deg); border-radius: 999px; }
.ml-shield-icon { width: 26px; height: 26px; border-radius: 50% 50% 45% 45%; background: var(--ml-blue); color: #fff; display: grid; place-items: center; font-size: 13px; }
.ml-growth-icon { color: var(--ml-orange); font-size: 28px; line-height: 1; font-weight: 900; }
.ml-total-campaigns { width: fit-content; margin: 0 auto 11px; display: flex; align-items: center; border-radius: 5px; overflow: hidden; border: 1px solid #d8dee8; font-size: 11px; }
.ml-total-campaigns span { background: var(--ml-navy); color: #fff; padding: 5px 10px; }
.ml-total-campaigns b { color: var(--ml-blue); padding: 5px 11px; background: #fff; }
.ml-campaign-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ml-campaign-boxes span { border-radius: 10px; padding: 10px 6px; min-height: 54px; text-align: center; font-size: 10px; font-weight: 800; display: grid; place-items: center; color: var(--ml-navy); }
.ml-campaign-boxes span em { font-style: normal; color: var(--ml-blue); font-size: 15px; }
.ml-soft-blue { background: #eaf2ff; }
.ml-soft-orange { background: #fff3d8; }
.ml-soft-green { background: #e9f9ef; }
.ml-card-footer-chart { margin-top: auto; display: flex; align-items: end; gap: 5px; height: 42px; border-bottom: 1px solid #d8dee8; position: relative; padding-right: 62px; }
.ml-card-footer-chart i { flex: 1; background: linear-gradient(180deg, rgba(37,99,235,.45), rgba(37,99,235,.12)); border-radius: 8px 8px 0 0; }
.ml-card-footer-chart i:nth-child(1){height:22%}.ml-card-footer-chart i:nth-child(2){height:18%}.ml-card-footer-chart i:nth-child(3){height:24%}.ml-card-footer-chart i:nth-child(4){height:36%}.ml-card-footer-chart i:nth-child(5){height:33%}.ml-card-footer-chart i:nth-child(6){height:47%}.ml-card-footer-chart i:nth-child(7){height:62%}
.ml-card-footer-chart b { position: absolute; right: 0; bottom: -10px; background: #fff; border: 1px solid #dfe5ee; box-shadow: 0 8px 18px rgba(15,23,42,.08); border-radius: 10px; padding: 7px 8px; color: #64748b; font-size: 10px; line-height: 1.1; }
.ml-card-footer-chart b span { color: var(--ml-green); font-size: 14px; }
.ml-search-bar { border: 1px solid #dfe5ee; border-radius: 9px; padding: 9px 10px; color: #94a3b8; font-size: 11px; display:flex; justify-content: space-between; align-items:center; margin-bottom: 8px; }
.ml-keyword-table { font-size: 10px; color: #64748b; display: grid; gap: 0; }
.ml-keyword-table > div { display: grid; grid-template-columns: 1.55fr .75fr .7fr; gap: 6px; padding: 6px 0; border-bottom: 1px solid #eef2f7; align-items: center; }
.ml-keyword-table b { color: var(--ml-navy); font-size: 10px; }
.ml-keyword-table span:first-child { color: #0f172a; }
.ml-keyword-table em { font-style: normal; font-weight: 800; }
.ml-status-active { color: var(--ml-green); }
.ml-status-paused { color: var(--ml-orange); }
.ml-status-negative { color: #dc2626; }
.ml-defense-stats, .ml-scale-stats { border: 1px solid #dfe5ee; border-radius: 10px; display: grid; grid-template-columns: repeat(2,1fr); overflow: hidden; margin-bottom: 16px; }
.ml-defense-stats span, .ml-scale-stats span { padding: 9px 10px; border-right: 1px solid #e5e7eb; }
.ml-defense-stats span:last-child, .ml-scale-stats span:last-child { border-right: 0; }
.ml-defense-stats b, .ml-scale-stats b { display:block; color: var(--ml-navy); font-size: 10px; }
.ml-defense-stats em, .ml-scale-stats em { display:block; font-style: normal; font-weight: 900; color: var(--ml-blue); }
.ml-defense-stats span:nth-child(2) em { color: #dc2626; }
.ml-defense-flow { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ml-defense-flow > span { border-radius: 9px; padding: 8px; font-size: 10px; line-height: 1.2; font-weight: 800; }
.ml-defense-flow > span:first-child { background: #dcfce7; color: #16803c; }
.ml-defense-flow > span:last-child { background: #fee2e2; color: #dc2626; }
.ml-defense-flow div { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #dbeafe 0%, #eff6ff 70%); font-size: 28px; border: 1px dashed #93c5fd; }
.ml-scale-stats { grid-template-columns: repeat(3,1fr); margin-bottom: 10px; }
.ml-scale-stats em { color: var(--ml-navy); font-size: 13px; }
.ml-scale-stats small { display:block; color: var(--ml-green); font-weight: 900; }
.ml-growth-chart { margin-top: auto; height: 62px; display: flex; align-items: end; gap: 7px; border-bottom: 1px solid #d8dee8; position: relative; padding-right: 54px; background-image: linear-gradient(#eef2f7 1px, transparent 1px); background-size: 100% 18px; }
.ml-growth-chart i { flex: 1; background: linear-gradient(180deg, var(--ml-blue), rgba(37,99,235,.18)); border-radius: 8px 8px 0 0; min-width: 8px; }
.ml-growth-chart b { position: absolute; right: 0; bottom: 18px; background: var(--ml-blue); color: #fff; font-size: 11px; padding: 5px 8px; border-radius: 7px; box-shadow: 0 8px 18px rgba(37,99,235,.20); }
@media (max-width: 720px) {
  .ml-ad-visual-grid { grid-template-columns: 1fr; }
  .ml-ad-visual-card { min-height: auto; }
}


/* v4.3 Detailed listing optimization visual cards */
.ml-listing-visual-grid {
  gap: 16px;
  align-items: stretch;
}
.ml-listing-visual-card {
  background: #fff;
  border: 1px solid var(--ml-border);
  border-radius: 18px;
  padding: 18px;
  min-height: 248px;
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.ml-listing-visual-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(245,158,11,.22), rgba(37,99,235,.18));
}
.ml-list-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ml-navy);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.ml-list-card-head span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eff6ff;
  font-size: 16px;
}
.ml-listing-visual-card p {
  color: #536175;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 14px;
}
.ml-aplus-layout { display: grid; gap: 10px; margin-top: auto; }
.ml-aplus-hero { height: 58px; border-radius: 12px; background: linear-gradient(135deg, rgba(245,158,11,.22), rgba(37,99,235,.16)); display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px; padding: 10px; }
.ml-aplus-hero i { border-radius: 10px; background: rgba(255,255,255,.75); }
.ml-aplus-hero span { display: grid; gap: 6px; align-content: center; }
.ml-aplus-hero b { height: 8px; border-radius: 999px; background: #cbd5e1; }
.ml-aplus-hero b:nth-child(2) { width: 70%; }
.ml-aplus-modules { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.ml-aplus-modules span { min-height: 44px; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff; display: grid; align-content: center; gap: 6px; padding: 8px; }
.ml-aplus-modules span::before, .ml-aplus-modules span::after { content: ""; height: 6px; border-radius: 999px; background: #dbe4f0; }
.ml-aplus-modules span::after { width: 65%; }

.ml-store-wireframe { border: 1px solid #dfe5ee; border-radius: 13px; overflow: hidden; margin-top: auto; background: #fff; }
.ml-store-nav { height: 28px; background: var(--ml-navy); display: flex; align-items: center; gap: 5px; padding: 0 9px; }
.ml-store-nav i { width: 34px; height: 5px; border-radius: 999px; background: rgba(255,255,255,.75); }
.ml-store-hero { height: 52px; background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(245,158,11,.18)); display:flex; align-items:center; justify-content:center; font-weight: 900; color: var(--ml-blue); font-size: 12px; }
.ml-store-products { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 10px; }
.ml-store-products span { height: 34px; border-radius: 9px; background: #f1f5f9; border:1px solid #e5e7eb; }
.ml-store-products span:nth-child(2), .ml-store-products span:nth-child(4) { background:#fff7ed; }

.ml-gallery-phone { margin-top: auto; display: grid; grid-template-columns: .72fr 1fr; gap: 12px; align-items: end; }
.ml-phone-frame { width: 86px; height: 136px; border: 5px solid #111827; border-radius: 18px; padding: 8px; background: #fff; box-shadow: 0 12px 24px rgba(15,23,42,.12); }
.ml-phone-screen { height: 100%; border-radius: 12px; background: linear-gradient(180deg, #eff6ff, #fff7ed); display:grid; gap:5px; padding:8px; }
.ml-phone-screen i { border-radius: 7px; background: rgba(255,255,255,.82); }
.ml-phone-screen i:first-child { height: 42px; }
.ml-gallery-checks { display:grid; gap:8px; }
.ml-gallery-checks span { border:1px solid #dfe5ee; background:#fff; border-radius:10px; padding:8px 10px; font-weight:900; color:var(--ml-navy); font-size:11px; display:flex; gap:7px; align-items:center; }
.ml-gallery-checks span::before { content:"✓"; width:18px; height:18px; border-radius:50%; background:#dcfce7; color:#16a34a; display:grid; place-items:center; font-size:11px; }

.ml-seo-panel { margin-top: auto; border: 1px solid #dfe5ee; border-radius: 13px; padding: 12px; background: linear-gradient(180deg,#fff,#f8fafc); display:grid; gap:10px; }
.ml-seo-row { display: grid; grid-template-columns: 78px 1fr; gap: 9px; align-items:center; }
.ml-seo-row b { color: var(--ml-navy); font-size: 11px; }
.ml-seo-bar { height: 9px; border-radius: 999px; background:#e5e7eb; overflow:hidden; }
.ml-seo-bar i { display:block; height:100%; border-radius:999px; background: linear-gradient(90deg, var(--ml-orange), var(--ml-blue)); }
.ml-keyword-chips { display:flex; gap:6px; flex-wrap:wrap; margin-top:3px; }
.ml-keyword-chips span { border-radius:999px; background:#eff6ff; color: var(--ml-blue); font-weight:900; font-size:10px; padding:6px 8px; }

@media (max-width: 720px) {
  .ml-listing-visual-grid { grid-template-columns: 1fr; }
  .ml-listing-visual-card { min-height: auto; }
}


/* Legal pages and compliance additions */
.ml-audit-note {
  color: #bfdbfe !important;
  font-size: 13px !important;
  max-width: 650px;
  margin: -18px 0 28px !important;
}
.ml-page-note {
  color: var(--ml-muted);
  max-width: 780px;
  margin: 12px auto 0;
  font-size: 14px;
  font-weight: 600;
}
.ml-policy-content {
  max-width: 900px;
  background: #fff;
  border: 1px solid var(--ml-border);
  border-radius: 24px;
  box-shadow: var(--ml-shadow-soft);
  padding: 42px;
}
.ml-policy-content h2 {
  color: var(--ml-navy);
  font-size: 24px;
  letter-spacing: -0.035em;
  margin: 30px 0 10px;
}
.ml-policy-content h2:first-child { margin-top: 0; }
.ml-policy-content p,
.ml-policy-content li {
  color: #475569;
  font-size: 15px;
}
.ml-policy-content ul {
  padding-left: 22px;
  margin: 10px 0 18px;
}
.ml-policy-content a {
  color: var(--ml-blue);
  font-weight: 800;
}
.ml-secure-payment {
  margin-top: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 6px;
}
.ml-secure-payment strong {
  color: #fbbf24;
}
.ml-secure-payment span {
  color: #dbeafe;
  font-size: 14px;
}
.ml-footer-legal-links {
  margin-top: 12px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
}
.ml-footer-legal-links a:hover {
  color: #fff;
}

.ml-footer-contact .ml-footer-legal-inside {
  margin: 6px 0 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.10);
  gap: 14px;
}
.ml-footer-contact .ml-footer-legal-inside a {
  color: #fff;
}
.ml-footer-contact .ml-footer-legal-inside a:hover {
  color: #fbbf24;
}

@media (max-width: 760px) {
  .ml-policy-content { padding: 26px; }
}
