/* ============================================
   velloralink - 饰品独立站全局样式
   主色: 香槟金 #C9A96E | 深黑 #1A1A1A | 米白 #F8F5F0
   ============================================ */

/* ---- 基础重置与变量 ---- */
:root {
  --gold: #C9A96E;
  --gold-light: #E8D5A8;
  --gold-dark: #A07D3E;
  --black: #1A1A1A;
  --gray-dark: #333333;
  --gray: #666666;
  --gray-light: #999999;
  --cream: #F8F5F0;
  --cream-dark: #F0EBE3;
  --white: #FFFFFF;
  --pink: #E84C88;
  --pink-dark: #C73A6F;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  --font-main: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'Georgia', 'Times New Roman', serif;

  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ---- 工具类 ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 0.5rem; } .gap-4 { gap: 1rem; } .gap-8 { gap: 2rem; }

/* ---- 按钮 ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 14px;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer; border: none;
  transition: var(--transition); white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37,211,102,0.3); }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-pink:hover { background: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(232,76,136,0.3); }
.btn-sm { padding: 10px 24px; font-size: 12px; }
.btn-lg { padding: 16px 40px; font-size: 15px; }

/* ---- 顶部导航栏 ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,169,110,0.15); transition: var(--transition);
}
.header-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 22px; font-weight: 700; color: var(--black); letter-spacing: 1px; }
.logo span { color: var(--gold); }
.logo small { display: block; font-size: 10px; font-weight: 400; color: var(--gray-light); letter-spacing: 3px; text-transform: uppercase; }

.nav-desktop { display: flex; align-items: center; gap: 32px; }
.nav-desktop a {
  font-size: 14px; font-weight: 500; color: var(--gray-dark); position: relative; padding: 5px 0;
}
.nav-desktop a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: var(--transition);
}
.nav-desktop a:hover { color: var(--black); }
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 100%; }
.nav-desktop a.active { color: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn-sm { padding: 8px 20px; font-size: 12px; }

/* 移动端菜单 */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--black); transition: var(--transition); }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: var(--white);
  z-index: 999; padding: 30px 20px; transform: translateX(100%); transition: var(--transition);
  display: flex; flex-direction: column; gap: 20px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-size: 18px; font-weight: 500; color: var(--black); padding: 12px 0; border-bottom: 1px solid var(--cream-dark); }
.mobile-nav a.active { color: var(--gold); }
.mobile-nav .btn-whatsapp { margin-top: 10px; justify-content: center; }

/* ---- 页面标题区 ---- */
.page-hero {
  padding: 140px 0 60px; text-align: center; background: var(--cream);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.page-hero h1 { font-size: 42px; font-weight: 700; margin-bottom: 12px; color: var(--black); }
.page-hero p { color: var(--gray); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* ---- 区块标题 ---- */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; font-weight: 700; color: var(--black); margin-bottom: 12px; position: relative; display: inline-block; }
.section-title h2::after {
  content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 3px; background: var(--gold); border-radius: 2px;
}
.section-title p { color: var(--gray); font-size: 15px; margin-top: 20px; max-width: 500px; margin-left: auto; margin-right: auto; }
.section-title .subtitle { font-size: 12px; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); font-weight: 600; margin-bottom: 8px; }

/* ---- 产品卡片 ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.product-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid rgba(0,0,0,0.04);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-img { aspect-ratio: 1; background: var(--cream); position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--white);
  font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 20px; text-transform: uppercase;
}
.product-info { padding: 20px; }
.product-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--black); }
.product-info p { font-size: 13px; color: var(--gray); margin-bottom: 12px; line-height: 1.5; }
.product-info .price { font-size: 18px; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.product-info .price span { font-size: 13px; font-weight: 400; color: var(--gray-light); text-decoration: line-through; margin-left: 8px; }

.catalog-section { padding: 60px 0; background: var(--cream); }
.catalog-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.catalog-filters .filter-btn {
  background: var(--cream); color: var(--black); border: 1px solid transparent;
}
.catalog-filters .filter-btn.active,
.catalog-filters .filter-btn:hover {
  background: var(--gold); color: var(--white); border-color: var(--gold);
}
.catalog-intro {
  display: grid; grid-template-columns: minmax(220px, 0.8fr) 1.2fr; gap: 32px;
  align-items: end; margin-bottom: 32px;
}
.catalog-intro h2 { font-size: 30px; line-height: 1.2; margin-top: 8px; }
.catalog-intro p { color: var(--gray); font-size: 15px; line-height: 1.7; }
.catalog-grid .product-info { display: flex; flex-direction: column; min-height: 205px; }
.catalog-grid .product-info p { flex: 1; }
.catalog-grid .product-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- 特性/服务卡片 ---- */
.feature-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px;
  box-shadow: var(--shadow); transition: var(--transition); text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(201,169,110,0.2); }
.feature-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  font-size: 24px; color: var(--gold); transition: var(--transition);
}
.feature-card:hover .feature-icon { background: var(--gold); color: var(--white); }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ---- 数据统计 ---- */
.stat-item { text-align: center; }
.stat-number { font-size: 48px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--gray); }

