:root {
  --ipmc-navy-950: #03142f;
  --ipmc-navy-900: #061d43;
  --ipmc-blue-600: #087cff;
  --ipmc-blue-500: #2191ff;
  --ipmc-blue-100: #eaf4ff;
  --ipmc-ink: #10213f;
  --ipmc-muted: #5d6b82;
  --ipmc-line: #dbe4f0;
  --ipmc-surface: #ffffff;
  --ipmc-bg: #f5f8fc;
  --ipmc-green: #17a668;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ipmc-ink);
  background: var(--ipmc-bg);
}
img { max-width: 100%; }

.ipmc-dashboard-section {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 108px) clamp(20px, 5vw, 76px);
  background:
    radial-gradient(circle at 80% 8%, rgba(33, 145, 255, .16), transparent 30%),
    linear-gradient(180deg, var(--ipmc-navy-950) 0 48%, var(--ipmc-bg) 48% 100%);
}

.ipmc-dashboard-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 60%);
}

.ipmc-dashboard-shell,
.ipmc-feature-grid {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  margin-inline: auto;
}

.ipmc-dashboard-shell {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(520px, 1.55fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}

.ipmc-dashboard-copy { color: #fff; }
.ipmc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #8bc7ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}
.ipmc-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--ipmc-blue-500);
}
.ipmc-dashboard-copy h1,
.ipmc-dashboard-copy h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.ipmc-dashboard-copy p {
  max-width: 660px;
  margin: 24px 0 0;
  color: #c7d5e9;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
}
.ipmc-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.ipmc-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ipmc-btn:hover { transform: translateY(-2px); }
.ipmc-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ipmc-blue-600), var(--ipmc-blue-500));
  box-shadow: 0 12px 28px rgba(8, 124, 255, .28);
}
.ipmc-btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
}
.ipmc-btn-light { color: var(--ipmc-navy-950); background: #fff; }
.ipmc-trust-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: #d8e4f4;
}
.ipmc-trust-list li { display: flex; align-items: center; gap: 11px; }
.ipmc-trust-list li::before {
  content: "✓";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(139, 199, 255, .5);
  border-radius: 50%;
  color: #8bc7ff;
  font-size: 13px;
  font-weight: 900;
}

.ipmc-dashboard-visual {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 36px 85px rgba(0, 0, 0, .36);
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
  transform-origin: center;
}
.ipmc-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  background: #eef3f9;
  border-bottom: 1px solid #d6e0ec;
}
.ipmc-browser-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #a8b5c8; }
.ipmc-browser-bar > span:first-child { background: #ff6a65; }
.ipmc-browser-bar > span:nth-child(2) { background: #ffc14d; }
.ipmc-browser-bar > span:nth-child(3) { background: #38c886; }
.ipmc-browser-address {
  flex: 1;
  max-width: 430px;
  margin-left: 8px;
  padding: 6px 12px;
  border-radius: 7px;
  background: #fff;
  color: #738198;
  font-size: 11px;
}
.ipmc-dashboard-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background: #fff;
}
.ipmc-dashboard-image-button img { display: block; width: 100%; height: auto; }
.ipmc-dashboard-image-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 20, 47, 0);
  transition: background .2s ease;
}
.ipmc-dashboard-image-button:hover::after { background: rgba(3, 20, 47, .14); }
.ipmc-open-label {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  opacity: 0;
  transform: translate(-50%, -42%);
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 20, 47, .88);
  font-weight: 750;
  transition: opacity .2s ease, transform .2s ease;
}
.ipmc-dashboard-image-button:hover .ipmc-open-label { opacity: 1; transform: translate(-50%, -50%); }

.ipmc-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: clamp(50px, 7vw, 90px);
}
.ipmc-feature-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--ipmc-line);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 30px rgba(15, 35, 68, .07);
}
.ipmc-feature-number { color: var(--ipmc-blue-600); font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.ipmc-feature-grid h2,
.ipmc-feature-grid h3 { margin: 28px 0 10px; font-size: 21px; }
.ipmc-feature-grid p { margin: 0; color: var(--ipmc-muted); line-height: 1.65; }

.ipmc-demo-cta {
  display: flex;
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto 70px;
  padding: clamp(30px, 5vw, 58px);
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(125deg, var(--ipmc-navy-900), #0c4c9c);
  box-shadow: 0 22px 48px rgba(3, 20, 47, .18);
}
.ipmc-demo-cta .ipmc-eyebrow { margin-bottom: 12px; }
.ipmc-demo-cta h2 { margin: 0; font-size: clamp(28px, 3vw, 46px); }
.ipmc-demo-cta p { margin: 12px 0 0; color: #d7e5f5; }

.ipmc-modal[hidden] { display: none; }
.ipmc-modal { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 24px; }
.ipmc-modal-backdrop { position: absolute; inset: 0; background: rgba(1, 9, 23, .88); backdrop-filter: blur(6px); }
.ipmc-modal-dialog { position: relative; z-index: 1; width: min(1500px, 96vw); max-height: 92vh; overflow: auto; border-radius: 12px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.ipmc-modal-dialog img { display: block; width: 100%; height: auto; }
.ipmc-modal-close { position: sticky; z-index: 3; top: 12px; float: right; width: 44px; height: 44px; margin: 12px; border: 0; border-radius: 50%; color: #fff; background: rgba(3,20,47,.9); font-size: 30px; line-height: 1; cursor: pointer; }
body.ipmc-modal-open { overflow: hidden; }

@media (max-width: 1100px) {
  .ipmc-dashboard-section { background: linear-gradient(180deg, var(--ipmc-navy-950) 0 58%, var(--ipmc-bg) 58% 100%); }
  .ipmc-dashboard-shell { grid-template-columns: 1fr; }
  .ipmc-dashboard-copy { text-align: center; }
  .ipmc-dashboard-copy h1, .ipmc-dashboard-copy h2, .ipmc-dashboard-copy p { margin-inline: auto; }
  .ipmc-dashboard-actions { justify-content: center; }
  .ipmc-trust-list { display: flex; flex-wrap: wrap; justify-content: center; }
  .ipmc-dashboard-visual { transform: none; }
  .ipmc-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .ipmc-dashboard-section { padding-inline: 16px; background: linear-gradient(180deg, var(--ipmc-navy-950) 0 62%, var(--ipmc-bg) 62% 100%); }
  .ipmc-dashboard-copy h1, .ipmc-dashboard-copy h2 { font-size: clamp(34px, 11vw, 48px); }
  .ipmc-dashboard-actions { display: grid; }
  .ipmc-btn { width: 100%; }
  .ipmc-trust-list { display: grid; justify-content: start; text-align: left; }
  .ipmc-browser-address { overflow: hidden; white-space: nowrap; }
  .ipmc-feature-grid { grid-template-columns: 1fr; }
  .ipmc-feature-grid article { min-height: auto; }
  .ipmc-demo-cta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
