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

:root {
  --primary: #ea580c;
  --primary-dark: #9a3412;
  --primary-light: #f97316;
  --accent: #fb923c;
  --dark: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

ul, ol {
  list-style: none;
}

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

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

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.logo-img {
  height: 56px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

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

.nav a {
  padding: 8px 18px;
  font-size: 15px;
  color: var(--text);
  border-radius: var(--radius);
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: rgba(234, 88, 12, 0.06);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Hero Section ========== */
.hero {
  margin-top: 72px;
  min-height: 560px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 80px 24px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero h1 .subtitle {
  display: block;
  margin-top: 10px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
}

.hero p {
  font-size: 17px;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

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

.btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

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

.btn-blue:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
}

/* ========== Section Styles ========== */
.section {
  padding: 80px 0;
}

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

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

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

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.section-header .divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ========== Product Cards ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.product-card .card-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.45)),
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--icon-glow) 35%, transparent), transparent 60%);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 12px 28px -10px color-mix(in srgb, var(--icon-glow) 45%, transparent),
    0 4px 10px -2px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}

.product-card .card-icon::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, var(--icon-glow) 0%, transparent 62%);
  opacity: 0.55;
  filter: blur(24px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.6s ease;
}

.product-card .card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--icon-glow) 90%, transparent), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.7;
  pointer-events: none;
}

