/* QQ号码交易中心 - 全局样式 */
:root {
  --primary: #12B7F5;
  --primary-dark: #0E9ED6;
  --secondary: #FF6B35;
  --success: #52C41A;
  --warning: #FAAD14;
  --danger: #FF4D4F;
  --dark: #1D2129;
  --gray-100: #F2F3F5;
  --gray-200: #E5E6EB;
  --gray-300: #C9CDD4;
  --gray-400: #86909C;
  --gray-500: #4E5969;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', sans-serif;
  color: var(--dark);
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航 */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-left span {
  margin-right: 20px;
}

.header-top-right a {
  margin-left: 20px;
  color: rgba(255,255,255,0.9);
}

.header-top-right a:hover {
  color: var(--white);
}

.nav-main {
  padding: 16px 0;
}

.nav-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 900;
}

.nav-menu {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  color: var(--gray-500);
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(18, 183, 245, 0.1);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(18, 183, 245, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 183, 245, 0.4);
}

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

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

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

.btn-large {
  padding: 14px 32px;
  font-size: 16px;
}

/* Hero区域 */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #FFD700;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.8;
}

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

.hero-image {
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-card-title {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 12px;
}

.hero-number-display {
  font-size: 56px;
  font-weight: 900;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  letter-spacing: 4px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-card-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  background: rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 20px;
}

/* 搜索区域 */
.search-section {
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.search-box {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.search-form {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 16px;
}

.search-input-group {
  position: relative;
}

.search-input-group input,
.search-input-group select {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: var(--transition);
  background: var(--white);
}

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

.search-input-group .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 18px;
}

.search-tags {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.search-tags span {
  font-size: 13px;
  color: var(--gray-400);
}

.search-tag {
  padding: 6px 14px;
  background: var(--gray-100);
  border-radius: 20px;
  font-size: 13px;
  color: var(--gray-500);
}

.search-tag:hover {
  background: var(--primary);
  color: white;
}

.search-tag.hot {
  background: rgba(255, 107, 53, 0.1);
  color: var(--secondary);
}

/* 服务特色 */
.features-section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(18, 183, 245, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(18, 183, 245, 0.2);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: white; }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); color: white; }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); color: white; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
}

/* 号码分类 */
.categories-section {
  padding: 60px 0;
  background: var(--white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.category-card {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: rgba(18, 183, 245, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
}

.category-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.category-card span {
  font-size: 12px;
  color: var(--gray-400);
}

/* 热门号码 */
.hot-numbers-section {
  padding: 80px 0;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 24px;
  background: var(--white);
  border: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--primary);
  color: white;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.number-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

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

.number-card-image {
  height: 120px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.number-card:nth-child(2n) .number-card-image {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.number-card:nth-child(3n) .number-card-image {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.number-card:nth-child(4n) .number-card-image {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.number-display {
  font-size: 28px;
  font-weight: 900;
  color: white;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.number-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
}

.number-card-body {
  padding: 20px;
}

.number-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.number-tag {
  padding: 3px 10px;
  background: var(--gray-100);
  border-radius: 4px;
  font-size: 11px;
  color: var(--gray-500);
}

.number-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.number-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
}

.number-price span {
  font-size: 14px;
  font-weight: 400;
}

.number-meta {
  font-size: 12px;
  color: var(--gray-400);
}

.number-card-footer {
  display: flex;
  gap: 8px;
}

.number-card-footer .btn {
  flex: 1;
  padding: 10px;
  font-size: 13px;
  justify-content: center;
}

/* 交易流程 */
.process-section {
  padding: 80px 0;
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--gray-200) 100%);
}

.process-step h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--gray-400);
}

/* 新闻资讯 */
.news-section {
  padding: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-image {
  height: 200px;
  overflow: hidden;
}

.news-card:first-child .news-card-image {
  height: 280px;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.news-card-body {
  padding: 20px;
}

.news-category {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(18, 183, 245, 0.1);
  color: var(--primary);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 12px;
}

.news-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.5;
}

.news-card:first-child h3 {
  font-size: 20px;
}

.news-card p {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-400);
}

/* 回收服务 */
.recycle-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.recycle-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.recycle-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.recycle-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.recycle-content > div > p {
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 30px;
  line-height: 1.8;
}

.recycle-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.recycle-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.recycle-feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.8);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

/* 底部 */
.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 60px 0 20px;
}

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

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.7;
}

.footer h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.7;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  opacity: 0.5;
}

/* 页面横幅 */
.page-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
}

.page-banner h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.page-banner p {
  font-size: 16px;
  opacity: 0.9;
  position: relative;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  position: relative;
}

.breadcrumb a {
  opacity: 0.8;
}

.breadcrumb a:hover {
  opacity: 1;
}

.breadcrumb span {
  opacity: 0.5;
}

