/* ===== CEO-Tea 网站共享样式 ===== */

/* RESET & VARIABLES */
:root {
  --brown-deep: #2C1810;
  --brown-mid: #3D281C;
  --brown-light: #5A3820;
  --cream: #F5F0E8;
  --cream-light: #FAF8F5;
  --gold: #8B6914;
  --gold-dim: #6B4E0F;
  --gold-light: #A8841E;
  --text-dark: #2C1810;
  --text-mid: #4A3732;
  --text-light: rgba(245,240,232,0.85);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.8;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(139,115,85,0.92);
  backdrop-filter: blur(10px);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  margin-right: 0;
}
.nav-links a {
  font-size: 16px;
  color: rgba(44,24,16,0.7);
  text-decoration: none;
  transition: color 0.3s;
  padding: 6px 0;
  line-height: 1;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.current {
  color: var(--gold);
  font-weight: 600;
}
.nav-cta {
  padding: 8px 20px;
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s;
  line-height: 1.2;
}
.nav-cta:hover {
  background: var(--gold);
  color: #fff;
  padding: 10px 24px;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  cursor: pointer;
  background: none;
  border: 1px solid var(--gold);
  border-radius: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #2C1810;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(139,115,85,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-size: 22px;
  color: #2C1810;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 4px;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .nav-cta-mobile {
  margin-top: 16px;
  padding: 14px 40px;
  border: 1.5px solid var(--gold);
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  background: transparent;
}
.mobile-nav .nav-cta-mobile:hover {
  background: var(--gold);
  color: #fff;
}

/* Section base */
.section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(139,105,20,0.3);
  border-radius: 20px;
  margin-bottom: 20px;
  background: rgba(139,105,20,0.08);
}
.section-label svg { width: 14px; height: 14px; color: var(--gold); }
.section-label span { font-size: 12px; color: var(--gold); letter-spacing: 3px; }
.section-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-title em { font-style: normal; color: var(--gold); }
.section-desc {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.9;
}

/* Cards grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.social-card {
  background: var(--cream-light);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  border: 1px solid rgba(139,105,20,0.1);
}
.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139,105,20,0.12);
}
.social-card-icon {
  width: 48px; height: 48px;
  background: rgba(139,105,20,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.social-card-icon svg { width: 24px; height: 24px; color: var(--gold); }
.social-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.social-card-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,105,20,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid rgba(139,105,20,0.3);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Value cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.value-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--cream-light);
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(139,105,20,0.1);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139,105,20,0.12);
}
.value-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: rgba(139,105,20,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg { width: 28px; height: 28px; color: var(--gold); }
.value-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.value-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--brown-mid);
  padding: 60px 24px 32px;
  border-top: 1px solid rgba(245,240,232,0.08);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand svg { width: 28px; height: 28px; color: var(--gold); }
.footer-brand span {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
}
.footer-desc {
  font-size: 14px;
  color: rgba(245,240,232,0.5);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245,240,232,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; color: rgba(245,240,232,0.5); }
.footer-social a:hover svg { color: var(--gold); }
.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 14px;
  color: rgba(245,240,232,0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(245,240,232,0.5);
}
.footer-contact-item svg { width: 14px; height: 14px; color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(245,240,232,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: 15px;
  color: rgba(245,240,232,0.3);
}
.footer-qr { text-align: center; }
.footer-qr-box {
  width: 80px; height: 80px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  overflow: hidden;
}
.footer-qr-box img {
  width: 80px; height: 80px;
  object-fit: cover;
}
.footer-qr span {
  font-size: 14px;
  color: rgba(245,240,232,0.4);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 40px;
  z-index: 999;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(139,105,20,0.3);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(139,105,20,0.4);
}
.back-to-top svg {
  width: 22px; height: 22px;
  fill: currentColor;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, #8B7355 0%, #A0896A 50%, #B8A58D 100%);
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(197,160,89,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(32px, 5vw, 48px);
  color: #2C1810;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.page-hero p {
  font-size: 18px;
  color: rgba(44,24,16,0.65);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { justify-content: center; }

  .section { padding: 60px 20px; }
  .social-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
  .hamburger { display: none !important; }
  .mobile-nav { display: none !important; }
}
