:root {
  --ink: #121a1b;
  --muted: #65706e;
  --paper: #f5f7f6;
  --line: #dce4e1;
  --dark: #030605;
  --teal: #50c4b7;
  --teal-deep: #2f8177;
  --navy: #092b55;
  --orange: #f05a28;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body.ready .site-header {
  animation: headerDrop .7s ease both;
}

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

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

section[id] {
  scroll-margin-top: 128px;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 24px;
  left: 50%;
  width: min(88vw, 1680px);
  min-height: 70px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 250px 1fr auto;
  gap: 22px;
  align-items: center;
  color: #fff;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translate(-50%, -12px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 238px;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .28));
}

.nav {
  justify-self: center;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(3, 6, 5, .78);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.nav a {
  min-width: 86px;
  padding: 10px 15px;
  border-radius: 999px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: rgba(255, 255, 255, .9);
}

.nav a:hover {
  background: #fff;
  color: var(--teal-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  height: 48px;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(3, 6, 5, .78);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}

.lang-toggle span {
  min-width: 42px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.lang-toggle .active {
  background: #fff;
  color: var(--navy);
}

.header-cta,
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.header-cta,
.btn.primary {
  background: var(--teal);
  color: #061210;
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 835px;
  overflow: hidden;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  background: var(--dark);
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 6, 5, .9), rgba(3, 6, 5, .48) 47%, rgba(3, 6, 5, .7)),
    url("assets/model-front.webp") right 7vw center / min(880px, 55vw) auto no-repeat,
    radial-gradient(circle at 70% 38%, rgba(80, 196, 183, .26), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(240, 90, 40, .18), transparent 22%),
    linear-gradient(140deg, #060b0c, #061f2d 62%, #081312);
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(3, 6, 5, .92), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(790px, 88vw);
  padding: 238px 0 0 7vw;
}

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

.eyebrow.dark {
  color: var(--teal-deep);
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 5.4vw, 82px);
  line-height: 1.1;
  font-weight: 900;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(31px, 3.1vw, 54px);
  line-height: 1.16;
  font-weight: 900;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.22;
  font-weight: 900;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, .84);
  font-size: 20px;
}

.hero-actions,
.download-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  position: absolute;
  z-index: 1;
  right: 7vw;
  bottom: 58px;
  width: min(650px, 86vw);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-stats article,
.danger-grid article,
.case-grid article {
  border-radius: var(--radius);
}

.hero-stats article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
}

.hero-stats strong {
  display: block;
  font-size: 31px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.identity,
.problem,
.principle,
.gallery,
.specs,
.comparison {
  width: min(1680px, 86vw);
  margin: 0 auto;
  padding: 96px 0;
}

.problem {
  padding-top: 180px;
}

.identity {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: end;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.identity-grid article {
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.identity-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 900;
}

.identity-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: 25px;
  line-height: 1.24;
}

.identity-grid p,
.problem-copy p,
.principle-copy p,
.comparison p,
.spec-note p {
  color: var(--muted);
  font-size: 18px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2,
.section-head .eyebrow {
  grid-column: 1;
}

.section-head h2 {
  max-width: 960px;
}

.section-head.light {
  color: #fff;
}

.problem-layout,
.principle,
.spec-layout,
.comparison {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  gap: 56px;
  align-items: center;
}

.visual-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #121819;
}

.visual-card img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
}

.danger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.danger-grid article {
  min-height: 150px;
  padding: 22px;
  background: var(--navy);
  color: #fff;
}

.danger-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 30px;
  line-height: 1;
}

.danger-grid span {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.technology {
  padding: 96px 7vw;
  background: var(--dark);
  color: #fff;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tech-grid article {
  min-height: 320px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--teal-deep);
}

.tech-grid article:nth-child(2) {
  background: #245f79;
}

.tech-grid article:nth-child(3) {
  background: var(--navy);
}

.tech-grid article:nth-child(4) {
  background: #9b3d24;
}

.tech-grid .icon {
  display: block;
  margin-bottom: 56px;
  font-size: 48px;
  line-height: 1;
  text-align: right;
}

.tech-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
}

.principle {
  grid-template-columns: .9fr 1.1fr;
}

.step-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.step-list span {
  padding: 15px 18px;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: var(--paper);
  color: #293431;
  font-weight: 800;
}

.video-panel {
  overflow: hidden;
  border: 12px solid var(--teal-deep);
  border-radius: var(--radius);
  background: var(--teal-deep);
}

