:root {
  --bg: #f5fbfd;
  --bg-2: #eaf6fa;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-solid: #ffffff;
  --line: rgba(24, 93, 115, 0.14);
  --line-strong: rgba(20, 157, 207, 0.32);
  --text: #102d3a;
  --muted: #55707b;
  --soft: #7f98a1;
  --cyan: #08aee0;
  --blue: #0b7ca8;
  --navy: #0b3141;
  --amber: #bf8743;
  --green: #158f70;
  --danger: #b63f35;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(38, 94, 114, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 0%, rgba(8, 174, 224, 0.16), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(180deg, #f7fcfe 0%, #edf8fb 46%, #ffffff 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.scanline {
  display: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 76px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 10px 40px rgba(22, 76, 97, 0.08);
}

.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 250px; }
.brand img { width: 146px; height: auto; filter: drop-shadow(0 8px 18px rgba(8, 174, 224, 0.12)); }
.brand span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; border-left: 1px solid var(--line); padding-left: 13px; line-height: 1.25; max-width: 112px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 13px;
  border-radius: var(--radius);
  color: #355866;
  font-size: 13px;
  font-weight: 600;
  transition: 0.18s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: rgba(8, 174, 224, 0.08); }

.menu-button {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 174, 224,0.08);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-button span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: 0.2s; }
.menu-open .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-button span:nth-child(2) { opacity: 0; }
.menu-open .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 92vh;
  padding: 150px clamp(20px, 5vw, 72px) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: end;
  gap: 44px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.05); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 253, 255, 0.96) 0%, rgba(248, 253, 255, 0.84) 38%, rgba(248, 253, 255, 0.44) 72%, rgba(248, 253, 255, 0.7) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.32) 0%, #f5fbfd 96%);
}
.hero-content { max-width: 760px; }
.eyebrow, .section-kicker {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(42px, 5.7vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.052em;
  max-width: 780px;
  margin-bottom: 26px;
}
h2 {
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1;
  letter-spacing: -0.045em;
}
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.hero-lead { max-width: 640px; color: #c1d0d0; font-size: 18px; margin-bottom: 34px; }
.hero-lead { color: #496875; max-width: 700px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 13px 20px;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--navy); color: #fff; border: 1px solid var(--navy); box-shadow: 0 14px 36px rgba(11, 49, 65, 0.18); }
.button.secondary { border: 1px solid var(--line-strong); background: rgba(255,255,255,0.72); color: var(--blue); }

.hero-panel {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(236,248,252,0.86));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 20px;
  align-self: center;
}
.panel-top { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.panel-top strong { margin-left: auto; color: var(--green); font-size: 11px; }
.signal { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }
.tank-card {
  min-height: 176px;
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 18px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background:
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(8, 124, 168, 0.055) 29px),
    rgba(255,255,255,0.58);
}
.tank-card span, .metric-grid span { color: var(--muted); font-size: 12px; }
.tank-card strong { display: block; font-size: 48px; line-height: 1; letter-spacing: -0.05em; }
.gauge { height: 130px; border: 1px solid var(--line-strong); border-radius: 6px; display: flex; align-items: end; padding: 5px; background: rgba(224, 244, 250, 0.8); }
.gauge span { display: block; width: 100%; border-radius: 4px; background: linear-gradient(180deg, #48c6e8, #0b7ca8); }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }
.metric-grid div { padding: 13px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,0.68); }
.metric-grid strong { display: block; margin-top: 2px; font-size: 14px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
}
.trust-strip div { padding: 30px clamp(18px, 3vw, 42px); border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { display: block; font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.05em; }
.trust-strip span { color: var(--muted); font-size: 13px; }

.section { max-width: 1180px; margin: 0 auto; padding: 110px clamp(20px, 4vw, 44px); }
.split, .section-head { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 58px; align-items: end; }
.split p, .section-head p, .system-copy p, .about-content p, .contact-card p { color: var(--muted); font-size: 16px; max-width: 620px; }

.services { padding-top: 70px; }
.service-grid { display: grid; grid-template-columns: 1.15fr 0.85fr 0.85fr; gap: 12px; margin-top: 36px; }
.service-card {
  min-height: 246px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(238, 249, 252, 0.62)),
    var(--panel);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.2s, background 0.2s;
}
.reveal.is-visible { opacity: 1; transform: none; }
.service-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background-color: #fff; box-shadow: 0 22px 60px rgba(22, 96, 124, 0.12); }
.service-card.reveal.is-visible:hover { transform: translateY(-4px); }
.service-card.featured { grid-row: span 2; min-height: 504px; display: flex; flex-direction: column; justify-content: space-between; border-color: rgba(8,174,224,0.34); background: linear-gradient(155deg, #ffffff, #eef9fc); }
.card-number { display: inline-block; color: var(--amber); font-weight: 800; font-size: 12px; margin-bottom: 32px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p, .service-card li { color: var(--muted); font-size: 14px; }
.service-card ul { list-style: none; display: grid; gap: 8px; margin-top: 24px; }
.service-card li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; margin-right: 10px; transform: translateY(-1px); }

.system-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 30px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 30px clamp(20px, 4vw, 44px) 110px;
  align-items: center;
}
.system-copy { padding: 0; }
.dashboard {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dashboard-bar { height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.dashboard-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.dashboard-bar strong { margin-left: auto; font-size: 12px; color: var(--text); }
.dashboard-body { display: grid; grid-template-columns: 1fr 230px; gap: 18px; padding: 22px; min-height: 360px; }
.ship-map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(8,174,224,0.16), transparent 38%),
    repeating-linear-gradient(90deg, rgba(8,124,168,0.06) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(8,124,168,0.05) 0 1px, transparent 1px 44px);
}
.ship-outline {
  position: relative;
  width: min(92%, 430px);
  height: 118px;
  border: 2px solid rgba(111,211,223,0.6);
  border-radius: 60px 16px 16px 60px;
  transform: perspective(500px) rotateX(12deg);
}
.ship-outline::after { content: ""; position: absolute; right: -30px; top: 50%; transform: translateY(-50%); border-left: 32px solid rgba(111,211,223,0.6); border-top: 58px solid transparent; border-bottom: 58px solid transparent; }
.tank { position: absolute; top: 18px; bottom: 18px; width: 18%; border: 1px solid rgba(111,211,223,0.38); background: rgba(111,211,223,0.13); border-radius: 6px; }
.t1 { left: 10%; } .t2 { left: 31%; } .t3 { left: 52%; } .t4 { left: 73%; }
.readout-list { display: grid; gap: 10px; }
.readout-list div { display: grid; grid-template-columns: 1fr auto; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(238, 249, 252, 0.74); }
.readout-list span, .readout-list em { color: var(--muted); font-size: 12px; font-style: normal; }
.readout-list strong { font-size: 22px; letter-spacing: -0.04em; }
.readout-list em { color: var(--green); }

.ships { padding-top: 70px; }
.ship-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 36px; }
.ship-grid article {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #eef9fc);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ship-grid span { color: var(--soft); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.ship-grid strong { font-size: 20px; line-height: 1.1; margin-top: 5px; }

.about-band {
  margin: 0 clamp(12px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(8,174,224,0.13), transparent 45%),
    rgba(255,255,255,0.76);
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 42px;
  padding: clamp(34px, 6vw, 72px);
}
.about-content p + p { margin-top: 16px; }
.timeline { display: grid; gap: 10px; }
.timeline div { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: rgba(255,255,255,0.64); }
.timeline span { color: var(--amber); font-weight: 800; font-size: 12px; }
.timeline strong { display: block; margin: 8px 0 4px; }
.timeline p { color: var(--muted); font-size: 13px; }

.contact-section { padding: 110px clamp(20px, 4vw, 44px); }
.contact-card {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 44px;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, rgba(234, 247, 251, 0.9) 48%, rgba(8,174,224,0.12));
}
.contact-details { display: grid; gap: 10px; align-content: start; }
.contact-details a, .contact-details address {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.7);
  padding: 14px 16px;
  color: var(--text);
  font-style: normal;
}
.contact-details a:hover { border-color: var(--line-strong); }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
}
.site-footer a { color: var(--blue); font-weight: 700; }

@media (max-width: 980px) {
  .menu-button { display: flex; }
  .nav-links {
    position: fixed;
    left: 14px; right: 14px; top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 70px rgba(22, 76, 97, 0.16);
  }
  .menu-open .nav-links { display: flex; }
  .nav-links a { padding: 14px; }
  .hero, .system-section, .about-band, .contact-card, .split, .section-head { grid-template-columns: 1fr; }
  .hero { align-items: start; padding-top: 126px; min-height: auto; }
  .hero-panel { max-width: 480px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip div:nth-child(2) { border-right: 0; }
  .trust-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card.featured { grid-row: auto; min-height: 300px; }
  .ship-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-header { height: 68px; }
  .brand { min-width: 0; gap: 0; }
  .brand img { width: 132px; }
  .brand span { display: none; }
  .hero { padding: 112px 18px 54px; gap: 28px; }
  h1 { font-size: clamp(38px, 11.8vw, 54px); line-height: 1.04; }
  h2 { font-size: clamp(31px, 10vw, 44px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .trust-strip, .service-grid, .ship-grid, .dashboard-body { grid-template-columns: 1fr; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip div:last-child { border-bottom: 0; }
  .section, .contact-section { padding-block: 74px; }
  .system-section { padding-bottom: 74px; }
  .dashboard-body { min-height: auto; }
  .ship-map { min-height: 260px; }
  .about-band, .contact-card { padding: 26px; margin-inline: 10px; }
  .site-footer { flex-direction: column; }
}
