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

:root {
  --color-primary: #F87F19;
  --color-primary-dark: #d96b0e;
  --color-light-orange: #fff3e6;
  --color-text: #333333;
  --color-text-secondary: #666666;
  --color-footer-bg: #222222;
  --color-footer-text: #cccccc;
  --color-white: #ffffff;
  --transition-base: 0.3s ease;
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  margin: 0;
  padding: 0;
  background: #fff8f0;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e6 40%, #ffe8d1 100%);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== 按钮 ==================== */
.btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(248, 127, 25, 0.35);
}

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

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

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

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

.btn-block {
  display: block;
  width: 100%;
}

/* ==================== 导航栏 ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-base);
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e6 40%, #ffe8d1 100%);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height var(--transition-base);
}

.header.scrolled .header-inner {
  height: 60px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: height var(--transition-base);
}

.header.scrolled .logo-img {
  height: 34px;
}

.logo-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.header.scrolled .logo-text {
  font-size: 14px;
}

.header-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.header-nav a {
  font-size: 15px;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

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

.header-nav a:hover::after {
  width: 100%;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e6 40%, #ffe8d1 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-base);
}

.mobile-menu.open {
  max-height: 500px;
  padding: 16px 24px 24px;
}

.mobile-menu a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: var(--color-text);
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:last-child {
  border-bottom: none;
  margin-top: 8px;
}

/* ==================== Hero 首屏 ==================== */
.hero {
  position: relative;
  height: auto;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e6 40%, #ffe8d1 100%);
  overflow: hidden;
  padding: 100px 0 40px;
}

/* 氛围渐变覆盖层 */
.hero-atmosphere {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(248, 127, 25, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 176, 112, 0.18) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

/* 漂浮星点 */
.hero-stars {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-stars span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #F87F19;
  border-radius: 50%;
  box-shadow: 0 0 10px 4px rgba(248, 127, 25, 0.7);
  animation: starTwinkle 3s ease-in-out infinite;
}

.hero-stars span:nth-child(odd) {
  width: 3px;
  height: 3px;
  box-shadow: 0 0 8px 3px rgba(248, 127, 25, 0.6);
}

.hero-stars span:nth-child(3n) {
  background: #ffb070;
  box-shadow: 0 0 12px 5px rgba(255, 176, 112, 0.7);
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* 浮尘光点 */
.hero-dust {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-dust span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(248, 127, 25, 0.8), transparent);
  border-radius: 50%;
  animation: dustFloat linear infinite;
}

.hero-dust span:nth-child(even) {
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(255, 176, 112, 0.7), transparent);
}

.hero-dust span:nth-child(3n) {
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, rgba(248, 127, 25, 0.6), transparent);
}

@keyframes dustFloat {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translate(30px, -100px) scale(0.5);
    opacity: 0;
  }
}

/* 底部波浪装饰 */
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 2;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  border-radius: 40px;
  background: linear-gradient(135deg, #58cc02, #4caf02);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(88, 204, 2, 0.35);
  letter-spacing: 0.5px;
}

.hero-badge em {
  font-style: normal;
  opacity: 0.7;
  margin: 0 2px;
}

.hero-badge-icon {
  width: 22px;
  height: 22px;
  color: #fff;
  flex-shrink: 0;
}

.hero-partner {
  margin-bottom: 20px;
}

.hero-partner h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.3;
  letter-spacing: 2px;
}

/* 首屏飞入动画 */
.hero-fly-in {
  opacity: 0;
  animation: heroFlyIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title.hero-fly-in {
  animation-delay: 0.3s;
  transform: translateX(-80px);
}

.hero-subtitle.hero-fly-in {
  animation-delay: 0.6s;
  transform: translateX(80px);
}

.hero-actions.hero-fly-in {
  animation-delay: 0.9s;
  transform: translateY(60px);
}

@keyframes heroFlyIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.3;
  background: linear-gradient(135deg, #F87F19 0%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  display: none;
}

.hero-scroll-hint span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: 6px auto 0;
  animation: scrollHint 1.5s infinite;
}

