/* ===== CSS VARIABLES - MULTICOLOR LIGHT THEME ===== */
:root {
  --primary: #e63946;
  --secondary: #2a9d8f;
  --accent: #f4a261;
  --purple: #7b2d8b;
  --green: #2d6a4f;
  --gold: #e9c46a;
  --bg: #fafaf8;
  --card-bg: #ffffff;
  --text: #1a1a2e;
  --text-muted: #555566;
  --border: #e8e8f0;
  --header-bg: #ffffff;
  --footer-bg: #1a1a2e;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 10px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Georgia, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
ul { padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c1121f; }

/* ===== HEADER ===== */
header {
  background: var(--header-bg);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo span { color: var(--secondary); }
nav { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
nav a:hover { color: var(--primary); border-color: var(--primary); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 2px solid var(--primary); border-radius: 6px; padding: 0.3rem 0.6rem; cursor: pointer; font-size: 1.1rem; color: var(--primary); }

/* ===== AD BANNER PLACEHOLDER ===== */
.ad-banner {
  background: linear-gradient(90deg, #f8f9fa, #e9ecef);
  border: 2px dashed #ced4da;
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}
.ad-banner-top { border-bottom: 1px solid var(--border); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #fff5f5 0%, #f0fffe 50%, #fff8f0 100%);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero h1 span { color: var(--secondary); }
.hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 1.5rem; }
.badge-row { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.badge { padding: 0.3rem 0.9rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }
.badge-red { background: #ffe0e0; color: var(--primary); }
.badge-green { background: #d4edda; color: var(--green); }
.badge-orange { background: #fff3cd; color: #e67e22; }
.badge-teal { background: #d0f5f0; color: var(--secondary); }
.badge-purple { background: #ede0f5; color: var(--purple); }

/* ===== SEARCH BAR ===== */
.search-wrap { max-width: 520px; margin: 1.5rem auto 0; display: flex; gap: 0; }
.search-wrap input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--primary);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 0.95rem;
  outline: none;
  background: #fff;
}
.search-wrap button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.75rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  font-weight: 700;
}

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  color: var(--text);
}
.section-wrap { padding: 2.5rem 0; }

/* ===== CATEGORY FILTERS ===== */
.cat-filters { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cat-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  border: 2px solid;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  background: transparent;
  transition: all 0.2s;
}
.cat-btn.red { border-color: var(--primary); color: var(--primary); }
.cat-btn.teal { border-color: var(--secondary); color: var(--secondary); }
.cat-btn.orange { border-color: var(--accent); color: #d4733a; }
.cat-btn.purple { border-color: var(--purple); color: var(--purple); }
.cat-btn.green { border-color: var(--green); color: var(--green); }
.cat-btn:hover, .cat-btn.active { color: #fff; }
.cat-btn.red:hover, .cat-btn.red.active { background: var(--primary); }
.cat-btn.teal:hover, .cat-btn.teal.active { background: var(--secondary); }
.cat-btn.orange:hover, .cat-btn.orange.active { background: var(--accent); }
.cat-btn.purple:hover, .cat-btn.purple.active { background: var(--purple); }
.cat-btn.green:hover, .cat-btn.green.active { background: var(--green); }

/* ===== CARDS GRID ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; }
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.3rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.3rem;
}
.tag-red { background: #ffe0e0; color: var(--primary); }
.tag-teal { background: #d0f5f0; color: var(--secondary); }
.tag-orange { background: #fff0dd; color: #c1692a; }
.tag-purple { background: #ede0f5; color: var(--purple); }
.tag-green { background: #d4edda; color: var(--green); }
.card h3 { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.card p { font-size: 0.87rem; color: var(--text-muted); flex: 1; }
.card-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* ===== AD MIDDLE PLACEHOLDER ===== */
.ad-middle {
  background: linear-gradient(90deg, #f8f9fa, #e9ecef);
  border: 2px dashed #ced4da;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: #888;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

/* ===== SCHEME PAGE CONTENT ===== */
.scheme-layout { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; padding: 2rem 0; }
.scheme-main {}
.scheme-sidebar {}
.scheme-hero {
  background: linear-gradient(135deg, #fff5f5, #f0fffe);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--primary);
}
.scheme-hero h1 { font-size: 1.6rem; font-weight: 900; color: var(--text); line-height: 1.3; margin-bottom: 0.8rem; }
.scheme-hero .meta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.8rem; }
.meta-pill { background: var(--gold); color: #7a5700; padding: 0.25rem 0.7rem; border-radius: 20px; font-size: 0.78rem; font-weight: 700; }
.content-section { background: var(--card-bg); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.2rem; border: 1px solid var(--border); box-shadow: var(--shadow); }
.content-section h2 { font-size: 1.15rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--accent); }
.content-section p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.7rem; }
.content-section ul li { font-size: 0.93rem; color: var(--text-muted); }
.steps-list { list-style: none; padding: 0; counter-reset: steps; }
.steps-list li { counter-increment: steps; display: flex; gap: 0.8rem; margin-bottom: 0.8rem; }
.steps-list li::before { content: counter(steps); background: var(--primary); color: #fff; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 0.8rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 700; color: var(--text); margin-bottom: 0.4rem; font-size: 0.95rem; }
.faq-a { font-size: 0.9rem; color: var(--text-muted); }
.sidebar-card { background: var(--card-bg); border-radius: var(--radius); padding: 1.2rem; margin-bottom: 1rem; border: 1px solid var(--border); box-shadow: var(--shadow); }
.sidebar-card h4 { font-size: 0.95rem; font-weight: 800; color: var(--text); margin-bottom: 0.8rem; border-bottom: 2px solid var(--accent); padding-bottom: 0.4rem; }
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card ul li { margin-bottom: 0.5rem; }
.sidebar-card ul li a { font-size: 0.85rem; color: var(--text-muted); }
.sidebar-card ul li a:hover { color: var(--primary); }
.disclaimer-box { background: #fff8e1; border: 1px solid #ffe082; border-radius: 8px; padding: 1rem; font-size: 0.82rem; color: #7a5700; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 0.8rem 0; font-size: 0.82rem; color: var(--text-muted); }
.breadcrumb a { color: var(--secondary); }
.breadcrumb span { margin: 0 0.4rem; }

/* ===== PAGE CONTENT (STATIC PAGES) ===== */
.page-hero { background: linear-gradient(135deg, #f0fffe, #fff5f5); padding: 2.5rem 1.5rem; text-align: center; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: 2rem; font-weight: 900; color: var(--primary); }
.page-hero p { color: var(--text-muted); margin-top: 0.5rem; }
.page-content { max-width: 800px; margin: 2rem auto; padding: 0 1.5rem 3rem; }
.page-content h2 { font-size: 1.2rem; font-weight: 800; color: var(--secondary); margin: 1.5rem 0 0.6rem; }
.page-content p { color: var(--text-muted); margin-bottom: 0.8rem; font-size: 0.95rem; }
.contact-form { background: var(--card-bg); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { height: 120px; resize: vertical; }
.btn-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-submit:hover { background: #c1121f; }

/* ===== STATS STRIP ===== */
.stats-strip { background: var(--primary); color: #fff; padding: 1.2rem 0; }
.stats-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1rem; text-align: center; }
.stat-item strong { display: block; font-size: 1.6rem; font-weight: 900; }
.stat-item span { font-size: 0.82rem; opacity: 0.85; }

/* ===== FOOTER ===== */
footer { background: var(--footer-bg); color: #ccc; padding: 2.5rem 0 1rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .logo { color: #fff; font-size: 1.2rem; }
.footer-brand p { font-size: 0.82rem; margin-top: 0.7rem; line-height: 1.6; }
.footer-col h5 { color: #fff; font-size: 0.9rem; font-weight: 800; margin-bottom: 0.8rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul li a { font-size: 0.82rem; color: #aaa; text-decoration: none; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { max-width: 1100px; margin: 1.5rem auto 0; padding: 1rem 1.5rem 0; border-top: 1px solid #333; text-align: center; font-size: 0.78rem; color: #777; }
.footer-disclaimer { background: #2d1010; border: 1px solid #5a2020; border-radius: 6px; padding: 0.6rem 1rem; margin: 0 1.5rem 0.8rem; font-size: 0.78rem; color: #f4a261; text-align: center; }

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 3px solid var(--primary); padding: 1rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 0.8rem; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  nav.open { display: flex; }
  .hero h1 { font-size: 1.6rem; }
  .scheme-layout { grid-template-columns: 1fr; }
  .scheme-sidebar { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 0.6rem; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.4rem; }
  .section-title { font-size: 1.2rem; }
}

/* ===== NOTICE STRIP ===== */
.notice-strip { background: #fff3cd; border-bottom: 1px solid #ffe082; padding: 0.5rem 1.5rem; font-size: 0.8rem; text-align: center; color: #7a5700; }
