:root {
  --navy: #0a1622;
  --navy-2: #0d1e30;
  --surface: #101f30;
  --border: rgba(255, 255, 255, 0.09);
  --brand: #1287e4;
  --brand-strong: #0f6fbf;
  --ink: #eaf1f8;
  --muted: #97abc0;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: var(--brand); color: #fff;
  padding: 10px 14px;
  border-radius: 0 0 var(--radius) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Logo */
.brand__logo, .hero__logo {
  border-radius: 8px;
  background: var(--navy-2);
}
.brand__logo { width: 150px; height: auto; }
.hero__logo { width: min(360px, 82vw); height: auto; margin: 0 auto 22px; box-shadow: var(--shadow); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 34, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; }
.brand:hover { text-decoration: none; }
.nav__menu { display: flex; align-items: center; gap: 26px; }
.nav__menu a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav__menu a:hover { color: #fff; text-decoration: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-strong); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06); }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(18, 135, 228, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 64px 0 84px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero__tagline { margin: 0 0 10px; font-size: clamp(1.1rem, 2.6vw, 1.45rem); font-weight: 700; color: #fff; }
.hero__text { margin: 0 auto; max-width: 680px; color: var(--muted); }
.hero__text strong { color: #cfe2f5; }
.hero__actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 68px 0; }
.section--alt { background: var(--navy-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__title { margin: 0 0 6px; font-size: clamp(1.6rem, 3.5vw, 2.1rem); color: #fff; }
.section__lead { margin: 0 0 30px; color: var(--muted); }

.prose { max-width: 780px; color: var(--muted); }
.prose strong { color: #fff; }
.prose em { color: #cfe2f5; font-style: italic; }
.prose p + p { margin-top: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand);
  border: 1px solid rgba(18, 135, 228, 0.45);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.card__title { margin: 0 0 8px; font-size: 1.1rem; color: #fff; }
.card__text { margin: 0; color: var(--muted); font-size: 0.96rem; }

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.product__title { margin: 0; font-size: 1.25rem; color: #fff; }
.product__text { margin: 0; color: var(--muted); }
.product .btn { margin-top: auto; }

.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 560px; }
.contact li { display: flex; gap: 14px; align-items: baseline; }
.contact__label { min-width: 96px; color: var(--muted); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact a { color: var(--brand); }

/* Footer */
.footer { background: #08131e; color: var(--muted); padding: 26px 0; border-top: 1px solid var(--border); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__block { display: flex; flex-direction: column; gap: 4px; }
.footer__copy { font-size: 0.9rem; }
.footer__address { font-size: 0.85rem; color: var(--muted); }
.footer__link { color: #fff; font-size: 0.9rem; opacity: 0.85; }
.footer__link:hover { opacity: 1; }
.footer__copy a, .footer__address a { color: #fff; }

/* Responsive nav */
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 68px; right: 0; left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 20px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 8px 0; width: 100%; }
  .nav__menu .btn { margin-top: 8px; }
  .brand__logo { width: 128px; }
}
