/* reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; background: #f4f7fc; color: #1a2639; line-height: 1.6; transition: background 0.3s, color 0.3s; }
body.dark { background: #0b1a2f; color: #e2e8f0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
/* glass & shadow */
.glass { background: rgba(255,255,255,0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 24px; border: 1px solid rgba(255,255,255,0.3); }
.dark .glass { background: rgba(10,20,40,0.7); border-color: rgba(255,255,255,0.1); }
.card { background: #ffffff; border-radius: 24px; box-shadow: 0 12px 30px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.dark .card { background: #112240; box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(0,0,0,0.05); transition: background 0.3s; }
.dark .site-header { background: rgba(11,26,47,0.85); border-color: rgba(255,255,255,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; max-width: 1280px; margin: 0 auto; }
.logo svg { width: 140px; height: 40px; }
.nav { display: flex; gap: 28px; }
.nav a { font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.nav a:hover, .nav a.active { border-bottom-color: #f0b429; }
.dark .nav a:hover, .dark .nav a.active { border-bottom-color: #f0b429; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.menu-toggle span { width: 28px; height: 3px; background: #1a2639; border-radius: 3px; transition: 0.3s; }
.dark .menu-toggle span { background: #e2e8f0; }
.dark-toggle { background: none; border: 1px solid #ccc; border-radius: 40px; padding: 6px 14px; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; gap: 6px; }
/* hero */
.hero { padding: 60px 0 80px; background: linear-gradient(145deg, #0b1a2f 0%, #1a365d 100%); color: white; border-radius: 0 0 60px 60px; }
.dark .hero { background: linear-gradient(145deg, #050e1a 0%, #0f2440 100%); }
.hero-grid { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-text { flex: 1 1 400px; }
.hero-text h1 { font-size: 3.2rem; margin-bottom: 24px; }
.hero-text p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 36px; border-radius: 60px; font-weight: 600; background: #f0b429; color: #0b1a2f; transition: 0.2s; }
.btn:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(240,180,41,0.4); }
.btn-outline { background: transparent; border: 2px solid white; color: white; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-visual { flex: 1 1 300px; background: rgba(255,255,255,0.08); border-radius: 40px; padding: 30px; }
/* sections */
.section { padding: 80px 0; }
.section-title { font-size: 2.2rem; margin-bottom: 16px; text-align: center; }
.section-sub { text-align: center; max-width: 700px; margin: 0 auto 48px; opacity: 0.8; }
/* grid */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; }
/* cards */
.stat-number { font-size: 2.8rem; font-weight: 700; color: #f0b429; }
/* footer */
.site-footer { background: #0b1a2f; color: #cbd5e1; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 32px; margin-bottom: 32px; }
.footer-bottom { border-top: 1px solid #1e2d42; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
/* FAQ */
.faq-item { border-bottom: 1px solid #ddd; padding: 18px 0; cursor: pointer; }
.dark .faq-item { border-color: #2d3a50; }
.faq-q { font-weight: 600; display: flex; justify-content: space-between; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; opacity: 0.8; }
.faq-item.open .faq-a { max-height: 300px; margin-top: 12px; }
/* article cards */
.article-card { padding: 24px; }
.article-card h3 { margin-bottom: 8px; }
.article-card small { opacity: 0.6; }
/* animation */
[data-anim] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
[data-anim].visible { opacity: 1; transform: translateY(0); }
/* mobile */
@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; background: white; position: absolute; top: 70px; left: 0; right: 0; padding: 20px; border-radius: 0 0 24px 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
  .dark .nav { background: #0f2440; }
  .nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .hero-text h1 { font-size: 2.2rem; }
}