/* ===================================================================
   一只红杏 (1zhxvpn.sbs) - 极简水墨与忍者隐匿视觉系统 (Zen Shinobi Monochrome)
   视觉基调：和纸柔白画布 + 纯正深邃浓墨 + 樱花赤绯点缀 + 极细线条 + 等宽字排版
   =================================================================== */

:root {
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark-ink: #0f172a;
  
  --brand-crimson: #e11d48;
  --brand-crimson-hover: #be123c;
  --brand-crimson-glow: rgba(225, 29, 72, 0.16);
  --brand-bamboo: #0f766e;
  --brand-stone: #334155;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --border-hairline: #e2e8f0;
  --border-strong: #0f172a;
  --border-crimson: #e11d48;
  
  --font-system: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;

  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.06), 0 10px 24px -4px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 12px 28px -6px rgba(15, 23, 42, 0.1), 0 0 0 1px #0f172a;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-system);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
}

.header-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.brand-badge {
  background: var(--brand-crimson);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--brand-crimson);
}

.nav-btn {
  background: var(--bg-dark-ink);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--bg-dark-ink);
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: var(--brand-crimson);
  border-color: var(--brand-crimson);
}

/* Hero Section */
.hero-section {
  padding: 72px 24px 64px;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: rgba(225, 29, 72, 0.08);
  border-left: 3px solid var(--brand-crimson);
  color: var(--brand-crimson);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.25;
  font-weight: 900;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-title-accent {
  color: var(--brand-crimson);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 34px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 38px;
}

.btn-primary {
  background: var(--brand-crimson);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--brand-crimson);
  box-shadow: 0 4px 14px var(--brand-crimson-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--brand-crimson-hover);
  border-color: var(--brand-crimson-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.btn-secondary:hover {
  border-color: var(--bg-dark-ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-hairline);
  padding-top: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.55rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--bg-dark-ink);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Stealth Card Component */
.stealth-card {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.stealth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-hairline);
}

.stealth-title {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stealth-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.stealth-tab {
  flex: 1;
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xs);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.stealth-tab.active {
  background: var(--bg-dark-ink);
  color: #fff;
  border-color: var(--bg-dark-ink);
}

.stealth-info-box {
  background: var(--bg-subtle);
  border: 1px dashed var(--border-hairline);
  border-radius: var(--radius-xs);
  padding: 16px;
  margin-bottom: 16px;
}

.stealth-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.stealth-info-row:last-child {
  margin-bottom: 0;
}

.stealth-info-label {
  color: var(--text-dim);
}

.stealth-info-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-crimson);
}

/* Sections */
.section {
  padding: 80px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  color: var(--brand-crimson);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 32px 26px;
  transition: all 0.25s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-crimson);
  margin-bottom: 16px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Cases Grid */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.case-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-crimson);
  font-family: var(--font-mono);
}

.case-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.case-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--bg-dark-ink);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.featured-pill {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--bg-dark-ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.plan-price {
  margin-bottom: 24px;
}

.price-num {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--bg-dark-ink);
  font-family: var(--font-mono);
}

.price-unit {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li::before {
  content: "—";
  color: var(--brand-crimson);
  font-weight: bold;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xs);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-toggle {
  font-size: 1.1rem;
  color: var(--text-dim);
  transition: transform 0.2s ease;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--brand-crimson);
}

/* Final CTA */
.final-cta-section {
  padding: 80px 24px;
  background: var(--bg-dark-ink);
  color: #ffffff;
  text-align: center;
}

.final-cta-card {
  max-width: 840px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.final-cta-desc {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-hairline);
  padding: 50px 24px 30px;
  color: var(--text-dim);
}

.footer-container {
  max-width: 1160px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--brand-crimson);
}

.disclaimer-text {
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
  max-width: 950px;
  margin: 0 auto 20px;
  color: #64748b;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Legal Pages & Articles */
.legal-container, .article-container {
  max-width: 860px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.legal-card, .article-card {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 48px;
  box-shadow: var(--shadow-subtle);
}

.page-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.update-time {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 14px;
  font-family: var(--font-mono);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2, .article-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 28px 0 14px;
  color: var(--text-main);
  border-left: 3px solid var(--brand-crimson);
  padding-left: 12px;
}

.legal-section p, .article-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-section ul, .article-card ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-section li, .article-card li {
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.7;
}

/* Article specific */
.article-meta {
  display: flex;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 26px;
  font-family: var(--font-mono);
}

.article-lead {
  font-size: 1.08rem !important;
  color: var(--text-main) !important;
  background: #f1f5f9;
  border-left: 4px solid var(--bg-dark-ink);
  padding: 18px 22px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  margin-bottom: 28px;
}

.article-cta {
  background: #f8fafc;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 28px;
  margin: 36px 0;
  text-align: center;
}

.article-cta h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.article-crosslinks {
  border-top: 1px solid var(--border-hairline);
  padding-top: 24px;
  margin-top: 36px;
}

.article-crosslinks h4 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--text-main);
}

.crosslink-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crosslink-list a {
  color: var(--brand-crimson);
  font-size: 0.95rem;
}

.crosslink-list a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .features-grid, .cases-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .legal-card, .article-card {
    padding: 28px 20px;
  }
}
