﻿/* LocalSend 鏉傚織缂栬緫椋庢ā鏉?*/
:root {
  --primary: #b91c1c;
  --primary-dark: #991b1b;
  --accent: #b45309;
  --gold: #d97706;
  --bg: #f5f0e8;
  --bg-card: #fffdf8;
  --bg-dark: #1c1917;
  --text: #1c1917;
  --text-secondary: #57534e;
  --text-muted: #78716c;
  --border: #d6d3d1;
  --border-bold: 3px solid var(--text);
  --shadow: 4px 4px 0 rgba(28, 25, 23, 0.08);
  --radius: 0;
  --radius-sm: 0;
  --transition: all 0.2s 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.8;
  min-height: 100vh;
}
h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', 'Songti SC', serif; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-card);
  border-bottom: var(--border-bold);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; max-width: 1100px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: Georgia, serif; font-weight: 700; font-size: 1.35rem;
  color: var(--text); letter-spacing: -0.02em;
}
.logo img { width: 42px; height: 42px; border: 2px solid var(--text); }
.nav-links { display: flex; gap: 0; list-style: none; flex-wrap: wrap; }
.nav-links a {
  color: var(--text-secondary); padding: 10px 16px;
  font-size: 0.88rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; border-left: 1px solid var(--border);
}
.nav-links a:first-child { border-left: none; }
.nav-links a:hover, .nav-links a.active {
  color: var(--primary); background: rgba(185, 28, 28, 0.06);
}

