/* ==========================================================================
   ENGINEAI 众擎机器人 · 预售落地页
   纯原生 CSS，无构建步骤
   ========================================================================== */

:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --bg-card: #111111;
  --text: #ffffff;
  --text-2: #999999;
  --text-3: #666666;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --brand: #e34919;
  --brand-2: #f46010;
  --modal-bg: #ffffff;
  --modal-text: #1a1a1a;

  --font-industrial: "azonix", "Barlow Condensed", "Oswald", "Arial Narrow",
    "PingFang SC", "Microsoft YaHei", "SimHei", sans-serif;
  --font-cn: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;

  --container: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-cn);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ---------- 通用按钮 ---------- */
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
  white-space: nowrap;
}

.btn-line:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn-line .arrow {
  transition: transform 0.3s var(--ease);
}

.btn-line:hover .arrow {
  transform: translateX(4px);
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 38px;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.06em;
  transition: background 0.3s var(--ease);
}

.btn-brand:hover {
  background: var(--brand-2);
}

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ==========================================================================
   顶部导航
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.header__logo img {
  height: 26px;
  width: auto;
}

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

.nav__item {
  position: relative;
}

.nav__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.04em;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.nav__link:hover {
  color: #fff;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s var(--ease);
}

.nav__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__search {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.header__search:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.header__cta {
  padding: 10px 24px;
  font-size: 13px;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}

.header__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.header__burger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.header__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.header__burger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero 视频轮播
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* T800 responsive videos: toggle by viewport instead of <source media> */
.hero__video--mobile {
  display: none;
}

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

  .hero__video--mobile {
    display: block;
  }
}

.hero__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13%;
  z-index: 3;
}

.hero__content .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__tag {
  font-family: var(--font-industrial);
  font-size: 13px;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 22px;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-industrial);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.hero__title .cn {
  display: block;
  font-size: clamp(26px, 3.4vw, 44px);
  font-family: var(--font-cn);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero__title .model {
  display: block;
  font-size: clamp(64px, 11vw, 160px);
  text-transform: uppercase;
  margin-top: 6px;
}

.hero__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 34px;
  max-width: 460px;
}

.hero__arrows {
  position: absolute;
  right: 40px;
  bottom: 13%;
  z-index: 5;
  display: flex;
  gap: 12px;
}

.hero__arrow {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.hero__arrow:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.hero__dots {
  position: absolute;
  left: 40px;
  bottom: 6%;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  transition: background 0.3s var(--ease);
}

.hero__dot.is-active {
  background: #fff;
}

/* ==========================================================================
   品牌宣言
   ========================================================================== */
.statement {
  padding: 150px 0;
  text-align: center;
}

.statement__text {
  font-family: var(--font-industrial);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.statement__text .accent {
  display: inline-block;
  color: var(--text-2);
}

/* ==========================================================================
   产品家族 Tab
   ========================================================================== */
.family {
  padding: 60px 0 130px;
}

.family__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 80px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.family__tab {
  font-family: var(--font-industrial);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-3);
  padding: 14px 26px;
  position: relative;
  transition: color 0.3s var(--ease);
  text-transform: uppercase;
}

.family__tab::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: -5px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.family__tab.is-active {
  color: #fff;
}

.family__tab.is-active::after {
  transform: scaleX(1);
}

/* ---------- 产品详情面板 ---------- */
.product-panel {
  display: none;
}

.product-panel.is-active {
  display: block;
  animation: panelIn 0.6s var(--ease);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.product--reverse .product__media {
  order: 2;
}

.product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: radial-gradient(
    ellipse at center,
    #141414 0%,
    #050505 70%,
    #000 100%
  );
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product__media img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}

.product__media:hover img {
  transform: scale(1.04);
}

.product__model {
  font-family: var(--font-industrial);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product__tagline {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 44px;
  line-height: 1.5;
}

.product__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec__icon {
  width: 30px;
  height: 30px;
  margin-bottom: 4px;
}

.spec__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.spec__value {
  font-family: var(--font-industrial);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.spec__label {
  font-size: 13px;
  color: var(--text-3);
}

.product__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product__more {
  font-size: 14px;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s var(--ease);
}

.product__more:hover {
  color: #fff;
}

/* ==========================================================================
   服务与信息卡片（政策 / 自助服务 / 产品购买）
   ========================================================================== */
.service {
  padding: 40px 0 140px;
}

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

.service-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card__mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.1) 55%,
    rgba(0, 0, 0, 0.1) 100%
  );
  transition: background 0.4s var(--ease);
}

.service-card__title {
  position: absolute;
  left: 28px;
  bottom: 26px;
  z-index: 2;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card:hover .service-card__mask {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

/* ==========================================================================
   探索众擎
   ========================================================================== */
.explore {
  padding: 60px 0 140px;
}

.section-head {
  margin-bottom: 60px;
}

.section-head__title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: 0.03em;
}

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

.explore-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
}

.explore-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.explore-card__mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.15) 55%,
    transparent 100%
  );
  transition: background 0.4s var(--ease);
}

.explore-card__body {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 2;
}

.explore-card__title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 18px;
}

.explore-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.explore-card:hover img {
  transform: scale(1.05);
}

.explore-card:hover .explore-card__link {
  color: #fff;
  border-color: #fff;
}

