:root {
  --navy: #01305C;
  --navy-deep: #031636;
  --blue: #217DAF;
  --teal: #3FB2C4;
  --ice: #DEE8F3;
  --green: #48D957;
  --text: #17324d;
  --muted: #5c7086;
  --white: #ffffff;
  --border: rgba(1, 48, 92, 0.12);
  --card-shadow: 0 18px 40px rgba(3, 22, 54, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f9fc;
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.logo-wrap {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
}
.logo-wrap img {
  max-height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-item {
  position: relative;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.96rem;
}
.nav-item.has-dropdown > a::after {
  content: " ▾";
  font-size: 0.72rem;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.2s ease;
}
.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu
{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
}
.dropdown-menu a:hover { background: #f3f8fb; }
.header-actions { display: flex; align-items: center; }
.btn,
button,
input[type="submit"] {
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover, button:hover, input[type="submit"]:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  box-shadow: 0 14px 24px rgba(33, 125, 175, 0.22);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(1,48,92,0.15);
}
.mobile-toggle {
  display: none;
  background: transparent;
  color: var(--navy);
  font-size: 1.8rem;
  padding: 6px 10px;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 30%, #0d4d82 100%);
  color: var(--white);
  padding: 70px 0 80px;
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.page-hero h1 { font-size: clamp(2.4rem, 4vw, 4rem); margin: 0 0 16px; }
.page-hero p { margin: 0 0 24px; color: rgba(255,255,255,0.85); max-width: 640px; font-size: 1.08rem; }
.eyebrow {
  display: inline-block;
  background: rgba(63,178,196,0.18);
  color: #d9f9ff;
  border: 1px solid rgba(63,178,196,0.3);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  margin-left: 20px;
}
.hero-visual img {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(95, 221, 255, 0.3));
}
.home-hero .page-hero-inner {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.home-hero .hero-visual {
  min-height: 600px;
  margin-left: -20px;
}
.home-hero .hero-visual img {
  width: 145%;
  max-width: none;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.metric-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 18px;
}
.metric-box strong { display: block; font-size: 1.8rem; margin-bottom: 6px; }
.metric-box span { color: rgba(255,255,255,0.8); }

section { padding: 84px 0; }
.section-header {
  margin-bottom: 30px;
}
.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--navy);
  margin: 0 0 12px;
}
.section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.card-image {
  height: 180px;
  background: linear-gradient(135deg, rgba(63,178,196,0.2), rgba(33,125,175,0.14));
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-content { padding: 24px; }
.card h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.45rem; }
.card p { margin: 0 0 18px; color: var(--muted); }
.card .meta { color: var(--blue); font-weight: 700; }

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.illustration-box {
  background: linear-gradient(135deg, rgba(63,178,196,0.12), rgba(33,125,175,0.08));
  border-radius: 22px;
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 1px solid rgba(1,48,92,0.08);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.check-list li {
  position: relative;
  margin-bottom: 16px;
  padding-left: 32px;
  color: var(--text);
  font-weight: 600;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(72,217,87,0.14);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 18px;
  box-shadow: var(--card-shadow);
}
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(63,178,196,0.14);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 10px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--card-shadow);
}
.product-card h3 {
  color: var(--navy);
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-top: 0;
}
.product-card p { color: var(--muted); }
.tag {
  display: inline-block;
  background: rgba(63,178,196,0.12);
  color: var(--navy);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  list-style: none; padding: 0; margin: 0;
}
.module-list li {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: #f7fbff;
  color: var(--text);
  font-weight: 600;
}

.workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.workflow span {
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.workflow .arrow { background: transparent; color: var(--teal); padding: 0; }

.cta-wrap {
  background: linear-gradient(135deg, rgba(63,178,196,0.12), rgba(33,125,175,0.09));
  border: 1px solid rgba(1,48,92,0.08);
  border-radius: 24px;
  padding: 38px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-wrap h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.cta-wrap p { margin: 0; color: var(--muted); }

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.82);
  padding: 58px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 30px;
  margin-bottom: 24px;
}
.footer-logo img {
  max-height: 42px;
  margin-bottom: 16px;
}
.footer-grid h4 {
  color: var(--white);
  margin: 0 0 14px;
  font-size: 1rem;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li { margin-bottom: 8px; }
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.94rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--card-shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
label {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(1,48,92,0.16);
  border-radius: 12px;
  background: #f9fbfc;
  color: var(--text);
  padding: 12px 14px;
}
textarea { min-height: 150px; resize: vertical; }
.full { grid-column: 1 / -1; }
.form-actions { margin-top: 18px; }

.notice {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(72,217,87,0.12);
  color: var(--navy);
  font-weight: 700;
  display: none;
}
.notice.visible { display: block; }

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .page-hero-inner, .two-column, .footer-grid, .card-grid, .steps, .product-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .home-hero .hero-visual {
    min-height: 320px;
    margin-left: 0;
  }
  .home-hero .hero-visual img {
    width: 100%;
    max-width: 700px;
  }
  .cta-wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .topbar { gap: 10px; }
  .logo-wrap { min-width: 0; }
  .header-actions .btn { padding: 12px 16px; }
  .section-header h2 { font-size: 2rem; }
}
.why-metricmind-visual {
  transform: translateX(-0px);
  width: 560px;
  max-width: 100%;
}