/* ============================================
   麻豆tv短剧创作者孵化与分发平台 - 全局样式表
   版本: 1.0.0
   说明: 基于CSS变量的设计令牌系统，支持主题切换
   ============================================ */

/* === 设计令牌（Design Tokens） === */
:root {
  --primary: #00B4D8;
  --secondary: #023E8A;
  --bg: #FFFFFF;
  --card-bg: #F0FAFF;
  --accent: #0096C7;
  --text: #1A1A1A;
  --text-light: #666666;
  --border: #E0E0E0;
  --success: #28A745;
  --warning: #FFC107;
  --danger: #DC3545;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease-in-out;
  --font-heading: 'Montserrat', 'PingFang SC', sans-serif;
  --font-body: 'Inter', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Roboto Mono', 'DIN Alternate', monospace;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 64px;
}

/* === 深色模式 === */
[data-theme="dark"] {
  --bg: #0A1628;
  --card-bg: #112240;
  --text: #E6E6E6;
  --text-light: #A0A0A0;
  --border: #1E3A5F;
}

/* === 全局重置 === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* === 排版系统 === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: 2.5rem; margin-bottom: var(--spacing-md); }
h2 { font-size: 2rem; margin-bottom: var(--spacing-sm); }
h3 { font-size: 1.5rem; margin-bottom: var(--spacing-sm); }
h4 { font-size: 1.25rem; margin-bottom: var(--spacing-xs); }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

a:hover {
  color: var(--accent);
}

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

/* === 布局容器 === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container--wide {
  max-width: 1400px;
}

/* === 网格系统 === */
.grid {
  display: grid;
  gap: var(--spacing-md);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* === Flexbox 工具 === */
.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--column { flex-direction: column; }
.flex--wrap { flex-wrap: wrap; }
.flex--gap { gap: var(--spacing-md); }

/* === 按钮系统 === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn--primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
  color: #FFFFFF;
}

.btn--secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  color: #FFFFFF;
}

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

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

.btn--lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* 按钮发光动效 */
.btn--glow {
  animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(0, 180, 216, 0.6); }
}

/* === 卡片组件 === */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.card__image {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
}

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

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

.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* === 导航栏 === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--secondary);
  padding: 0 var(--spacing-md);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

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

.header__logo-text {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.header__logo-text span {
  color: var(--primary);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--primary);
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__search {
  position: relative;
}

.header__search input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 8px 16px 8px 36px;
  color: #FFFFFF;
  font-size: 0.875rem;
  width: 200px;
  transition: var(--transition);
}

.header__search input:focus {
  width: 280px;
  background: rgba(255,255,255,0.15);
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

.header__search input::placeholder {
  color: rgba(255,255,255,0.5);
}

.header__search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
}

/* 移动端汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: var(--transition);
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2,62,138,0.7) 0%, rgba(0,180,216,0.3) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--spacing-md);
}

.hero__title {
  font-size: 3rem;
  color: #FFFFFF;
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero__subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

.hero__cta {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* === Section 通用 === */
.section {
  padding: var(--spacing-xl) 0;
}

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

.section--dark {
  background: var(--secondary);
  color: #FFFFFF;
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

.section__header h2 {
  position: relative;
  display: inline-block;
}

.section__header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 12px auto 0;
}

.section__header p {
  margin-top: var(--spacing-sm);
  font-size: 1.05rem;
}

/* === 价值主张模块 === */
.value-card {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.value-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--spacing-sm);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card__icon svg {
  width: 36px;
  height: 36px;
  fill: #FFFFFF;
}

.value-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-card__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* === 成功案例轮播 === */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel__track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel__slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  padding: var(--spacing-lg);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
}

.carousel__image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.carousel__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.carousel__content {
  padding: var(--spacing-md);
}

.carousel__quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-sm);
  border-left: 4px solid var(--primary);
}

.carousel__stats {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.carousel__stat {
  text-align: center;
}

.carousel__stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.carousel__stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

.carousel__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: var(--spacing-md);
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.carousel__dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: 6px;
}

/* === 数据仪表盘展示 === */
.dashboard-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.dashboard-showcase__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.dashboard-showcase__image img {
  width: 100%;
  height: auto;
}

.dashboard-showcase__content h2 {
  margin-bottom: var(--spacing-sm);
}

.dashboard-showcase__features {
  list-style: none;
  margin-top: var(--spacing-md);
}

.dashboard-showcase__features li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-light);
}

.dashboard-showcase__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* === 剧本展示橱窗 === */
.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

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

.project-card__image {
  height: 180px;
  overflow: hidden;
}

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

.project-card:hover .project-card__image img {
  transform: scale(1.08);
}

.project-card__body {
  padding: var(--spacing-md);
}

.project-card__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--primary);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.project-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-card__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.project-card__budget {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary);
}

/* === Logo 无限滚动墙 === */
.logo-wall {
  overflow: hidden;
  padding: var(--spacing-md) 0;
  position: relative;
}

