/* 思智网络 - 优化样式表 */

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

:root {
  /* 主题色 - 深蓝专业科技风 */
  --primary: #0c3c8c;
  --secondary: #2f74ff;
  --accent: #ff8a00;
  --light: #f4f7fb;
  --dark: #5b6b86;
  --darkest: #14203a;
  --border: #e3e9f2;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --radius-lg: 16px;

  /* 字体 */
  --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans CN', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-inter: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: #FFFFFF;
  line-height: 1.7;
  color: var(--dark);
}

/* 全局紧凑布局 — 桌面端 */
@media (min-width: 1025px) {
  section.py-16 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
  section.py-20 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  section.py-24 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  section .mb-12 { margin-bottom: 1.5rem !important; }
  section .mb-8 { margin-bottom: 1rem !important; }
  section .mb-6 { margin-bottom: 0.625rem !important; }
  section .gap-12 { gap: 1.75rem !important; }
  section .gap-8 { gap: 1.25rem !important; }
  section .gap-6 { gap: 1rem !important; }
  section .p-8 { padding: 1.25rem !important; }
  section .p-6 { padding: 1rem !important; }
}

/* 紧凑布局 — 平板 */
@media (min-width: 769px) and (max-width: 1024px) {
  section.py-20 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  section.py-16 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  section .mb-12 { margin-bottom: 1.25rem !important; }
  section .gap-12 { gap: 1.5rem !important; }
  section .gap-8 { gap: 1rem !important; }
}

/* 首页导航 - 白色简洁风格 */
.navbar--tech {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
}

.navbar--tech .site-logo {
  filter: none;
}

.navbar--tech .nav-link {
  color: var(--darkest);
  letter-spacing: 0.01em;
}

.navbar--tech .nav-link::after {
  background: var(--primary);
  height: 2px;
  opacity: 0.9;
}

.navbar--tech .nav-link:hover,
.navbar--tech .nav-link.active {
  color: var(--primary);
}

.navbar--tech .nav-cta {
  background: linear-gradient(135deg, #ff8a00, #E91E63);
  box-shadow: 0 8px 20px rgba(255, 138, 0, 0.2);
}

/* 首页导航交互风格 - 下划线条 (UPDATED) */
.nav-underline .nav-link {
  padding: 0.75rem 0.25rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-underline .nav-link::after {
  left: 50%;
  bottom: -0.9rem;
  width: 3.5rem;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-underline .nav-link:hover::after,
.nav-underline .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

.nav-underline .nav-link:hover,
.nav-underline .nav-link.active {
  color: var(--primary);
}

/* 品牌 Logo */
.site-logo {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: 100%;

}

.site-logo--footer {
  width: 100px !important;
  height: 46px !important;
  max-width: 100px !important;
  object-fit: contain;
  display: block;
}

/* 导航栏样式 */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* 移动端菜单 */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* 按钮 hover 效果 */
.btn-hover {
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-hover:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* 卡片 hover 效果 */
.card-hover {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* 滚动动画 (UPDATED) */
.scroll-animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.2, 0, 0, 1), transform 0.4s cubic-bezier(0.2, 0, 0, 1);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tab 样式 */
.tab-button.active {
  background-color: var(--primary);
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Hero 背景网格 */
.hero-grid {
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    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: 50px 50px, 70px 70px, 70px 70px;
}

/* 云厂商 Logo 悬停效果 */
.cloud-logo {
  transition: filter 0.2s, transform 0.2s;
}

.cloud-logo:hover {
  transform: scale(1.05);
  filter: grayscale(0);
}

/* 云厂商合作伙伴卡片 - 白色简洁风格 */
.cloud-partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  background: #FFFFFF;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-width: 115px;
  overflow: hidden;
}

.cloud-partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(42, 122, 247, 0.3), transparent);
}

.cloud-partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}

.cloud-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  margin-bottom: 0.4rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.cloud-partner-card:hover .cloud-icon {
  transform: scale(1.1) rotate(5deg);
}

.cloud-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--darkest);
  margin-bottom: 0.2rem;
  position: relative;
  z-index: 2;
}

.cloud-slogan {
  font-size: 0.58rem;
  color: var(--dark);
  font-weight: 500;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}


.cloud-partner-card:hover .cloud-slogan {
  color: #444444;
}

.brand-glow {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  filter: blur(28px);
}

.cloud-partner-card:hover .brand-glow {
  opacity: 0.5;
}

