/* 千里眼网站 - 全局样式 */
:root {
  /* 主色调 */
  --primary-color: #4a6cf7;
  --primary-dark: #3451db;
  --primary-light: #6b8cff;
  --secondary-color: #6c5ce7;
  --accent-color: #00d4ff;

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #4a6cf7 0%, #6c5ce7 50%, #00d4ff 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-blue: linear-gradient(180deg, #f8faff 0%, #e8f0ff 100%);

  /* 文字颜色 */
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a68;
  --text-light: #6b7280;
  --text-white: #ffffff;

  /* 背景色 */
  --bg-white: #ffffff;
  --bg-light: #f8faff;
  --bg-gray: #f3f4f6;
  --bg-dark: #1a1a2e;

  /* 边框和阴影 */
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px rgba(74, 108, 247, 0.1);

  /* 间距 */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* 字体 */
  --font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* 过渡 */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* 容器宽度 */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

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

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* 容器 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: clamp(32px, 6vw, 72px);
}

h2 {
  font-size: clamp(24px, 4vw, 48px);
}

h3 {
  font-size: clamp(20px, 3vw, 32px);
}


/* 移动端菜单 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  padding: var(--spacing-lg);
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--spacing-md);
}

.mobile-nav-link {
  display: block;
  padding: var(--spacing-sm) 0;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--text-primary);
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--spacing-sm) 0;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--text-primary);
}

.mobile-dropdown-toggle::after {
  content: '+';
  font-size: var(--font-size-xl);
  transition: transform var(--transition-fast);
}

.mobile-dropdown-toggle.active::after {
  content: '-';
}

.mobile-dropdown-menu {
  display: none;
  padding-left: var(--spacing-lg);
  margin-top: var(--spacing-sm);
}

.mobile-dropdown-menu.active {
  display: block;
}

.mobile-dropdown-item {
  display: block;
  padding: var(--spacing-sm) 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

/* ========== Footer ========== */
.footer {
  width: 100%;
  background: var(--bg-dark);
  color: var(--text-white);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
}

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

.footer-desc {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-section h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  color: var(--text-white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-link {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-white);
}

.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.footer-certifications img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
}

.footer-bottom {
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-copyright {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer-platforms {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.footer-platforms img {
  height: 32px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.footer-platforms img:hover {
  opacity: 1;
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-blue);
  padding-top: 64px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  padding: var(--spacing-3xl) 0;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--gradient-primary);
  color: var(--text-white);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-lg);
}

/* 首页标签放大 50% */
.hero-badge--large {
  transform: scale(1.5);
  transform-origin: left center;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* 装饰元素 */
.hero-decoration {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.1;
  z-index: 0;
}

.hero-decoration-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.hero-decoration-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
}

/* ========== 功能展示卡片 (参考站样式) ========== */
.feature-showcase {
  position: relative;
  background: #ffffff;
  padding: 50px 0 36px;
  overflow: hidden;
}

.feature-showcase__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background-image: url("../images/features/ai-bg.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.feature-showcase__grid {
  position: relative;
  z-index: 1;
  max-width: 1110px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 269px);
  justify-content: center;
  column-gap: 150px;
  row-gap: 86px;
}

.feature-showcase__card {
  width: 269px;
  display: block;
  overflow: hidden;
  border-radius: 5px;
  text-decoration: none;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.20);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-showcase__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.feature-showcase__card img {
  display: block;
  width: 269px;
  height: 151px;
  object-fit: cover;
}

