/* ========== 道具供货商官网 - 浅色 SaaS 风（参考鸡蛋铺布局） ========== */
:root {
  --bg-page: #f4f8fc;
  --bg-white: #ffffff;
  --bg-soft: #eef4fb;
  --bg-blue: #e8f2ff;
  --text-primary: #1a2b4a;
  --text-secondary: #5c6b82;
  --text-muted: #8b9bb5;
  --accent: #2f7cf6;
  --accent-dark: #1a5fd4;
  --accent-light: #5b9dff;
  --border: #e3ebf5;
  --shadow-sm: 0 4px 20px rgba(47, 124, 246, 0.08);
  --shadow-md: 0 12px 40px rgba(47, 124, 246, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 导航 */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 40px;
  width: auto;
  max-width: 48px;
  display: block;
  object-fit: contain;
  object-position: center top;
  flex-shrink: 0;
}
.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none; font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); font-weight: 500; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 28px; border-radius: 50px; font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none; transition: all 0.25s;
}
.btn-primary {
  background: linear-gradient(135deg, #2f7cf6, #4d8ef7);
  color: #fff; box-shadow: 0 4px 16px rgba(47, 124, 246, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 124, 246, 0.45);
}
.btn-outline {
  border: 1px solid var(--accent); color: var(--accent); background: #fff;
}
.btn-outline:hover { background: var(--bg-blue); }
.btn-ghost {
  border: 1px solid var(--border); color: var(--text-primary); background: #fff;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 36px; font-size: 16px; }

/* ========== 首页 Hero（左文右图） ========== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f0f6ff 0%, #f8fbff 50%, var(--bg-page) 100%);
  overflow: visible; /* 避免裁切下方 highlights 卡片 */
}
.hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(47,124,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 520px;
}
.hero-text { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero-title .highlight { color: var(--accent); }
.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 500;
}
.hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-desc strong { color: var(--text-secondary); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.hero-stats-inline {
  display: flex; flex-wrap: wrap; gap: 24px 40px;
  font-size: 14px; color: var(--text-muted);
}
.hero-stats-inline span { color: var(--accent); font-weight: 700; font-size: 18px; margin-right: 6px; }

/* 右侧插画区（纯 CSS） */
.hero-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 360px;
}
.illus-screen {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) perspective(800px) rotateX(8deg) rotateY(-12deg);
  width: 320px; height: 200px;
  background: linear-gradient(145deg, #fff 0%, #f0f6ff 100%);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 16px;
}
.illus-screen::before {
  content: '';
  display: block;
  height: 8px; width: 40px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 12px;
}
.illus-chart {
  display: flex; align-items: flex-end; gap: 8px; height: 100px; padding-top: 8px;
}
.illus-bar {
  flex: 1; background: linear-gradient(180deg, var(--accent-light), var(--accent));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}
.illus-bar:nth-child(1) { height: 40%; }
.illus-bar:nth-child(2) { height: 70%; }
.illus-bar:nth-child(3) { height: 55%; }
.illus-bar:nth-child(4) { height: 90%; }
.illus-bar:nth-child(5) { height: 65%; }
.illus-float {
  position: absolute;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-secondary);
}
.illus-float-1 { top: 20px; right: 0; animation: float 4s ease-in-out infinite; }
.illus-float-2 { bottom: 40px; left: 0; animation: float 5s ease-in-out infinite 0.5s; }
.illus-float-3 { top: 50%; right: -10px; animation: float 4.5s ease-in-out infinite 1s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 四宫格卖点（上浮叠在 Hero 下方，需留足上内边距防裁切） */
.highlights {
  position: relative;
  z-index: 5;
  margin-top: -56px;
  padding: 56px 0 80px;
  overflow: visible;
}
.highlights .container {
  overflow: visible;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.highlight-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: visible;
}
.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.highlight-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--bg-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.highlight-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.highlight-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 底部标语 */
.slogan-bar {
  background: linear-gradient(90deg, #2f7cf6, #4d8ef7);
  padding: 48px 24px;
  text-align: center;
}
.slogan-bar h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

/* 通用区块 */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-white); }
.section-soft { background: var(--bg-soft); }
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 15px;
}
.page-hero { padding-top: 100px; padding-bottom: 40px; background: var(--bg-soft); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47, 124, 246, 0.3);
}
.feature-card .card-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 14px; }

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.advantage-item {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.advantage-item h4 { font-size: 17px; margin-bottom: 8px; color: var(--accent); }
.advantage-item p { color: var(--text-muted); font-size: 14px; }

.case-card { text-align: center; }
.case-logo { font-size: 42px; margin-bottom: 12px; }

.cta-section { padding: 60px 0; }
.cta-box {
  text-align: center;
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.cta-box h2 { font-size: 26px; margin-bottom: 12px; }
.cta-box p { color: var(--text-muted); margin-bottom: 28px; }
.hero-actions.center { justify-content: center; }

.footer {
  background: #1a2b4a;
  color: rgba(255,255,255,0.75);
  padding: 48px 0 0;
}
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 16px; }
.footer p { font-size: 14px; margin-bottom: 6px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 32px;
}
.qrcode-placeholder {
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.qrcode-placeholder.lg { width: 180px; height: 180px; margin: 20px auto; }
.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(26, 43, 74, 0.5);
  display: flex; align-items: center; justify-content: center;
}
.modal.hidden { display: none; }
.modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
  min-width: 320px;
  box-shadow: var(--shadow-md);
}
.modal-close {
  position: absolute; top: 12px; right: 16px;
  font-size: 24px; cursor: pointer; color: var(--text-muted);
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats-inline { justify-content: center; }
  .hero-visual { height: 300px; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .highlights-grid { grid-template-columns: 1fr; }
}