.logo-wall::before,
.logo-wall::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.logo-wall::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.logo-wall::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.logo-wall__track {
  display: flex;
  gap: var(--spacing-lg);
  animation: scrollLogos 30s linear infinite;
}

.logo-wall__item {
  flex-shrink: 0;
  width: 150px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--border);
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === 新闻资讯 === */
.news-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
}

.news-card__image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 140px;
}

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

.news-card__meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.news-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.news-card:hover .news-card__title {
  color: var(--primary);
}

.news-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === CTA 底部转化区 === */
.cta-section {
  background: var(--secondary);
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
}

.cta-section h2 {
  color: #FFFFFF;
  font-size: 2.2rem;
  margin-bottom: var(--spacing-sm);
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn--primary {
  font-size: 1.2rem;
  padding: 18px 48px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* === 页脚 === */
.footer {
  background: #011627;
  color: rgba(255,255,255,0.7);
  padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer__brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 12px;
}

.footer__title {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: var(--spacing-sm);
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--primary);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

.footer__bottom {
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer__bottom a {
  color: rgba(255,255,255,0.6);
  margin-left: 16px;
}

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

/* === 面包屑导航 === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: var(--spacing-sm) 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

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

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

.breadcrumb__separator {
  color: var(--border);
}

/* === 数据指标卡片 === */
.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-card__icon--blue { background: rgba(0, 180, 216, 0.1); }
.stat-card__icon--green { background: rgba(40, 167, 69, 0.1); }
.stat-card__icon--orange { background: rgba(255, 193, 7, 0.1); }
.stat-card__icon--purple { background: rgba(111, 66, 193, 0.1); }

.stat-card__value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.stat-card__label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.stat-card__trend {
  font-size: 0.8rem;
  font-weight: 600;
}

.stat-card__trend--up { color: var(--success); }
.stat-card__trend--down { color: var(--danger); }

/* === 排行榜组件 === */
.leaderboard__item {
  display: grid;
  grid-template-columns: 50px 60px 1fr auto;
  gap: var(--spacing-sm);
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.leaderboard__item:hover {
  background: var(--card-bg);
  border-color: var(--border);
}

.leaderboard__item--top {
  background: linear-gradient(135deg, rgba(0,180,216,0.05), rgba(0,150,199,0.05));
  border-color: var(--primary);
}

.leaderboard__rank {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.leaderboard__rank--gold { color: #FFD700; }
.leaderboard__rank--silver { color: #C0C0C0; }
.leaderboard__rank--bronze { color: #CD7F32; }

.leaderboard__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
}

.leaderboard__item--top .leaderboard__avatar {
  border-color: var(--primary);
}

.leaderboard__info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.leaderboard__info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.leaderboard__stats {
  text-align: right;
}

.leaderboard__stats strong {
  font-family: var(--font-mono);
  color: var(--primary);
}

/* === 收益计算器 === */
.calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid var(--border);
}

.calculator__input-group {
  margin-bottom: var(--spacing-md);
}

.calculator__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.calculator__slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  margin-bottom: 8px;
}

.calculator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,180,216,0.3);
}

.calculator__value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  text-align: right;
}

.calculator__result {
  background: var(--secondary);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calculator__result-title {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--spacing-sm);
}

.calculator__result-value {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
}

.calculator__result-detail {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 2;
}

/* === 表单样式 === */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

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

/* === 步骤进度条 === */
.steps {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

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

.step__number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.step--active .step__number {
  background: var(--primary);
  color: #FFFFFF;
}

.step--completed .step__number {
  background: var(--success);
  color: #FFFFFF;
}

.step__label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.step--active .step__label {
  color: var(--text);
  font-weight: 600;
}

.step__line {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin: 0 12px;
}

.step--completed + .step .step__line,
.step--completed .step__line {
  background: var(--success);
}

/* === 通知角标 === */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--danger);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  position: absolute;
  top: -4px;
  right: -4px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* === 骨架屏 === */
.skeleton {
  background: linear-gradient(90deg, var(--card-bg) 25%, #E8F4F8 50%, var(--card-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* === 页面切换动画 === */
.fade-in {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === 滚动显示动画 === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* === 响应式设计 === */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .dashboard-showcase { grid-template-columns: 1fr; }
  .calculator { grid-template-columns: 1fr; }
  .carousel__slide { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  html { font-size: 14px; }
  
  .header__nav { display: none; }
  .hamburger { display: flex; }
  
  .header__nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--secondary);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
  }
  
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 1rem; }
  
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; }
  
  .news-card { grid-template-columns: 1fr; }
  .news-card__image { height: 180px; }
  
  .carousel__slide { padding: var(--spacing-md); }
  .carousel__image img { height: 250px; }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .section { padding: var(--spacing-lg) 0; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .stat-card { flex-direction: column; text-align: center; }
}

/* === 打印样式 === */
@media print {
  .header, .footer, .btn, .hamburger { display: none; }
  body { color: #000; background: #fff; }
}
