﻿/* LocalSend 娓呮柊鏋佺畝妯℃澘 */
:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --accent: #0284c7;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-soft: #ecfdf5;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px rgba(5, 150, 105, 0.12);
  --radius: 20px;
  --radius-sm: 10px;
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1140px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.2rem; color: var(--text);
}
.logo img { width: 38px; height: 38px; border-radius: 12px; }
.nav-links { display: flex; gap: 4px; list-style: none; flex-wrap: wrap; }
.nav-links a {
  color: var(--text-secondary); padding: 8px 14px; border-radius: 999px; font-size: 0.9rem;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary); background: var(--bg-soft);
}

.hero {
  padding: 72px 0 88px;
  background: linear-gradient(180deg, #ecfdf5 0%, var(--bg) 100%);
}
.hero-content { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-text h1 {
  font-size: 2.5rem; line-height: 1.2; margin-bottom: 18px;
  color: var(--text); font-weight: 800;
}
.hero-text .lead { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 24px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.badge {
  background: white; border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 999px; font-size: 0.82rem;
  color: var(--primary-dark); box-shadow: var(--shadow);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600;
  font-size: 0.95rem; border: none; cursor: pointer; transition: var(--transition);
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover {
  background: var(--primary-dark); color: white;
  transform: translateY(-2px); box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: white; color: var(--text); border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.hero-image {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid white;
}
.hero-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.section { padding: 72px 0; }
.section-soft { background: white; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 { font-size: 1.85rem; margin-bottom: 10px; font-weight: 800; }
.section-header p { color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: white; border-radius: var(--radius); padding: 36px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.stat-item { text-align: center; }
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.stat-label { color: var(--text-secondary); font-size: 0.88rem; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.card-image { aspect-ratio: 16/9; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-image img { transform: scale(1.04); }
.card-body { padding: 22px; }
.card-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 6px; margin-bottom: 10px;
}
.tag-security { background: #d1fae5; color: #065f46; }
.tag-guide { background: #dbeafe; color: #1e40af; }
.tag-news { background: #fef3c7; color: #92400e; }
.tag-enterprise { background: #fce7f3; color: #9d174d; }
.tag-tech { background: #e0f2fe; color: #0369a1; }
.tag-compare { background: #ede9fe; color: #5b21b6; }
.card-body h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.45; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--primary); }
.card-body p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 14px; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-muted); }

.modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.module {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  transition: var(--transition);
}
.module:hover { border-color: var(--primary-light); background: var(--bg-soft); }
.module-icon { font-size: 1.8rem; margin-bottom: 12px; }
.module h3 { font-size: 1.05rem; margin-bottom: 8px; }
.module p { color: var(--text-secondary); font-size: 0.92rem; }

.data-table {
  width: 100%; border-collapse: collapse; margin: 20px 0;
  background: white; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow); font-size: 0.92rem;
}
.data-table th, .data-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--bg-soft); color: var(--text); font-weight: 700; }
.data-table td { color: var(--text-secondary); }
.data-table tr:last-child td { border-bottom: none; }

.faq-list { margin: 20px 0; }
.faq-item {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px; margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.faq-item h3 { font-size: 1rem; margin-bottom: 8px; }
.faq-item p { color: var(--text-secondary); font-size: 0.92rem; margin: 0; }
.faq-item code {
  background: var(--bg-soft); padding: 2px 8px; border-radius: 4px;
  font-size: 0.88em; color: var(--primary-dark);
}

.article-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #ecfdf5, var(--bg));
}
.article-hero h1 { font-size: 2.2rem; line-height: 1.25; margin-bottom: 14px; max-width: 780px; }
.breadcrumb { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-secondary); }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-secondary); font-size: 0.88rem; }
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; padding: 40px 0 72px; }
.article-content h2 {
  font-size: 1.45rem; margin: 36px 0 14px; padding-bottom: 8px;
  border-bottom: 3px solid var(--bg-soft); font-weight: 800;
}
.article-content h3 { font-size: 1.15rem; margin: 24px 0 10px; color: var(--primary-dark); }
.article-content p { color: var(--text-secondary); margin-bottom: 14px; }
.article-content ul, .article-content ol { color: var(--text-secondary); margin: 12px 0 14px 22px; }
.article-content li { margin-bottom: 6px; }
.article-image {
  border-radius: var(--radius); overflow: hidden; margin: 24px 0;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.article-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-image figcaption {
  padding: 12px 16px; background: white; font-size: 0.84rem; color: var(--text-muted);
}
.info-box {
  background: var(--bg-soft); border-left: 4px solid var(--primary);
  padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 20px 0;
}
.info-box p { margin: 0; color: var(--text-secondary); }
.warning-box {
  background: #fffbeb; border-left: 4px solid #f59e0b;
  padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 20px 0;
}
.sidebar-widget {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.sidebar-widget h3 { font-size: 0.95rem; margin-bottom: 14px; font-weight: 700; }
.sidebar-links { list-style: none; }
.sidebar-links li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a { color: var(--text-secondary); font-size: 0.88rem; }

.download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.download-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  transition: var(--transition);
}
.download-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.download-card-highlight { background: var(--bg-soft); border-color: var(--primary-light); }
.download-card-icon { font-size: 2.2rem; margin-bottom: 10px; }
.download-card h3 { margin-bottom: 8px; }
.download-card-desc { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 14px; }
.download-card-meta { list-style: none; margin-bottom: 16px; }
.download-card-meta li { color: var(--text-muted); font-size: 0.82rem; padding: 3px 0; }
.btn-block { width: 100%; justify-content: center; text-align: center; }
.download-card-link {
  display: block; text-align: center; margin-top: 10px;
  font-size: 0.88rem; color: var(--text-muted);
}

.site-footer {
  background: white; border-top: 1px solid var(--border);
  padding: 56px 0 28px; margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.92rem; margin-top: 10px; }
.footer-col h4 { font-size: 0.9rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); font-size: 0.88rem; }
.footer-bottom {
  text-align: center; padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.82rem;
}

@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2rem; }
  .article-layout { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .stats-bar, .footer-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}
