:root {
  --blue: #0f3f73;
  --blue-2: #0a2f58;
  --yellow: #f2c11f;
  --text: #122033;
  --muted: #637083;
  --light: #f4f7fa;
  --white: #ffffff;
  --border: rgba(18, 32, 51, .12);
  --shadow: 0 24px 60px rgba(13, 37, 65, .14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(7, 25, 45, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  margin-right: auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 800;
  color: var(--blue-2);
  background: var(--yellow);
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; line-height: 1.1; }
.brand small { font-size: 11px; opacity: .7; margin-top: 3px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
}

.nav-links a:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  transition: .25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--blue-2); box-shadow: 0 10px 30px rgba(242,193,31,.25); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.btn-accent { background: #fff; color: var(--blue-2); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 14px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: url("assets/hero-machine.png") center 56% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,18,33,.94) 0%, rgba(5,18,33,.79) 42%, rgba(5,18,33,.28) 75%, rgba(5,18,33,.08) 100%),
    linear-gradient(0deg, rgba(5,18,33,.45), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 150px 0 70px;
}

.eyebrow, .section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow { color: var(--yellow); }
.section-label { color: var(--blue); }

.hero h1 {
  max-width: 900px;
  margin: 18px 0 24px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.hero-lead {
  max-width: 700px;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255,255,255,.83);
}

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

.hero-stats {
  display: flex;
  gap: 1px;
  flex-wrap: wrap;
  margin-top: 58px;
  max-width: 900px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}

.hero-stats div {
  flex: 1 1 220px;
  padding: 20px 24px;
  background: rgba(7,25,45,.55);
}

.hero-stats strong, .hero-stats span { display: block; }
.hero-stats strong { font-size: 22px; }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 2px; }

.section { padding: 110px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--blue-2); color: #fff; }

.split, .specs-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: center;
}

.media-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-card img { aspect-ratio: 4 / 3; object-fit: cover; }

.media-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(7,25,45,.86);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.content h2, .section-head h2, .specs-copy h2, .cta-box h2 {
  margin: 12px 0 20px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.content p, .section-head p, .specs-copy p, .cta-box p {
  color: var(--muted);
  font-size: 17px;
}

.section-dark .section-label { color: var(--yellow); }
.section-dark .section-head p { color: rgba(255,255,255,.68); }

.mini-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.mini-features span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
}

.section-head { max-width: 760px; margin-bottom: 42px; }

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

.feature-card {
  min-height: 230px;
  padding: 28px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
}

.feature-card .icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-2);
  font-weight: 800;
  font-size: 13px;
}

.feature-card h3 { margin: 24px 0 10px; font-size: 20px; }
.feature-card p { margin: 0; color: rgba(255,255,255,.68); }

.specs-layout { align-items: start; }
.specs-copy { position: sticky; top: 110px; }
.specs-copy .btn { margin-top: 20px; }

.specs-table {
  background: #fff;
  border-radius: 22px;
  padding: 10px 26px;
  box-shadow: var(--shadow);
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.spec-row:last-child { border-bottom: 0; }
.spec-row span { color: var(--muted); }
.spec-row strong { text-align: right; }

.gallery-section { background: #fff; }

.gallery {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 18px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--light);
}

.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { min-height: 520px; }
.gallery-side { min-height: 520px; }

.cta-section {
  padding: 0 0 110px;
  background: #fff;
}

.cta-box {
  padding: 54px 60px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-box .section-label { color: var(--yellow); }
.cta-box h2 { margin-bottom: 10px; }
.cta-box p { color: rgba(255,255,255,.72); margin: 0; }

.footer {
  padding: 70px 0 24px;
  background: #07192d;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr .55fr 1.2fr;
  gap: 50px;
}

.footer h3 { margin: 0 0 12px; font-size: 15px; color: rgba(255,255,255,.6); }
.footer p, .footer a { color: rgba(255,255,255,.83); }
.footer p { margin: 0; }

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.48);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .nav-links, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
    background: #07192d;
  }
  .split, .specs-layout { grid-template-columns: 1fr; gap: 42px; }
  .specs-copy { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .gallery-main, .gallery-side { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero { background-position: 60% center; }
  .hero-content { padding-top: 120px; }
  .hero h1 { font-size: 40px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 80px 0; }
  .cards { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .spec-row strong { text-align: left; }
  .cta-box { padding: 36px 24px; flex-direction: column; align-items: flex-start; }
  .cta-box .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
