/* ═══════════════════════════════════════════════════════════════
 * 未知之致 Unfound Depth —— 首页样式
 * 横向滚动布局：每个 section 占满一屏，横向 snap 切换
 * ═══════════════════════════════════════════════════════════════ */

/* ───────────────────── 横向滚动容器 ───────────────────── */
.h-scroll {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.h-scroll::-webkit-scrollbar { display: none; }

.h-section {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.h-section::-webkit-scrollbar { width: 4px; }
.h-section::-webkit-scrollbar-track { background: transparent; }
.h-section::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
  opacity: .5;
}

/* 横向滚动进度条 */
.h-progress {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 100;
  background: rgba(10, 20, 40, .6);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.h-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-3);
  cursor: pointer;
  transition: all .3s ease;
  border: none;
  padding: 0;
}
.h-dot:hover { background: var(--text-2); }
.h-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* 横向滚动提示 */
.h-scroll-hint {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
  z-index: 99;
  pointer-events: none;
  animation: hintBounce 2s ease-in-out infinite;
}
.h-scroll-hint svg { width: 16px; height: 16px; }

@keyframes hintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .6; }
  50% { transform: translateX(-50%) translateY(-4px); opacity: 1; }
}

/* ───────────────────── Hero 区域 ───────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .4;
}
.hero-gradient-1 {
  width: 500px;
  height: 500px;
  background: #3d6bb8;
  top: -100px;
  left: -100px;
  animation: float 20s ease-in-out infinite;
}
.hero-gradient-2 {
  width: 400px;
  height: 400px;
  background: #6b9ce8;
  bottom: -100px;
  right: -100px;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(40px, -30px); }
  66% { transform: translate(-30px, 40px); }
}

.hero-grid { display: none; }

.hero-noise { display: none; }

.hero-content {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.hero-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(107, 156, 232, .3) 0%, transparent 70%);
  filter: blur(40px);
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: .6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.hero-logo {
  position: relative;
  width: 180px;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 8px 30px rgba(107, 156, 232, .4));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  padding: 0 32px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-label {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 1px;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ───────────────────── 产品矩阵 ───────────────────── */
.products {
  padding: 100px 0 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-2);
  position: relative;
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all .35s cubic-bezier(.22,.8,.36,1);
  overflow: hidden;
  min-height: 280px;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), var(--product-accent) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--product-accent), transparent 60%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card:hover::before { opacity: .08; }
.product-card:hover::after { opacity: 1; }

.product-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--product-accent);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-display);
  box-shadow: 0 4px 20px rgba(107, 156, 232, .3);
  position: relative;
  z-index: 1;
}

.product-card-tag {
  font-size: 12px;
  color: var(--product-accent);
  font-weight: 500;
  letter-spacing: .5px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.product-card-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
  position: relative;
  z-index: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.product-card-meta {
  font-size: 12px;
  color: var(--text-3);
}

.product-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--product-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .25s ease;
}
.product-card:hover .product-card-cta {
  gap: 8px;
}

/* 占位卡片样式 */
.product-card-placeholder {
  opacity: .5;
  --product-accent: var(--text-4);
}
.product-card-placeholder:hover {
  transform: none;
  box-shadow: none;
}
.product-card-placeholder .product-card-icon {
  background: var(--bg-3);
  color: var(--text-4);
  box-shadow: none;
}
.product-card-placeholder .product-card-tag {
  color: var(--text-4);
}