/* 列表页布局 */
.list-layout {
  padding: 40px 0 80px;
}

.list-layout .container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--gray-500);
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-option {
  padding: 6px 14px;
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 13px;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
}

.filter-option:hover,
.filter-option.active {
  background: var(--primary);
  color: white;
}

.price-range {
  display: flex;
  gap: 10px;
  align-items: center;
}

.price-range input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 13px;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.result-count {
  font-size: 14px;
  color: var(--gray-500);
}

.result-count strong {
  color: var(--primary);
}

.sort-options {
  display: flex;
  gap: 4px;
}

.sort-option {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--gray-500);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.sort-option:hover,
.sort-option.active {
  background: var(--gray-100);
  color: var(--primary);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pagination a:hover,
.pagination span.active {
  background: var(--primary);
  color: white;
}

/* 详情页 */
.detail-layout {
  padding: 40px 0 80px;
}

.detail-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.detail-number-showcase {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.detail-number-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.detail-big-number {
  font-size: 64px;
  font-weight: 900;
  color: white;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  letter-spacing: 6px;
  position: relative;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.detail-number-tags {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  position: relative;
}

.detail-number-tag {
  padding: 6px 16px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 13px;
  color: white;
}

.detail-info h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.detail-price-section {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.detail-price {
  font-size: 40px;
  font-weight: 900;
  color: var(--secondary);
}

.detail-price span {
  font-size: 16px;
  font-weight: 400;
}

.detail-price-note {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 8px;
}

.detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.detail-spec-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
}

.detail-spec-item .label {
  color: var(--gray-400);
}

.detail-spec-item .value {
  font-weight: 500;
}

.detail-actions {
  display: flex;
  gap: 12px;
}

.detail-actions .btn {
  flex: 1;
  padding: 16px;
  font-size: 16px;
  justify-content: center;
}

.detail-tabs {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.detail-tab-nav {
  display: flex;
  border-bottom: 1px solid var(--gray-200);
  padding: 0 20px;
}

.detail-tab-btn {
  padding: 20px 30px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.detail-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.detail-tab-content {
  padding: 30px;
}

.detail-tab-panel {
  display: none;
}

.detail-tab-panel.active {
  display: block;
}

.detail-description h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.detail-description p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.detail-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.detail-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-500);
}

.detail-features-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: rgba(82, 196, 26, 0.1);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

/* 新闻详情页 */
.news-detail-layout {
  padding: 40px 0 80px;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-sm);
}

.article-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--gray-200);
}

.article-category {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(18, 183, 245, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.article-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  color: var(--gray-400);
}

.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--gray-500);
}

.article-content p {
  margin-bottom: 24px;
}

.article-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin: 40px 0 20px;
}

.article-content img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 30px 0;
  box-shadow: var(--shadow-md);
}

.article-content blockquote {
  padding: 24px 30px;
  background: var(--gray-100);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 30px 0;
  font-style: italic;
}

.article-content ul,
.article-content ol {
  margin: 20px 0;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 12px;
}

.news-list-page {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
}

.news-list-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-list-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 280px 1fr;
  transition: var(--transition);
}

.news-list-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-list-image {
  height: 100%;
  min-height: 200px;
}

.news-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-list-content {
  padding: 28px;
}

.news-list-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
}

.news-list-content p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hot-news-list {
  list-style: none;
}

.hot-news-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.hot-news-rank {
  width: 24px;
  height: 24px;
  background: var(--gray-200);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400);
  flex-shrink: 0;
}

.hot-news-item:nth-child(1) .hot-news-rank { background: #ff4d4f; color: white; }
.hot-news-item:nth-child(2) .hot-news-rank { background: #ff7a45; color: white; }
.hot-news-item:nth-child(3) .hot-news-rank { background: #ffa940; color: white; }

.hot-news-text h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 4px;
}

.hot-news-text span {
  font-size: 12px;
  color: var(--gray-400);
}

/* 响应式 */
@media (max-width: 1024px) {
  .features-grid,
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero .container,
  .recycle-content,
  .detail-header {
    grid-template-columns: 1fr;
  }
  
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .news-grid > :first-child {
    grid-column: 1 / -1;
  }
  
  .list-layout .container,
  .news-list-page {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .search-form {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .categories-grid,
  .process-steps,
  .numbers-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .article-container {
    padding: 30px 20px;
  }
  
  .article-title {
    font-size: 24px;
  }
  
  .detail-specs,
  .recycle-features,
  .detail-features-list {
    grid-template-columns: 1fr;
  }
  
  .news-list-item {
    grid-template-columns: 1fr;
  }
  
  .detail-tab-nav {
    overflow-x: auto;
  }
  
  .detail-tab-btn {
    padding: 16px 20px;
    white-space: nowrap;
  }
}