.feature-showcase__panel {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-showcase__panel span {
  width: 204px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 6px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

/* 商品分析 - 黄色 */
.feature-showcase__card--product .feature-showcase__panel {
  background: #ffd966;
}

.feature-showcase__card--product .feature-showcase__panel span {
  color: #ffc928;
}

/* 店舗分析 - 蓝色 */
.feature-showcase__card--store .feature-showcase__panel {
  background: #6879cc;
}

.feature-showcase__card--store .feature-showcase__panel span {
  color: #6879cc;
}

/* 市場分析 - 粉色 */
.feature-showcase__card--market .feature-showcase__panel {
  background: #f56b8d;
}

.feature-showcase__card--market .feature-showcase__panel span {
  color: #f56b8d;
}

/* 汎用データベース - 灰色 */
.feature-showcase__card--database .feature-showcase__panel {
  background: #cfcfcf;
}

.feature-showcase__card--database .feature-showcase__panel span {
  color: #777777;
  font-size: 24px;
}

/* キーワード分析 - 青绿色 */
.feature-showcase__card--keyword .feature-showcase__panel {
  background: #8bd1c8;
}

.feature-showcase__card--keyword .feature-showcase__panel span {
  color: #74c5bd;
  font-size: 24px;
}

/* データ分析 - 红色 */
.feature-showcase__card--data .feature-showcase__panel {
  background: #f04f40;
}

.feature-showcase__card--data .feature-showcase__panel span {
  color: #f04f40;
}

/* 平台文字 */
.feature-showcase__platforms {
  position: relative;
  z-index: 1;
  margin: 86px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
}

.feature-showcase__platform {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.feature-showcase__platform--rakuten {
  color: #c40000;
}

.feature-showcase__platform--yahoo {
  color: #8100a9;
}

.feature-showcase__platform--amazon {
  color: #243241;
}

.feature-showcase__divider {
  width: 1px;
  height: 44px;
  background: #777777;
  display: inline-block;
}

/* ========== 功能卡片 (原有样式保留) ========== */
.features-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-blue);
  border-radius: var(--radius-lg);
}

.feature-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.feature-desc {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

/* ========== 理由区块 ========== */
.reasons-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-light);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-lg);
}

.reason-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.reason-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: var(--text-white);
  font-size: var(--font-size-xl);
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: var(--spacing-lg);
}

.reason-text {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========== 评价区块 ========== */
.testimonial-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-white);
}

.testimonial-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.testimonial-content h2 {
  margin-bottom: var(--spacing-lg);
}

.testimonial-text {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-info p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

.testimonial-image img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ========== 平台统计 ========== */
.platforms-section {
  padding: 0;
  background: var(--bg-white);
  overflow: hidden;
}

.platforms-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  align-items: stretch;
  min-height: 520px;
}

.platforms-section__image {
  min-height: 520px;
  overflow: hidden;
}

.platforms-section__image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.platforms-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-3xl) var(--spacing-2xl);
  background: var(--gradient-blue);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.platform-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.platform-rank {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--gradient-primary);
  color: var(--text-white);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-md);
}

.platform-name {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.platform-amount {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.platform-note {
  font-size: var(--font-size-xs);
  color: var(--text-light);
}

/* ========== 功能详情页 ========== */
.page-hero {
  padding: calc(64px + var(--spacing-3xl)) 0 var(--spacing-3xl);
  background: var(--gradient-blue);
  text-align: center;
}

.page-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.page-desc {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* 功能导航卡片 */
.feature-nav {
  padding: var(--spacing-2xl) 0;
  background: var(--bg-white);
}

.feature-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.feature-nav-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.feature-nav-card:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

.feature-nav-card .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-nav-card .icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* 功能详情模块 */
.feature-details {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-white);
}

.feature-detail-section {
  margin-bottom: var(--spacing-3xl);
}

.feature-detail-section:last-child {
  margin-bottom: 0;
}

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

.feature-detail-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
}

.feature-detail-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.feature-detail-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
}

.feature-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.feature-detail-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.8;
}

.feature-detail-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ========== 表单样式 ========== */
.form-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-light);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.form-label .required {
  color: #ef4444;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background: var(--bg-white);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
}