.video-panel video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #000;
}

.gallery {
  padding-top: 0;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.gallery-main,
.gallery-side img {
  overflow: hidden;
  border-radius: var(--radius);
  background: #141819;
}

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

.gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

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

.gallery-side img:last-child {
  object-position: center 28%;
}

.spec-layout {
  align-items: stretch;
}

.table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

th,
td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

th {
  width: 210px;
  background: #edf5f3;
  color: var(--teal-deep);
  font-weight: 900;
}

td {
  color: #3a4644;
}

.spec-note {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
}

.spec-note img {
  width: 112px;
  margin-bottom: 30px;
  border-radius: 50%;
}

.spec-note p {
  color: rgba(255, 255, 255, .72);
}

.cases {
  padding: 96px 7vw;
  background: var(--dark);
  color: #fff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.case-grid article {
  min-height: 360px;
  padding: 30px;
  background: var(--teal-deep);
}

.case-grid article:nth-child(2) {
  background: #245f79;
}

.case-grid article:nth-child(3) {
  background: var(--navy);
}

.case-grid article:nth-child(4) {
  background: #87391e;
}

.case-grid span {
  display: block;
  min-height: 44px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 800;
}

.case-grid h3 {
  margin: 38px 0 18px;
  color: #fff;
  font-size: 54px;
  line-height: 1;
}

.case-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .82);
}

.comparison {
  align-items: start;
}

.compare-table {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.compare-table div {
  display: grid;
  grid-template-columns: 1.1fr .95fr .95fr;
  border-bottom: 1px solid var(--line);
}

.compare-table div:first-child {
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.compare-table div:last-child {
  border-bottom: 0;
}

.compare-table span,
.compare-table strong {
  padding: 20px;
  font-size: 17px;
}

.compare-table strong {
  color: var(--orange);
}

.contact {
  padding: 96px 7vw;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 52px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3, 6, 5, .94), rgba(3, 6, 5, .72)),
    url("assets/model-side.webp") center / cover no-repeat;
  color: #fff;
}

.contact-copy p {
  max-width: 780px;
  color: rgba(255, 255, 255, .78);
  font-size: 19px;
}

.contact-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
}

.contact-card img {
  width: 260px;
  margin-bottom: 24px;
}

.contact-card p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .78);
}

.contact-card p a {
  color: #fff;
  font-weight: 900;
}

.wechat-box {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
  margin: 24px 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
}

.wechat-box img {
  width: 132px;
  margin: 0;
  border-radius: 6px;
  background: #fff;
}

.wechat-box strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 20px;
}

.wechat-box span {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.55;
}

.footer {
  min-height: 180px;
  padding: 44px 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--dark);
  color: #fff;
}

.footer img {
  width: 74px;
  margin-bottom: 12px;
  border-radius: 50%;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer .company-link {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
  text-decoration: none;
}

.footer .company-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .36);
}

.footer .back-top {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal);
  color: #061210;
  font-size: 26px;
  font-weight: 900;
}

