/* =========================================================
   每日大赛每日大赛 - 全站样式
   配色体系：活力橙(#FF5A2E) + 深海蓝(#12213A) + 暖白背景
   ========================================================= */

:root {
  --primary: #FF5A2E;
  --primary-dark: #E8431A;
  --secondary: #FFB13D;
  --dark: #12213A;
  --dark-soft: #1B2D4E;
  --text: #2B3A55;
  --text-light: #6B7A95;
  --bg: #F7F8FC;
  --white: #FFFFFF;
  --border: #E5E9F2;
  --shadow: 0 10px 30px rgba(18, 33, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(18, 33, 58, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container: 1200px;
  --gradient: linear-gradient(135deg, #FF5A2E 0%, #FFB13D 100%);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

/* ---------- 通用标题 ---------- */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  background: rgba(255, 90, 46, 0.1);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--dark);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-light);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 90, 46, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(255, 90, 46, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-3px);
}

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

.btn-dark:hover {
  background: var(--dark-soft);
  transform: translateY(-3px);
}

/* ---------- 导航栏 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 33, 58, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
  background: var(--dark);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  box-shadow: 0 6px 16px rgba(255, 90, 46, 0.4);
}

.brand span em {
  font-style: normal;
  color: var(--secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 100px;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  background: rgba(255, 90, 46, 0.2);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient);
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 24px;
  background: var(--gradient);
  border-radius: 100px;
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(255, 90, 46, 0.4);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 90, 46, 0.55);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 90, 46, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255, 177, 61, 0.25), transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

@keyframes heroGlow {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.08); }
}

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

.hero-content {
  animation: fadeUp 1s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 177, 61, 0.15);
  border: 1px solid rgba(255, 177, 61, 0.4);
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

.hero-title .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary);
}

.hero-stat span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.hero-visual {
  position: relative;
  animation: fadeUp 1.1s ease 0.15s both;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  padding: 22px;
  transition: var(--transition);
}

.hero-card:hover {
  transform: translateY(-6px) rotate(1deg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hero-card img {
  border-radius: var(--radius-sm);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 16px;
}

.hero-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.hero-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-float {
  position: absolute;
  top: -24px;
  right: -18px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 14px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(255, 90, 46, 0.5);
  animation: floatY 3.5s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- 特性区 ---------- */
.features {
  background: var(--white);
  position: relative;
}

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

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: rgba(255, 90, 46, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--gradient);
  transform: rotate(-8deg) scale(1.05);
}

.feature-card h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-light);
}

/* ---------- 服务介绍区 ---------- */
.services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-media {
  position: relative;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.08);
}

.service-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gradient);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
}

.service-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-body p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
  flex: 1;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  gap: 12px;
  color: var(--primary-dark);
}

/* ---------- 榜单 / 内容区 ---------- */
.ranking {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.ranking::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 85% 15%, rgba(255, 90, 46, 0.2), transparent 60%);
}

.ranking .container {
  position: relative;
  z-index: 2;
}

.ranking .section-title {
  color: var(--white);
}

.ranking .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.rank-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.rank-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
}

.rank-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.rank-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}

.rank-card:nth-child(2) .rank-num {
  background: linear-gradient(135deg, #C9CDD6, #7A8291);
}

.rank-card:nth-child(3) .rank-num {
  background: linear-gradient(135deg, #D9986A, #A05A2C);
}

.rank-user {
  font-size: 17px;
  font-weight: 700;
}

.rank-tag {
  font-size: 13px;
  color: var(--secondary);
}

.rank-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

/* ---------- 资讯板块 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

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

.news-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-body {
  padding: 24px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.news-meta time {
  color: var(--primary);
  font-weight: 600;
}

.news-card h3 {
  font-size: 19px;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.news-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* ---------- 常见问题 FAQ ---------- */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  background: var(--bg);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 90, 46, 0.4);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 90, 46, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  background: var(--gradient);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  padding: 90px 0;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 0, transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18) 0, transparent 30%);
  animation: heroGlow 6s ease-in-out infinite alternate;
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 34px;
  opacity: 0.92;
}

