/* 犀掌柜水晶 - 全局样式 */

/* CSS 变量 - 四季主题 */
/* ========================================
   春日主题 - 桃花绽放，万物复苏
   ======================================== */
:root {
  --primary: #e879a9;
  --primary-light: #fbcfe8;
  --primary-dark: #db2777;
  --secondary: #4ade80;
  --accent: #facc15;
  
  --bg-primary: #fff;
  --bg-secondary: #fdf2f8;
  --bg-gradient: linear-gradient(180deg, 
    rgba(253, 232, 243, 0.95) 0%, 
    rgba(240, 253, 244, 0.9) 50%, 
    rgba(254, 252, 232, 0.85) 100%);
  --bg-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23fbcfe8" fill-opacity="0.3" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,138.7C672,128,768,128,864,149.3C960,171,1056,213,1152,218.7C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-border: rgba(236, 121, 169, 0.2);
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-border: rgba(236, 121, 169, 0.3);
  --footer-bg: linear-gradient(135deg, #e879a9 0%, #f9a8d4 30%, #86efac 70%, #4ade80 100%);
  --shadow-sm: 0 2px 8px rgba(236, 121, 169, 0.15);
  --shadow-md: 0 4px 16px rgba(236, 121, 169, 0.2);
  --shadow-lg: 0 8px 32px rgba(236, 121, 169, 0.25);
  
  --particle-color-1: rgba(251, 207, 232, 0.6);
  --particle-color-2: rgba(134, 239, 172, 0.5);
  --particle-color-3: rgba(250, 204, 21, 0.4);
}

/* ========================================
   夏日主题 - 海浪沙滩，阳光活力
   ======================================== */
[data-theme="summer"] {
  --primary: #0ea5e9;
  --primary-light: #7dd3fc;
  --primary-dark: #0284c7;
  --secondary: #14b8a6;
  --accent: #fb923c;
  
  --bg-gradient: linear-gradient(180deg, 
    rgba(224, 242, 254, 0.95) 0%, 
    rgba(186, 230, 253, 0.9) 30%, 
    rgba(165, 243, 208, 0.85) 100%);
  
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-border: rgba(14, 165, 233, 0.2);
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-border: rgba(14, 165, 233, 0.3);
  --footer-bg: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 30%, #22d3ee 50%, #14b8a6 100%);
  --shadow-sm: 0 2px 8px rgba(14, 165, 233, 0.15);
  --shadow-md: 0 4px 16px rgba(14, 165, 233, 0.2);
  --shadow-lg: 0 8px 32px rgba(14, 165, 233, 0.25);
  
  --particle-color-1: rgba(125, 211, 252, 0.6);
  --particle-color-2: rgba(34, 211, 238, 0.5);
  --particle-color-3: rgba(251, 146, 60, 0.4);
}

/* ========================================
   秋日主题 - 枫叶金黄，丰收喜悦
   ======================================== */
[data-theme="autumn"] {
  --primary: #ea580c;
  --primary-light: #fdba74;
  --primary-dark: #c2410c;
  --secondary: #ca8a04;
  --accent: #facc15;
  
  --bg-gradient: linear-gradient(180deg, 
    rgba(255, 237, 213, 0.95) 0%, 
    rgba(253, 230, 138, 0.9) 50%, 
    rgba(254, 215, 170, 0.85) 100%);
  
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-border: rgba(234, 88, 12, 0.2);
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-border: rgba(234, 88, 12, 0.3);
  --footer-bg: linear-gradient(135deg, #ea580c 0%, #f97316 30%, #eab308 50%, #ca8a04 100%);
  --shadow-sm: 0 2px 8px rgba(234, 88, 12, 0.15);
  --shadow-md: 0 4px 16px rgba(234, 88, 12, 0.2);
  --shadow-lg: 0 8px 32px rgba(234, 88, 12, 0.25);
  
  --particle-color-1: rgba(253, 186, 116, 0.6);
  --particle-color-2: rgba(250, 204, 21, 0.5);
  --particle-color-3: rgba(234, 88, 12, 0.4);
}

/* ========================================
   冬日主题 - 冰雪世界，温馨浪漫
   ======================================== */
[data-theme="winter"] {
  --primary: #3b82f6;
  --primary-light: #93c5fd;
  --primary-dark: #1d4ed8;
  --secondary: #8b5cf6;
  --accent: #fb7185;
  
  --bg-gradient: linear-gradient(180deg, 
    rgba(241, 245, 249, 0.95) 0%, 
    rgba(226, 232, 240, 0.9) 50%, 
    rgba(248, 250, 252, 0.85) 100%);
  
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-border: rgba(59, 130, 246, 0.2);
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-border: rgba(59, 130, 246, 0.3);
  --footer-bg: linear-gradient(135deg, #3b82f6 0%, #6366f1 30%, #8b5cf6 50%, #a78bfa 100%);
  --shadow-sm: 0 2px 8px rgba(59, 130, 246, 0.15);
  --shadow-md: 0 4px 16px rgba(59, 130, 246, 0.2);
  --shadow-lg: 0 8px 32px rgba(59, 130, 246, 0.25);
  
  --particle-color-1: rgba(147, 197, 253, 0.6);
  --particle-color-2: rgba(196, 181, 253, 0.5);
  --particle-color-3: rgba(251, 113, 133, 0.4);
}

/* ========================================
   全局样式
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100%;
  position: relative;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* ========================================
   动态粒子背景装饰
   ======================================== */
.particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  opacity: 0.6;
}

/* 春日粒子 - 花瓣和蝴蝶 */
:root .particle:nth-child(1) {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--particle-color-1) 0%, transparent 70%);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 15s;
}