/* ───────────────────── 服务特性 ───────────────────── */
.features {
  padding: 120px 0;
  position: relative;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity .3s ease;
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #fff;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-icon-1 { background: linear-gradient(135deg, #6b9ce8, #3d6bb8); }
.feature-icon-2 { background: linear-gradient(135deg, #8eb8f0, #6b9ce8); }
.feature-icon-3 { background: linear-gradient(135deg, #a7c4f5, #8eb8f0); }
.feature-icon-4 { background: linear-gradient(135deg, #4a7cc9, #2d5aa0); }

.feature-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  font-size: 13px;
  color: var(--text-3);
  padding-left: 18px;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ───────────────────── 关于我们 ───────────────────── */
.about {
  padding: 100px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-tag { margin-bottom: 20px; }
.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all .25s ease;
}
.value-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex: none;
}

.value-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.value-item p {
  font-size: 13px;
  color: var(--text-3);
}

/* 装饰卡片堆叠 */
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.code-window {
  width: 100%;
  max-width: 420px;
  background: #1a1a2e;
  border: 1px solid #2d2d44;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.code-window-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #16162a;
  border-bottom: 1px solid #2d2d44;
}

.code-dots {
  display: flex;
  gap: 6px;
}
.code-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #444;
}
.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.code-window-title {
  font-size: 12px;
  color: #888;
  font-family: 'JetBrains Mono', monospace;
  margin-left: 8px;
}

.code-window-body {
  padding: 18px 20px;
  overflow-x: auto;
}
.code-window-body pre {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #e0e0e0;
}
.code-keyword { color: #c678dd; }
.code-func { color: #61afef; }
.code-string { color: #98c379; }

/* ───────────────────── 客户评价 ───────────────────── */
.testimonials {
  padding: 120px 0;
  background: var(--bg-2);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all .3s ease;
}
.testimonial-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: .2;
  line-height: 1;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.author-1 { background: linear-gradient(135deg, #6b9ce8, #3d6bb8); }
.author-2 { background: linear-gradient(135deg, #8eb8f0, #5a8ad9); }
.author-3 { background: linear-gradient(135deg, #a7c4f5, #6b9ce8); }

.author-name {
  font-size: 14px;
  font-weight: 600;
}
.author-role {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ───────────────────── 联系区域 ───────────────────── */
.contact {
  padding: 100px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact-wrap {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-bg-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: #6b9ce8;
  border-radius: 50%;
  filter: blur(150px);
  opacity: .12;
  pointer-events: none;
}

.contact-content { position: relative; }

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

.contact-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-label {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 2px;
}
.contact-value {
  font-size: 15px;
  font-weight: 500;
}

/* 表单 */
.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: all .2s ease;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-4); }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7a99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

/* ───────────────────── 分享推荐 ───────────────────── */
.shares {
  padding: 100px 0 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.shares-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.share-tab {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  transition: all .25s ease;
}
.share-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.share-tab.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(107, 156, 232, .35);
}

.share-panel {
  display: none;
}
.share-panel.active {
  display: block;
  animation: fadeIn .3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.share-card {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all .3s cubic-bezier(.22,.8,.36,1);
}
.share-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.share-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-mono);
}

.share-info {
  flex: 1;
  min-width: 0;
}

.share-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.share-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 10px;
}

.share-tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.share-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-3);
  color: var(--text-3);
  border: 1px solid var(--border);
}

/* 联系我 - 社交面板 */
.contact-social-panel {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  backdrop-filter: blur(10px);
}

.contact-social-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-social-desc {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 24px;
}

.contact-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.social-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
  transition: all .25s ease;
}
.social-big:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.social-placeholder {
  opacity: .5;
  cursor: default;
}
.social-placeholder:hover {
  transform: none;
  border-color: var(--border);
  color: var(--text-2);
  box-shadow: none;
}

.social-placeholder-icon {
  font-size: 20px;
  opacity: .6;
}

/* ───────────────────── 响应式（首页独有） ───────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 360px; max-width: 500px; margin: 0 auto; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .shares-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 移动端：改回纵向滚动（横向滚动在小屏体验不佳） */
@media (max-width: 768px) {
  .h-scroll {
    display: block;
    height: auto;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
  }
  .h-section {
    flex: none;
    width: 100%;
    height: auto;
    min-height: auto;
    scroll-snap-align: none;
    overflow-y: visible;
  }
  .h-progress, .h-scroll-hint { display: none; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-stats { gap: 24px; }
  .stat-item { padding: 0; }
  .stat-divider { display: none; }

  .products, .shares, .about, .contact { padding: 70px 0; min-height: auto; display: block; }

  .products-grid { grid-template-columns: 1fr; }
  .shares-grid { grid-template-columns: 1fr; }
  .shares-tabs { gap: 8px; }
  .share-tab { padding: 8px 14px; font-size: 12px; }

  .about-visual { height: 300px; }
  .about-card-1 { width: 200px; height: 140px; }
  .about-card-2 { width: 180px; height: 90px; top: 120px; }
  .about-card-3 { width: 200px; height: 110px; left: 30px; }

  .contact-wrap { padding: 28px 20px; }
  .contact-social-panel { padding: 24px 16px; }
  .contact-social-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .social-big { padding: 14px 6px; font-size: 11px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }

  .value-item { flex-direction: column; }

  .share-card { flex-direction: column; }
  .contact-social-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────── 站内搜索 ─────────────────── */
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease;
}
.nav-search-btn:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-modal {
  width: 90%;
  max-width: 640px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: translateY(-20px) scale(.96);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
.search-overlay.active .search-modal {
  transform: translateY(0) scale(1);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.search-input-icon { color: var(--text-muted); flex-shrink: 0; }
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 16px;
  font-family: inherit;
}
.search-input::placeholder { color: var(--text-muted); }
.search-kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 8px;
}
.search-results::-webkit-scrollbar { width: 6px; }
.search-results::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.search-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--text-muted);
}
.search-empty p { margin: 0 0 6px; font-size: 14px; }
.search-hint { font-size: 12px; opacity: .6; }

.search-result-group {
  margin-bottom: 8px;
}
.search-result-group-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 8px 12px 4px;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s ease;
  text-decoration: none;
  color: inherit;
}
.search-result-item:hover { background: var(--bg-secondary); }
.search-result-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-desc {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-item mark {
  background: rgba(99, 102, 241, 0.2);
  color: var(--accent);
  padding: 0 2px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .search-overlay { padding-top: 10vh; }
  .search-modal { max-width: 95%; }
}
