/* ============================================
   咖影AI - 品牌设计系统
   ============================================ */

:root {
  /* 品牌色系 - 咖影咖色 */
  --color-primary: #B07040;
  --color-primary-hover: #8F5A30;
  --color-primary-light: #F3E6DE;
  --color-primary-fade: rgba(176, 112, 64, 0.08);
  --color-primary-gradient: linear-gradient(135deg, #B07040 0%, #8F5A30 100%);

  /* KayingAIShell 蓝色主题 */
  --color-secondary: #2563EB;
  --color-secondary-hover: #1D4ED8;
  --color-secondary-light: #EFF6FF;
  --color-secondary-gradient: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);

  /* 政企定制 - 深紫色调 */
  --color-enterprise: #7C3AED;
  --color-enterprise-hover: #6D28D9;
  --color-enterprise-light: #F5F3FF;
  --color-enterprise-gradient: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);

  /* 中性色系 */
  --color-text-main: #1F2937;
  --color-text-secondary: #4B5563;
  --color-text-tertiary: #9CA3AF;
  --color-bg-body: #FAFAF9;
  --color-bg-surface: #FFFFFF;
  --color-bg-surface-alt: #F9FAFB;
  --color-border: #E5E7EB;
  --color-border-hover: #D1D5DB;

  /* 功能色 */
  --color-success: #10B981;
  --color-warning: #F59E0B;

  /* 阴影系统 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  --shadow-glow-primary: 0 0 40px rgba(176, 112, 64, 0.3);
  --shadow-glow-secondary: 0 0 40px rgba(37, 99, 235, 0.3);

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* 间距 */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 96px;

  /* 字体 */
  --font-sans: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-body);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

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

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-4xl) 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--color-primary-gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(176, 112, 64, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(176, 112, 64, 0.4);
}

.btn-secondary {
  background: var(--color-secondary-gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: white;
  color: var(--color-text-main);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-enterprise {
  background: var(--color-enterprise-gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.btn-enterprise:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

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

.btn-xl {
  padding: 22px 48px;
  font-size: 1.2rem;
  min-width: 200px;
}

.hero-download-btn {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 4px 14px rgba(176, 112, 64, 0.35);
  }

  50% {
    box-shadow: 0 8px 30px rgba(176, 112, 64, 0.5);
  }
}

.btn-secondary.hero-download-btn {
  animation: pulse-glow-blue 2s ease-in-out infinite;
}

@keyframes pulse-glow-blue {

  0%,
  100% {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  }

  50% {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
  }
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: end;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text-main);
}

.logo img {
  height: 36px;
  width: auto;
}

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

/* Nav Product Buttons */
.nav-products {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  padding-right: 12px;
  border-right: 1px solid var(--color-border);
}

.nav-product-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-product-btn img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.nav-product-btn:hover {
  color: var(--color-text-main);
}

.nav-product-btn:hover img {
  opacity: 1;
}

.nav-product-btn.active {
  color: var(--color-text-main);
  position: relative;
}

.nav-product-btn.active img {
  opacity: 1;
  transform: scale(1.1);
}

.nav-product-btn.active[data-product="box"] {
  color: var(--color-primary);
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 2px var(--color-primary);
}

.nav-product-btn.active[data-product="box"]::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--color-primary);
  border-radius: 0 2px 2px 0;
}

.nav-product-btn.active[data-product="shell"] {
  color: var(--color-secondary);
  background: var(--color-secondary-light);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 2px var(--color-secondary);
}

.nav-product-btn.active[data-product="shell"]::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--color-secondary);
  border-radius: 0 2px 2px 0;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--color-primary-fade);
}

.nav-cta {
  margin-left: 16px;
}

/* ============================================
   Language Selector
   ============================================ */
.language-selector {
  position: relative;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--color-border);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--color-text-main);
  background: rgba(0, 0, 0, 0.05);
}

.lang-btn.active {
  color: var(--color-text-main);
  background: var(--color-bg-surface-alt);
  font-weight: 600;
}

.lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-text {
  font-size: 0.8rem;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  margin-top: 8px;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 12px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid white;
}