@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ==================== Section 通用 ==================== */
.section {
  padding: 24px 0;
}

.section-alt {
  background: var(--color-light-orange);
}

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

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: 8px auto 0;
}

.section-cta {
  text-align: center;
  margin-top: 16px;
}

/* ==================== 卡片网格 ==================== */
.card-grid {
  display: grid;
  gap: 12px;
}

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

.card-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid #f5f5f5;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(248, 127, 25, 0.15);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ==================== 师资卡片 ==================== */
.teacher-card {
  text-align: center;
}

.teacher-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.teacher-role {
  display: inline-block;
  font-size: 12px;
  color: var(--color-primary);
  background: var(--color-light-orange);
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
}

/* ==================== 公司介绍 ==================== */
.about-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
}

.about-text {
  flex: 1;
}

.about-company {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.about-brand {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.about-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #e0e0e0;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
}

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

.about-list strong {
  color: var(--color-primary);
}

.about-illustration {
  flex: 0 0 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==================== 学员口碑轮播 ==================== */
.testimonial-track-wrapper {
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.testimonial-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: testimonialScroll 30s linear infinite;
}

.testimonial-track.paused {
  animation-play-state: paused;
}

.testimonial-card {
  width: 340px;
  background: var(--color-white);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #f5f5f5;
  flex-shrink: 0;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(248, 127, 25, 0.15);
}

.testimonial-score {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 10px;
}

.testimonial-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--color-primary);
  background: var(--color-light-orange);
  padding: 4px 12px;
  border-radius: 12px;
}

@keyframes testimonialScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}

/* ==================== 页脚 ==================== */
.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 28px 0 0;
}

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

.footer-logo {
  height: 40px;
  margin-bottom: 12px;
}

.footer-company {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.footer-intro {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-footer-text);
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--color-footer-text);
  transition: color var(--transition-base);
}

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

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

.footer-contact a {
  color: var(--color-primary);
  transition: color var(--transition-base);
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #3a3a3a;
  padding: 12px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #888;
  line-height: 1.8;
}

/* ==================== 滚动入场动画 ==================== */

