:root {
  --klein-blue: #0047AB;
  --bg-light: #F4F7FC;
  --card-bg: #FFFFFF;
  --text-main: #333333;
  --text-muted: #8C99A6;
  --shadow-soft: 0 12px 32px rgba(0, 71, 171, 0.06);
  --radius-lg: 24px;
  --radius-md: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(0, 71, 171, 0.08);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; color: var(--klein-blue); }
.brand img { height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 32px; font-size: 15px; color: var(--text-muted); font-weight: 500; }
.nav-links a:hover { color: var(--klein-blue); }
.nav-actions { display: flex; gap: 16px; align-items: center; }
.search-box {
  background: var(--bg-light); border-radius: 20px;
  padding: 8px 16px; display: flex; align-items: center;
  color: var(--text-muted); font-size: 14px;
}
.btn-sm {
  background: var(--klein-blue); color: #fff;
  padding: 8px 20px; border-radius: 20px; font-size: 14px; font-weight: 500;
  transition: all 0.3s;
}
.btn-sm:hover { background: #003785; transform: translateY(-1px); }

/* Hero */
.hero { padding: 80px 0 60px; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 48px; line-height: 1.2; color: var(--text-main); margin-bottom: 24px; font-weight: 800; letter-spacing: -0.5px; }
.hero-text h1 span { color: var(--klein-blue); }
.hero-text p { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; }
.btn-primary {
  background: var(--klein-blue); color: #fff;
  padding: 16px 36px; border-radius: 30px; font-size: 16px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 71, 171, 0.2); transition: all 0.3s;
}
.btn-primary:hover { background: #003785; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 71, 171, 0.3); }
.btn-outline {
  border: 2px solid var(--klein-blue); color: var(--klein-blue);
  padding: 14px 34px; border-radius: 30px; font-size: 16px; font-weight: 600;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--klein-blue); color: #fff; }
.hero-visual { flex: 1; position: relative; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); width: 100%; height: 400px; }

/* Section Common */
.section { padding: 60px 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.section-title { font-size: 28px; font-weight: 700; color: var(--text-main); }
.section-desc { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.more-link { color: var(--klein-blue); font-size: 14px; font-weight: 500; }

/* Grid */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.comic-card {
  background: var(--card-bg); border-radius: var(--radius-md);
  padding: 12px; box-shadow: var(--shadow-soft);
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  border: 2px solid transparent;
}
.comic-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 71, 171, 0.1); border-color: var(--klein-blue); }
.card-img-wrap { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; margin-bottom: 12px; }
.card-img-wrap img { width: 100%; height: 100%; transition: transform 0.3s; }
.comic-card:hover .card-img-wrap img { transform: scale(1.05); }
.badge {
  position: absolute; top: 8px; right: 8px; padding: 4px 10px;
  border-radius: 12px; font-size: 12px; font-weight: 600; color: #fff;
}
.badge-serial { background: var(--klein-blue); }
.badge-done { background: #8C99A6; }
.card-title { font-size: 15px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { font-size: 12px; color: var(--text-muted); }

/* Editors Choice */
.editors-choice { display: flex; gap: 40px; align-items: center; background: var(--card-bg); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-soft); }
.editors-img { flex: 0 0 320px; position: relative; }
.editors-img img { border-radius: var(--radius-md); border: 4px solid var(--klein-blue); box-shadow: 0 0 24px rgba(0, 71, 171, 0.3); aspect-ratio: 3/4; width: 100%; }
.editors-content { flex: 1; }
.editors-content h2 { font-size: 24px; color: var(--klein-blue); margin-bottom: 8px; }
.editors-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.editors-content .quote { font-size: 15px; color: var(--text-muted); border-left: 4px solid var(--klein-blue); padding-left: 16px; margin-bottom: 20px; font-style: italic; }
.editors-content p { font-size: 15px; color: var(--text-main); line-height: 1.8; margin-bottom: 24px; }
.editors-btn { display: inline-block; padding: 12px 28px; background: var(--klein-blue); color: #fff; border-radius: 24px; font-weight: 500; transition: background 0.3s; }
.editors-btn:hover { background: #003785; }

/* Intel Station */
.intel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.intel-card {
  background: var(--card-bg); border-radius: var(--radius-md); padding: 28px;
  box-shadow: var(--shadow-soft); transition: border 0.3s, transform 0.3s;
  border: 1px solid transparent; display: flex; flex-direction: column;
}
.intel-card:hover { border-color: var(--klein-blue); transform: translateY(-4px); }
.intel-tag { display: inline-block; background: rgba(0, 71, 171, 0.1); color: var(--klein-blue); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 8px; margin-bottom: 16px; width: fit-content; }
.intel-card h3 { font-size: 18px; margin-bottom: 12px; }
.intel-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.intel-card p strong { color: var(--klein-blue); font-weight: 700; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-bubble {
  background: var(--card-bg); border: 2px solid var(--klein-blue); border-radius: 20px;
  padding: 24px; position: relative;
}
.review-bubble::before {
  content: ''; position: absolute; left: 32px; bottom: -10px; width: 16px; height: 16px;
  background: var(--card-bg); border-right: 2px solid var(--klein-blue); border-bottom: 2px solid var(--klein-blue);
  transform: rotate(45deg);
}
.review-text { font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.review-user { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.review-user span { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background: #e0e8f5; }

/* Download */
.download-section {
  background: var(--klein-blue); border-radius: 32px; margin: 40px 0;
  padding: 60px 48px; display: flex; align-items: center; justify-content: space-between; gap: 48px;
  color: #fff; overflow: hidden; position: relative;
}
.download-content { flex: 1; max-width: 400px; }
.download-content h2 { font-size: 32px; margin-bottom: 16px; line-height: 1.3; }
.download-content p { font-size: 16px; opacity: 0.9; margin-bottom: 32px; }
.download-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--klein-blue); padding: 16px 40px;
  border-radius: 30px; font-size: 16px; font-weight: 700; transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); background: #F4F7FC; }
.download-visual {
  flex: 1; display: flex; justify-content: flex-end; gap: 20px; position: relative;
}
.mock-phone {
  width: 180px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); border: 4px solid #fff;
}
.mock-phone:nth-child(1) { transform: translateY(-20px); }
.mock-phone:nth-child(2) { transform: translateY(30px); }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(140, 153, 166, 0.2);
  padding: 40px 0; text-align: center; font-size: 13px; color: var(--text-muted);
}
.site-footer p { margin-bottom: 8px; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--klein-blue); }

/* Category Cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.cat-card {
  background: var(--card-bg); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); position: relative; aspect-ratio: 16/9;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff;
}
.cat-overlay h3 { font-size: 20px; margin-bottom: 4px; }
.cat-overlay p { font-size: 13px; opacity: 0.8; }

@media (max-width: 1024px) {
  .hero-text h1 { font-size: 36px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .intel-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .editors-choice { flex-direction: column; align-items: flex-start; }
  .editors-img { flex: auto; width: 100%; }
  .download-section { flex-direction: column; text-align: center; padding: 40px 24px; }
  .download-content { max-width: 100%; }
  .download-visual { justify-content: center; margin-top: 40px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-text h1 { font-size: 28px; }
  .hero-text p { margin: 0 auto 32px; }
  .hero-btns { justify-content: center; }
  .nav-links { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .intel-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .download-content h2 { font-size: 24px; }
  .download-visual { flex-direction: column; align-items: center; }
  .mock-phone { width: 140px; }
  .mock-phone:nth-child(1) { transform: none; }
  .mock-phone:nth-child(2) { transform: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}