/* ============================================
   彩烛科技官网
   ============================================ */

:root {
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --font-base: "Segoe UI", system-ui, -apple-system, "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Cascadia Code", "SF Mono", Consolas, monospace;
  --container-max: 1100px;
  --container-px: 1.5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; vertical-align: middle; }

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--blue-700); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ---------- 导航栏 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.navbar-brand:hover {
  color: var(--gray-900);
  text-decoration: none;
}

.brand-dot {
  width: 8px;
  height: 8px;
  background: var(--blue-600);
  border-radius: 2px;
  flex-shrink: 0;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

.navbar-nav a:hover {
  color: var(--gray-900);
  text-decoration: none;
}

/* ---------- Hero区域 ---------- */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border-bottom: 1px solid #e5e7eb;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  color: var(--blue-600);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 520px;
}

/* ---------- 特性卡片区域 ---------- */
.features {
  padding: 4rem 0 5rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue-600);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--blue-100);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  color: var(--blue-600);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---------- 页脚 ---------- */
.footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid #e5e7eb;
  background: var(--gray-50);
}

.beian-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.beian {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.beian a {
  color: var(--gray-500);
  transition: color 0.2s ease;
}

.beian a:hover {
  color: var(--gray-800);
}

.beian img {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.copyright {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ---------- 响应式 ---------- */
@media (max-width: 991.98px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero-title { font-size: 2.25rem; }
  .features { padding: 3rem 0 4rem; }
}

@media (max-width: 575.98px) {
  :root { --container-px: 1rem; }
  .navbar-nav { display: none; }
  .hero { padding: 2.5rem 0 2rem; }
  .hero-title { font-size: 1.875rem; }
  .hero-subtitle { font-size: 1rem; }
  .features { padding: 2.5rem 0 3rem; }
  .feature-card { padding: 1.5rem; }
  .section-title { font-size: 1.5rem; }
  .beian-group { flex-direction: column; align-items: center; gap: 0.75rem; }
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