:root .particle:nth-child(2) {
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, var(--particle-color-2) 0%, transparent 70%);
  top: 20%;
  right: 15%;
  animation-delay: -3s;
  animation-duration: 12s;
}

:root .particle:nth-child(3) {
  width: 25px;
  height: 25px;
  background: radial-gradient(circle, var(--particle-color-3) 0%, transparent 70%);
  bottom: 30%;
  left: 20%;
  animation-delay: -5s;
  animation-duration: 18s;
}

:root .particle:nth-child(4) {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, var(--particle-color-1) 0%, transparent 70%);
  top: 40%;
  left: 60%;
  animation-delay: -7s;
  animation-duration: 14s;
}

:root .particle:nth-child(5) {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, var(--particle-color-2) 0%, transparent 70%);
  bottom: 20%;
  right: 25%;
  animation-delay: -2s;
  animation-duration: 16s;
}

/* 夏日粒子 - 水滴和光斑 */
[data-theme="summer"] .particle:nth-child(1) {
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, var(--particle-color-1) 0%, transparent 70%);
  top: 15%;
  left: 20%;
  animation-delay: 0s;
  animation-duration: 10s;
  border-radius: 50% 0 50% 50%;
}

[data-theme="summer"] .particle:nth-child(2) {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--particle-color-2) 0%, transparent 70%);
  top: 30%;
  right: 25%;
  animation-delay: -2s;
  animation-duration: 12s;
}

[data-theme="summer"] .particle:nth-child(3) {
  width: 35px;
  height: 35px;
  background: radial-gradient(circle, var(--particle-color-3) 0%, transparent 70%);
  bottom: 25%;
  left: 15%;
  animation-delay: -4s;
  animation-duration: 8s;
}

[data-theme="summer"] .particle:nth-child(4) {
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, var(--particle-color-1) 0%, transparent 70%);
  top: 50%;
  left: 70%;
  animation-delay: -6s;
  animation-duration: 14s;
}

[data-theme="summer"] .particle:nth-child(5) {
  width: 25px;
  height: 25px;
  background: radial-gradient(circle, var(--particle-color-2) 0%, transparent 70%);
  bottom: 40%;
  right: 10%;
  animation-delay: -3s;
  animation-duration: 11s;
}

/* 秋日粒子 - 枫叶和金叶 */
[data-theme="autumn"] .particle:nth-child(1) {
  width: 25px;
  height: 25px;
  background: var(--particle-color-1);
  top: 10%;
  left: 30%;
  animation-delay: 0s;
  animation-duration: 20s;
  border-radius: 50% 0;
}

[data-theme="autumn"] .particle:nth-child(2) {
  width: 20px;
  height: 20px;
  background: var(--particle-color-2);
  top: 25%;
  right: 20%;
  animation-delay: -4s;
  animation-duration: 18s;
  border-radius: 50% 50% 0 50%;
}