.hero {
  padding: 0;
  background: var(--bg-dark);
  color: #fafaf9;
  border-bottom: var(--border-bold);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.hero-text {
  padding: 64px 48px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 3px solid #44403c;
}
.hero-text h1 {
  font-size: 2.6rem; line-height: 1.15; margin-bottom: 20px;
  color: #fafaf9; font-weight: 700;
}
.hero-text .lead { font-size: 1.05rem; color: #a8a29e; margin-bottom: 28px; font-family: sans-serif; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.badge {
  border: 2px solid #57534e; padding: 5px 12px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em;
  color: var(--gold); font-family: sans-serif;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-weight: 700; font-size: 0.9rem;
  border: 2px solid transparent; cursor: pointer;
  transition: var(--transition); font-family: sans-serif;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-outline {
  background: transparent; color: #fafaf9;
  border-color: #78716c;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-image { position: relative; overflow: hidden; }
.hero-image img {
  width: 100%; height: 100%; min-height: 480px;
  object-fit: cover; filter: contrast(1.05);
}
.hero-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 30%);
}

.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.section { padding: 64px 0; }
.section-dark { background: var(--bg-dark); color: #e7e5e4; }
.section-dark h2, .section-dark h3 { color: #fafaf9; }
.section-dark p, .section-dark td { color: #a8a29e; }
.section-paper { background: var(--bg-card); border-top: var(--border-bold); border-bottom: var(--border-bold); }
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-header h2 {
  font-size: 2rem; margin-bottom: 12px;
  border-bottom: 4px solid var(--primary); display: inline-block;
  padding-bottom: 8px;
}
.section-header.center h2 { display: inline-block; }
.section-header p { color: var(--text-secondary); max-width: 600px; font-family: sans-serif; }
.section-header.center p { margin: 12px auto 0; }

.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: var(--border-bold); background: var(--bg-card);
}
.stat-item {
  text-align: center; padding: 32px 16px;
  border-right: 2px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-label { color: var(--text-secondary); font-size: 0.85rem; font-family: sans-serif; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0; }
.card {
  background: var(--bg-card); border: 2px solid var(--text);
  margin: -1px; transition: var(--transition);
}
.card:hover { background: #fef2f2; }
.card-image { aspect-ratio: 16/9; overflow: hidden; border-bottom: 2px solid var(--text); }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 800;
  padding: 3px 8px; margin-bottom: 12px;
  font-family: sans-serif; text-transform: uppercase; letter-spacing: 0.06em;
  border: 2px solid var(--text);
}
.tag-security { background: #fef2f2; color: var(--primary); }
.tag-guide { background: #fffbeb; color: var(--accent); }
.tag-news { background: #fef9c3; color: #854d0e; }
.tag-enterprise { background: #f5f5f4; color: var(--text); }
.tag-tech { background: #e7e5e4; color: var(--text); }
.tag-compare { background: #fafaf9; color: var(--primary-dark); }
.card-body h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.35; }
.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; font-family: sans-serif; }
.card-meta {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; color: var(--text-muted); font-family: sans-serif;
  border-top: 1px solid var(--border); padding-top: 12px;
}

.modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.module {
  background: var(--bg-card); border: 2px solid var(--text);
  padding: 28px; box-shadow: var(--shadow);
}
.module-icon { font-size: 1.6rem; margin-bottom: 14px; }
.module h3 { font-size: 1.15rem; margin-bottom: 10px; }
.module p { color: var(--text-secondary); font-size: 0.92rem; font-family: sans-serif; }
.section-dark .module {
  background: #292524; border-color: #57534e;
}
.section-dark .module p { color: #a8a29e; }

.data-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  border: 2px solid var(--text); font-size: 0.92rem;
}
.data-table th, .data-table td {
  padding: 14px 16px; text-align: left;
  border: 1px solid var(--border); font-family: sans-serif;
}
.data-table th { background: var(--text); color: #fafaf9; font-weight: 700; }
.data-table td { color: var(--text-secondary); background: var(--bg-card); }
.section-dark .data-table td { background: #292524; color: #d6d3d1; }
.section-dark .data-table th { background: var(--primary); }

.faq-list { margin: 20px 0; }
.faq-item {
  background: var(--bg-card); border: 2px solid var(--text);
  padding: 22px 26px; margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { color: var(--text-secondary); font-size: 0.92rem; margin: 0; font-family: sans-serif; }
.faq-item code {
  background: #fef2f2; padding: 2px 6px; border: 1px solid var(--border);
  font-size: 0.88em; color: var(--primary);
}

.article-hero {
  padding: 48px 0 36px;
  background: var(--bg-dark); color: #fafaf9;
  border-bottom: var(--border-bold);
}
.article-hero h1 { font-size: 2.4rem; line-height: 1.2; margin-bottom: 16px; max-width: 800px; color: #fafaf9; }
.breadcrumb { font-size: 0.85rem; color: #78716c; margin-bottom: 16px; font-family: sans-serif; }
.breadcrumb a { color: #a8a29e; }
.article-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  color: #a8a29e; font-size: 0.85rem; font-family: sans-serif;
}
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding: 48px 0 64px; }
.article-content h2 {
  font-size: 1.55rem; margin: 40px 0 16px;
  padding-left: 16px; border-left: 6px solid var(--primary);
}
.article-content h3 { font-size: 1.2rem; margin: 28px 0 10px; color: var(--primary-dark); }
.article-content p { color: var(--text-secondary); margin-bottom: 14px; font-family: sans-serif; }
.article-content ul, .article-content ol { color: var(--text-secondary); margin: 12px 0 14px 24px; font-family: sans-serif; }
.article-image {
  margin: 28px 0; border: 3px solid var(--text);
  box-shadow: 8px 8px 0 rgba(28, 25, 23, 0.15);
}
.article-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-image figcaption {
  padding: 12px 16px; background: var(--bg-card);
  font-size: 0.84rem; color: var(--text-muted); font-family: sans-serif;
  border-top: 2px solid var(--text);
}
.info-box {
  border: 2px solid var(--text); padding: 20px 24px;
  margin: 24px 0; background: #fffbeb; box-shadow: var(--shadow);
}
.info-box p { margin: 0; color: var(--text-secondary); font-family: sans-serif; }
.warning-box {
  border: 2px solid var(--primary); padding: 20px 24px;
  margin: 24px 0; background: #fef2f2; box-shadow: var(--shadow);
}

.sidebar-widget {
  border: 2px solid var(--text); padding: 24px;
  margin-bottom: 24px; background: var(--bg-card);
  box-shadow: var(--shadow);
}
.sidebar-widget h3 {
  font-size: 0.95rem; margin-bottom: 16px;
  border-bottom: 2px solid var(--primary); padding-bottom: 8px;
}
.sidebar-links { list-style: none; font-family: sans-serif; }
.sidebar-links li { padding: 10px 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: 24px; }
.download-card {
  border: 3px solid var(--text); padding: 28px;
  background: var(--bg-card); box-shadow: 6px 6px 0 rgba(28,25,23,0.1);
  transition: var(--transition);
}
.download-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(28,25,23,0.15); }
.download-card-highlight { background: #fef2f2; border-color: var(--primary); }
.download-card-icon { font-size: 2rem; margin-bottom: 12px; }
.download-card h3 { margin-bottom: 10px; }
.download-card-desc { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 14px; font-family: sans-serif; }
.download-card-meta { list-style: none; margin-bottom: 18px; font-family: sans-serif; }
.download-card-meta li { color: var(--text-muted); font-size: 0.82rem; padding: 4px 0; }
.btn-block { width: 100%; justify-content: center; text-align: center; }
.download-card-link {
  display: block; text-align: center; margin-top: 12px;
  font-size: 0.85rem; color: var(--text-muted); font-family: sans-serif;
}

.site-footer {
  background: var(--text); color: #d6d3d1;
  padding: 56px 0 28px; border-top: 6px solid var(--primary);
}
.site-footer a { color: #e7e5e4; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: #a8a29e; font-size: 0.92rem; margin-top: 12px; font-family: sans-serif; }
.footer-col h4 { font-size: 0.85rem; margin-bottom: 16px; color: #fafaf9; text-transform: uppercase; letter-spacing: 0.08em; font-family: sans-serif; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.88rem; }
.footer-bottom {
  text-align: center; padding-top: 28px;
  border-top: 1px solid #57534e; color: #78716c;
  font-size: 0.82rem; font-family: sans-serif;
}

@media (max-width: 992px) {
  .hero-inner, .hero-content { grid-template-columns: 1fr; }
  .hero-text { border-right: none; border-bottom: 3px solid #44403c; }
  .hero-image img { min-height: 280px; }
  .hero-text h1, .article-hero h1 { font-size: 1.85rem; }
  .article-layout { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 2px solid var(--border); }
  .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; }
}