.lang-dropdown::after {
  content: '';
  position: absolute;
  top: -8px;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--color-border);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.lang-option:hover {
  background: var(--color-bg-surface-alt);
  color: var(--color-text-main);
}

.lang-option.active {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 600;
}

.lang-option:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.lang-option:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.lang-option:only-child {
  border-radius: var(--radius-md);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-bg-body) 0%, #F5F3F0 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(176, 112, 64, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.6s ease;
}

.hero-badge .highlight {
  color: var(--color-primary);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, #C08050 50%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--spacing-2xl);
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-3xl);
  animation: fadeInUp 0.6s ease 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Product Tabs
   ============================================ */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: var(--spacing-3xl);
  animation: fadeInUp 0.6s ease 0.3s both;
}

.product-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  background: white;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.product-tab.active {
  background: var(--color-primary-gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 24px rgba(176, 112, 64, 0.35);
  transform: scale(1.02);
}

.product-tab[data-product="shell"]:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.product-tab[data-product="shell"].active {
  background: var(--color-secondary-gradient);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.product-tab .tab-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.product-tab .tab-text {
  font-size: 1rem;
}

.product-tab .product-tag {
  font-size: 0.7rem;
  padding: 2px 8px;
}

/* ============================================
   Product Detail Section
   ============================================ */
.product-detail {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  animation: none;
  position: relative;
  z-index: 2;
}

.product-detail.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.5s ease;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.product-detail-info {
  animation: fadeInUp 0.5s ease 0.1s both;
}

.product-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.product-detail-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.product-detail-icon.shell-icon {
  border: 2px solid var(--color-secondary-light);
}

.product-detail-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.product-detail-desc {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.product-detail-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.detail-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
  transition: all 0.3s ease;
}

.detail-feature:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.detail-feature svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.detail-feature.shell svg {
  color: var(--color-secondary);
}

.detail-feature.shell:hover {
  border-color: var(--color-secondary);
}

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

.product-detail-preview {
  animation: fadeInUp 0.5s ease 0.2s both;
}

.product-screenshot-large {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 4px solid white;
}

.product-screenshot-large::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(176, 112, 64, 0.1) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.product-screenshot-large.shell::before {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
}

.product-screenshot-large::after {
  content: '🔍 点击查看大图';
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.product-screenshot-large:hover::after {
  opacity: 1;
}

.product-screenshot-large:hover {
  transform: scale(1.02) translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.25);
}

.product-screenshot-large img {
  width: 100%;
  height: auto;
  min-height: 420px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.product-screenshot-large:hover img {
  transform: scale(1.02);
}

/* Hero Badge Shell Style */
.hero-badge-shell {
  background: var(--color-secondary-light);
  border-color: var(--color-secondary-light);
}

.hero-badge-shell svg {
  color: var(--color-secondary);
}

.highlight-shell {
  color: var(--color-secondary);
  font-weight: 600;
}

/* ============================================
   Product Image Carousel
   ============================================ */
.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 420px;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.4s ease;
  z-index: 0;
}

.carousel-img.active {
  position: relative;
  opacity: 1;
  z-index: 1;
}

.product-screenshot-large:hover .carousel-img.active {
  transform: scale(1.02);
}

/* Carousel Arrow Buttons */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text-main);
  cursor: pointer;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.product-screenshot-large:hover .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-xl);
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.carousel-dot.active {
  background: white;
  width: 20px;
  border-radius: 4px;
}

/* ============================================
   Lightbox for image preview
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  cursor: zoom-out;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.lightbox-close:hover {
  opacity: 0.7;
}

/* Lightbox Navigation Arrows */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  z-index: 10;
}

/* ============================================
   Section Title
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-md);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
  background: white;
}

.product-block {
  margin-bottom: var(--spacing-4xl);
}

.product-block:last-child {
  margin-bottom: 0;
}

.product-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding: 24px;
  background: var(--color-bg-surface-alt);
  border-radius: var(--radius-lg);
}

.product-header img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.product-header-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-header-info p {
  color: var(--color-text-secondary);
  font-size: 1rem;
}

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

.feature-card {
  padding: 28px;
  background: var(--color-bg-surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: white;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.feature-icon.blue {
  background: var(--color-secondary-light);
  color: var(--color-secondary);
}

.feature-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
  font-weight: 500;
}

/* ============================================
   Enterprise Section
   ============================================ */