[data-theme="autumn"] .particle:nth-child(3) {
  width: 30px;
  height: 30px;
  background: var(--particle-color-3);
  bottom: 30%;
  left: 25%;
  animation-delay: -8s;
  animation-duration: 22s;
}

[data-theme="autumn"] .particle:nth-child(4) {
  width: 18px;
  height: 18px;
  background: var(--particle-color-1);
  top: 45%;
  left: 65%;
  animation-delay: -2s;
  animation-duration: 16s;
}

[data-theme="autumn"] .particle:nth-child(5) {
  width: 22px;
  height: 22px;
  background: var(--particle-color-2);
  bottom: 15%;
  right: 30%;
  animation-delay: -6s;
  animation-duration: 19s;
  border-radius: 50% 50% 50% 0;
}

/* 冬日粒子 - 雪花 */
[data-theme="winter"] .particle:nth-child(1) {
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, var(--particle-color-1) 0%, transparent 70%);
  top: 8%;
  left: 15%;
  animation-delay: 0s;
  animation-duration: 12s;
  box-shadow: 0 0 10px var(--particle-color-1);
}

[data-theme="winter"] .particle:nth-child(2) {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, var(--particle-color-2) 0%, transparent 70%);
  top: 20%;
  right: 25%;
  animation-delay: -2s;
  animation-duration: 15s;
  box-shadow: 0 0 8px var(--particle-color-2);
}

[data-theme="winter"] .particle:nth-child(3) {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  bottom: 35%;
  left: 30%;
  animation-delay: -5s;
  animation-duration: 18s;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

[data-theme="winter"] .particle:nth-child(4) {
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, var(--particle-color-3) 0%, transparent 70%);
  top: 40%;
  left: 55%;
  animation-delay: -7s;
  animation-duration: 14s;
  box-shadow: 0 0 6px var(--particle-color-3);
}

[data-theme="winter"] .particle:nth-child(5) {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, var(--particle-color-1) 0%, transparent 70%);
  bottom: 20%;
  right: 15%;
  animation-delay: -3s;
  animation-duration: 16s;
  box-shadow: 0 0 12px var(--particle-color-1);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-30px) rotate(90deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-20px) translateX(20px) rotate(180deg);
    opacity: 0.6;
  }
  75% {
    transform: translateY(-40px) translateX(-10px) rotate(270deg);
    opacity: 0.8;
  }
}

/* 春日特殊动画 - 花瓣飘落 */
:root .particle:nth-child(3),
:root .particle:nth-child(4) {
  animation-name: petalFall;
}

@keyframes petalFall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* 冬日特殊动画 - 雪花飘落 */
[data-theme="winter"] .particle:nth-child(1),
[data-theme="winter"] .particle:nth-child(3),
[data-theme="winter"] .particle:nth-child(5) {
  animation-name: snowFall;
}

@keyframes snowFall {
  0% {
    transform: translateY(-10vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) translateX(50px) rotate(360deg);
    opacity: 0.3;
  }
}

/* 夏日特殊动画 - 水波纹 */
[data-theme="summer"] .particle:nth-child(2),
[data-theme="summer"] .particle:nth-child(4) {
  animation-name: waveMove;
}

@keyframes waveMove {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.1);
  }
}

/* 秋日特殊动画 - 枫叶飘落 */
[data-theme="autumn"] .particle:nth-child(1),
[data-theme="autumn"] .particle:nth-child(3),
[data-theme="autumn"] .particle:nth-child(5) {
  animation-name: leafFall;
}

@keyframes leafFall {
  0% {
    transform: translateY(-10vh) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(45vh) rotate(180deg) translateX(30px);
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(110vh) rotate(360deg) translateX(-20px);
    opacity: 0;
  }
}

/* ========================================
   页面布局
   ======================================== */
.page-section {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 200px);
}

/* 头部导航 */
.header {
  background: var(--header-bg);
  border-bottom: 2px solid var(--header-border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.logo:hover {
  color: var(--primary-dark);
  transform: scale(1.02);
}

.logo svg {
  width: 36px;
  height: 36px;
}

/* 导航菜单 */
.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: var(--card-bg);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* 下拉菜单 */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg);
  min-width: 160px;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
  z-index: 101;
  border: 1px solid var(--card-border);
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeInDown 0.3s ease;
}