/* ---- 流程步骤 ---- */
.step-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;
  flex-shrink: 0;
}
.step-content h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step-content p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ---- FAQ 手风琴 ---- */
.faq-item { border-bottom: 1px solid var(--cream-dark); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; padding: 20px 0;
  cursor: pointer; font-weight: 600; font-size: 16px; color: var(--black); transition: var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-question .icon { transition: transform 0.3s; font-size: 20px; color: var(--gray); }
.faq-item.active .faq-question .icon { transform: rotate(180deg); color: var(--gold); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0; }
.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 20px; }
.faq-answer p { color: var(--gray); font-size: 14px; line-height: 1.7; }

/* ---- 联系信息卡片 ---- */
.contact-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow); transition: var(--transition); text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.contact-card .icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  font-size: 22px; color: var(--gold); transition: var(--transition);
}
.contact-card:hover .icon { background: var(--gold); color: var(--white); }
.contact-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--gray); margin-bottom: 16px; line-height: 1.6; }
.contact-card a { color: var(--gold); font-weight: 600; font-size: 14px; }
.contact-card a:hover { color: var(--gold-dark); }

/* ---- 浮动 WhatsApp 按钮 ---- */
/* ---- Inquiry conversion blocks ---- */
.factory-proof { padding: 80px 0; background: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proof-card {
  background: var(--white); border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: var(--transition);
}
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.proof-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proof-card div { padding: 20px; }
.proof-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--black); }
.proof-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.inquiry-form { display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--cream-dark);
  border-radius: var(--radius); font-size: 14px; transition: var(--transition);
  outline: none; background: var(--white); color: var(--black); font-family: inherit;
}
.inquiry-form textarea { resize: vertical; min-height: 130px; }
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}
.form-result { display: none; border-radius: var(--radius); padding: 16px; font-size: 14px; line-height: 1.6; }
.form-result.show { display: block; }
.form-result.success { background: #F0FBF4; border: 1px solid rgba(37,211,102,0.25); color: #186A3B; }
.form-result.error { background: #FFF4F6; border: 1px solid rgba(232,76,136,0.25); color: var(--pink-dark); }
.form-result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.form-result-actions a,
.form-result-actions button {
  border: 1px solid currentColor; background: transparent; border-radius: 50px;
  padding: 8px 14px; font-size: 12px; font-weight: 600; color: inherit; cursor: pointer;
}

.float-whatsapp {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}
.float-whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.5); }
.float-whatsapp svg { width: 28px; height: 28px; fill: white; }
@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---- 信任徽章 ---- */
.trust-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray); }
.trust-badge svg { width: 18px; height: 18px; color: var(--gold); }

/* ---- 客户Logo区 ---- */
.client-logo {
  filter: grayscale(100%); opacity: 0.5; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--cream-dark);
  font-weight: 600; color: var(--gray); font-size: 14px;
}
.client-logo:hover { filter: grayscale(0%); opacity: 1; border-color: var(--gold); }

/* ---- 页脚 ---- */
.footer { background: var(--black); color: var(--white); padding: 60px 0 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; fill: var(--white); }

.footer-links h4 { font-size: 16px; font-weight: 600; margin-bottom: 20px; color: var(--white); }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact h4 { font-size: 16px; font-weight: 600; margin-bottom: 20px; color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-contact-item svg { width: 18px; height: 18px; fill: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-bottom { padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ---- 响应式 ---- */
@media (max-width: 991px) {
  .nav-desktop { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-cta { display: none; }
  .page-hero h1 { font-size: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-intro { grid-template-columns: 1fr; gap: 16px; }
  .container[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 36px !important; }
  .container[style*="repeat(4, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 767px) {
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .page-hero { padding: 120px 0 40px; }
  .page-hero h1 { font-size: 28px; }
  .section-title h2 { font-size: 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .btn { padding: 12px 24px; font-size: 13px; }
  .float-whatsapp { width: 48px; height: 48px; bottom: 20px; right: 20px; }
  .float-whatsapp svg { width: 24px; height: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .factory-proof { padding: 60px 0; }
  .proof-grid { grid-template-columns: 1fr; }
  .container[style*="repeat(4, 1fr)"] { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  h1[style*="48px"] { font-size: 34px !important; }
  h2[style*="36px"], h2[style*="32px"] { font-size: 26px !important; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 28px; }
}

/* ---- 动画 ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ---- 面包屑 ---- */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--gray); }
.breadcrumb a { color: var(--gray); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ---- 表格样式 ---- */
.table-wrapper { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); }
.data-table th { background: var(--cream); padding: 14px 20px; text-align: left; font-weight: 600; font-size: 14px; color: var(--black); white-space: nowrap; }
.data-table td { padding: 14px 20px; border-bottom: 1px solid var(--cream-dark); font-size: 14px; color: var(--gray-dark); }
.data-table tr:hover td { background: var(--cream); }
.data-table tr:last-child td { border-bottom: none; }
