/* ============================================
   ORT Technology - Global Stylesheet
   Theme: Tech Blue + White
   ============================================ */

:root {
  --primary: #1E88FF;
  --primary-dark: #1565C0;
  --primary-light: #E8F2FF;
  --accent: #0EA5E9;
  --text: #0F172A;
  --text-soft: #475569;
  --text-mute: #94A3B8;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-alt: #F1F5F9;
  --border: #E2E8F0;
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 136, 255, 0.10);
  --shadow-lg: 0 20px 50px rgba(30, 136, 255, 0.15);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue",
               Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary); }

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

ul { list-style: none; }

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

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 24px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  transition: transform .25s ease;
}

.brand:hover .brand-logo { transform: scale(1.06); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-zh {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.brand-en {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 8px 18px;
  border-radius: 999px;
  transition: color .25s ease, background .25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .25s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 56%;
}

.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 8px 20px rgba(30, 136, 255, 0.35);
}

.nav-link.active::after { display: none; }

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

/* Language switcher (refined, with flag icons) */
.lang-switch {
  position: relative;
  flex-shrink: 0;
  font-family: inherit;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(30, 136, 255, 0.20);
  background: rgba(232, 242, 255, 0.65);
  color: var(--primary-dark);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  transition: background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.lang-current:hover,
.lang-current:focus-visible {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 6px 18px rgba(30, 136, 255, 0.28);
}

.lang-flag {
  width: 18px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.lang-label { line-height: 1; }

.flag-zh { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 24'%3E%3Crect fill='%23DE2910' width='36' height='24'/%3E%3Cpath fill='%23FFDE00' d='M10.5 12l2.4 7.4-6.3-4.6h7.8l-6.3 4.6z'/%3E%3C/svg%3E"); }
.flag-en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 24'%3E%3Crect fill='%23012169' width='36' height='24'/%3E%3Cpath stroke='%23fff' stroke-width='4' d='M0 0L36 24M36 0L0 24' fill='none'/%3E%3Cpath stroke='%23C8102E' stroke-width='1.5' d='M0 0L36 24M36 0L0 24' fill='none'/%3E%3Cpath stroke='%23fff' stroke-width='7' d='M18 0v24M0 12h36' fill='none'/%3E%3Cpath stroke='%23C8102E' stroke-width='4' d='M18 0v24M0 12h36' fill='none'/%3E%3C/svg%3E"); }
.flag-ja { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 24'%3E%3Crect fill='%23fff' width='36' height='24'/%3E%3Ccircle fill='%23BC002D' cx='18' cy='12' r='7'/%3E%3C/svg%3E"); }
.flag-es { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 24'%3E%3Crect fill='%23AA151B' width='36' height='6'/%3E%3Crect fill='%23F1BF00' width='36' height='12' y='6'/%3E%3Crect fill='%23AA151B' width='36' height='6' y='18'/%3E%3C/svg%3E"); }

.lang-caret {
  transition: transform .22s ease;
}
.lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-switch.open .lang-current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(30, 136, 255, 0.28);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 156px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 200;
}
.lang-switch.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.lang-option:hover { background: var(--primary-light); color: var(--primary-dark); }
.lang-option.active { color: var(--primary); background: var(--primary-light); }
.lang-option .lang-name { line-height: 1; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 128px;
  background: #0A1428;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7,16,36,0.88) 0%, rgba(10,28,60,0.60) 42%, rgba(12,42,82,0.22) 100%),
    url(../assets/hero.png) center/cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(30,136,255,0.25) 0%, transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(14,165,233,0.18) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }
.hero-content { max-width: 720px; }

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #DBEAFE;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.30);
}

.hero-sub {
  font-size: 17px;
  color: rgba(226, 232, 240, 0.92);
  max-width: 640px;
  margin-bottom: 36px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.30);
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero .btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--primary); border-color: #fff; }

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(203, 213, 225, 0.85);
  margin-top: 6px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); color: #fff; box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover { background: var(--primary-light); color: var(--primary-dark); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ============================================
   Sections
   ============================================ */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-kicker {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-soft);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Grid & Cards
   ============================================ */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all .3s ease;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: var(--text-soft);
}

/* ============================================
   Brand Grid
   ============================================ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.brand-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  min-height: 210px;
  justify-content: center;
}

.brand-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.brand-logo-img {
  display: block;
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  transition: transform .3s ease;
}

.brand-item:hover .brand-logo-img {
  transform: scale(1.08);
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-cn {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.brand-en {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
  /* 响应式高度：桌面约 500px，移动端自动收窄（不写死） */
  padding: clamp(110px, 14vw, 215px) 0 clamp(80px, 11vw, 175px);
  /* 浅色渐变（保留网格线，仅将底色改为浅色） */
  background:
    radial-gradient(circle at 12% 18%, rgba(30, 136, 255, 0.18) 0%, transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(14, 165, 233, 0.16) 0%, transparent 46%),
    linear-gradient(135deg, #EAF2FF 0%, #F4F8FF 52%, #E6EEFC 100%);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(30, 136, 255, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 136, 255, 0.10) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(800px) rotateX(60deg);
  transform-origin: center top;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center bottom, black 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at center bottom, black 10%, transparent 70%);
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(30, 136, 255, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

/* 内容区宽度：响应式（不小于约 500px，随视口放大），不写死 */
.page-header > .container {
  position: relative;
  max-width: clamp(560px, 60vw, 1240px);
}

.page-kicker {
  display: inline-block;
  background: rgba(30, 136, 255, 0.10);
  border: 1px solid rgba(30, 136, 255, 0.22);
  color: var(--primary-dark);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
  text-shadow: none;
}

.page-sub {
  color: var(--text-soft);
  font-size: 17px;
}

/* ============================================
   About Page
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-grid p {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.fact {
  background: var(--primary-light);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
}

.fact-num {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.fact-label {
  font-size: 12px;
  color: var(--text-soft);
}

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.info-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--border);
}

.info-list li:last-child { border-bottom: 0; }

.info-list strong {
  color: var(--text);
  font-weight: 600;
}

.info-list span {
  color: var(--text-soft);
}

/* Values */
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: all .3s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.value-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}

.value-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.value-card p {
  font-size: 14px;
  color: var(--text-soft);
  position: relative;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.t-item {
  position: relative;
  padding: 0 0 40px 32px;
}

.t-item:last-child { padding-bottom: 0; }

.t-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid var(--primary-light);
}

.t-year {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.t-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.t-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.t-content p {
  font-size: 14px;
  color: var(--text-soft);
}

/* ============================================
   Products Page
   ============================================ */
.cat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .3s;
}

.cat-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cat-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.cat-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cat-list li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-soft);
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-list li::before {
  content: "▸";
  color: var(--primary);
  font-size: 12px;
}

