@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --ink: #11213c;
  --muted: #5d6b82;
  --surface: #ffffff;
  --soft: #f3f7fc;
  --line: #dce5f0;
  --navy: #0a1f44;
  --blue: #146ff5;
  --aqua: #19c4c7;
  --shadow: 0 18px 44px rgba(17, 33, 60, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 229, 240, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--navy);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
  background: #eef5ff;
}

.mobile-nav { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 104px;
  color: #fff;
  background: var(--navy);
}

.hero::before,
.hero::after {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  content: "";
  filter: blur(2px);
}

.hero::before {
  top: -240px;
  right: -100px;
  background: rgba(25, 196, 199, 0.22);
}

.hero::after {
  bottom: -280px;
  left: 35%;
  background: rgba(20, 111, 245, 0.42);
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: #8ee9e6;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1, h2, h3 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.16;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.65rem, 6vw, 5rem);
  letter-spacing: -0.055em;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 32px;
  color: #d5e3f6;
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--aqua);
  color: #062040;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(25, 196, 199, 0.25); }

.section { padding: 104px 0; }
.section-soft { background: var(--soft); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2,
.split-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.section-heading p,
.split-content > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card,
.detail-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(17, 33, 60, 0.02);
}

.service-card { min-height: 222px; }

.service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 23px;
  place-items: center;
  border-radius: 10px;
  color: var(--blue);
  background: #eaf3ff;
  font-size: 1.25rem;
}

.service-card h3,
.detail-card h3 { margin-bottom: 10px; font-size: 1.12rem; letter-spacing: -0.02em; }
.service-card p,
.detail-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  gap: 72px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 17px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 31px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 0.43em;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dff8f6;
  color: #087f85;
  content: "✓";
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.feature-panel {
  padding: 42px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #123769, #0b1e42);
  box-shadow: var(--shadow);
}

.feature-panel .service-icon { color: #9af3ef; background: rgba(255, 255, 255, 0.1); }
.feature-panel h3 { font-size: 1.55rem; }
.feature-panel p { margin: 14px 0 0; color: #c8d8ed; }

.cta {
  padding: 74px 0;
  color: #fff;
  text-align: center;
  background: #102b58;
}

.cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.05em; }
.cta p { max-width: 550px; margin: 16px auto 26px; color: #c7d8f0; }

.site-footer { padding: 34px 0; background: #f8fafc; }

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy { margin: 0; color: var(--muted); font-size: 0.88rem; }
.certifications { display: flex; align-items: center; gap: 18px; }
.certifications img:first-child { width: 150px; height: auto; }
.certifications img:last-child { width: 68px; height: auto; }

.product-hero { padding-bottom: 92px; }
.product-hero h1 { max-width: 720px; }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 64px;
  align-items: center;
}

.product-diagram {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-diagram img { width: 100%; height: auto; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
  text-align: center;
  background: var(--navy);
}

.error-content { max-width: 600px; color: #fff; }
.error-code { margin: 0 0 12px; color: var(--aqua); font-size: 1rem; font-weight: 800; letter-spacing: 0.15em; }
.error-content h1 { font-size: clamp(4rem, 15vw, 8rem); }
.error-content p:not(.error-code) { margin: 16px 0 30px; color: #c9d8ed; font-size: 1.1rem; }

@media (max-width: 820px) {
  .hero { padding: 86px 0 80px; }
  .section { padding: 76px 0; }
  .section-heading,
  .split-content,
  .product-layout { grid-template-columns: 1fr; gap: 30px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout .product-diagram { grid-row: 1; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, 1120px); }
  .nav { min-height: 66px; }
  .nav-links { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { cursor: pointer; color: var(--navy); font-size: 1.3rem; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav {
    position: absolute;
    top: 42px;
    right: 0;
    display: grid;
    min-width: 180px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .mobile-nav a { padding: 11px 14px; border-radius: 6px; color: var(--muted); font-weight: 700; text-decoration: none; }
  .mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--blue); background: #eef5ff; }
  .service-grid, .detail-grid { grid-template-columns: 1fr; }
  .service-card, .detail-card, .feature-panel { padding: 25px; }
  .footer-content { flex-direction: column; text-align: center; }
  .certifications { gap: 12px; }
  .section-heading { margin-bottom: 34px; }
}
