:root {
  --bg: #030813;
  --bg-soft: #07111f;
  --panel: rgba(9, 24, 43, 0.84);
  --panel-strong: #0b1829;
  --line: rgba(55, 157, 255, 0.35);
  --line-bright: #208cff;
  --text: #f5f8ff;
  --muted: #9eacc0;
  --blue: #0c74ff;
  --cyan: #37c8ff;
  --max: 1180px;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 113, 255, 0.15), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(35, 199, 255, 0.10), transparent 28%),
    linear-gradient(180deg, #02050b, var(--bg));
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.container {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 7, 15, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
}

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

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--text);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 12px;
}

.hero {
  min-height: 740px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 13, 0.96) 0%, rgba(2, 6, 13, 0.73) 48%, rgba(2, 6, 13, 0.42) 100%),
    url("assets/engine-banner.webp") center / cover no-repeat;
  filter: saturate(0.9);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 96px 0;
  max-width: 730px;
  margin-right: auto;
}

.eyebrow {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1, h2, h3 {
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.6rem);
  margin: 18px 0 24px;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin: 0 0 18px;
}

h3 {
  font-size: 1.35rem;
}

.hero p {
  max-width: 640px;
  color: #c7d2e2;
  font-size: 1.18rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 119, 255, 0.28);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(4, 13, 25, 0.72);
}

.section {
  padding: 92px 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-intro p,
.muted {
  color: var(--muted);
}

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

.card {
  background: linear-gradient(180deg, rgba(13, 31, 53, 0.9), rgba(6, 18, 32, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card-body {
  padding: 24px;
}

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

.screenshot {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}

.product-highlight {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: center;
  background: linear-gradient(135deg, rgba(10, 42, 81, 0.75), rgba(5, 18, 33, 0.93));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.product-logo {
  width: min(100%, 460px);
  margin: auto;
  filter: drop-shadow(0 24px 35px rgba(0, 102, 255, 0.28));
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}

.badge {
  border: 1px solid var(--line);
  background: rgba(17, 55, 89, 0.55);
  border-radius: 999px;
  padding: 7px 12px;
  color: #d9eaff;
  font-size: 0.9rem;
}

.page-hero {
  padding: 104px 0 54px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at top left, rgba(20, 114, 255, 0.18), transparent 44%);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.content {
  width: min(calc(100% - 36px), 860px);
  margin: 0 auto;
  padding: 72px 0 100px;
}

.content h2 {
  font-size: 1.75rem;
  margin-top: 44px;
}

.content h3 {
  margin-top: 28px;
}

.content p,
.content li {
  color: #c5cfdd;
}

.content a {
  color: var(--cyan);
}

.notice {
  border-left: 4px solid var(--cyan);
  background: var(--panel);
  padding: 18px 20px;
  border-radius: 0 14px 14px 0;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

.footer a {
  text-decoration: none;
}

@media (max-width: 850px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .product-highlight {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 670px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    background: #06101d;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
  }

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

  .menu-button {
    display: inline-flex;
  }
}
