
:root {
  --bg: #060d19;
  --bg-soft: #0a1728;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-2: rgba(255, 255, 255, 0.095);
  --line: rgba(217, 225, 236, 0.16);
  --text: #f3f7fc;
  --muted: #aab7c8;
  --soft: #d7e0ec;
  --accent: #83afe7;
  --accent-2: #bdd2ee;
  --ok: #8bd9ae;
  --warn: #dfc167;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(131, 175, 231, 0.18), transparent 32rem),
    radial-gradient(circle at 88% 10%, rgba(217, 225, 236, 0.08), transparent 28rem),
    linear-gradient(145deg, #030711 0%, var(--bg) 52%, #091a2f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  background: var(--text);
  color: #06101e;
  padding: 10px 14px;
  border-radius: 12px;
}

.skip-link:focus { left: 12px; }

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 13, 25, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 13px;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}

.brand-name {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-name strong {
  letter-spacing: -0.02em;
}

.brand-name small {
  color: var(--muted);
  font-weight: 650;
  font-size: 0.76rem;
  white-space: nowrap;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.94rem;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

.menu-button {
  display: none;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 11px;
  font-size: 1rem;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 400px);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  padding: clamp(54px, 9vw, 92px) 0 clamp(58px, 8vw, 86px);
}

.hero-copy { min-width: 0; }

.eyebrow {
  margin: 0 0 15px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 850;
}

h1, h2, h3 { margin-top: 0; }

h1 {
  max-width: 770px;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 5.2vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 690px;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(217,225,236,0.34);
}

.button.primary {
  color: #07111f;
  background: linear-gradient(135deg, #f9fbff, #aebbd0);
}

.button.secondary {
  color: var(--text);
  background: rgba(131, 175, 231, 0.16);
}

.button.ghost {
  color: var(--soft);
  background: rgba(255, 255, 255, 0.048);
}

.hero-card,
.panel,
.card,
.timeline-item,
.cert,
.service-card,
.guide-step,
.contact-card,
.status-panel,
.faq-item,
.metric {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel-2), var(--panel));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.status-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(131,175,231,0.14), transparent 42%);
  pointer-events: none;
}

.hero-card img {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(320px, 46vw, 500px);
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.hero-caption {
  position: relative;
  padding: 14px 8px 4px;
}

.hero-caption strong { display: block; }
.hero-caption span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.94rem;
}

.metrics {
  display: grid;
  max-width: 650px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.metric { padding: 16px; }

.metric strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.87rem;
  margin-top: 2px;
}

.section { padding: clamp(58px, 8vw, 82px) 0; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 24px;
}

.panel,
.card,
.cert,
.service-card,
.guide-step,
.contact-card,
.status-panel { padding: 24px; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.pill-row span {
  padding: 8px 11px;
  color: var(--soft);
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 850;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
}

.timeline-item time {
  color: var(--accent-2);
  font-weight: 850;
}

.project-feature { grid-column: span 2; }

.cert {
  min-height: 190px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.cert:hover,
.service-card:hover,
.guide-step:hover {
  transform: translateY(-3px);
  border-color: rgba(189,210,238,0.42);
}

.cert img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
}

.status-panel {
  position: relative;
}

.status-panel > * { position: relative; }

.status-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.status-row:last-child { border-bottom: 0; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 18px var(--ok);
}

.dot.warn {
  background: var(--warn);
  box-shadow: 0 0 18px var(--warn);
}

.dot.private {
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.status-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
  text-align: right;
}

.copy-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin: 14px 0;
  background: rgba(0,0,0,0.22);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.copy-box code {
  flex: 1;
  overflow-wrap: anywhere;
}

.copy-box button {
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  color: #07111f;
  background: var(--soft);
  cursor: pointer;
  font-weight: 850;
}

.step-num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #07111f;
  background: linear-gradient(135deg, #f9fbff, #aebbd0);
  border-radius: 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.contact-chip {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  border-radius: 16px;
}

.contact-chip small {
  display: block;
  color: var(--muted);
  font-weight: 750;
  margin-bottom: 4px;
}

.contact-chip strong {
  overflow-wrap: anywhere;
}

.faq { display: grid; gap: 12px; }

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 850;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
}

.contact-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 20px;
  text-align: center;
  color: var(--muted);
}

.footer img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 11px;
  margin: 0 auto 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 580ms ease, transform 580ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.small-note {
  color: #8796aa;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .grid-2,
  .grid-3,
  .timeline-item,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-card {
    max-width: 520px;
  }

  .project-feature { grid-column: span 1; }

  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .menu-button { display: inline-flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(6, 13, 25, 0.98);
  }

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

  main { padding: 0 18px; }

  .brand-name small { display: none; }

  .metrics { grid-template-columns: 1fr; }

  .status-row {
    grid-template-columns: 14px 1fr;
  }

  .status-row em {
    grid-column: 2;
    text-align: left;
    margin-top: -8px;
  }

  .copy-box {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(2.45rem, 11vw, 3.55rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
