/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: #f8fafc; color: #1e293b; line-height: 1.6; transition: background 0.3s, color 0.3s; }
:root { --brand-primary: #0f1a2b; --brand-accent: #f0b90b; --brand-light: #e8edf5; --glass-bg: rgba(255,255,255,0.45); --glass-border: rgba(255,255,255,0.2); --shadow-soft: 0 12px 30px rgba(0,0,0,0.06); --radius-xl: 28px; --radius-lg: 18px; --radius-md: 12px; --transition: 0.25s ease; }
.dark { --brand-primary: #0b111e; --brand-light: #1a2332; --glass-bg: rgba(20,30,45,0.6); --glass-border: rgba(255,255,255,0.08); --shadow-soft: 0 12px 30px rgba(0,0,0,0.4); background: #0b111e; color: #e2e8f0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }

/* ===== LAYOUT ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== GLASSMORPHISM ===== */
.glass { background: var(--glass-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 30px; border-radius: 60px; font-weight: 600; border: none; background: var(--brand-accent); color: #0f1a2b; transition: all var(--transition); cursor: pointer; }
.btn:hover { transform: scale(1.02); box-shadow: 0 8px 20px rgba(240,185,11,0.3); }
.btn-outline { background: transparent; border: 1px solid var(--brand-accent); color: var(--brand-accent); }

/* ===== HEADER / NAV ===== */
header { position: sticky; top: 0; z-index: 100; background: rgba(15,26,43,0.8); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; flex-wrap: wrap; }
.logo { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.5px; color: #fff; display: flex; align-items: center; gap: 6px; }
.logo svg { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 28px; font-weight: 500; color: #cbd5e1; }
.nav-links a { transition: color 0.2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #f0b90b; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
#darkToggle, #searchToggle, #menuToggle { background: none; border: none; color: #cbd5e1; font-size: 1.4rem; cursor: pointer; padding: 4px; border-radius: 40px; transition: 0.2s; }
#darkToggle:hover, #searchToggle:hover, #menuToggle:hover { color: #f0b90b; }
.mobile-menu { display: none; width: 100%; flex-direction: column; gap: 12px; padding: 18px 0 12px; border-top: 1px solid rgba(255,255,255,0.05); }
.mobile-menu a { padding: 8px 0; color: #e2e8f0; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.03); }

/* ===== HERO BANNER ===== */
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; overflow: hidden; background: linear-gradient(145deg, #0f1a2b 0%, #1a2b4a 100%); border-radius: 0 0 var(--radius-xl) var(--radius-xl); margin: 0 12px 12px; padding: 40px 0; }
.hero-slide { display: none; flex-direction: column; gap: 30px; width: 100%; animation: fadeSlide 0.8s ease; }
.hero-slide.active { display: flex; }
@keyframes fadeSlide { 0% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: translateY(0); } }
.hero-content { max-width: 700px; }
.hero-content h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 700; line-height: 1.2; color: #fff; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; color: #a0b3cc; margin-bottom: 28px; max-width: 560px; }
.hero-svg { position: absolute; right: 0; top: 10%; width: 45%; opacity: 0.2; pointer-events: none; }
.hero-indicators { position: absolute; bottom: 30px; left: 24px; display: flex; gap: 12px; }
.hero-indicators span { width: 40px; height: 4px; background: #334155; border-radius: 4px; cursor: pointer; transition: 0.2s; }
.hero-indicators span.active { background: var(--brand-accent); width: 60px; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.section-sub { color: #64748b; max-width: 600px; margin-bottom: 48px; }
.dark .section-sub { color: #94a3b8; }

/* ===== GRIDS ===== */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ===== CARDS ===== */
.card { background: var(--glass-bg); backdrop-filter: blur(4px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-soft); transition: all 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.dark .card { background: rgba(20,30,45,0.5); }
.stat-number { font-size: 2.8rem; font-weight: 800; color: var(--brand-accent); line-height: 1; }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; gap: 8px; font-size: 0.9rem; color: #64748b; padding: 16px 0 0; }
.breadcrumb a { color: #94a3b8; }
.breadcrumb span { color: #cbd5e1; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.05); padding: 16px 0; cursor: pointer; }
.dark .faq-item { border-color: rgba(255,255,255,0.05); }
.faq-q { font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s; color: #475569; }
.faq-item.open .faq-a { max-height: 200px; padding-top: 12px; }
.dark .faq-a { color: #a0b3cc; }

/* ===== FOOTER ===== */
footer { background: #0b111e; color: #a0b3cc; padding: 48px 0 24px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 40px; }
.footer-brand svg { width: 40px; height: 40px; }
.footer-links a { display: block; padding: 4px 0; font-size: 0.9rem; color: #94a3b8; transition: 0.2s; }
.footer-links a:hover { color: #f0b90b; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; font-size: 0.85rem; }

/* ===== SEARCH OVERLAY ===== */
.search-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); z-index: 200; display: none; align-items: center; justify-content: center; }
.search-overlay.open { display: flex; }
.search-box { background: #1e293b; border-radius: 60px; padding: 8px 20px; width: 80%; max-width: 600px; display: flex; border: 1px solid var(--brand-accent); }
.search-box input { flex: 1; background: transparent; border: none; color: #fff; font-size: 1.2rem; outline: none; }
.search-box button { background: none; border: none; color: var(--brand-accent); font-size: 1.6rem; cursor: pointer; }

/* ===== BACK TO TOP ===== */
#backTop { position: fixed; bottom: 30px; right: 30px; background: var(--brand-accent); color: #0f1a2b; width: 48px; height: 48px; border-radius: 50%; border: none; font-size: 1.6rem; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,0.2); display: none; z-index: 99; transition: 0.2s; }
#backTop.show { display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu.open { display: flex; }
    .hero-svg { display: none; }
    .hero { min-height: 60vh; }
}
@media (min-width: 769px) {
    #menuToggle { display: none; }
}

/* ===== ANIMATIONS ===== */
.lazy-section { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.lazy-section.visible { opacity: 1; transform: translateY(0); }
.scroll-anim { transition: all 0.5s cubic-bezier(0.2, 0, 0, 1); }