/* EZShell 官网单页 — 静态骨架 */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --navy: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

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

body {
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 0.95rem;
}

.nav a { color: var(--slate); }
.nav a:hover { color: var(--blue); }

/* Highlights — 核心亮点 */
.highlights { background: #fff; }
.hl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.hl-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.hl-card--lead {
  background: linear-gradient(180deg, #fff 0%, #eff6ff 100%);
  border-color: #93c5fd;
}
.hl-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.hl-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.hl-card code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}
.hl-foot {
  text-align: center;
  font-size: 0.925rem;
  color: var(--slate);
  max-width: 560px;
  margin: 0 auto;
}

.dl-linux-details {
  max-width: 520px;
  margin: 0 auto 8px;
  text-align: left;
}
.dl-linux-details summary {
  cursor: pointer;
  color: var(--slate);
  font-size: 0.925rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}
.dl-linux-details .install-snippet {
  margin-top: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.15s ease;
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Hero */
.hero {
  padding: 72px 0 48px;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Mock window */
.mock-window {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #1e1e2e;
}

.mock-title {
  padding: 8px 14px;
  background: #2d2d3f;
  color: #cdd6f4;
  font-size: 0.8rem;
}

.mock-body {
  display: flex;
  min-height: 220px;
}

.mock-sidebar {
  width: 48px;
  background: #181825;
  border-right: 1px solid #313244;
}

.mock-terminal {
  flex: 1;
  padding: 16px;
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 0.85rem;
  color: #a6e3a1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-terminal .prompt { color: #89b4fa; }

/* Sections */
.section {
  padding: 64px 0;
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.section-desc {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.feature-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--slate);
  font-size: 0.925rem;
}

.feature-card code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}

/* Download */
.download-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow);
}

.download-box h2 { margin-bottom: 8px; }
.download-box > p { color: var(--muted); margin-bottom: 24px; }

.download-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.download-actions--footer { margin: 24px 0 0; }

.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
}

.dl-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
}

.dl-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.dl-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.dl-note {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 12px;
}

.dl-snippet-title {
  font-size: 1rem;
  margin-bottom: 12px;
}

.install-snippet {
  text-align: left;
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 16px 20px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.85rem;
  max-width: 520px;
  margin: 0 auto;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-grid--three {
  max-width: 1000px;
}

.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.price-card--pro {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow);
}

.price-card .badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-card h3 { margin-bottom: 8px; }

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
}

.price small {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  color: var(--slate);
  font-size: 0.925rem;
}

.price-card li {
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}

.price-card li::before {
  content: "✓ ";
  color: #16a34a;
  font-weight: 700;
}

/* CTA */
.cta-box {
  text-align: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 32px;
}

.cta-box h2 { margin-bottom: 8px; }
.cta-box p { opacity: 0.9; margin-bottom: 24px; }
.cta-box .btn-primary {
  background: #fff;
  color: var(--blue);
}
.cta-box .btn-primary:hover {
  background: #f1f5f9;
}
.cta-box .cta-ghost {
  margin-left: 12px;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.cta-box .cta-ghost:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.925rem;
}

.copyright {
  width: 100%;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
}

.copyright .beian {
  color: var(--muted);
}
.copyright .beian:hover {
  color: var(--blue);
}

/* About — 介绍站说明 */
.about { background: #fff; }
.about-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.about-contact {
  color: var(--slate);
  font-size: 0.95rem;
}

/* Compare table */
.compare-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 720px;
}
.compare-table th,
.compare-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.compare-table th {
  background: #f8fafc;
  font-weight: 600;
}
.compare-table td.yes {
  color: #15803d;
  font-weight: 600;
}
.compare-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}
.compare-disclaimer {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.65;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.compare-disclaimer a {
  color: var(--blue);
}
.about-legal {
  margin: 12px auto 0;
  max-width: 640px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  text-align: center;
}
.footer-legal {
  margin: 10px 0 0;
  width: 100%;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.55;
  text-align: center;
}

/* Audience */
.audience { background: #fff; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.audience-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.audience-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.audience-card p {
  color: var(--slate);
  font-size: 0.925rem;
}
.positioning-line {
  text-align: center;
  font-size: 0.95rem;
  color: var(--slate);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 16px 20px;
  max-width: 720px;
  margin: 0 auto;
}

/* Pain points */
.pain { background: linear-gradient(180deg, #f1f5f9 0%, var(--bg) 100%); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.pain-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pain-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pain-tag {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.pain-vs {
  font-size: 0.75rem;
  color: var(--muted);
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 999px;
}
.pain-problem {
  color: #b45309;
  font-size: 0.9rem;
  line-height: 1.55;
  padding-left: 12px;
  border-left: 3px solid #fbbf24;
}
.pain-answer {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: auto;
}
.pain-answer strong {
  display: block;
  color: #15803d;
  font-size: 0.8rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pain-answer p {
  color: #166534;
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
}

/* Advantages */
.advantages { background: #fff; }
.adv-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.adv-columns--four {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.adv-col--highlight {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 16px 18px;
}
.adv-col h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
}
.adv-list {
  list-style: none;
  color: var(--slate);
  font-size: 0.925rem;
}
.adv-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.5;
}
.adv-list li:last-child { border-bottom: none; }
.roadmap-box {
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 720px;
  margin: 0 auto;
}
.roadmap-box h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--navy);
}
.roadmap-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-bottom: 12px;
}
.roadmap-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--slate);
}
.roadmap-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Local-first / migration */
.local-first {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.local-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.local-card {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.local-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.local-card ul {
  list-style: none;
  font-size: 0.925rem;
  color: var(--slate);
}
.local-card li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.5;
}
.local-card li:last-child { border-bottom: none; }
.local-card--them {
  background: #fef2f2;
  border-color: #fecaca;
}
.local-card--them h3 { color: #991b1b; }
.local-card--us {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.local-card--us h3 { color: #166534; }
.migrate-steps {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  max-width: 800px;
  margin: 0 auto;
}
.migrate-steps h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.migrate-list {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: var(--slate);
  font-size: 0.925rem;
  line-height: 1.65;
}
.migrate-list li {
  margin-bottom: 12px;
}
.migrate-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}
.migrate-list code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}
.migrate-roadmap {
  font-size: 0.875rem;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  line-height: 1.55;
}
.feature-card--accent {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #fff 0%, #eff6ff 100%);
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .download-box { padding: 32px 20px; }
  .hl-grid { grid-template-columns: 1fr; }
}