@media (max-width: 1260px) {
  .site-header {
    grid-template-columns: 220px 1fr;
  }

  .brand img {
    width: 210px;
  }

  .nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .hero {
    min-height: 900px;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(3, 6, 5, .92), rgba(3, 6, 5, .5)),
      url("assets/model-front.webp") right -160px bottom 150px / 760px auto no-repeat,
      linear-gradient(140deg, #060b0c, #061f2d 62%, #081312);
  }

  .hero-stats {
    left: 7vw;
    right: auto;
  }

  .identity,
  .problem-layout,
  .principle,
  .gallery,
  .spec-layout,
  .comparison,
  .contact {
    grid-template-columns: 1fr;
  }

  .tech-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-main img,
  .gallery-side img {
    height: 460px;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 14px;
    width: calc(100% - 28px);
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand img {
    width: 176px;
  }

  .header-cta {
    display: none;
  }

  .lang-toggle {
    height: 44px;
  }

  .lang-toggle span {
    min-width: 34px;
    height: 32px;
  }

  .hero {
    min-height: 960px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(3, 6, 5, .9), rgba(3, 6, 5, .74)),
      url("assets/model-front.webp") center bottom 250px / 620px auto no-repeat,
      linear-gradient(140deg, #060b0c, #061f2d 62%, #081312);
  }

  .hero-content {
    width: calc(100% - 36px);
    padding: 132px 0 0 18px;
  }

  h1 {
    font-size: 38px;
    word-break: break-all;
  }

  h2 {
    font-size: 31px;
    word-break: break-all;
  }

  .hero-copy,
  .identity-grid strong,
  .identity-grid p {
    word-break: break-all;
  }

  .hero-copy,
  .contact-copy p {
    font-size: 17px;
  }

  .hero-actions,
  .download-row,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-stats {
    left: 18px;
    bottom: 28px;
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
  }

  .identity,
  .problem,
  .principle,
  .gallery,
  .specs,
  .comparison {
    width: calc(100% - 36px);
    padding: 64px 0;
  }

  .identity-grid,
  .danger-grid,
  .tech-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .technology,
  .cases,
  .contact {
    padding: 64px 18px;
  }

  .tech-grid article,
  .case-grid article {
    min-height: 0;
  }

  .tech-grid .icon {
    margin-bottom: 28px;
  }

  .video-panel {
    border-width: 8px;
  }

  .gallery-main img,
  .gallery-side img {
    height: 330px;
  }

  th,
  td {
    display: block;
    width: 100%;
    padding: 16px 18px;
  }

  td {
    border-bottom: 1px solid var(--line);
  }

  .compare-table {
    overflow-x: auto;
  }

  .compare-table div {
    min-width: 620px;
  }

  .contact-card {
    padding: 24px;
  }

  .contact-card img {
    width: 220px;
  }

  .wechat-box {
    grid-template-columns: 112px 1fr;
    gap: 14px;
    padding: 14px;
  }

  .wechat-box img {
    width: 112px;
  }

  .footer {
    padding: 36px 18px;
  }
}

/* Brand v2: align the site with the MagBee logo palette. */
:root {
  --ink: #071426;
  --muted: #667384;
  --paper: #f4f7fb;
  --line: #d8e1ec;
  --dark: #020816;
  --teal: #f05a28;
  --teal-deep: #092b55;
  --navy: #071f46;
  --orange: #f05a28;
}

body {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 48%, #ffffff 100%);
  color: var(--ink);
}

.site-header {
  color: var(--navy);
}

.brand img {
  width: 246px;
  filter: drop-shadow(0 12px 28px rgba(7, 20, 38, .18));
}

.nav {
  border: 1px solid rgba(9, 43, 85, .16);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 45px rgba(7, 20, 38, .16);
}

.nav a {
  color: rgba(7, 20, 38, .82);
}

.nav a:hover {
  background: var(--navy);
  color: #fff;
}

.lang-toggle {
  border: 1px solid rgba(9, 43, 85, .16);
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  box-shadow: 0 18px 45px rgba(7, 20, 38, .14);
}

.lang-toggle .active {
  background: var(--navy);
  color: #fff;
}

.header-cta,
.btn.primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 14px 32px rgba(240, 90, 40, .28);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .13);
}

.hero {
  background: var(--dark);
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(2, 8, 22, .94), rgba(2, 8, 22, .58) 46%, rgba(2, 8, 22, .72)),
    url("assets/model-front.webp") right 7vw center / min(900px, 56vw) auto no-repeat,
    radial-gradient(circle at 68% 35%, rgba(240, 90, 40, .25), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, .12), transparent 20%),
    linear-gradient(135deg, #020816 0%, #061b3d 56%, #0a2f5f 100%);
}

.hero-shade {
  background: linear-gradient(0deg, rgba(2, 8, 22, .95), transparent);
}

.eyebrow {
  color: #ff7448;
}

.eyebrow.dark {
  color: var(--orange);
}

.hero-copy {
  color: rgba(255, 255, 255, .82);
}

.hero-stats article {
  border-color: rgba(255, 255, 255, .18);
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .08));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
}

.hero-stats strong,
.danger-grid strong {
  color: #fff;
}

.problem {
  padding-top: 156px;
}

.visual-card,
.gallery-main,
.gallery-side img {
  background: #071426;
  box-shadow: 0 22px 56px rgba(7, 20, 38, .16);
}

