/* ========================
   Emvalor - styles.css
   说明：优化后的样式表，仅 .hero-title、h2、h3 使用 DM Serif Text 和 Noto Serif SC，其他保持 Golos Text。
         保留所有原始功能，分区背景、响应式设计等。
   ======================== */

/* -------- CSS 变量 & Reset -------- */
:root {
  --bg: #0b0c0d;
  --panel: #0f1314;
  --muted: #9aa4ac;
  --text: #e8eef0;
  --accent: #d4b985;
  --accent-a4: #d4b985;
  --accent-a1: #c9a66e;
  --accent-a0: #bf8d57;
  --white: #ffffff;
  --shadow: rgba(0,0,0,0.45);
  --header-h: 72px;
  --bg-ivory: #fffaf3; /* 温暖米色，用于情感/强调区块 */
  --bg-cool: #f7f9fb; /* 冷色调浅灰，用于技术/FAQ等说明区块 */
  --bg-white: #ffffff; /* 纯白，保持清晰 */
  --section-sep: rgba(11,12,13,0.03); /* 分隔线颜色 */
}

/* -------- 全局 Reset -------- */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Golos Text", sans-serif; /* 全局默认字体 */
  font-size: 14px;
  line-height: 1.6;
  color: #0b0c0d;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
}

main {
  padding-top: calc(var(--header-h) + 20px);
}

.wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 28px 36px;
}

a {
  color: inherit;
  text-decoration: none;
}

.muted {
  color: var(--muted);
}

.small-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* -------- Header / 导航 -------- */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  z-index: 120;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  position: relative;
}

.brand img.logo {
  height: 36px;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px; /* 桌面端菜单间隔 */
  flex-direction: row;
}

.main-nav a {
  font-family: "Golos Text", sans-serif;
  color: #24333a;
  font-weight: 400;
  font-size: 14px;
}

.main-nav .btn-ghost {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--accent) !important; /* 桌面端金色背景 */
  color: #fff !important;
  transition: transform 0.2s ease;
}

.main-nav .btn-ghost:hover {
  transform: scale(1.05);
}

.lang-switch button {
  font-family: "Golos Text", sans-serif;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 8px;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.lang-switch button:hover {
  transform: scale(1.05);
}

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  padding: 8px;
  line-height: 1;
  z-index: 1100;
}

.hamburger svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* -------- 响应式 -------- */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 12px;
    gap: 12px;
  }

  .hamburger {
    display: block;
    order: -1;
    padding: 8px;
  }

  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1;
  }

  .header-actions {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 12px;
    right: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    padding: 12px;
    flex-direction: column;
    gap: 10px; /* 移动端下拉菜单间隔 */
    z-index: 1000;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 8px;
    color: #24333a; /* 确保普通链接有颜色 */
  }

  .main-nav .btn-ghost {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--accent-a1) !important; /* 强制移动端下拉菜单金色背景 */
    color: #fff !important;
  }

  .lang-switch button {
    padding: 6px;
    font-size: 16px;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 8px;
    padding: 0 8px;
  }

  .brand img.logo {
    height: 28px;
  }

  .hamburger {
    padding: 6px;
  }

  .hamburger svg {
    width: 20px;
    height: 20px;
  }

  .header-actions {
    right: 8px;
  }

  .lang-switch button {
    padding: 5px;
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
}


/* -------- HERO 区域 -------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.88;
  filter: grayscale(6%) blur(0.8px);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

.hero-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.frame-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.frame-box {
  width: 360px;
  height: 480px;
  border-radius: 0px;
  background: linear-gradient(144deg, #23383d, #23383d);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.02);
}

.artwork {
  width: 320px;
  height: 440px;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.frame-controls {
  position: absolute;
  left: -68px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.frame-controls button {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  color: #333;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.frame-caption {
  margin-top: 12px;
  font-family: "Golos Text", sans-serif; /* 确保使用 Golos Text */
  color: var(--muted);
  font-size: 13px;
}

.hero-right {
  width: 420px;
  padding: 28px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.98));
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.hero-title {
  font-family: 'DM Serif Text', 'Noto Serif SC', serif; /* 使用 DM Serif Text */
  font-size: 42px;
  font-weight: 400; /* 强制 400，避免合成加粗 */
  line-height: 1.1;
  color: #bf8d57;
  margin: 0 0 16px;
  letter-spacing: -0.04em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.08); /* 优化阴影 */
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.2s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.hero-title:hover {
  color: var(--accent);
}

