﻿:root {
  --brand-50: #f2f7ff;
  --brand-100: #d9e7ff;
  --brand-500: #2d6bff;
  --brand-600: #1e52d6;
  --brand-700: #153aa8;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5f5;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--slate-900);
  background: var(--slate-50);
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

.section {
  padding: 64px 0;
}

.gradient-bg {
  background: radial-gradient(circle at top, rgba(45, 107, 255, 0.2), transparent 60%),
    linear-gradient(135deg, #f8fafc 0%, #eef2ff 45%, #f1f5f9 100%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand strong {
  font-size: 18px;
}

.brand span {
  font-size: 12px;
  color: var(--slate-600);
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
}

.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-500), #5a92ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-card {
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(45, 107, 255, 0.12), rgba(14, 35, 95, 0.08));
  box-shadow: var(--shadow-soft);
}

.card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-soft);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--slate-900);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.button.primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.button.primary:hover {
  background: var(--brand-700);
}

.button.outline {
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
}

.button.outline:hover {
  border-color: var(--brand-500);
  color: var(--brand-600);
}

.footer {
  background: #fff;
  border-top: 1px solid var(--slate-200);
  padding: 40px 0 24px;
  color: var(--slate-600);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.input,
textarea {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 12px 16px;
  font-size: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 12px;
}

.insights-hero {
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(45, 107, 255, 0.12), rgba(14, 35, 95, 0.08));
  box-shadow: var(--shadow-soft);
}

.article-cover {
  border-radius: 20px;
  overflow: hidden;
}

.article-cover img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.article-detail img {
  height: 320px;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.article-body {
  white-space: pre-line;
  color: var(--slate-700);
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }
}