.product-card .card-icon svg {
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--icon-glow) 55%, transparent));
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .card-icon {
  transform: translateY(-4px) rotate(-3deg);
  box-shadow:
    0 20px 38px -10px color-mix(in srgb, var(--icon-glow) 55%, transparent),
    0 6px 14px -2px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.product-card:hover .card-icon::before {
  opacity: 0.85;
  transform: scale(1.08);
}

.product-card:hover .card-icon svg {
  transform: scale(1.08);
}

.card-icon.blue   { --icon-glow: #60a5fa; }
.card-icon.green  { --icon-glow: #34d399; }
.card-icon.purple { --icon-glow: #a78bfa; }
.card-icon.orange { --icon-glow: #fbbf24; }
.card-icon.cyan   { --icon-glow: #22d3ee; }
.card-icon.pink   { --icon-glow: #f472b6; }
.card-icon.red    { --icon-glow: #f87171; }
.card-icon.teal   { --icon-glow: #2dd4bf; }
.card-icon.indigo { --icon-glow: #818cf8; }
.card-icon.lime   { --icon-glow: #a3e635; }
.card-icon.rose   { --icon-glow: #fb7185; }

.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.product-card .card-link:hover {
  gap: 10px;
}

/* ========== Features Grid ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature-item {
  text-align: center;
  padding: 32px 24px;
}

.feature-item .feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 16px 32px -10px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.feature-item .feature-icon::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, var(--icon-glow) 0%, transparent 65%);
  opacity: 0.45;
  filter: blur(22px);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.feature-item .feature-icon svg {
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.2));
  transition: transform 0.35s ease;
}

.feature-item:hover .feature-icon { transform: translateY(-4px); }
.feature-item:hover .feature-icon::before { opacity: 0.7; }
.feature-item:hover .feature-icon svg { transform: scale(1.12); }

.feature-item .feature-icon.icon-blue   { --icon-glow: #60a5fa; }
.feature-item .feature-icon.icon-green  { --icon-glow: #34d399; }
.feature-item .feature-icon.icon-purple { --icon-glow: #a78bfa; }
.feature-item .feature-icon.icon-orange { --icon-glow: #fbbf24; }

.feature-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

/* ========== About Section ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
}

.stat-item .stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 4px;
}

.about-image {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

.about-image::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  top: -50px;
  right: -50px;
}

/* ========== Timeline ========== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-content {
  width: calc(50% - 30px);
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.timeline-content h4 {
  font-size: 16px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  z-index: 1;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

/* ========== Product Detail Sections ========== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.product-detail:last-child {
  border-bottom: none;
}

.product-detail.reverse {
  direction: rtl;
}

.product-detail.reverse > * {
  direction: ltr;
}

.product-detail-image {
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  /* 玻璃拟态主体 */
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 24px 48px -12px rgba(15, 23, 42, 0.18),
    0 8px 16px -8px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(15, 23, 42, 0.04);
}

/* 左上柔和光晕 */
.product-detail-image::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -15%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, var(--icon-glow) 0%, transparent 70%);
  opacity: 0.55;
  filter: blur(36px);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* 右下柔和光晕 */
.product-detail-image::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--icon-glow) 0%, transparent 70%);
  opacity: 0.35;
  filter: blur(48px);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.product-detail:hover .product-detail-image::before { opacity: 0.75; }
.product-detail:hover .product-detail-image::after  { opacity: 0.55; }

.product-detail-image svg {
  width: 100px;
  height: 100px;
  position: relative;
  z-index: 1;
  transition: transform 0.35s ease;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.18));
}

.product-detail:hover .product-detail-image svg {
  transform: scale(1.06) translateY(-2px);
}

/* 每个产品定义独立的 --icon-glow 颜色变量 */
.product-detail-image.icon-blue    { --icon-glow: #60a5fa; }
.product-detail-image.icon-green   { --icon-glow: #34d399; }
.product-detail-image.icon-purple  { --icon-glow: #a78bfa; }
.product-detail-image.icon-orange  { --icon-glow: #fbbf24; }
.product-detail-image.icon-cyan    { --icon-glow: #22d3ee; }
.product-detail-image.icon-pink    { --icon-glow: #f472b6; }

.product-variants {
  background: var(--bg);
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.product-actions .btn {
  padding: 12px 26px;
  font-size: 15px;
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(30, 41, 59, 0.2);
}

.btn-outline-dark:hover {
  background: rgba(30, 41, 59, 0.06);
  border-color: rgba(30, 41, 59, 0.5);
  transform: translateY(-2px);
}

.product-platform {
  font-size: 13px;
  color: var(--text-light);
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 999px;
}

.product-detail-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-detail-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.feature-list {
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text);
}

.feature-list li::before {
  content: '\2713';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(234, 88, 12, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ========== News / Article Cards ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.news-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 48px;
}

.news-card-body {
  padding: 28px;
}

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

.news-card-meta .tag {
  background: rgba(234, 88, 12, 0.1);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 50px;
  font-weight: 600;
}

.news-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card-body p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-card .read-more:hover {
  gap: 10px;
}

/* ========== Article Content ========== */
.article-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.article-content .article-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-content .article-header h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}

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

.article-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
  list-style: disc;
}

.article-body ol li {
  list-style: decimal;
}

/* ========== Contact Section ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  padding: 40px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  color: var(--white);
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-info-item .label {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.contact-info-item .value {
  font-size: 16px;
  font-weight: 500;
}

.contact-map {
  background: var(--bg);
  border-radius: var(--radius-lg);
  height: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-size: 18px;
  color: var(--text-light);
}

/* ========== Page Banner (for inner pages) ========== */
.page-banner {
  margin-top: 72px;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 18px;
  opacity: 0.75;
}

/* ========== CTA Section ========== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Footer ========== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  opacity: 0.7;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--white);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.5;
}

.footer-icp {
  display: block;
  margin-top: 8px;
}

.footer-icp a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-icp a:hover {
  opacity: 0.8;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-image {
    height: 280px;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-detail.reverse {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .nav a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav a.active::after {
    display: none;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero h1 .subtitle {
    font-size: 22px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .page-banner {
    padding: 60px 0 40px;
  }

  .page-banner h1 {
    font-size: 30px;
  }

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

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

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

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
    padding-left: 48px;
    text-align: left;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-dot {
    left: 20px;
    transform: translateX(-50%);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .hero h1 .subtitle {
    font-size: 18px;
  }

  .container {
    padding: 0 16px;
  }

  .product-card {
    padding: 28px 20px;
  }

  .contact-info {
    padding: 28px;
  }
}

/* ========== Utility ========== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.nav-overlay.active {
  display: block;
}

/* Scroll animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  font-size: 14px;
}

.lang-switch button {
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  border-radius: var(--radius);
  font-family: inherit;
  line-height: 1.4;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch button:hover {
  color: var(--primary);
}

.lang-switch button.active {
  color: var(--primary);
  font-weight: 700;
}

.lang-switch .lang-divider {
  color: var(--text-light);
  user-select: none;
}

@media (max-width: 768px) {
  .lang-switch {
    margin-left: auto;
    margin-right: 4px;
    order: 2;
  }
}

/* ========== Knowledge Base ========== */
.kb-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.kb-card:active {
  background: rgba(254, 215, 0, 0.18);
  border-radius: var(--radius-lg);
}

.kb-card .kb-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(234, 88, 12, 0.1);
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.kb-card p {
  flex: 1;
}

.kb-article {
  max-width: 820px;
  margin: 0 auto;
}

.kb-back {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.kb-back:hover {
  color: var(--primary-dark);
}

.kb-article h2 {
  margin-bottom: 24px;
}

.kb-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.kb-body h3 {
  margin: 28px 0 12px;
  font-size: 20px;
  color: var(--dark);
}

.kb-body p {
  margin-bottom: 16px;
}

.kb-body strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.kb-body ol,
.kb-body ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

.kb-body ol li,
.kb-body ul li {
  margin-bottom: 8px;
  line-height: 1.85;
}

.kb-body ol li::marker {
  color: var(--primary);
  font-weight: 700;
}

.kb-body pre {
  background: var(--bg-alt, #f1f5f9);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 8px);
  padding: 16px 20px;
  margin: 12px 0;
  font-family: "Cascadia Code", "Fira Code", Consolas, Monaco, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.8;
  color: #334155;
  overflow-x: auto;
  white-space: pre;
}

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

.kb-hero-img {
  width: 100%;
  max-width: 820px;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 0 0 24px;
}

.kb-body a.kb-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white) !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.kb-body a.kb-download-btn::before {
  content: '\2193';
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.kb-body a.kb-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.4);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white) !important;
}

.kb-screenshot {
  max-width: 560px;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.kb-body hr {
  margin: 36px 0;
  border: none;
  border-top: 1px solid var(--border);
}

.kb-body a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.kb-body a:hover {
  color: var(--primary-dark);
}

.kb-video {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 24px;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.kb-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