.cat-list li:last-child { border-bottom: 0; }

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contact-row {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .2s;
}

.contact-row:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.contact-row h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-row a, .contact-row p {
  font-size: 14px;
  color: var(--text-soft);
  word-break: break-word;
}

.contact-qr {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  margin-top: 8px;
  border: 1px solid var(--border);
  object-fit: contain;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-sub {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  transition: all .2s;
}

.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--primary-light);
}

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

.form-hint {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 12px;
  text-align: center;
}

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.map-card iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 8px;
}

.cta p {
  font-size: 16px;
  opacity: .9;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #0F172A;
  color: #CBD5E1;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 40px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.footer-slogan {
  font-size: 13px;
  color: #CBD5E1;
  font-weight: 600;
  margin: 12px 0;
}

.footer-desc {
  font-size: 14px;
  color: #94A3B8;
  max-width: 360px;
}

.footer-contact a { color: #94A3B8; }
.footer-contact a:hover { color: var(--primary); }

.footer-qr {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  margin-top: 8px;
  object-fit: contain;
}

.footer-wechat {
  margin-top: 12px;
}

.site-footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links li, .footer-contact li {
  padding: 6px 0;
  font-size: 14px;
  color: #94A3B8;
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #64748B;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  .grid-3, .grid-4, .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; text-align: center; }
  .menu-toggle { display: flex; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 80px; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 26px; }
  .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .grid-3, .grid-4, .brand-grid { grid-template-columns: 1fr; }
  .quick-facts { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .brand-text .brand-zh { font-size: 13px; }
  .brand-text .brand-en { display: none; }
  .container { padding: 0 16px; }
}

/* ============================================
   Application Fields (Solution Cards)
   ============================================ */
.solution-section { padding: 96px 0; }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.solution-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  background: #0F172A;
}

.solution-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
}

