* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --bg: #f0f2f5; --card-bg: rgba(255,255,255,0.7); --text: #1a1a2e; --text2: #555; --accent: #e63946; --accent2: #2d3436; --shadow: 0 8px 32px rgba(0,0,0,0.1); --radius: 20px; --glass: backdrop-filter: blur(12px); --transition: 0.3s ease; }
[data-theme="dark"] { --bg: #0f0f1a; --card-bg: rgba(30,30,50,0.8); --text: #eee; --text2: #aaa; --shadow: 0 8px 32px rgba(0,0,0,0.5); }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; transition: background 0.3s, color 0.3s; scroll-behavior: smooth; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--card-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.2); transition: box-shadow 0.3s; }
header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: 1200px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.4rem; }
.logo svg { width: 40px; height: 40px; }
nav { display: flex; gap: 20px; align-items: center; }
nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 6px 12px; border-radius: 10px; transition: background 0.3s; }
nav a:hover, nav a.active { background: rgba(230,57,70,0.15); color: var(--accent); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; color: var(--text); cursor: pointer; }
.dark-toggle { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text); padding: 4px 8px; border-radius: 50%; transition: background 0.3s; }
.dark-toggle:hover { background: rgba(128,128,128,0.2); }
.hero { margin-top: 80px; position: relative; overflow: hidden; border-radius: 0 0 40px 40px; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); min-height: 70vh; display: flex; align-items: center; }
.hero-slider { position: relative; width: 100%; height: 70vh; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.8s; padding: 40px; }
.hero-slide.active { opacity: 1; }
.hero-content { text-align: center; color: #fff; max-width: 800px; }
.hero-content h1 { font-size: 3.2rem; margin-bottom: 20px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 30px; }
.hero-btn { display: inline-block; padding: 14px 40px; background: var(--accent); color: #fff; border-radius: 50px; text-decoration: none; font-weight: 600; transition: transform 0.3s, box-shadow 0.3s; }
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(230,57,70,0.4); }
.hero-indicators { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
.hero-indicators span { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: background 0.3s, transform 0.3s; }
.hero-indicators span.active { background: var(--accent); transform: scale(1.2); }
section { padding: 80px 0; }
.section-title { font-size: 2.2rem; text-align: center; margin-bottom: 50px; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--accent); margin: 12px auto 0; border-radius: 4px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.card { background: var(--card-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); transition: transform 0.4s, box-shadow 0.4s; border: 1px solid rgba(255,255,255,0.2); }
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.card-icon { font-size: 2.5rem; margin-bottom: 15px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--text2); }
.glass-card { background: var(--card-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.2); }
.flex-row { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; }
.flex-row > * { flex: 1 1 300px; }
.story-content { line-height: 1.8; }
.story-content h2 { margin-bottom: 20px; }
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 16px; top: 0; bottom: 0; width: 4px; background: var(--accent); border-radius: 4px; }
.timeline-item { position: relative; margin-bottom: 40px; padding-left: 30px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; background: var(--accent); border-radius: 50%; border: 3px solid var(--bg); }
.timeline-item h4 { font-size: 1.1rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px; }
.team-card { text-align: center; padding: 20px; }
.team-card svg { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 15px; }
.faq-item { border-bottom: 1px solid rgba(128,128,128,0.2); padding: 18px 0; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.1rem; }
.faq-question span { transition: transform 0.3s; }
.faq-item.open .faq-question span { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; padding-top: 0; color: var(--text2); }
.faq-item.open .faq-answer { max-height: 400px; padding-top: 15px; }
.article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.article-card { padding: 25px; }
.article-card h3 { margin-bottom: 8px; }
.article-card .date { font-size: 0.9rem; color: var(--text2); margin-bottom: 12px; }
.article-card p { margin-bottom: 15px; }
.read-more { color: var(--accent); text-decoration: none; font-weight: 600; }
.howto-step { margin-bottom: 30px; padding: 20px; background: var(--card-bg); border-radius: var(--radius); border-left: 5px solid var(--accent); }
.howto-step h4 { margin-bottom: 8px; }
.contact-info { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 12px; }
.contact-item svg { width: 28px; height: 28px; flex-shrink: 0; }
.map-placeholder { background: var(--card-bg); border-radius: var(--radius); height: 300px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--text2); }
footer { background: var(--card-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 40px 0 20px; border-top: 1px solid rgba(255,255,255,0.2); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-grid h4 { margin-bottom: 15px; }
.footer-grid a { display: block; color: var(--text2); text-decoration: none; margin-bottom: 8px; transition: color 0.3s; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(128,128,128,0.2); font-size: 0.9rem; color: var(--text2); }
.back-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: #fff; border: none; font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 20px rgba(230,57,70,0.4); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s, transform 0.3s; z-index: 999; }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: scale(1.1); }
.search-box { display: flex; gap: 8px; }
.search-box input { padding: 8px 16px; border-radius: 30px; border: 1px solid rgba(128,128,128,0.3); background: var(--card-bg); color: var(--text); outline: none; width: 180px; transition: width 0.3s; }
.search-box input:focus { width: 240px; }
.search-box button { padding: 8px 16px; border-radius: 30px; border: none; background: var(--accent); color: #fff; cursor: pointer; }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; padding: 20px 0; font-size: 0.9rem; color: var(--text2); }
.breadcrumb a { color: var(--text2); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 4px; }
@media (max-width: 768px) {
    nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--card-bg); backdrop-filter: blur(12px); padding: 20px; border-radius: 0 0 20px 20px; }
    nav.open { display: flex; }
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-slider { height: 60vh; }
    .section-title { font-size: 1.8rem; }
    .search-box input { width: 120px; }
    .search-box input:focus { width: 160px; }
}
@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-slider { height: 50vh; }
    .container { padding: 0 12px; }
}
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.count-up { font-size: 2.5rem; font-weight: 700; color: var(--accent); }
[data-theme="dark"] .card, [data-theme="dark"] .glass-card, [data-theme="dark"] .howto-step { background: rgba(30,30,50,0.8); }
[data-theme="dark"] header { background: rgba(15,15,26,0.9); }
[data-theme="dark"] footer { background: rgba(15,15,26,0.9); }