.enterprise-section {
  background: linear-gradient(180deg, var(--color-bg-body) 0%, #F0F0F8 100%);
  position: relative;
  overflow: hidden;
}

.enterprise-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
}

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}

.enterprise-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  position: relative;
}

.enterprise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-enterprise);
}

.enterprise-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--color-enterprise-light);
  color: var(--color-enterprise);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.enterprise-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.enterprise-card>p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.enterprise-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.enterprise-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.enterprise-list .icon {
  color: var(--color-enterprise);
  flex-shrink: 0;
  margin-top: 2px;
}

.enterprise-list strong {
  color: var(--color-text-main);
}

/* ============================================
   Why Us Section
   ============================================ */
.why-section {
  background: white;
}

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

.why-item {
  text-align: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.why-item:hover {
  background: var(--color-bg-surface-alt);
}

.why-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.why-item:hover .why-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-primary);
}

.why-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.why-item p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   Download Section
   ============================================ */
.download-section {
  background: linear-gradient(180deg, var(--color-bg-body) 0%, #F5F3F0 100%);
}

.download-block {
  margin-bottom: var(--spacing-3xl);
}

.download-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.download-header img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.download-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.download-header p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.download-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

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

.download-card.shell:hover {
  border-color: var(--color-secondary);
}

.os-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--color-text-main);
}

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

.download-card .desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.version-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-surface-alt);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--color-text-tertiary);
  margin-bottom: 20px;
}

.download-btn {
  width: 100%;
  margin-bottom: 12px;
}

.download-note {
  font-size: 0.8rem;
  color: var(--color-text-tertiary);
}

/* Notice Box */
.notice-box {
  margin-top: var(--spacing-2xl);
  padding: 24px;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-md);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.notice-box svg {
  color: #D97706;
  flex-shrink: 0;
}

.notice-box h4 {
  font-weight: 600;
  margin-bottom: 4px;
  color: #92400E;
}

.notice-box p {
  font-size: 0.9rem;
  color: #92400E;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.contact-card {
  background: var(--color-bg-surface-alt);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: white;
  box-shadow: var(--shadow-lg);
}

.contact-card .icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-card>p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.contact-card .qr-code {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-md);
}

.contact-card .qr-code img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 60px 0 32px;
  background: var(--color-text-main);
  color: white;
}

.footer-content {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-columns {
  display: flex;
  gap: 60px;
  flex: 1;
  justify-content: center;
}

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

.footer-column h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-column img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-column a.github-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px 0;
}

.footer-column a.github-link svg {
  fill: rgba(255, 255, 255, 0.7);
  transition: fill 0.2s ease;
}

.footer-column a.github-link:hover {
  color: white;
}

.footer-column a.github-link:hover svg {
  fill: white;
}

.footer .logo {
  display: flex;
  align-items: start;
  color: white;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: white;
}

/* ============================================
   Footer Beian Info
   ============================================ */
.beian-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  width: 100%;
}

.beian-icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.beian-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.beian-link:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.beian-link.text-beian {
  color: rgba(255, 255, 255, 0.7);
}

.beian-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin: 0 4px;
}

/* Responsive footer adjustments */
@media (max-width: 768px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .footer-columns {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .footer-column {
    align-items: center;
    text-align: center;
  }

  .footer-column img {
    width: 80px;
    height: 80px;
  }

  .footer-bottom p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .beian-info {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .beian-link {
    font-size: 0.8rem;
  }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .product-detail-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-detail-features {
    grid-template-columns: 1fr;
  }

  .product-detail-actions {
    justify-content: center;
  }
}

@media (max-width: 960px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .nav-products {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .product-tabs {
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .product-tab {
    width: 100%;
    justify-content: center;
  }

  .product-detail-hero {
    gap: 32px;
  }

  .product-detail-header {
    flex-direction: column;
    text-align: center;
  }

  .product-detail-actions {
    flex-direction: column;
  }

  .product-detail-actions .btn {
    width: 100%;
  }

  .product-screenshot-large img {
    min-height: 220px;
  }

  .product-header {
    flex-direction: column;
    text-align: center;
  }

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

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