.item-cover,
.item-detail {
  position: absolute;
  inset: 0;
}

.item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.solution-item:hover .item-cover img { transform: scale(1.10); }

.item-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.35) 50%, rgba(15, 23, 42, 0.10) 100%);
  transition: opacity .3s ease;
}

.solution-item:hover .item-cover::after { opacity: 0; }

.item-num {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 52px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.item-title {
  position: absolute;
  bottom: 26px;
  left: 20px;
  right: 20px;
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.item-title::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  background: var(--primary);
  margin-top: 10px;
  border-radius: 2px;
}

.item-detail {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(135deg, rgba(30, 136, 255, 0.96) 0%, rgba(10, 42, 82, 0.96) 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(24px);
  transition: all .35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.solution-item:hover .item-detail {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.item-detail h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.item-detail p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
  opacity: 0.95;
}

.detail-btn {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s ease;
}

.detail-btn:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

@media (max-width: 1100px) {
  .solution-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-item { aspect-ratio: 4 / 5; }
}

@media (max-width: 600px) {
  .solution-grid { grid-template-columns: 1fr; }
  .solution-item { aspect-ratio: 16 / 10; min-height: 240px; }
  .item-detail {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background: linear-gradient(135deg, rgba(30, 136, 255, 0.92) 0%, rgba(10, 42, 82, 0.92) 100%);
  }
  .item-title { display: none; }
  .item-num { font-size: 40px; top: 14px; left: 14px; }
  .solution-item:hover .item-cover img { transform: none; }
}
/* ============================================
   Contact Page v2 - BOM & AI Inquiry
   ============================================ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

/* BOM 报价：独立整行，置于最前 */
.bom-row {
  grid-column: 1 / -1;
  margin-bottom: 40px;
}

.contact-left-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-card,
.bom-card,
.ai-inquiry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.contact-info-card {
  padding: 36px 32px;
}

.contact-info-card .section-title {
  text-align: left;
  margin-bottom: 28px;
}

/* BOM Card — 整行横向布局 */
.bom-card {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.bom-card .bom-header {
  flex: 0 0 240px;
  margin-bottom: 0;
}

.bom-card .bom-form {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.bom-card .bom-form .file-drop-zone {
  flex: 1 1 auto;
  margin-bottom: 0;
  padding: 20px 18px;
}

.bom-card .bom-form .form-field {
  flex: 0 0 220px;
  margin-bottom: 0;
}

.bom-card .bom-form .btn-block {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
  margin-bottom: 0;
}

.bom-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.bom-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.bom-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.bom-header p {
  font-size: 13px;
  color: var(--text-soft);
}

.bom-form .form-field {
  margin-bottom: 14px;
}

.file-drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .25s ease;
  background: var(--bg-soft);
  margin-bottom: 16px;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.file-drop-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
}

.file-drop-content svg {
  color: var(--primary);
  margin-bottom: 4px;
}

.file-drop-content span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.file-drop-content small {
  font-size: 12px;
  color: var(--text-mute);
}

.file-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--primary-dark);
  margin-bottom: 14px;
  display: none;
}

.file-preview.visible { display: flex; }

.file-preview .file-remove {
  margin-left: auto;
  cursor: pointer;
  color: var(--text-mute);
  font-weight: 700;
  transition: color .2s;
}

.file-preview .file-remove:hover { color: #EF4444; }

/* AI Inquiry Card */
.ai-inquiry-card {
  padding: 36px 32px;
  position: sticky;
  top: 96px;
}

.ai-agent-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.ai-agent-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  border-radius: 50%;
  padding: 8px;
  border: 2px solid var(--primary-light);
}

.ai-agent-title h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ai-agent-title p {
  font-size: 14px;
  color: var(--text-soft);
}

.ai-input-wrap {
  position: relative;
  margin-bottom: 16px;
}

.ai-prompt {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.7;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  transition: all .25s ease;
  resize: vertical;
  min-height: 180px;
}

.ai-prompt:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--primary-light);
}

