/* JianHeBox English Site - main.css */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.05);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.brand-icon { font-size: 24px; }
.nav {
  display: flex;
  gap: 24px;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav a:hover { color: var(--primary); }
.lang-switch a {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border: 1px solid var(--primary);
  border-radius: 6px;
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background .2s;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary.big {
  padding: 16px 36px;
  font-size: 17px;
}
.btn-ghost {
  display: inline-block;
  color: var(--text);
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
}
.btn-ghost:hover { background: var(--bg-alt); }

/* Feature Section */
.feature {
  padding: 60px 0;
  background: var(--bg-alt);
}
.feature-header {
  text-align: center;
  margin-bottom: 48px;
}
.feature-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.feature-header h2 {
  font-size: 36px;
  margin-bottom: 8px;
}
.feature-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Single Feature Card */
.single-feature-card {
  max-width: 640px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.feature-icon-large {
  font-size: 64px;
  margin-bottom: 16px;
}
.single-feature-card h3 {
  font-size: 28px;
  margin-bottom: 12px;
}
.feature-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 16px;
}
.feature-list {
  text-align: left;
  list-style: none;
  margin-bottom: 32px;
  display: inline-block;
}
.feature-list li {
  padding: 6px 0;
  color: var(--text);
}
.redirect-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* Formats Section */
.formats {
  padding: 80px 0;
}
.formats h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 48px;
}
.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.format-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all .2s;
}
.format-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.format-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.format-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.format-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* How Section */
.how {
  padding: 80px 0;
  background: var(--bg-alt);
}
.how h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 48px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.how-step {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.how-step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.how-step p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Articles Preview */
.articles-preview {
  padding: 80px 0;
}
.articles-preview h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 48px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.article-card {
  display: block;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: all .2s;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.article-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.4;
}
.article-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}
.article-card .meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: #1e293b;
  color: white;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}
.footer-col p {
  color: #94a3b8;
  font-size: 14px;
}
.footer-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #334155;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

/* Responsive (minimal) */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .feature-header h2, .formats h2, .how h2, .articles-preview h2 { font-size: 28px; }
  .nav { display: none; }
  .hero-cta { flex-direction: column; }
  .single-feature-card { padding: 32px 24px; }
}