/* 阿里云品牌色 */
.cloud-partner-card.ali-cloud .cloud-icon {
  background: linear-gradient(135deg, #ff6a00, #ff9500);
  color: white;
  box-shadow:
    0 4px 8px rgba(255, 106, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.cloud-partner-card.ali-cloud:hover .cloud-name {
  color: #ff6a00;
}

.cloud-partner-card.ali-cloud .brand-glow {
  background: radial-gradient(circle, rgba(255, 106, 0, 0.6), transparent);
}

/* AWS 品牌色 */
.cloud-partner-card.aws .cloud-icon {
  background: linear-gradient(135deg, #232f3e, #37475a);
  color: #ff9900;
  box-shadow:
    0 4px 8px rgba(35, 47, 62, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.cloud-partner-card.aws:hover .cloud-name {
  color: #232f3e;
}

.cloud-partner-card.aws .brand-glow {
  background: radial-gradient(circle, rgba(255, 153, 0, 0.5), transparent);
}

/* 华为云品牌色 */
.cloud-partner-card.huawei-cloud .cloud-icon {
  background: linear-gradient(135deg, #cf0a2c, #e01e3c);
  color: white;
  box-shadow:
    0 4px 8px rgba(207, 10, 44, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.cloud-partner-card.huawei-cloud:hover .cloud-name {
  color: #cf0a2c;
}

.cloud-partner-card.huawei-cloud .brand-glow {
  background: radial-gradient(circle, rgba(207, 10, 44, 0.5), transparent);
}

/* 火山云品牌色 */
.cloud-partner-card.volcano-cloud .cloud-icon {
  background: linear-gradient(135deg, #333333, #1a1a1a);
  color: #ffffff;
  box-shadow:
    0 4px 8px rgba(51, 51, 51, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.cloud-partner-card.volcano-cloud:hover .cloud-name {
  color: #1a1a1a;
}

.cloud-partner-card.volcano-cloud .brand-glow {
  background: radial-gradient(circle, rgba(102, 102, 102, 0.5), transparent);
}

/* 天翼云品牌色 */
.cloud-partner-card.tianyi-cloud .cloud-icon {
  background: linear-gradient(135deg, #0066b3, #0088e6);
  color: white;
  box-shadow:
    0 4px 8px rgba(0, 102, 179, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.cloud-partner-card.tianyi-cloud:hover .cloud-name {
  color: #0066b3;
}

.cloud-partner-card.tianyi-cloud .brand-glow {
  background: radial-gradient(circle, rgba(0, 136, 230, 0.5), transparent);
}

/* 腾讯云品牌色 */
.cloud-partner-card.tencent-cloud .cloud-icon {
  background: linear-gradient(135deg, #00a4ff, #0078d4);
  color: white;
  box-shadow:
    0 4px 8px rgba(0, 164, 255, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.cloud-partner-card.tencent-cloud:hover .cloud-name {
  color: #00a4ff;
}

.cloud-partner-card.tencent-cloud .brand-glow {
  background: radial-gradient(circle, rgba(0, 164, 255, 0.5), transparent);
}

/* 数据数字动画 */
.counter {
  font-variant-numeric: tabular-nums;
}

/* 字间距 */
.tracking-widest {
  letter-spacing: 0.1em;
}

/* 工具类 - 替代 Tailwind 常用类 */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

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

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.space-x-8>*+* {
  margin-left: 2rem;
}

.fixed {
  position: fixed;
}

.relative {
  position: relative;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.z-50 {
  z-index: 50;
}

.w-6 {
  width: 1.5rem;
}

.h-6 {
  height: 1.5rem;
}

.text-white {
  color: white;
}

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

.bg-primary {
  background-color: var(--primary);
}

.bg-accent {
  background-color: var(--accent);
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

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

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

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

.transition-all {
  transition: all 0.3s;
}

.duration-300 {
  transition-duration: 300ms;
}

/* 响应式 */
@media (min-width: 768px) {
  .md\:block {
    display: block;
  }

  .md\:hidden {
    display: none;
  }

  .md\:flex {
    display: flex;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .md\:justify-start {
    justify-content: flex-start;
  }

  .md\:text-left {
    text-align: left;
  }
}

/* 更多工具类 */
.flex-1 {
  flex: 1;
}

.inline-flex {
  display: inline-flex;
}

.items-start {
  align-items: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-80 {
  height: 20rem;
}

.min-h-screen {
  min-height: 100vh;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-80 {
  width: 20rem;
}

.w-full {
  width: 100%;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-sm {
  max-width: 24rem;
}

.m-0 {
  margin: 0;
}

.m-1 {
  margin: 0.25rem;
}

.m-2 {
  margin: 0.5rem;
}

.m-3 {
  margin: 0.75rem;
}

.m-4 {
  margin: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

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

.mb-3 {
  margin-bottom: 0.75rem;
}

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

.mb-6 {
  margin-bottom: 1.5rem;
}

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

.mb-12 {
  margin-bottom: 3rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-3 {
  margin-left: 0.75rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mr-4 {
  margin-right: 1rem;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

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

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

.p-0 {
  padding: 0;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

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

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.pt-20 {
  padding-top: 5rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.625;
}

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

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

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

/* 颜色类 */
.text-white {
  color: white;
}

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

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

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

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

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

.text-blue-200 {
  color: rgba(191, 219, 254, 0.9);
}

.text-blue-300 {
  color: rgba(147, 197, 253, 0.9);
}

.text-blue-400 {
  color: rgb(96, 165, 250);
}

.text-blue-500 {
  color: rgb(59, 130, 246);
}

.text-blue-600 {
  color: rgb(37, 99, 235);
}

.text-blue-700 {
  color: rgb(29, 78, 216);
}

.text-green-500 {
  color: rgb(34, 197, 94);
}

.text-green-600 {
  color: rgb(22, 163, 74);
}

.text-green-700 {
  color: rgb(21, 128, 61);
}

.text-purple-400 {
  color: rgb(192, 132, 252);
}

.text-purple-500 {
  color: rgb(168, 85, 247);
}

.text-purple-600 {
  color: rgb(147, 51, 234);
}

.text-pink-400 {
  color: rgb(244, 114, 182);
}

.text-pink-500 {
  color: rgb(236, 72, 153);
}

.text-orange-400 {
  color: rgb(251, 146, 60);
}

.text-orange-500 {
  color: rgb(249, 115, 22);
}

.text-orange-600 {
  color: rgb(234, 88, 12);
}

.text-teal-400 {
  color: rgb(45, 212, 191);
}

.text-teal-500 {
  color: rgb(20, 184, 166);
}

.text-teal-600 {
  color: rgb(13, 148, 136);
}

.text-red-500 {
  color: rgb(239, 68, 68);
}

.text-red-600 {
  color: rgb(220, 38, 38);
}

.text-yellow-500 {
  color: rgb(234, 179, 8);
}

.text-yellow-600 {
  color: rgb(202, 138, 4);
}

.text-gray-400 {
  color: rgb(156, 163, 175);
}

.text-gray-500 {
  color: rgb(107, 114, 128);
}

.text-gray-600 {
  color: rgb(75, 85, 99);
}

.text-gray-700 {
  color: rgb(55, 65, 81);
}

.text-gray-800 {
  color: rgb(31, 41, 55);
}

.text-gray-900 {
  color: rgb(17, 24, 39);
}

.bg-white {
  background-color: white;
}

.bg-primary {
  background-color: var(--primary);
}

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

.bg-accent {
  background-color: var(--accent);
}

.bg-light {
  background-color: var(--light);
}

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

.bg-blue-50 {
  background-color: rgba(239, 246, 255, 0.8);
}

.bg-blue-100 {
  background-color: rgba(219, 234, 254, 0.8);
}

.bg-blue-500 {
  background-color: rgb(59, 130, 246);
}

.bg-blue-600 {
  background-color: rgb(37, 99, 235);
}

.bg-blue-900\/50 {
  background-color: rgba(30, 58, 138, 0.5);
}

.bg-green-50 {
  background-color: rgba(240, 253, 244, 0.8);
}

.bg-green-100 {
  background-color: rgba(220, 252, 231, 0.8);
}

.bg-green-500 {
  background-color: rgb(34, 197, 94);
}

.bg-green-600 {
  background-color: rgb(22, 163, 74);
}

.bg-purple-50 {
  background-color: rgba(250, 245, 255, 0.8);
}

.bg-purple-100 {
  background-color: rgba(243, 232, 255, 0.8);
}

.bg-purple-500 {
  background-color: rgb(168, 85, 247);
}

.bg-purple-600 {
  background-color: rgb(147, 51, 234);
}

.bg-pink-50 {
  background-color: rgba(253, 242, 248, 0.8);
}

.bg-pink-500 {
  background-color: rgb(236, 72, 153);
}

.bg-orange-50 {
  background-color: rgba(255, 247, 237, 0.8);
}

.bg-orange-100 {
  background-color: rgba(255, 237, 213, 0.8);
}

.bg-orange-500 {
  background-color: rgb(249, 115, 22);
}

.bg-orange-600 {
  background-color: rgb(234, 88, 12);
}

.bg-red-100 {
  background-color: rgba(254, 226, 226, 0.8);
}

.bg-teal-50 {
  background-color: rgba(240, 253, 250, 0.8);
}

.bg-teal-100 {
  background-color: rgba(204, 251, 241, 0.8);
}

.bg-teal-500 {
  background-color: rgb(20, 184, 166);
}

.bg-white\/95 {
  background-color: rgba(255, 255, 255, 0.95);
}

.bg-white\/85 {
  background-color: rgba(255, 255, 255, 0.85);
}

.bg-primary\/90 {
  background-color: rgba(11, 42, 107, 0.9);
}

.bg-transparent {
  background-color: transparent;
}

/* 渐变背景 */
.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-white\/95 {
  --tw-gradient-from: rgba(255, 255, 255, 0.95);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.from-white {
  --tw-gradient-from: white;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.from-blue-50 {
  --tw-gradient-from: rgba(239, 246, 255, 0.9);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0));
}

.from-purple-50 {
  --tw-gradient-from: rgba(250, 245, 255, 0.9);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(250, 245, 255, 0));
}

.from-pink-50 {
  --tw-gradient-from: rgba(253, 242, 248, 0.9);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(253, 242, 248, 0));
}

.from-orange-50 {
  --tw-gradient-from: rgba(255, 247, 237, 0.9);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 247, 237, 0));
}

.from-green-50 {
  --tw-gradient-from: rgba(240, 253, 244, 0.9);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(240, 253, 244, 0));
}

.from-teal-50 {
  --tw-gradient-from: rgba(240, 253, 250, 0.9);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(240, 253, 250, 0));
}

.from-blue-500 {
  --tw-gradient-from: rgb(59, 130, 246);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.from-purple-500 {
  --tw-gradient-from: rgb(168, 85, 247);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(168, 85, 247, 0));
}

.from-pink-500 {
  --tw-gradient-from: rgb(236, 72, 153);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(236, 72, 153, 0));
}

.from-orange-500 {
  --tw-gradient-from: rgb(249, 115, 22);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 115, 22, 0));
}

.from-green-500 {
  --tw-gradient-from: rgb(34, 197, 94);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(34, 197, 94, 0));
}

.from-teal-500 {
  --tw-gradient-from: rgb(20, 184, 166);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(20, 184, 166, 0));
}

.to-white\/85 {
  --tw-gradient-to: rgba(255, 255, 255, 0.85);
}

.to-white {
  --tw-gradient-to: white;
}

.to-light {
  --tw-gradient-to: #F5F7FA;
}

.border {
  border-width: 1px;
}

.border-0 {
  border-width: 0;
}

.border-2 {
  border-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

.border-l-4 {
  border-left-width: 4px;
}

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

.border-white {
  border-color: white;
}

.border-transparent {
  border-color: transparent;
}

.border-gray-200 {
  border-color: rgb(229, 231, 235);
}

.border-gray-700 {
  border-color: rgb(55, 65, 81);
}

.border-blue-100 {
  border-color: rgba(219, 234, 254, 0.5);
}

.border-blue-300 {
  border-color: rgba(147, 197, 253, 0.3);
}

.border-purple-100 {
  border-color: rgba(243, 232, 255, 0.5);
}

.border-pink-100 {
  border-color: rgba(252, 231, 243, 0.5);
}

.border-orange-100 {
  border-color: rgba(255, 237, 213, 0.5);
}

.border-green-100 {
  border-color: rgba(220, 252, 231, 0.5);
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.overflow-y-auto {
  overflow-y: auto;
}

.overflow-hidden {
  overflow: hidden;
}

.grayscale {
  filter: grayscale(100%);
}

.grayscale-0 {
  filter: grayscale(0%);
}

/* 交互类 */
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.hover\:text-white:hover {
  color: white;
}

.hover\:text-blue-300:hover {
  color: rgba(147, 197, 253, 0.9);
}

.hover\:text-blue-500:hover {
  color: rgb(59, 130, 246);
}

.hover\:text-blue-600:hover {
  color: rgb(37, 99, 235);
}

.hover\:text-secondary:hover {
  color: var(--secondary);
}

.hover\:text-orange-500:hover {
  color: rgb(249, 115, 22);
}

.hover\:text-red-600:hover {
  color: rgb(220, 38, 38);
}

.hover\:text-yellow-600:hover {
  color: rgb(202, 138, 4);
}

.hover\:text-gray-800:hover {
  color: rgb(31, 41, 55);
}

.hover\:text-gray-900:hover {
  color: rgb(17, 24, 39);
}

.hover\:bg-white\/10:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hover\:bg-gray-50:hover {
  background-color: rgb(249, 250, 251);
}

.hover\:grayscale-0:hover {
  filter: grayscale(0%);
}

/* 滚动动画类 (UPDATED) */
.scroll-animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.2, 0, 0, 1), transform 0.4s cubic-bezier(0.2, 0, 0, 1);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式扩展 */
@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:text-4xl {
    font-size: 2.25rem;
  }

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

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:grid {
    display: grid;
  }

  .md\:hidden {
    display: none;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .md\:gap-12 {
    gap: 3rem;
  }

  .md\:p-12 {
    padding: 3rem;
  }

  .md\:text-left {
    text-align: left;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
  }

  .md\:justify-start {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .lg\:block {
    display: block;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:text-6xl {
    font-size: 3.75rem;
  }
}

@media (min-width: 1280px) {
  .xl\:text-7xl {
    font-size: 4.5rem;
  }
}