/* ===== 蒙山客茶业官网样式 ===== */
:root {
  --green-dark:  #1a4a2e;
  --green-mid:   #2d6a4f;
  --green-light: #52b788;
  --gold:        #c9a84c;
  --gold-light:  #e8d5a3;
  --cream:       #f8f4ed;
  --brown:       #3d2b1f;
  --text-dark:   #222;
  --text-gray:   #666;
  --white:       #fff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== 导航栏 ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(26, 74, 46, 0.96);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 70px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.navbar-logo {
  display: flex; align-items: center; gap: 12px;
}

.navbar-logo .logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: bold; color: var(--green-dark);
}

.navbar-logo .logo-text {
  display: flex; flex-direction: column;
}

.navbar-logo .logo-cn {
  font-size: 18px; font-weight: 700; color: var(--white); letter-spacing: 2px;
}

.navbar-logo .logo-en {
  font-size: 10px; color: var(--gold-light); letter-spacing: 3px;
}

.navbar-nav {
  display: flex; gap: 36px; list-style: none;
}

.navbar-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 15px; letter-spacing: 1px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.navbar-cta {
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: var(--white) !important;
  padding: 8px 22px !important;
  border-radius: 4px;
  border-bottom: none !important;
  font-weight: 600;
}

.navbar-cta:hover {
  opacity: 0.9;
  border-bottom: none !important;
}

/* 汉堡菜单 */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
}
.hamburger span {
  width: 26px; height: 2px; background: var(--white); transition: 0.3s;
}

/* ===== 通用组件 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--cream);
}

.section-dark {
  background: var(--green-dark);
  color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.section-dark .section-title h2 {
  color: var(--gold);
}

.section-title .subtitle {
  font-size: 15px;
  color: var(--text-gray);
  letter-spacing: 2px;
}

.section-dark .section-title .subtitle {
  color: rgba(255,255,255,0.6);
}

.section-title .divider {
  width: 60px; height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  margin: 16px auto 0;
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: var(--white);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--green-dark);
}

.btn-white:hover {
  background: var(--gold);
  color: var(--white);
}

/* ===== 页面内顶部横幅 ===== */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 {
  font-size: 42px;
  color: var(--white);
  letter-spacing: 6px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  position: relative;
}

.page-hero .gold-line {
  width: 50px; height: 3px;
  background: var(--gold);
  margin: 18px auto 0;
  border-radius: 2px;
  position: relative;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 14px 0;
  background: #f0ebe3;
  border-bottom: 1px solid #e0d5c5;
  font-size: 13px;
  color: var(--text-gray);
}

.breadcrumb a { color: var(--green-mid); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; }

/* ===== 卡片 ===== */
.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* ===== 网格布局 ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== 页脚 ===== */
.footer {
  background: var(--brown);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .logo-cn {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.footer-brand .logo-en {
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.5);
}

.footer-col h4 {
  font-size: 15px;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ===== 主页 Hero ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(10,30,18,0.68), rgba(10,30,18,0.75)),
              url('../images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-deco {
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.1);
}

.hero-deco::before {
  content: '';
  position: absolute; inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.08);
}

.hero-deco::after {
  content: '';
  position: absolute; inset: 120px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.06);
}

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

.hero-tag {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 52px;
  color: var(--white);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--gold);
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
  margin-bottom: 36px;
  letter-spacing: 1px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 60px; right: 0; left: 0;
  z-index: 1;
}

.hero-stats-inner {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.hero-stat {
  text-align: center;
  color: var(--white);
}

.hero-stat .num {
  font-size: 38px;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.hero-stat .label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2px;
}

/* ===== 优势区 ===== */
.advantage-card {
  padding: 40px 32px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid #eee;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.advantage-card:hover::before { transform: scaleX(1); }
.advantage-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }

.advantage-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 22px;
}

.advantage-card h3 {
  font-size: 18px;
  color: var(--green-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* ===== 产品区 ===== */
.product-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.product-img {
  height: 180px;
  overflow: hidden;
  position: relative;
}

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

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

.product-body {
  padding: 22px;
}

.product-body h3 {
  font-size: 17px;
  color: var(--green-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.product-body p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
}

.product-tag {
  display: inline-block;
  background: rgba(26,74,46,0.08);
  color: var(--green-mid);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  margin-top: 10px;
}

/* ===== 加盟模式 ===== */
.join-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.join-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.15);
}

.join-card-header {
  padding: 30px;
  background: var(--green-dark);
  text-align: center;
  position: relative;
}

.join-card.featured .join-card-header {
  background: linear-gradient(135deg, var(--gold) 0%, #8b6914 100%);
}

.join-card-header .recommended {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--green-light);
  color: var(--white);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
}

.join-card-header h3 {
  font-size: 22px;
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.join-card-header .price {
  font-size: 36px;
  color: var(--gold-light);
  font-weight: 800;
}

.join-card.featured .join-card-header .price {
  color: var(--white);
}

.join-card-header .price span {
  font-size: 14px;
  font-weight: 400;
}

.join-card-body {
  padding: 30px;
}

.join-card-body ul {
  list-style: none;
  margin-bottom: 28px;
}

.join-card-body ul li {
  padding: 9px 0;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px dashed #eee;
  display: flex;
  align-items: center;
  gap: 8px;
}

.join-card-body ul li::before {
  content: '✓';
  color: var(--green-mid);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== 流程时间轴 ===== */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--green-mid));
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
}

.timeline-item h3 {
  font-size: 17px;
  color: var(--green-dark);
  margin-bottom: 6px;
  font-weight: 700;
}

.timeline-item .time-tag {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 10px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* ===== 数据统计 ===== */
.stats-bar {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 60px 0;
}

.stats-bar .grid-4 {
  text-align: center;
}

.stat-item .num {
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-item .label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ===== 联系区 ===== */
.contact-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid #f0e8d8;
}

.contact-info-item:last-child { border-bottom: none; }

.contact-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 600;
}

/* ===== 表单 ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
  color: var(--text-dark);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== 产品详情页 ===== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-visual {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: 12px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
}

/* ===== 关于我们页 ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img {
  background: linear-gradient(135deg, var(--green-dark), #0d3320);
  border-radius: 12px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  position: relative;
}

.about-img::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 60%; height: 60%;
  border: 3px solid var(--gold);
  border-radius: 8px;
  z-index: -1;
}

.about-text h2 {
  font-size: 32px;
  color: var(--green-dark);
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-text p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 18px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
}

.about-feature-item::before {
  content: '●';
  color: var(--gold);
  font-size: 10px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .navbar { padding: 0 30px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-stats-inner { gap: 30px; }
}

@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--green-dark);
    padding: 20px 30px;
    gap: 0;
    border-top: 1px solid rgba(201,168,76,0.2);
  }
  .navbar-nav.open li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .navbar-nav.open a { padding: 14px 0; display: block; }
  .hamburger { display: flex; }

  .container { padding: 0 20px; }
  .section { padding: 60px 0; }

  .hero { min-height: auto; padding: 120px 0 160px; }
  .hero h1 { font-size: 32px; }
  .hero-deco { display: none; }
  .hero-stats { position: static; margin-top: 50px; }
  .hero-stats-inner { gap: 20px; flex-wrap: wrap; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .about-intro, .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { height: 260px; }
  .about-img::after { display: none; }

  .section-title h2 { font-size: 26px; }
  .page-hero h1 { font-size: 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===== 动画 ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
