
:root {
  --navy: #000723;
  --navy-soft: #07112f;
  --pink: #EB0C5E;
  --white: #ffffff;
  --text: #101828;
  --muted: #667085;
  --light: #f6f8fb;
  --border: #e5e7eb;
  --green: #22c55e;
  --amber: #f59e0b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(0, 7, 35, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.nav {
  width: min(1180px, 92%);
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 190px;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}

.brand-fallback {
  color: var(--white);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
}

.brand-fallback span {
  color: var(--pink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--pink);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 27px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 0 86px;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 28%, rgba(235,12,94,0.24), transparent 29%),
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.10), transparent 26%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 94%);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 62px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pink);
  background: rgba(235,12,94,0.12);
  border: 1px solid rgba(235,12,94,0.32);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 25px;
  animation: fadeUp 0.8s ease both;
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 1.8s infinite;
}

h1 {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  max-width: 850px;
  margin-bottom: 26px;
  animation: fadeUp 0.9s ease 0.1s both;
}

h1 span {
  color: var(--pink);
}

.hero-copy {
  max-width: 760px;
  font-size: 20px;
  color: rgba(255,255,255,0.76);
  margin-bottom: 35px;
  animation: fadeUp 0.9s ease 0.2s both;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s ease 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-3px);
}

.service-map {
  min-height: 520px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.03));
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
  overflow: hidden;
  position: relative;
  animation: fadeIn 1s ease 0.25s both;
}

.service-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.48;
}

.service-layout {
  min-height: 520px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    ". sdm ."
    "left core right"
    ". supplier .";
  gap: 22px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.side-nodes {
  display: grid;
  gap: 20px;
}

.side-left {
  grid-area: left;
}

.side-right {
  grid-area: right;
}

.node {
  border-radius: 18px;
  padding: 16px;
  background: rgba(0,7,35,0.72);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.20);
  animation: float 5s ease-in-out infinite;
  min-width: 0;
}

.node:nth-child(2) {
  animation-delay: 0.6s;
}

.node strong {
  display: block;
  color: var(--white);
  font-size: 17px;
  margin-bottom: 3px;
}

.node span {
  color: rgba(255,255,255,0.60);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.node .status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

.node .status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(34,197,94,0.80);
  animation: statusPulse 1.8s ease-in-out infinite;
}

.node-top {
  grid-area: sdm;
  justify-self: center;
  width: min(190px, 100%);
}

.node-bottom {
  grid-area: supplier;
  justify-self: center;
  width: min(190px, 100%);
}

.core {
  grid-area: core;
  width: 190px;
  height: 190px;
  justify-self: center;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(0,7,35,0.84);
  border: 1px solid rgba(235,12,94,0.42);
  box-shadow: 0 0 60px rgba(235,12,94,0.20);
  animation: corePulse 3.2s ease-in-out infinite;
}

.core strong {
  display: block;
  color: var(--white);
  font-size: 19px;
  line-height: 1.15;
}

.core span {
  display: block;
  color: var(--pink);
  font-size: 10px;
  font-weight: 900;
  margin-top: 7px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.context-strip {
  background: var(--navy);
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.context-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.context-inner span {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.74);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

section {
  padding: 96px 0;
}

.section-head {
  max-width: 860px;
  margin-bottom: 48px;
}

.kicker {
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 18px;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 800px;
}

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

.card {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 48px rgba(0,7,35,0.06);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(0,7,35,0.10);
  border-color: rgba(235,12,94,0.28);
}

.card h3 {
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--muted);
}

.monitoring,
.focus {
  background: var(--light);
}

.monitoring-grid,
.focus-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: center;
}

.status-board {
  background: var(--navy);
  color: var(--white);
  border-radius: 28px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 28px 80px rgba(0,7,35,0.16);
}

.status-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.status-board-head strong {
  font-size: 22px;
}

.live-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-state::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(34,197,94,0.78);
  animation: statusPulse 1.7s ease-in-out infinite;
}

.status-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.status-value-card {
  min-height: 138px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
}

.status-value-card small {
  color: rgba(255,255,255,0.58);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-value-card b {
  display: block;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  margin: 11px 0 8px;
}

.status-value-card p {
  color: rgba(255,255,255,0.62);
  font-size: 13px;
}

.status-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 800;
  margin-top: 10px;
}

.status-inline::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(34,197,94,0.75);
  animation: statusPulse 1.8s ease-in-out infinite;
}

.component-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.component-pill {
  border-radius: 999px;
  padding: 11px 12px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.76);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.component-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(34,197,94,0.75);
  animation: statusPulse 1.8s ease-in-out infinite;
}

.focus-list {
  display: grid;
  gap: 14px;
}

.focus-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: start;
  box-shadow: 0 14px 36px rgba(0,7,35,0.05);
}

.focus-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(235,12,94,0.09);
  color: var(--pink);
  font-weight: 900;
}

.focus-item h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 5px;
}

.focus-item p {
  color: var(--muted);
  font-size: 15px;
}

.dark {
  background: var(--navy);
  color: var(--white);
}

.dark h2 {
  color: var(--white);
}

.dark .lead {
  color: rgba(255,255,255,0.70);
}

.rail-segments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.segment {
  min-height: 150px;
  border-radius: 22px;
  padding: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}

.segment strong {
  display: block;
  color: var(--pink);
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.segment p {
  color: rgba(255,255,255,0.70);
}

.cta {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(235,12,94,0.22), transparent 34%),
    var(--navy);
  color: var(--white);
  border-radius: 38px;
  padding: 72px 30px;
}

.cta h2 {
  color: var(--white);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.cta p {
  color: rgba(255,255,255,0.72);
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 19px;
}

.legal-page {
  padding: 140px 0 90px;
  min-height: 80vh;
}

.legal-page h1 {
  color: var(--navy);
  animation: none;
  font-size: clamp(38px, 6vw, 64px);
}

.legal-content {
  max-width: 850px;
}

.legal-content h2 {
  font-size: 25px;
  margin: 34px 0 12px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
}

.site-footer {
  background: #f8fafc;
  padding: 42px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--pink);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(235,12,94,0.65); }
  70% { box-shadow: 0 0 0 12px rgba(235,12,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(235,12,94,0); }
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 1000px) {
  .hero-grid,
  .monitoring-grid,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-map {
    min-height: auto;
  }

  .grid,
  .rail-segments {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(0,7,35,0.98);
    border-top: 1px solid rgba(255,255,255,0.10);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 16px 4%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .brand-logo {
    width: 160px;
  }

  .service-layout {
    padding: 26px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "sdm supplier"
      "core core"
      "left left"
      "right right";
  }

  .side-nodes {
    grid-template-columns: 1fr 1fr;
  }

  .core {
    width: 170px;
    height: 170px;
  }

  .grid,
  .rail-segments,
  .status-values,
  .component-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 42px;
  }

  .service-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sdm"
      "core"
      "left"
      "right"
      "supplier";
  }

  .side-nodes {
    grid-template-columns: 1fr;
  }

  .context-inner {
    justify-content: flex-start;
  }
}