/* ==========================================================================
   CTA 横幅
   ========================================================================== */
.cta {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.cta__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

/* ==========================================================================
   更多新品
   ========================================================================== */
.newprod {
  padding: 130px 0;
}

.newprod__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.newprod__title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
}

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

.newprod-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}

.newprod-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.newprod-card__mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
  transition: background 0.4s var(--ease);
}

.newprod-card__body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.newprod-card__tag {
  display: inline-block;
  font-family: var(--font-industrial);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--brand-2);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.newprod-card__name {
  font-family: var(--font-industrial);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.newprod-card__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.newprod-card:hover {
  border-color: var(--line-strong);
}

.newprod-card:hover img {
  transform: scale(1.06);
}

.newprod-card:hover .newprod-card__mask {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 90px 0 40px;
  background: #050505;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 60px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
}

.footer__news-title {
  font-family: var(--font-industrial);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer__news-desc {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 30px;
}

.footer__news-form {
  display: flex;
  align-items: center;
  max-width: 420px;
  border-bottom: 1px solid var(--line-strong);
}

.footer__news-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  padding: 12px 0;
  font-family: inherit;
}

.footer__news-form input::placeholder {
  color: var(--text-3);
}

.footer__news-form button {
  color: #fff;
  font-size: 14px;
  padding: 12px 0 12px 18px;
  letter-spacing: 0.05em;
  transition: color 0.25s var(--ease);
}

.footer__news-form button:hover {
  color: var(--brand-2);
}

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

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 22px;
  color: #fff;
}

.footer-col li {
  margin-bottom: 14px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-3);
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 40px;
  flex-wrap: wrap;
}

.footer__social {
  display: flex;
  gap: 20px;
}

.footer__social a {
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease);
}

.footer__social a:hover {
  color: #fff;
}

.footer__legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer__legal a,
.footer__legal span {
  font-size: 12.5px;
  color: var(--text-3);
}

.footer__legal a:hover {
  color: #fff;
}

.footer__beian {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer__beian img {
  width: 15px;
  height: auto;
}

/* ==========================================================================
   弹窗体系
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--modal-bg);
  color: var(--modal-text);
  border-radius: 16px;
  padding: 44px 40px 38px;
  transform: translateY(16px);
  transition: transform 0.25s var(--ease);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.modal.is-open .modal__panel {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #888;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.modal__close:hover {
  background: #f2f2f2;
  color: #111;
}

.modal__brand {
  font-family: var(--font-industrial);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111;
  margin-bottom: 8px;
}

.modal__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111;
}

.modal__subtitle {
  font-size: 14px;
  color: #777;
  margin-bottom: 30px;
  line-height: 1.6;
}

.modal__product-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: #333;
  margin-bottom: 26px;
}

.modal__product-chip b {
  font-family: var(--font-industrial);
  letter-spacing: 0.04em;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 14px;
  color: #1a1a1a;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s var(--ease);
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #111;
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

.modal__submit {
  width: 100%;
  margin-top: 8px;
  padding: 15px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 15px;
  transition: background 0.25s var(--ease);
}

.modal__submit:hover {
  background: var(--brand);
}

.modal__alt {
  margin-top: 22px;
  text-align: center;
  font-size: 13.5px;
  color: #888;
}

.modal__alt button {
  color: var(--brand);
  font-size: 13.5px;
  padding: 0;
}

.modal__alt button:hover {
  text-decoration: underline;
}

.modal--info .modal__panel {
  max-width: 380px;
  text-align: center;
  padding: 48px 38px 42px;
}

.modal__icon-badge {
  width: 60px;
  height: 60px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fdf1ec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.modal--info .modal__title {
  margin-bottom: 12px;
}

.modal--info .modal__subtitle {
  margin-bottom: 28px;
}

.modal--info .modal__submit {
  background: #111;
}

.modal--info .modal__submit:hover {
  background: var(--brand);
}

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 48px;
  transform: translate(-50%, 20px);
  z-index: 1200;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid var(--line);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s;
  max-width: calc(100vw - 40px);
}

.toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-2);
  flex-shrink: 0;
}



/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .product {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .product--reverse .product__media {
    order: 0;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 84vw);
    height: 100vh;
    background: #0a0a0a;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 100px 34px 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-left: 1px solid var(--line);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__item {
    width: 100%;
  }

  .nav__link {
    display: block;
    font-size: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav__link::after {
    display: none;
  }

  .header__burger {
    display: flex;
    z-index: 110;
  }

  .header__cta {
    display: none;
  }

  .header__inner {
    padding: 0 20px;
  }

  .container {
    padding: 0 20px;
  }

  .header__search {
    display: none;
  }

  .service__grid,
  .explore__grid {
    grid-template-columns: 1fr;
  }

  .explore-card {
    aspect-ratio: 16 / 10;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }

  .hero__arrows {
    right: 20px;
    bottom: 8%;
  }

  .hero__dots {
    left: 20px;
  }
}

@media (max-width: 560px) {
  .statement {
    padding: 100px 0;
  }

  .family__tabs {
    gap: 0;
  }

  .family__tab {
    padding: 12px 14px;
  }

  .family__tab::after {
    left: 14px;
    right: 14px;
  }

  .product__specs {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__cols {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal__panel {
    padding: 40px 26px 32px;
  }

  .hero__arrows {
    display: none;
  }
}
