:root {
  --eb-blue: #0061af;
  --eb-dark-blue: #004165;
  --eb-light-blue: #e8f2fa;
  --eb-accent: #0078d4;
  --eb-green: #107c41;
  --eb-gray: #f5f5f5;
  --eb-text: #1a1a1a;
  --eb-text-light: #666;
  --eb-border: #e0e0e0;
  --eb-white: #ffffff;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: var(--eb-text);
  line-height: 1.7;
  background: var(--eb-white);
}

a { color: var(--eb-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--eb-dark-blue); text-decoration: underline; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--eb-dark-blue);
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: flex-end; gap: 24px; align-items: center; }
.top-bar a { color: #b3d4f0; }
.top-bar a:hover { color: #fff; }

/* ===== HEADER ===== */
.header {
  background: var(--eb-blue);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 22px; font-weight: 700; }
.logo-icon { width: 36px; height: 36px; background: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--eb-blue); font-size: 20px; font-weight: 900; }
.logo span { font-weight: 400; font-size: 14px; display: block; line-height: 1.2; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { color: #fff; font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: #b3d4f0; text-decoration: none; }
.btn-login { background: #fff; color: var(--eb-blue) !important; padding: 8px 24px; border-radius: 4px; font-weight: 600; }
.btn-login:hover { background: var(--eb-light-blue); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--eb-blue) 0%, var(--eb-dark-blue) 100%);
  color: #fff;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; max-width: 700px; }
.hero p { font-size: 18px; max-width: 600px; opacity: 0.9; margin-bottom: 24px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: #fff; color: var(--eb-blue); padding: 12px 32px; border-radius: 4px; font-weight: 600; font-size: 16px; display: inline-block; }
.btn-primary:hover { background: var(--eb-light-blue); color: var(--eb-blue); text-decoration: none; }
.btn-secondary { border: 2px solid #fff; color: #fff; padding: 10px 30px; border-radius: 4px; font-weight: 600; font-size: 16px; display: inline-block; }
.btn-secondary:hover { background: #fff; color: var(--eb-blue); text-decoration: none; }

/* ===== CONTAINER ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===== SECTIONS ===== */
.section { padding: 50px 0; }
.section-gray { background: var(--eb-gray); }
.section-blue { background: var(--eb-light-blue); }
.section-title { font-size: 28px; font-weight: 700; color: var(--eb-dark-blue); margin-bottom: 12px; }
.section-subtitle { font-size: 17px; color: var(--eb-text-light); margin-bottom: 32px; }

/* ===== CARDS GRID ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 20px; }
.card {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--eb-border);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon { width: 48px; height: 48px; background: var(--eb-light-blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.card h3 { font-size: 19px; font-weight: 700; color: var(--eb-dark-blue); margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--eb-text-light); margin-bottom: 14px; }
.card-link { font-weight: 600; font-size: 15px; }

/* ===== ARTICLE CONTENT ===== */
.article { max-width: 820px; margin: 0 auto; padding: 40px 0 60px; }
.article h1 { font-size: 34px; font-weight: 700; color: var(--eb-dark-blue); margin-bottom: 12px; line-height: 1.3; }
.article .meta { font-size: 14px; color: var(--eb-text-light); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--eb-border); }
.article .meta span { margin-right: 16px; }
.article h2 { font-size: 25px; font-weight: 700; color: var(--eb-dark-blue); margin: 32px 0 14px; }
.article h3 { font-size: 20px; font-weight: 600; color: var(--eb-dark-blue); margin: 24px 0 10px; }
.article p { font-size: 16px; margin-bottom: 16px; color: #333; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article li { font-size: 16px; margin-bottom: 8px; color: #333; }
.article blockquote {
  border-left: 4px solid var(--eb-blue);
  padding: 14px 22px;
  background: var(--eb-light-blue);
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
  font-size: 15px;
  color: var(--eb-dark-blue);
}
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article th { background: var(--eb-blue); color: #fff; padding: 12px; text-align: left; font-size: 14px; }
.article td { border: 1px solid var(--eb-border); padding: 12px; font-size: 14px; }
.article tr:nth-child(even) td { background: var(--eb-gray); }

/* ===== CTA BOX ===== */
.cta-box {
  background: linear-gradient(135deg, var(--eb-blue), var(--eb-dark-blue));
  color: #fff;
  padding: 32px;
  border-radius: 8px;
  text-align: center;
  margin: 32px 0;
}
.cta-box h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.cta-box p { color: #b3d4f0; margin-bottom: 16px; }
.cta-box .btn-primary { margin: 0; }

/* ===== RELATED LINKS ===== */
.related-links { background: var(--eb-gray); border-radius: 8px; padding: 24px; margin: 32px 0; }
.related-links h3 { font-size: 18px; color: var(--eb-dark-blue); margin-bottom: 12px; }
.related-links ul { list-style: none; margin: 0; padding: 0; }
.related-links li { margin-bottom: 8px; padding-left: 20px; position: relative; }
.related-links li::before { content: '→'; position: absolute; left: 0; color: var(--eb-blue); font-weight: 700; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 14px 0; font-size: 13px; color: var(--eb-text-light); }
.breadcrumb a { color: var(--eb-blue); }
.breadcrumb span { margin: 0 8px; }

/* ===== FAQ ===== */
.faq-item { border: 1px solid var(--eb-border); border-radius: 6px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 16px 20px; font-size: 16px; font-weight: 600; color: var(--eb-dark-blue); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--eb-blue); }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer { padding: 0 20px 16px; font-size: 15px; color: #444; }

/* ===== FOOTER ===== */
.footer { background: var(--eb-dark-blue); color: #b3d4f0; padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 12px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #b3d4f0; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.footer-badges { display: flex; gap: 16px; align-items: center; }
.badge { background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 3px; font-size: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 16px; }
  .article h1 { font-size: 26px; }
  .article h2 { font-size: 22px; }
  .top-bar .container { justify-content: center; gap: 12px; font-size: 12px; }
}