.dropdown-content a {
  display: block;
  padding: 0.625rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.dropdown-content a:hover {
  color: var(--primary);
  background: var(--bg-gradient);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  /* 隐藏移动端菜单按钮 */
  .mobile-menu-btn {
    display: none !important;
  }
  
  /* 导航菜单横向排列 */
  .nav {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    position: static;
    padding: 0.25rem 0.5rem;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .nav::-webkit-scrollbar {
    display: none;
  }
  
  .nav a, .nav .dropdown > a {
    padding: 0.5rem 0.4rem;
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  /* 下拉菜单在移动端显示在下方 */
  .dropdown {
    position: relative;
  }
  
  .dropdown .dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 120px;
    z-index: 100;
  }
  
  /* 移除header的阴影，让导航更紧凑 */
  .header {
    position: relative;
  }
  
  .header-content {
    padding: 0.75rem 0.5rem;
  }
}

/* 分类筛选按钮统一样式 */
#categoryFilters .btn {
  min-width: 110px !important;
  width: auto !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  padding: 0.75rem 1.25rem !important;
  font-size: 0.95rem !important;
  text-align: center !important;
}

#categoryFilters {
  display: flex !important;
  gap: 0.75rem !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}

#categoryFilters::-webkit-scrollbar {
  height: 4px;
}
#categoryFilters::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

/* ========================================
   按钮样式
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

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

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

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

/* ========================================
   卡片样式
   ======================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-secondary);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1rem 1rem 0.5rem;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0 1rem 1rem;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 1rem 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--card-border);
}

.card .btn {
  margin: 0 1rem 1rem;
}

/* 产品卡片 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--card-bg);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.product-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--bg-secondary);
}

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-card .btn {
  width: 100%;
}

/* ========================================
   英雄区域
   ======================================== */
.hero {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--card-bg);
  border-bottom: 2px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(var(--primary-rgb, 232, 122, 169), 0.05) 0%, 
    rgba(var(--secondary-rgb, 74, 222, 128), 0.05) 100%);
  pointer-events: none;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}

.hero .btn {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

/* ========================================
   页面头部
   ======================================== */
.article-header {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--card-bg);
  border-bottom: 2px solid var(--card-border);
}

.article-header h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.article-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* 面包屑导航 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ========================================
   容器和布局
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.text-muted {
  color: var(--text-muted);
}

/* ========================================
   页脚
   ======================================== */
.footer {
  background: var(--footer-bg);
  color: white;
  padding: 3rem 2rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-text {
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ========================================
   品牌介绍
   ======================================== */
.brand-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.brand-text h2 {
  color: var(--primary);
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}

.about-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .brand-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ========================================
   联系页面
   ======================================== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin: 1rem 0;
  font-size: 1.125rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--card-border);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: border-color 0.3s;
  background: var(--card-bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ========================================
   微信验证
   ======================================== */
.verify-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem;
  background: var(--card-bg);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--card-border);
}

.verify-form-wrapper h2 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
}

.verify-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.verify-form input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--card-border);
  border-radius: 9999px;
  font-size: 1.125rem;
  text-align: center;
  transition: all 0.3s;
  background: white;
}

.verify-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 232, 122, 169), 0.2);
}

.verify-result {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.verify-success {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  border: 2px solid #86efac;
}

.verify-error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
  border: 2px solid #fca5a5;
}

/* ========================================
   文章和产品详情
   ======================================== */
.article-detail,
.product-detail {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
}

.article-detail h1 {
  font-size: 2.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.article-content p {
  margin: 1.25rem 0;
}

.article-content h2 {
  color: var(--primary);
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.product-detail-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
}

.product-detail-info h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .article-detail,
  .product-detail {
    padding: 1.5rem;
  }
  
  .article-detail h1 {
    font-size: 1.75rem;
  }
}

/* ========================================
   按钮样式
   ======================================== */
.btn-solid {
  background: var(--primary);
  color: white;
  border: none;
}

/* ========================================
   空状态
   ======================================== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--card-bg);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--card-border);
}

.empty-state h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.empty-state svg {
  width: 80px;
  height: 80px;
  color: var(--text-muted);
  opacity: 0.5;
  margin-bottom: 1rem;
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 640px) {
  .card-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .article-header h1 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}
