* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --bg: #f9f7f4; --text: #1a1a2e; --primary: #f0c27f; --secondary: #4a3f35; --accent: #e8a87c; --glass: rgba(255,255,255,0.7); --shadow: 0 8px 32px rgba(0,0,0,0.08); --radius: 20px; --gradient: linear-gradient(135deg, #f0c27f, #fc5c7d); --max-w: 1200px; --nav-h: 70px; }
[data-theme="dark"] { --bg: #0f0f1a; --text: #e0dcd6; --glass: rgba(20,20,35,0.85); --shadow: 0 8px 32px rgba(0,0,0,0.4); }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; transition: background 0.3s, color 0.3s; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 0 rgba(0,0,0,0.05); height: var(--nav-h); transition: background 0.3s; }
nav { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; font-weight: 700; letter-spacing: 1px; }
.logo svg { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a { padding: 8px 16px; border-radius: 40px; font-size: 0.9rem; font-weight: 500; transition: background 0.2s, color 0.2s; }
.nav-links a:hover, .nav-links a.active { background: var(--primary); color: #1a1a2e; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.search-btn, .theme-btn, .menu-btn { background: none; border: none; cursor: pointer; padding: 8px; border-radius: 50%; transition: background 0.2s; display: flex; align-items: center; justify-content: center; color: var(--text); }
.search-btn:hover, .theme-btn:hover, .menu-btn:hover { background: rgba(0,0,0,0.05); }
.menu-btn { display: none; }
.search-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(10px); z-index: 2000; display: none; align-items: center; justify-content: center; }
.search-overlay.open { display: flex; }
.search-box { background: var(--bg); padding: 32px; border-radius: var(--radius); width: 90%; max-width: 500px; box-shadow: var(--shadow); }
.search-box input { width: 100%; padding: 16px 20px; border: 2px solid var(--primary); border-radius: 40px; font-size: 1.1rem; background: transparent; color: var(--text); outline: none; }
.search-box input::placeholder { color: #999; }
.search-close { margin-top: 16px; text-align: center; cursor: pointer; opacity: 0.7; }
.mobile-menu { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--bg); z-index: 999; display: none; flex-direction: column; padding: 32px 24px; gap: 8px; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 16px 20px; border-radius: 12px; font-size: 1.1rem; font-weight: 500; transition: background 0.2s; }
.mobile-menu a:hover { background: var(--primary); color: #1a1a2e; }
main { padding-top: var(--nav-h); }
section { padding: 80px 0; }
.section-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-sub { font-size: 1.1rem; opacity: 0.7; max-width: 600px; margin-bottom: 48px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.card { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; border: 1px solid rgba(255,255,255,0.1); }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
.btn { display: inline-block; padding: 14px 36px; border-radius: 40px; font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: all 0.3s; background: var(--gradient); color: #1a1a2e; box-shadow: 0 4px 16px rgba(240,194,127,0.3); }
.btn:hover { transform: scale(1.02); box-shadow: 0 8px 32px rgba(240,194,127,0.4); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); box-shadow: none; }
.btn-outline:hover { background: var(--primary); color: #1a1a2e; }
.hero { min-height: 80vh; display: flex; align-items: center; position: relative; overflow: hidden; background: var(--gradient); padding: 0; }
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 700px; }
.hero h1 { font-size: 3.8rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; color: #1a1a2e; }
.hero p { font-size: 1.2rem; opacity: 0.8; margin-bottom: 40px; max-width: 500px; color: #1a1a2e; }
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg svg { width: 100%; height: 100%; object-fit: cover; }
.banner-carousel { position: relative; overflow: hidden; border-radius: var(--radius); margin-bottom: 40px; }
.banner-slide { display: none; padding: 60px 40px; background: var(--glass); backdrop-filter: blur(12px); border-radius: var(--radius); min-height: 300px; align-items: center; }
.banner-slide.active { display: flex; }
.banner-slide .text { flex: 1; }
.banner-slide h2 { font-size: 2rem; margin-bottom: 12px; }
.banner-slide p { font-size: 1rem; opacity: 0.7; }
.banner-dots { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.banner-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--primary); opacity: 0.3; cursor: pointer; transition: 0.3s; }
.banner-dots span.active { opacity: 1; transform: scale(1.2); }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-item .num { font-size: 3rem; font-weight: 800; color: var(--primary); }
.stat-item .label { font-size: 1rem; opacity: 0.6; margin-top: 8px; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.05); padding: 20px 0; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.1rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; opacity: 0.7; margin-top: 8px; }
.faq-item.open .faq-answer { max-height: 300px; }
.howto-step { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 32px; }
.howto-step .step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; flex-shrink: 0; color: #1a1a2e; }
.footer { background: #1a1a2e; color: #e0dcd6; padding: 60px 0 30px; }
.footer a { opacity: 0.7; transition: 0.2s; }
.footer a:hover { opacity: 1; }
.footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; margin-bottom: 40px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; opacity: 0.6; }
.back-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #1a1a2e; border: none; cursor: pointer; font-size: 1.4rem; box-shadow: 0 4px 16px rgba(0,0,0,0.2); display: none; align-items: center; justify-content: center; z-index: 900; transition: 0.3s; }
.back-top.show { display: flex; }
.back-top:hover { transform: scale(1.1); }
.breadcrumb { display: flex; gap: 8px; font-size: 0.9rem; opacity: 0.6; margin-bottom: 32px; flex-wrap: wrap; }
.breadcrumb a:hover { opacity: 1; }
.pagination { display: flex; gap: 12px; justify-content: center; margin-top: 48px; }
.pagination a { padding: 8px 16px; border-radius: 40px; background: var(--glass); transition: 0.2s; }
.pagination a:hover { background: var(--primary); color: #1a1a2e; }
.tag { display: inline-block; padding: 4px 16px; border-radius: 40px; background: var(--primary); color: #1a1a2e; font-size: 0.8rem; font-weight: 500; }
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-btn { display: flex; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.4rem; }
    .stat-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    section { padding: 48px 0; }
    .section-title { font-size: 1.8rem; }
    .banner-slide { flex-direction: column; text-align: center; padding: 32px 24px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
}
.scroll-fade { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.scroll-fade.visible { opacity: 1; transform: translateY(0); }
.lazy-img { opacity: 0; transition: opacity 0.4s; }
.lazy-img.loaded { opacity: 1; }
.news-card { display: flex; flex-direction: column; gap: 12px; }
.news-card .date { font-size: 0.85rem; opacity: 0.5; }
.testimonial { font-style: italic; position: relative; padding: 24px; }
.testimonial::before { content: '“'; font-size: 4rem; position: absolute; top: -8px; left: 8px; opacity: 0.1; }
.partner-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: center; }
.partner-grid svg { width: 100px; height: 60px; opacity: 0.5; transition: 0.3s; }
.partner-grid svg:hover { opacity: 1; }
.related-articles { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 32px; }
@media (max-width: 768px) { .related-articles { grid-template-columns: 1fr; } }
.schema-hidden { display: none; }