/* 基础淡入上滑 */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* 淡入左滑 */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 淡入右滑 */
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 缩放淡入 */
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* 3D 翻转入场 */
.reveal-flip {
  opacity: 0;
  transform: perspective(800px) rotateY(-15deg) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-flip.visible {
  opacity: 1;
  transform: perspective(800px) rotateY(0deg) translateY(0);
}

/* 卡片错开延迟入场 */
.reveal.visible:nth-child(1) { transition-delay: 0ms; }
.reveal.visible:nth-child(2) { transition-delay: 80ms; }
.reveal.visible:nth-child(3) { transition-delay: 160ms; }
.reveal.visible:nth-child(4) { transition-delay: 240ms; }
.reveal.visible:nth-child(5) { transition-delay: 320ms; }
.reveal.visible:nth-child(6) { transition-delay: 400ms; }

/* 卡片入场后添加微浮动 */
.card.visible {
  animation: cardEntrance 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 尊重用户偏好：减少动画 */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-flip {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==================== 响应式：平板端 ==================== */
@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 28px;
  }

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

  .about-wrapper {
    flex-direction: column-reverse;
    gap: 32px;
  }

  .about-illustration {
    flex: 0 0 auto;
    max-width: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ==================== 响应式：手机端 ==================== */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    height: 56px;
    padding: 0 16px;
  }

  .logo-text {
    display: none;
  }

  .logo-img {
    height: 32px;
  }

  .hero {
    height: auto;
    min-height: auto;
    padding: 80px 0 30px;
  }

  .hero-badge {
    font-size: 13px;
    padding: 8px 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .hero-badge em {
    display: none;
  }

  .hero-badge-icon {
    width: 18px;
    height: 18px;
  }

  .hero-partner {
    margin-bottom: 12px;
  }

  .hero-partner h2 {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 13px;
    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .section {
    padding: 24px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-header {
    margin-bottom: 16px;
  }

  .card-grid-4,
  .card-grid-5 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px 20px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-desc {
    font-size: 13px;
  }

  .about-list li {
    font-size: 14px;
  }

  .testimonial-card {
    width: 280px;
    padding: 24px 20px;
  }

  .testimonial-score {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .btn-lg {
    padding: 12px 28px;
    font-size: 15px;
  }
}

/* ==================== 科技感增强：粒子画布 ==================== */
.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ==================== 科技感增强：几何装饰 ==================== */
.deco-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
  z-index: 0;
}

.deco-corner svg {
  width: 100%;
  height: 100%;
}

.deco-corner-tr {
  top: 20px;
  right: 20px;
  animation: cornerPulse 4s ease-in-out infinite;
}

.deco-corner-bl {
  bottom: 20px;
  left: 20px;
  animation: cornerPulse 4s ease-in-out infinite 2s;
}

.deco-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.deco-lines svg {
  width: 200px;
  margin: 0 auto;
  display: block;
}

@keyframes cornerPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ==================== 科技感增强：section 网格背景 ==================== */
.section {
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(248, 127, 25, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 127, 25, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section > .deco-corner,
.section > .deco-lines {
  z-index: 1;
}

/* section-alt 使用不同网格密度 */
.section-alt::before {
  background-size: 80px 80px;
  background-image:
    linear-gradient(rgba(248, 127, 25, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 127, 25, 0.03) 1px, transparent 1px);
}

/* ==================== 科技感增强：卡片光边效果 ==================== */
.card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(248, 127, 25, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  transition: left 0.6s ease;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, var(--color-primary), transparent);
  transition: right 0.6s ease;
}

.card:hover::before {
  left: 0;
}

.card:hover::after {
  right: 0;
}

.card:hover {
  border-color: rgba(248, 127, 25, 0.3);
  box-shadow: 0 8px 30px rgba(248, 127, 25, 0.15), 0 0 0 1px rgba(248, 127, 25, 0.1);
}

/* 卡片扫描线动画 */
@keyframes scanLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.card:hover .card-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  animation: scanLine 1.5s ease-in-out infinite;
}

.card-icon {
  position: relative;
}

/* ==================== 科技感增强：按钮发光效果 ==================== */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.btn-primary:hover::before {
  width: 200px;
  height: 200px;
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(248, 127, 25, 0.45), 0 0 30px rgba(248, 127, 25, 0.15);
}

.btn-outline {
  position: relative;
  overflow: hidden;
}

/* ==================== 科技感增强：Hero 光影 ==================== */

/* Hero 底部淡出（配合波浪） */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Hero 标题光晕 */
.hero-title {
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  border-radius: 3px;
  opacity: 0.7;
}

/* ==================== 科技感增强：分割线光效 ==================== */
.section-divider {
  position: relative;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #ffb070);
  border-radius: 2px;
  margin: 16px auto 0;
  overflow: hidden;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: dividerShine 3s ease-in-out infinite;
}

@keyframes dividerShine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* ==================== 科技感增强：轮播容器 ==================== */
.testimonial-track-wrapper {
  position: relative;
}

.testimonial-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 127, 25, 0.08);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-primary);
  opacity: 0.6;
  transition: height 0.4s ease;
}

.testimonial-card:hover::before {
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary), #ffb070);
  box-shadow: 0 0 10px rgba(248, 127, 25, 0.4);
}

/* ==================== 科技感增强：公司介绍插画 ==================== */
.about-illustration svg {
  animation: floatIllustration 8s ease-in-out infinite;
}

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

/* ==================== 响应式：移动端减少装饰 ==================== */
@media (max-width: 768px) {
  .deco-corner {
    width: 40px;
    height: 40px;
  }

  .deco-corner-tr {
    top: 10px;
    right: 10px;
  }

  .deco-corner-bl {
    bottom: 10px;
    left: 10px;
  }

  .section::before,
  .section-alt::before {
    background-size: 40px 40px;
    opacity: 0.5;
  }
}