.cta .btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.cta .btn-white:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.8);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.9;
}

.footer-title {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 内页 Hero ---------- */
.page-hero {
  position: relative;
  padding: 170px 0 90px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 50% 100%, rgba(255, 90, 46, 0.3), transparent 65%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .section-tag {
  background: rgba(255, 177, 61, 0.15);
  color: var(--secondary);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a {
  color: var(--secondary);
}

/* ---------- 关于页 ---------- */
.about-intro {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-media {
  position: relative;
}

.about-media::after {
  content: "2019";
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--gradient);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.about-text h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.35;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-light);
  line-height: 1.9;
}

.milestones {
  background: var(--bg);
}

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

.milestone-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.milestone-card:hover {
  transform: translateY(-8px);
  border-top-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.milestone-year {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.milestone-card h3 {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 8px;
}

.milestone-card p {
  font-size: 14px;
  color: var(--text-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}

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

.value-icon {
  font-size: 44px;
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 15px;
  color: var(--text-light);
}

/* ---------- 新闻列表页 ---------- */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: start;
}

.news-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.page-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  transition: var(--transition);
}

.page-link:hover,
.page-link.active {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}

.sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.side-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.side-card h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg);
}

.side-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.side-list li:last-child {
  border-bottom: none;
}

.side-list .date {
  font-size: 13px;
  color: var(--text-light);
  flex-shrink: 0;
}

.side-list a {
  font-size: 14px;
  line-height: 1.6;
}

.side-list a:hover {
  color: var(--primary);
}

/* ---------- 新闻详情页 ---------- */
.article {
  background: var(--white);
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 40px;
}

.article-header h1 {
  font-size: clamp(26px, 4vw, 40px);
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--text-light);
}

.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
}

.article-content h2 {
  font-size: 26px;
  color: var(--dark);
  margin: 36px 0 16px;
  line-height: 1.4;
}

.article-content h3 {
  font-size: 21px;
  color: var(--dark);
  margin: 28px 0 12px;
}

.article-content p {
  margin-bottom: 18px;
  color: var(--text);
  line-height: 2;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(255, 90, 46, 0.06);
  padding: 18px 24px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  color: var(--dark-soft);
  font-style: italic;
}

.article-content ul {
  margin: 0 0 20px 24px;
  list-style: disc;
}

.article-content ul li {
  margin-bottom: 8px;
  line-height: 1.9;
}

.article-content img {
  border-radius: var(--radius-sm);
  margin: 24px 0;
  width: 100%;
}

/* ---------- 产品页 ---------- */
.product-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 26px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-media {
  position: relative;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-price {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--gradient);
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: 0 8px 20px rgba(255, 90, 46, 0.4);
}

.product-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 10px;
}

.product-body p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 18px;
  flex: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.product-tags span {
  font-size: 12px;
  background: rgba(255, 90, 46, 0.08);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
}

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}

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

.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 90, 46, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-light);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 24px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 90, 46, 0.12);
}

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

/* ---------- 表格 ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.info-table th {
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
}

.info-table tr:hover td {
  background: rgba(255, 90, 46, 0.04);
}

/* ---------- 动画 ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid,
  .ranking-grid,
  .news-grid,
  .products-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--dark);
    padding: 20px 24px 28px;
    gap: 6px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-menu a {
    padding: 14px 18px;
    border-radius: 10px;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 6px;
    text-align: center;
  }
  .features-grid,
  .services-grid,
  .ranking-grid,
  .news-grid,
  .products-grid,
  .values-grid,
  .milestone-grid {
    grid-template-columns: 1fr;
  }
  .news-main {
    grid-template-columns: 1fr;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-stats {
    gap: 24px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .contact-form-wrap {
    padding: 28px 22px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 18px;
  }
  .brand-logo {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
  .hero {
    padding: 120px 0 70px;
  }
  .hero-stat strong {
    font-size: 26px;
  }
  .section-title {
    font-size: 26px;
  }
}
