:root {
  --brand: #0e7490;
  --brand-dark: #0a5a6e;
  --brand-soft: #ecfeff;
  --accent: #f59e0b;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(14, 116, 144, 0.12);
  --radius: 16px;
  --font-display: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-dark);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #0891b2, #0e7490);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(14, 116, 144, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0891b2, #0e7490);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 116, 144, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--brand-soft);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(8, 145, 178, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(245, 158, 11, 0.12), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--brand-dark);
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: floatY 5s ease-in-out infinite;
}

.hero-card h3 {
  margin-bottom: 16px;
  color: var(--brand-dark);
}

.reply-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--bg);
  margin-bottom: 10px;
}

.reply-item span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.reply-item p {
  font-size: 0.92rem;
  color: var(--muted);
}

.float-tag {
  position: absolute;
  right: -8px;
  bottom: 24px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-dark);
  animation: floatX 4s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatX {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.reveal.delay-1 { animation-delay: 0.15s; }
.reveal.delay-2 { animation-delay: 0.3s; }
.reveal.delay-3 { animation-delay: 0.45s; }

/* Sections */
.section {
  padding: 88px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature p {
  color: var(--muted);
  font-size: 0.95rem;
}

.stats {
  background: linear-gradient(135deg, #0e7490, #155e75);
  color: #fff;
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2.4rem;
  margin-bottom: 6px;
}

.stat span {
  opacity: 0.85;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.split-visual {
  background: linear-gradient(160deg, #ecfeff, #ffffff);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--line);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-window {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mock-bar {
  background: #f1f5f9;
  padding: 10px 14px;
  display: flex;
  gap: 6px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mock-body {
  padding: 18px;
}

.mock-line {
  height: 10px;
  border-radius: 6px;
  background: #e2e8f0;
  margin-bottom: 10px;
}

.mock-line.short { width: 55%; }
.mock-line.mid { width: 75%; }
.mock-chip {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.875rem;
  font-weight: 600;
}

.split-copy h2 {
  font-size: 1.8rem;
  color: var(--brand-dark);
  margin-bottom: 14px;
}

.split-copy p {
  color: var(--muted);
  margin-bottom: 22px;
}

/* Articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.article-cover {
  height: 160px;
  background: linear-gradient(135deg, #0891b2, #0e7490);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
  font-weight: 600;
}

.article-cover.alt1 {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
}

.article-cover.alt2 {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.article-body {
  padding: 22px;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.article-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-body h3 a:hover {
  color: var(--brand);
}

.article-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.read-more {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
}

/* CTA */
.cta {
  text-align: center;
  padding: 90px 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(8, 145, 178, 0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.12), transparent 40%),
    #fff;
  border-top: 1px solid var(--line);
}

.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.cta p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-col a,
.footer-col li {
  display: block;
  margin-bottom: 10px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 18px 0;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
  margin: 0 6px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Page hero (inner) */
.page-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #ecfeff, #f8fafc);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--muted);
  max-width: 40em;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--brand);
}

/* Download page */
.download-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 40px auto;
  text-align: center;
}

.download-box h2 {
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.download-box p {
  color: var(--muted);
  margin-bottom: 24px;
}

.download-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Article page */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 48px 0 80px;
}

.article-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px clamp(20px, 4vw, 44px);
}

.article-main h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--brand-dark);
  margin-bottom: 14px;
  line-height: 1.35;
}

.article-info {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.article-content h2 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--brand-dark);
}

.article-content p {
  margin-bottom: 16px;
  color: #334155;
}

.article-content ul {
  margin: 0 0 18px 1.2em;
  list-style: disc;
  color: #334155;
}

.article-content li {
  margin-bottom: 8px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.side-box h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--brand-dark);
}

.side-box a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.side-box a:last-child {
  border-bottom: 0;
}

.side-box a:hover {
  color: var(--brand);
}

/* Sitemap page */
.sitemap-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0 80px;
}

.sitemap-list h2 {
  color: var(--brand-dark);
  margin: 24px 0 12px;
  font-size: 1.2rem;
}

.sitemap-list h2:first-child {
  margin-top: 0;
}

.sitemap-list ul {
  list-style: disc;
  margin-left: 1.4em;
}

.sitemap-list li {
  margin-bottom: 8px;
}

.sitemap-list a {
  color: var(--brand);
}

.sitemap-list a:hover {
  text-decoration: underline;
}

/* Daily update notice */
.daily-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .split.reverse,
  .article-layout,
  .features,
  .articles-grid,
  .stats-grid,
  .footer-grid,
  .steps {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .float-tag {
    right: 8px;
  }
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .section {
    padding: 64px 0;
  }
}
