:root {
  --ink: #111113;
  --muted: #6e6e73;
  --soft: #f5f5f7;
  --line: rgba(17, 17, 19, 0.12);
  --blue: #0071e3;
  --blue-dark: #005bb8;
  --panel: rgba(255, 255, 255, 0.78);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand,
.desktop-nav,
.hero-actions,
.doc-links,
footer {
  display: flex;
  align-items: center;
}

.header-actions,
.lang-switch {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 650;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: #111;
  font-size: 14px;
}

.desktop-nav {
  gap: 28px;
  font-size: 13px;
  color: #2f2f33;
}

.header-actions {
  gap: 12px;
}

.lang-switch {
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(17, 17, 19, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.lang-switch .segment {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #2f2f33;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch .segment.active {
  color: #fff;
  background: #111;
}

.desktop-nav a,
.header-cta,
.button {
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover {
  color: var(--blue);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.header-cta {
  padding: 7px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
}

.header-cta:hover,
.button.primary:hover {
  background: var(--blue-dark);
}

.hero {
  min-height: calc(100vh - 52px);
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
  gap: 28px;
  align-items: center;
  padding: 72px clamp(24px, 5vw, 86px) 36px;
  background:
    radial-gradient(circle at 78% 36%, rgba(120, 161, 196, 0.22), transparent 28%),
    linear-gradient(180deg, #fbfbfd 0%, #f4f5f8 100%);
  overflow: hidden;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  font-weight: 760;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: 1.03;
  font-weight: 740;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.14;
}

.hero-subtitle,
.section-heading p,
.copy-block p,
.immersive-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 650;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--blue);
  background: rgba(0, 113, 227, 0.1);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 580px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 2% 12%;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #dfe4eb);
  box-shadow: inset 0 1px 0 #fff, var(--shadow);
}

.hero-visual img {
  position: relative;
  width: min(100%, 920px);
  filter: drop-shadow(0 36px 45px rgba(0, 0, 0, 0.18));
  transition: opacity 220ms ease, transform 320ms ease;
}

.hero-visual img.switching {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
}

.availability {
  position: absolute;
  right: clamp(8px, 4vw, 42px);
  bottom: 38px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 470px;
}

.availability span,
.capabilities span,
.doc-links a {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(14px);
}

.availability span {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
}

.color-lab,
.scenarios,
.oem,
.specs,
.contact,
.capability-panel {
  padding: clamp(70px, 10vw, 132px) clamp(20px, 5vw, 86px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 44px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.color-switcher {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  color: #232326;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 620;
}

.swatch span {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 50%;
}

.swatch.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #d8d8dc;
}

.feature-strip div {
  padding: clamp(32px, 6vw, 76px) 24px;
  text-align: center;
  background: #fff;
}

.feature-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1;
}

.feature-strip span {
  color: var(--muted);
  font-size: 16px;
}

.immersive {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  padding: clamp(40px, 6vw, 80px);
  overflow: hidden;
}

.immersive.dark {
  color: #fff;
  background: #050506;
}

.scene-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.immersive::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent 62%);
}

.immersive-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.immersive-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.scenario-grid,
.oem-grid,
.spec-grid {
  display: grid;
  gap: 18px;
}

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

.scenario-grid article {
  overflow: hidden;
  min-height: 610px;
  padding: 18px;
  border-radius: 8px;
  background: var(--soft);
}

.scenario-grid img,
.scenario-grid video {
  width: 100%;
  height: 330px;
  margin-bottom: 24px;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
}

.scenario-grid p,
.price-card p,
.contact-card a {
  color: var(--muted);
  line-height: 1.48;
}

.scenario-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  color: var(--blue);
  background: rgba(0, 113, 227, 0.09);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.capability-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: center;
  background: #f7f7f8;
}

.copy-block {
  max-width: 720px;
}

.capabilities {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.capabilities span {
  padding: 18px 20px;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}

.oem {
  background:
    linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}

.oem-grid {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}

.price-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.05);
}

.price-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 700;
}

.price-card strong {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(30px, 3vw, 46px);
}

.price-card.emphasis {
  color: #fff;
  background: #111;
}

.price-card.emphasis p,
.price-card.emphasis span {
  color: rgba(255, 255, 255, 0.72);
}

.spec-grid {
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

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

.spec-grid span {
  color: var(--muted);
  font-weight: 650;
}

.spec-grid strong {
  font-weight: 620;
  line-height: 1.38;
}

.doc-links {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.doc-links a {
  padding: 12px 16px;
  color: var(--blue);
  font-weight: 650;
}

.contact {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 380px;
  gap: 42px;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.88)),
    url("./assets/images/ag18-black-front.png") center 34% / min(1200px, 105vw) no-repeat,
    #050506;
}

.contact-copy {
  max-width: 760px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.contact-card h3 {
  margin-bottom: 2px;
}

.contact-card a {
  color: rgba(255, 255, 255, 0.78);
}

.inquiry-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.inquiry-form label {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 120px;
}

.consent-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.preview-note {
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.22);
}

.form-status[data-state="success"] {
  color: #c7f9cc;
}

.form-status[data-state="error"] {
  color: #fecaca;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wide {
  width: 100%;
  margin-top: 10px;
}

footer {
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 86px);
  color: var(--muted);
  background: #f5f5f7;
  font-size: 13px;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero,
  .capability-panel,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .feature-strip,
  .scenario-grid,
  .oem-grid,
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0 16px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .color-lab,
  .scenarios,
  .oem,
  .specs,
  .contact,
  .capability-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .availability {
    position: static;
    justify-content: center;
    margin-top: 18px;
  }

  .feature-strip,
  .scenario-grid,
  .oem-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip div {
    padding: 34px 20px;
  }

  .immersive {
    min-height: 620px;
    padding: 28px 18px;
  }

  .scenario-grid article {
    min-height: auto;
  }

  .scenario-grid img,
  .scenario-grid video {
    height: 260px;
  }

  .spec-grid div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact {
    background-size: 900px auto;
  }

  footer {
    display: grid;
  }
}