.hero-sub {
  font-family: "Golos Text", sans-serif; /* 保持正文为 Golos Text */
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-features {
  font-family: "Golos Text", sans-serif;
  list-style: none;
  padding-left: 0;
  margin: 12px 0 18px;
}

.hero-features li {
  margin: 8px 0;
  color: #23383d;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  font-family: "Golos Text", sans-serif;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #071217;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.06);
  color: #334;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.04);
  color: var(--muted);
}

.trust {
  font-family: "Golos Text", sans-serif;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* -------- 情绪段落（emotion） -------- */
.emotion {
  padding: 80px 0;
  text-align: center;
}

.emotion .lead {
  font-family: "Golos Text", sans-serif;
  max-width: 900px;
  margin: 0 auto;
  color: #24333a;
  font-size: 18px;
}

.quick-cta {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* -------- 技术/Features -------- */
.section {
  padding: 80px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.tech-card {
  background: linear-gradient(135deg, #ffffff, #f5f7fa);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,185,133,0.1) 0%, transparent 70%);
  z-index: 0;
  animation: pulse 6s infinite alternate;
}

.tech-card h3 {
  font-family: 'DM Serif Text', 'Noto Serif SC', serif; /* 使用 DM Serif Text */
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: 400;
  color: #071217;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.tech-card p {
  font-family: "Golos Text", sans-serif;
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #23383d;
}

.tech-card p strong {
  color: var(--accent);
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.compare {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.04);
}

.compare h3 {
  font-family: 'DM Serif Text', 'Noto Serif SC', serif;
  margin-bottom: 12px;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  font-family: "Golos Text", sans-serif;
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.compare-table th {
  background: #f0f0f0;
  padding: 12px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid rgba(0,0,0,0.1);
}

.compare-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:hover td {
  background: #fafafa;
}

/* -------- 产品网格 -------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.product {
  background: linear-gradient(135deg, #ffffff, #f5f7fa);
  padding: 20px;
  border-radius: 10px;
  border: 2px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--product-accent, var(--accent));
  z-index: 1;
}

.product h4 {
  font-family: 'DM Serif Text', 'Noto Serif SC', serif; /* h4 与 h3 一致 */
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 400;
  color: #071217;
  position: relative;
  z-index: 2;
}

.product .size-highlight {
  font-family: "Golos Text", sans-serif;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.product .highlight {
  font-family: "Golos Text", sans-serif;
  font-size: 13px;
  color: var(--accent);
  margin-top: 6px;
}

.price {
  margin: 8px 0 10px;
  font-size: 19px;
  font-weight: 600;
  color: #071217;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: "Golos Text", sans-serif;
}

.price .now {
  color: #071217;
  font-weight: 600;
}

.price .was {
  color: #666;
  font-weight: 400;
  opacity: 0.7;
  text-decoration: line-through;
  font-size: 15px;
}

.product .specs {
  font-family: "Golos Text", sans-serif;
  list-style: none;
  padding-left: 0;
  color: #4a4a4a;
  margin-bottom: 10px;
}

.product button {
  margin-top: 8px;
}

.product.featured {
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  transform: translateY(-8px);
  border-color: var(--accent-a1);
}

.product.featured::before {
  background: var(--accent-a1);
}

.product.a4 {
  --product-accent: var(--accent-a4);
}

.product.a1 {
  --product-accent: var(--accent-a1);
}

.product.a0 {
  --product-accent: var(--accent-a0);
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* -------- 案例网格 -------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.case-card {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
}

.case-logo {
  width: 330px;
  height: 100px;
  object-fit: contain;
  filter: grayscale(80%);
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: filter 0.3s ease;
}

.case-card:hover .case-logo {
  filter: grayscale(0%);
}

.case-content h3 {
  font-family: 'DM Serif Text', 'Noto Serif SC', serif;
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 400;
  color: #071217;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.case-content p {
  font-family: "Golos Text", sans-serif;
  margin: 0;
  color: #333;
  font-size: 14px;
}

.case-cta {
  margin-top: 30px;
  text-align: center;
}

/* -------- Testimonials -------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.testimonial {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.testimonial blockquote {
  font-family: "Golos Text", sans-serif;
  margin: 0;
  color: #1b2b2e;
  font-style: italic;
  text-align: center;
}

.testimonial cite {
  font-family: "Golos Text", sans-serif;
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* -------- Blog 列表 -------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.blog-card {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-family: 'DM Serif Text', 'Noto Serif SC', serif;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 400;
  color: #071217;
  line-height: 1.4;
}

.blog-card p.muted {
  font-family: "Golos Text", sans-serif;
  margin: 0;
}

.blog-card a {
  color: var(--accent);
}

.more-blog {
  margin-top: 30px;
  text-align: center;
}

/* -------- FAQ 区域 -------- */
.faq-list details {
  background: #fff;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.04);
}

.faq-list summary {
  font-family: 'DM Serif Text', 'Noto Serif SC', serif;
  cursor: pointer;
  font-weight: 400;
  outline: none;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] p {
  display: block;
}

.faq-list p {
  font-family: "Golos Text", sans-serif;
  display: none;
  margin-top: 8px;
  color: #333;
}

/* -------- 预购表单 -------- */
.preorder-form {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.04);
}

.form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.form-row input,
.form-row select,
.preorder-form textarea {
  font-family: "Golos Text", sans-serif;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fbfbfb;
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-actions .btn-ghost {
  border: 1px solid rgba(0,0,0,0.06);
}

/* -------- Footer -------- */
.site-footer {
  background: #071217;
  color: var(--muted);
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-inner a {
  font-family: "Golos Text", sans-serif;
  color: var(--muted);
}

/* -------- 标题样式 -------- */
h2 {
  font-family: 'DM Serif Text', 'Noto Serif SC', serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  color: #071217;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  text-align: center;
  animation: fadeInUp 0.6s ease-out forwards;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h2:not(.hero-title),
h3 {
  position: relative;
}

h3 {
  font-family: 'DM Serif Text', 'Noto Serif SC', serif;
  font-size: 42px;
  font-weight: 400;
  color: #071217;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 确保其他 h1 使用 Golos Text */
h1:not(.hero-title) {
  font-family: "Golos Text", sans-serif;
  font-weight: 700;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------- 分区样式 -------- */
.section-band {
  width: 100%;
}

.bg-cream {
  background-color: #fff7ea; /* 暖米色，用于情感/博客等 */
}

.bg-grey {
  background-color: #f5f7fa; /* 冷灰，用于技术/FAQ */
}

.bg-ice {
  background-color: #f4f8fb; /* 浅冰蓝，用于产品/预购 */
}

.bg-stone {
  background-color: #f2f2f2; /* 石灰，用于案例 */
}

.bg-snow {
  background-color: #ffffff; /* 纯白，用于口碑区块等 */
}

.section.bg-ivory {
  background-color: var(--bg-ivory);
  border-top: 1px solid var(--section-sep);
}

.section.bg-cool {
  background-color: var(--bg-cool);
  border-top: 1px solid var(--section-sep);
}

.section.bg-white {
  background-color: var(--bg-white);
  border-top: 1px solid var(--section-sep);
}

.hero + .section {
  border-top: none;
}

.section .wrap {
  padding-top: 18px;
  padding-bottom: 18px;
}

/* -------- 响应式 -------- */
@media (max-width: 1200px) {
  .wrap {
    padding: 60px 24px;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .testimonials {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .header-inner {
    padding: 0 14px;
  }
  .hero-right {
    width: 420px;
  }
  .price {
    font-size: 18px;
    gap: 8px;
  }
  .price .now {
    font-size: 18px;
  }
  .price .was {
    font-size: 14px;
    opacity: 0.65;
  }
  .compare-table th,
  .compare-table td {
    padding: 10px;
  }
  .blog-card img {
    height: 120px;
  }
  .tech-card {
    padding: 18px;
  }
  .product {
    padding: 18px;
  }
}

@media (max-width: 850px) {
  :root {
    --header-h: 64px;
  }
  main {
    padding-top: calc(var(--header-h) + 16px);
  }

/* 汉堡在小屏显示 */
  .hamburger { display: inline-block; z-index: 1301; }

  /* 菜单默认隐藏，点击 .open 再显示 */
  .main-nav {
    display: none;                 /* 关键：隐藏整个 nav，而不是只隐藏 a */
    position: absolute;
    top: var(--header-h);
    right: 12px;
    left: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    padding: 12px;
    flex-direction: column;
    gap: 10px;
    z-index: 1300;
  }
  .main-nav.open { display: flex; }

  /* 菜单里的每一项都单独占一行，易点按 */
  .main-nav a,
  .main-nav .btn-ghost,
  .main-nav .lang-switch button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 8px;
  }

  /* 可选：让“Pre-order”在移动端看起来更像主要项 */
  .main-nav .btn-ghost {
    border: 1px solid rgba(0,0,0,0.06);
    background: #fafafa;
  }








  .header-inner {
    padding: 0 12px;
  }
  .main-nav a {
    display: none;
  }
  .hamburger {
    display: inline-block;
  }
  .hero-inner {
    flex-direction: column;
    gap: 28px;
  }
  .hero-left {
    order: 1;
    padding: 60px 16px 20px 16px;
  }
  .hero-right {
    order: 2;
    width: 100%;
    padding: 18px;
  }
  .frame-controls {
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -72px;
    top: auto;
    flex-direction: row;
  }
  .frame-box {
    width: 300px;
    height: 430px;
  }
  .artwork {
    width: 270px;
    height: 370px;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .faq-list details {
    padding: 10px;
  }
  .nav-links-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .wrap {
    padding: 60px 60px;
  }
  .tech-card {
    padding: 16px;
  }
  .product {
    padding: 16px;
  }
  .testimonial {
    padding: 12px;
  }
  .blog-card {
    padding: 10px;
  }
  .faq-list details {
    padding: 12px;
  }
  .preorder-form {
    padding: 16px;
  }
  .section-band .wrap.emotion {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .section.bg-ivory,
  .section.bg-cool {
    border-top: none;
  }
  .hero-title {
    font-size: 34px;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.08);
  }
  h2 {
    font-size: 38px;
    margin-bottom: 18px;
    line-height: 1.4;
    letter-spacing: -0.01em;
  }
  h3 {
    font-size: 18px;
  }
  .case-logo {
    width: auto;
    height: auto;
  }
  .case-content h3 {
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.01em;
  }
  .price {
    font-size: 17px;
    gap: 7px;
  }
  .price .now {
    font-size: 17px;
  }
  .price .was {
    font-size: 13px;
    opacity: 0.65;
  }
  .blog-card img {
    height: 100px;
  }
  .testimonial img {
    width: 50px;
    height: 50px;
  }
  .tech-card::before {
    animation: none;
  }
  .product::before {
    height: 4px;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 12px 16px;
  }
  .hero-right {
    padding: 20px;
  }
  .hero-left {
    padding: 48px 12px 20px 12px;
  }
  .cta-row,
  .quick-cta,
  .form-row {
    flex-direction: column;
    gap: 8px;
  }
  .btn {
    width: 100%;
  }
  .hero-title {
    font-size: 28px;
    margin-bottom: 14px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    animation: none;
    opacity: 1;
    transform: none;
  }
  h2 {
    font-size: 24px;
    margin-bottom: 16px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    animation: none;
    opacity: 1;
    transform: none;
  }
  h3 {
    font-size: 16px;
  }
  .case-logo {
    width: auto;
    height: auto;
  }
  .case-content h3 {
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }
  .case-content p {
    font-size: 13px;
  }
  .price {
    font-size: 16px;
    gap: 6px;
  }
  .price .now {
    font-size: 16px;
  }
  .price .was {
    font-size: 12px;
    opacity: 0.6;
  }
  .blog-card img {
    height: 80px;
  }
  .testimonial img {
    width: 40px;
    height: 40px;
  }
  .tech-card {
    padding: 14px;
  }
  .product {
    padding: 14px;
  }
  .product::before {
    height: 3px;
  }
}

/* ========== 移动端表单优化 ========== */
@media (max-width: 850px) {
  .preorder-form .form-row {
    display: flex;
    flex-direction: column;
  }
  .preorder-form .form-row input,
  .preorder-form .form-row select {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* ========== 移动端菜单样式 ========== */
.main-nav {
  display: flex;
  gap: 20px;
}

.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 850px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
  }
  .main-nav.open {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}

/* 保证菜单按钮在小屏幕可见 */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

@media (max-width: 850px) {
  .hamburger {
    display: block;
    position: relative;
    z-index: 1100; /* 保证在导航上层 */
  }

  .main-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .main-nav.open {
    display: flex;
  }
}


.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

@media (max-width: 850px) {
  .hamburger {
    display: block;
    position: relative;
    z-index: 1100;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .main-nav.open {
    display: flex;
  }
}




/* -------- Header / 导航 -------- */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  z-index: 120;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  position: relative;
}

.brand img.logo {
  height: 36px;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  font-family: "Golos Text", sans-serif;
  color: #24333a;
  font-weight: 400;
  font-size: 14px;
}

.header-actions .btn-ghost {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--accent);
  color: #fff;
}

.lang-switch button {
  font-family: "Golos Text", sans-serif;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 8px;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
}

.hamburger {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  color: var(--muted);
  padding: 6px 8px;
  line-height: 1;
  z-index: 1100;
}

/* -------- 响应式 -------- */
@media (max-width: 850px) {
  :root {
    --header-h: 64px;
  }

  .hamburger {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    right: 12px;
    left: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    padding: 12px;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-actions .btn-ghost,
  .lang-switch button {
    padding: 6px 8px;
    font-size: 13px;
  }

  .header-inner {
    padding: 0 12px;
  }
}

@media (max-width: 480px) {
  .header-actions {
    gap: 6px;
  }

  .header-actions .btn-ghost,
  .lang-switch button {
    padding: 5px 6px;
    font-size: 12px;
  }

  .brand img.logo {
    height: 30px;
  }

  .hamburger {
    font-size: 20px;
    padding: 4px 6px;
  }
}

@media (max-width: 850px) {
  .form-row {
    flex-direction: column;
  }
  .form-row input,
  .form-row select,
  .form-row textarea {
    width: 100%;
    margin-bottom: 10px;
  }
}

.error {
  border: 2px solid #dc3545 !important;
}