.danger-grid article {
  background: linear-gradient(180deg, #092b55, #061f46);
  border: 1px solid rgba(255, 255, 255, .08);
}

.danger-grid article:nth-child(2) {
  background: linear-gradient(180deg, #112e58, #0b1d3d);
}

.danger-grid article:nth-child(3) {
  background: linear-gradient(180deg, #b54521, #812f18);
}

.technology,
.cases {
  background:
    radial-gradient(circle at 8% 12%, rgba(240, 90, 40, .16), transparent 26%),
    linear-gradient(135deg, #020816, #071f46 65%, #0a2f5f);
}

.tech-grid article,
.case-grid article {
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, #0b376c, #071f46);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
}

.tech-grid article:nth-child(2),
.case-grid article:nth-child(2) {
  background: linear-gradient(180deg, #123b70, #0b244c);
}

.tech-grid article:nth-child(3),
.case-grid article:nth-child(3) {
  background: linear-gradient(180deg, #f05a28, #9f371a);
}

.tech-grid article:nth-child(4),
.case-grid article:nth-child(4) {
  background: linear-gradient(180deg, #283341, #111b28);
}

.step-list span {
  border-left-color: var(--orange);
  background: #f7f9fc;
  color: var(--ink);
}

.video-panel {
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: 0 22px 58px rgba(7, 20, 38, .18);
}

.table-wrap,
.compare-table {
  box-shadow: 0 18px 48px rgba(7, 20, 38, .08);
}

th {
  background: #eef3f9;
  color: var(--navy);
}

.spec-note {
  background:
    radial-gradient(circle at 20% 0%, rgba(240, 90, 40, .22), transparent 30%),
    linear-gradient(145deg, #071f46, #020816);
}

.compare-table div:first-child {
  background: var(--navy);
}

.compare-table strong {
  color: var(--orange);
}

.contact {
  background:
    linear-gradient(90deg, rgba(2, 8, 22, .95), rgba(7, 31, 70, .78)),
    url("assets/model-side.webp") center / cover no-repeat;
}

.contact-card {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .22);
}

.footer {
  background: #020816;
}

.footer > div {
  opacity: 1;
  transform: none;
  filter: none;
}

.footer .back-top {
  background: var(--orange);
  color: #fff;
}

@media (max-width: 1260px) {
  .hero-media {
    background:
      linear-gradient(90deg, rgba(2, 8, 22, .94), rgba(2, 8, 22, .6)),
      url("assets/model-front.webp") right -160px bottom 150px / 760px auto no-repeat,
      linear-gradient(135deg, #020816, #061b3d 62%, #0a2f5f);
  }
}

@media (max-width: 760px) {
  .brand img {
    width: 180px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(2, 8, 22, .92), rgba(2, 8, 22, .76)),
      url("assets/model-front.webp") center bottom 250px / 620px auto no-repeat,
      linear-gradient(135deg, #020816, #061b3d 62%, #0a2f5f);
  }

  .problem {
    padding-top: 84px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media {
    transform: scale(1.025);
    transform-origin: 72% 50%;
    animation: heroDrift 14s ease-in-out infinite alternate;
  }

  .hero-content > *,
  .hero-stats article {
    animation: riseIn .8s ease both;
  }

  .hero-content .eyebrow {
    animation-delay: .08s;
  }

  .hero-content h1 {
    animation-delay: .18s;
  }

  .hero-copy {
    animation-delay: .3s;
  }

  .hero-actions {
    animation-delay: .42s;
  }

  .hero-stats article:nth-child(1) {
    animation-delay: .52s;
  }

  .hero-stats article:nth-child(2) {
    animation-delay: .62s;
  }

  .hero-stats article:nth-child(3) {
    animation-delay: .72s;
  }

  .reveal {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
    transition:
      opacity .72s ease,
      transform .72s ease,
      filter .72s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  .tech-grid article,
  .case-grid article,
  .danger-grid article,
  .hero-stats article,
  .btn,
  .footer .company-link,
  .footer .back-top {
    transition:
      transform .28s ease,
      box-shadow .28s ease,
      border-color .28s ease,
      background-color .28s ease;
  }

  .tech-grid article:hover,
  .case-grid article:hover,
  .danger-grid article:hover,
  .hero-stats article:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 56px rgba(7, 20, 38, .24);
  }

  .btn:hover,
  .footer .company-link:hover,
  .footer .back-top:hover {
    transform: translateY(-2px);
  }

  .visual-card img,
  .gallery-main img,
  .gallery-side img {
    transition: transform .7s ease, filter .7s ease;
  }

  .visual-card:hover img,
  .gallery-main:hover img,
  .gallery-side img:hover {
    transform: scale(1.035);
    filter: saturate(1.08) contrast(1.03);
  }

  .video-panel {
    transition: transform .32s ease, box-shadow .32s ease;
  }

  .video-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(7, 20, 38, .24);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.025) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.055) translate3d(-10px, 6px, 0);
  }
}

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