.form-checkbox span {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.form-submit {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--gradient-primary);
  color: var(--text-white);
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.form-success {
  display: none;
  padding: var(--spacing-lg);
  background: #d1fae5;
  border-radius: var(--radius-md);
  text-align: center;
  color: #065f46;
  font-weight: 500;
}

.form-success.show {
  display: block;
}

/* ========== 响应式设计 ========== */

/* Tablet: 768px - 1199px */
@media (max-width: 1199px) {
  :root {
    --container-padding: 1.5rem;
  }

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

  /* Feature Showcase Tablet */
  .feature-showcase__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }

  .feature-showcase__card {
    width: 100%;
    max-width: 269px;
  }

  .feature-showcase__card img {
    width: 100%;
    height: auto;
    aspect-ratio: 269 / 151;
  }

  .feature-showcase__bg {
    width: 35%;
  }

  .feature-showcase__platforms {
    gap: 40px;
  }

  .feature-showcase__platform {
    font-size: 36px;
  }

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

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

  .platforms-grid {
    gap: var(--spacing-lg);
  }

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

/* Mobile: 767px and below */
@media (max-width: 767px) {
  :root {
    --container-padding: 1rem;
  }

  /* Header Mobile */
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-inner {
    height: 56px;
  }

  /* 手机端菜单修复 */
  .mobile-menu {
    top: 56px;
    max-height: calc(100vh - 56px);
  }

  .mobile-nav-link,
  .mobile-dropdown-toggle,
  .mobile-dropdown-item {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: #ffffff;
    color: var(--text-primary);
    text-align: left;
    border: 0;
    font-size: 15px;
    line-height: 1.5;
  }

  .mobile-nav-item {
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 0;
  }

  .mobile-dropdown-menu {
    background: #f8fafc;
  }

  .mobile-dropdown-menu.active {
    display: block;
  }

  .mobile-dropdown-item {
    padding-left: 40px;
    background: #f8fafc;
  }

  /* 菜单打开时禁止页面滚动 */
  body.menu-open {
    overflow: hidden;
  }

  /* Hero Mobile */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
    padding: var(--spacing-xl) 0;
  }

  .hero-content {
    order: 1;
  }

  .hero-image {
    order: 2;
  }

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

  .hero-decoration {
    display: none;
  }

  /* 首页标签手机端居中适配 */
  .hero-badge--large {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    transform: scale(1.15);
    transform-origin: center center;
    margin-bottom: 16px;
  }

  /* Features Mobile */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  .feature-card {
    padding: var(--spacing-lg);
  }

  /* Feature Showcase Mobile */
  .feature-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .feature-showcase__card {
    width: 100%;
    max-width: 100%;
  }

  .feature-showcase__card img {
    width: 100%;
    height: auto;
    aspect-ratio: 269 / 151;
  }

  .feature-showcase__panel {
    height: 80px;
  }

  .feature-showcase__panel span {
    width: 80%;
    height: 44px;
    font-size: 18px;
  }

  .feature-showcase__bg {
    width: 50%;
    opacity: 0.3;
  }

  .feature-showcase__platforms {
    margin-top: 50px;
    gap: 20px;
  }

  .feature-showcase__platform {
    font-size: 24px;
  }

  .feature-showcase__divider {
    height: 28px;
  }

  /* Reasons Mobile */
  .reasons-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonial Mobile */
  .testimonial-inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  /* Platforms Mobile */
  .platforms-section__inner {
    grid-template-columns: 1fr;
  }

  .platforms-section__image {
    min-height: auto;
    max-height: 280px;
  }

  .platforms-section__image img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 280px;
    object-fit: cover;
  }

  .platforms-section__content {
    padding: var(--spacing-2xl) var(--spacing-lg);
  }

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

  /* Feature Nav Mobile */
  .feature-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-nav-card .icon {
    width: 36px;
    height: 36px;
  }

  .feature-nav-card .icon img {
    width: 28px;
    height: 28px;
  }

  /* Feature Details Mobile */
  .feature-detail-content {
    grid-template-columns: 1fr;
  }

  .feature-detail-image {
    order: -1;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

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

  /* Form Mobile */
  .form-container {
    padding: var(--spacing-lg);
  }

  .page-hero {
    padding: calc(56px + var(--spacing-xl)) 0 var(--spacing-xl);
  }
}

/* Small Mobile: 480px and below */
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Feature Showcase Small Mobile */
  .feature-showcase__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .feature-showcase__card {
    width: 100%;
  }

  .feature-showcase__card img {
    width: 100%;
    height: auto;
    aspect-ratio: 269 / 151;
  }

  .feature-showcase__panel {
    height: 70px;
  }

  .feature-showcase__panel span {
    font-size: 16px;
    height: 40px;
    width: 70%;
  }

  .feature-showcase__bg {
    display: none;
  }

  .feature-showcase__platforms {
    flex-wrap: wrap;
    gap: 15px;
  }

  .feature-showcase__platform {
    font-size: 20px;
  }

  .feature-showcase__divider {
    height: 20px;
  }

  .feature-nav-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 48px);
  }

  .btn {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* 工具类 */
.text-center {
  text-align: center;
}

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

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

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-2xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}
