/* ===== Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #0d1b2a;
  --navy-light: #1b2d45;
  --navy-mid: #243b56;
  --gold: #c9a84c;
  --gold-light: #e0c672;
  --gold-dark: #a08330;
  --white: #ffffff;
  --off-white: #f5f5f0;
  --gray-light: #e8e8e3;
  --gray: #999;
  --text: #333;
  --text-light: #666;
}
html { scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; color: var(--text); line-height: 1.7; background: var(--white); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 22px; color: var(--navy);
  font-family: Georgia, serif;
}
.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}
.logo-sub {
  font-size: 10px;
  color: var(--gold-light);
  opacity: .7;
  letter-spacing: 1px;
  display: block;
  font-weight: 400;
}
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 8px 18px;
  color: rgba(255,255,255,.75);
  font-size: 15px;
  border-radius: 6px;
  transition: all .2s;
}
.nav a:hover, .nav a.active {
  color: var(--gold);
  background: rgba(255,255,255,.06);
}
.lang-switch {
  margin-left: 16px;
  padding: 6px 14px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold);
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
}
.lang-switch:hover { background: var(--gold); color: var(--navy); }

/* Mobile nav */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  margin: 5px 0;
  transition: all .3s;
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; text-align: center; padding: 12px; }
  .lang-switch { margin: 8px auto 0; }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 100px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
}
.hero h1 .gold { color: var(--gold); }
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.65);
  max-width: 640px;
  margin: 0 auto 40px;
  position: relative;
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: all .25s;
  position: relative;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,.35);
}
.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  margin-left: 16px;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ===== Section ===== */
.section { padding: 80px 0; }
.section-gray { background: var(--off-white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 34px;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-navy .section-title h2 { color: var(--white); }
.section-title .bar {
  width: 50px; height: 3px;
  background: var(--gold);
  margin: 0 auto 16px;
  border-radius: 2px;
}
.section-title p {
  font-size: 16px;
  color: var(--text-light);
}
.section-navy .section-title p { color: rgba(255,255,255,.55); }

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.6);
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ===== Products Grid ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: all .3s;
  border: 1px solid var(--gray-light);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  border-color: var(--gold);
}
.product-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}
.product-card-body { padding: 20px; }
.product-card-body h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 600;
}
.product-card-body p {
  font-size: 14px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.product-card-link {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 600;
  transition: color .2s;
}
.product-card-link:hover { color: var(--gold); }

/* ===== Category Tabs ===== */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.category-tab {
  padding: 10px 24px;
  border: 1.5px solid var(--gray-light);
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
  background: var(--white);
  color: var(--text-light);
}
.category-tab:hover { border-color: var(--gold); color: var(--gold-dark); }
.category-tab.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}
.search-box {
  max-width: 400px;
  margin: 0 auto 32px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 12px 20px 12px 44px;
  border: 1.5px solid var(--gray-light);
  border-radius: 30px;
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
  background: var(--white);
}
.search-box input:focus { border-color: var(--gold); }
.search-box svg {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  fill: var(--gray);
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-light);
  transition: all .3s;
}
.feature-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 28px; height: 28px; fill: var(--gold); }
.feature-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-light);
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ===== Product Detail ===== */
.product-detail { padding: 60px 0 80px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--gray);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--gold-dark); }
.breadcrumb a:hover { text-decoration: underline; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.product-detail-img {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
}
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info h1 {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 12px;
}
.product-detail-info .en-name {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
}
.product-detail-info .desc {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.8;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-light);
  font-size: 14px;
}
.specs-table tr td:first-child {
  color: var(--gray);
  width: 120px;
  font-weight: 500;
}
.product-detail-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
}
@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; }
}

/* ===== About Page ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.about-text h3 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 20px;
}
.about-text p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  padding: 32px 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-light);
  text-align: center;
  transition: all .3s;
}
.value-card:hover { border-color: var(--gold); }
.value-card .icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.value-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}
.value-card p {
  font-size: 14px;
  color: var(--text-light);
}
@media (max-width: 768px) {
  .about-content { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-list { margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; fill: var(--gold); }
.contact-item h4 { font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.contact-item p, .contact-item a {
  font-size: 14px;
  color: var(--text-light);
}
.contact-item a:hover { color: var(--gold); }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
  border: 1.5px solid var(--gray-light);
}
.social-link:hover { border-color: var(--gold); transform: translateY(-2px); }
.social-link svg { width: 18px; height: 18px; }
.social-link.whatsapp { color: #25D366; }
.social-link.whatsapp svg { fill: #25D366; }
.social-link.wechat { color: #07C160; }
.social-link.wechat svg { fill: #07C160; }
.social-link.email { color: var(--gold-dark); }
.social-link.email svg { fill: var(--gold-dark); }
.social-link.phone-link { color: var(--navy); }
.social-link.phone-link svg { fill: var(--navy); }

/* ===== Form ===== */
.form-card {
  background: var(--off-white);
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--gray-light);
}
.form-card h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { height: 120px; resize: vertical; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}
.footer h4 {
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer p { font-size: 14px; line-height: 1.8; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== CTA ===== */
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
}
.cta-box h3 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-box p {
  color: rgba(255,255,255,.6);
  margin-bottom: 28px;
  font-size: 16px;
}

/* ===== Misc ===== */
.divider {
  height: 1px;
  background: var(--gray-light);
  margin: 48px 0;
}
.text-gold { color: var(--gold); }
.hero-buttons { position: relative; }
.en { display: none; }
body.en-mode .zh { display: none; }
body.en-mode .en { display: initial; }

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp .6s ease-out both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