.ai-focus-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-mute);
}

.ai-focus-hint::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}

.ai-extra-fields {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity .35s ease;
}

.ai-extra-fields.open {
  max-height: 600px;
  opacity: 1;
}

.ai-extra-fields .form-row {
  margin-bottom: 0;
}

.ai-submit-btn {
  margin-top: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.ai-form-hint {
  font-size: 12px;
  color: var(--text-mute);
  text-align: center;
  margin-top: 12px;
}

/* Map */
.map-container {
  width: 100%;
  height: 420px;
  background: var(--bg-soft);
  z-index: 1;
}

.map-fallback {
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-soft);
  color: var(--text-soft);
}

/* Responsive Contact Page */
@media (max-width: 960px) {
  .contact-page-grid { grid-template-columns: 1fr; }
  .ai-inquiry-card { position: static; }
  .ai-agent-img { width: 72px; height: 72px; }
  .bom-card { flex-direction: column; align-items: stretch; gap: 18px; }
  .bom-card .bom-header { flex: none; }
  .bom-card .bom-form { flex-direction: column; align-items: stretch; }
  .bom-card .bom-form .file-drop-zone,
  .bom-card .bom-form .form-field { flex: none; }
  .bom-card .bom-form .btn-block { width: 100%; }
}

@media (max-width: 600px) {
  .contact-info-card,
  .bom-card,
  .ai-inquiry-card { padding: 24px 20px; }
  .ai-prompt { min-height: 150px; }
  .map-container { height: 320px; }
}

/* ============================================
   Footer ICP Filing Number
   ============================================ */
.footer-beian {
  color: #64748B;
  text-decoration: none;
  transition: color .2s;
}
.footer-beian:hover { color: var(--primary); }

/* ============================================
   Cookie Consent Banner (first-visit)
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #E2E8F0;
  transform: translateY(120%);
  transition: transform .4s ease;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.25);
}
.cookie-banner.show { transform: translateY(0); }

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
}

.cookie-icon { flex: none; color: var(--primary); }

.cookie-text {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  color: #CBD5E1;
}

.cookie-actions { flex: none; display: flex; gap: 10px; }

.btn-cookie {
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.btn-cookie-accept { background: var(--primary); color: #fff; }
.btn-cookie-accept:hover { background: var(--primary-dark); }
.btn-cookie-decline { background: transparent; color: #CBD5E1; border: 1px solid #475569; }
.btn-cookie-decline:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

@media (max-width: 480px) {
  /* 小屏显示公司名称（仅中文），隐藏英文副标题；允许收缩避免与语言按钮、汉堡菜单重叠 */
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-logo { flex-shrink: 0; }
  .brand-text { display: flex; min-width: 0; }
  .brand-text .brand-zh { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-text .brand-en { display: none; }
  .lang-current { padding: 8px 10px; }
  .lang-current .lang-label { display: none; }
}

@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-actions { width: 100%; }
  .btn-cookie { flex: 1; }
}
