/* ===== CSS Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: #0a0a0f; color: #e4e4e7; line-height: 1.7; overflow-x: hidden; }

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

/* ===== Typography ===== */
.highlight { background: linear-gradient(135deg, #f59e0b, #ef4444); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section { padding: 100px 0; }
.section-dark { background: #0f0f1a; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.section-header p { font-size: 1.15rem; color: #a1a1aa; max-width: 600px; margin: 0 auto; }
@media (max-width: 768px) { .section { padding: 60px 0; } .section-header h2 { font-size: 2rem; } }

/* ===== Navigation ===== */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(10, 10, 15, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; }
.nav-logo { font-size: 1.5rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -0.5px; }
.nav-menu { display: flex; list-style: none; gap: 8px; }
.nav-link { color: #a1a1aa; text-decoration: none; padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; transition: all 0.3s ease; }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,0.08); }

.nav-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu { position: fixed; top: 68px; left: 0; width: 100%; flex-direction: column; background: rgba(10, 10, 15, 0.98); backdrop-filter: blur(20px); padding: 16px 24px; gap: 4px; transform: translateY(-120%); transition: transform 0.4s ease; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-menu.active { transform: translateY(0); }
  .nav-link { padding: 12px 16px; font-size: 1rem; }
}

/* ===== Hero Section ===== */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 30%, #16213e 60%, #0f0f1a 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 30% 40%, rgba(245,158,11,0.08) 0%, transparent 50%), radial-gradient(circle at 70% 60%, rgba(239,68,68,0.06) 0%, transparent 50%); animation: heroGlow 20s ease-in-out infinite alternate; }
@keyframes heroGlow { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
.hero-overlay { position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="200" cy="200" r="1" fill="white" opacity="0.03"/></svg>') repeat; opacity: 0.5; }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-title { font-size: 4rem; font-weight: 800; line-height: 1.15; margin-bottom: 24px; letter-spacing: -2px; }
.hero-subtitle { font-size: 1.25rem; color: #a1a1aa; margin-bottom: 40px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 12px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; }
.btn-primary { background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; box-shadow: 0 4px 20px rgba(245,158,11,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,158,11,0.4); }
.btn-secondary { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.btn-secondary:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
@media (max-width: 768px) { .hero-title { font-size: 2.5rem; } .hero-subtitle { font-size: 1rem; } }

/* ===== Cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.card { background: #14141f; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); transition: all 0.4s ease; }
.card:hover { transform: translateY(-8px); border-color: rgba(245,158,11,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.card-image { height: 220px; background-size: cover; background-position: center; position: relative; }
.card-badge { position: absolute; top: 16px; left: 16px; background: rgba(0,0,0,0.6); backdrop-filter: blur(10px); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; color: #fff; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.card-body p { color: #a1a1aa; font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; }
.card-stat { display: inline-block; background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(239,68,68,0.15)); padding: 4px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; color: #f59e0b; }

/* ===== Facts Grid ===== */
.facts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.fact-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 32px 24px; transition: all 0.3s ease; }
.fact-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(245,158,11,0.2); transform: translateY(-4px); }
.fact-icon { font-size: 2.5rem; margin-bottom: 16px; }
.fact-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.fact-card p { color: #a1a1aa; font-size: 0.9rem; line-height: 1.7; }

/* ===== Counter Section ===== */
.counter-section { background: linear-gradient(135deg, #14141f, #1a1a2e); padding: 80px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.counter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; text-align: center; }
.counter-number { display: block; font-size: 3.5rem; font-weight: 800; background: linear-gradient(135deg, #f59e0b, #ef4444); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; }
.counter-label { color: #a1a1aa; font-size: 0.9rem; margin-top: 8px; display: block; }
@media (max-width: 768px) { .counter-number { font-size: 2.5rem; } }

/* ===== Articles ===== */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.article-card { background: #14141f; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); transition: all 0.4s ease; }
.article-card:hover { transform: translateY(-6px); border-color: rgba(245,158,11,0.2); }
.article-image { height: 200px; background-size: cover; background-position: center; }
.article-content { padding: 24px; }
.article-tag { display: inline-block; background: rgba(245,158,11,0.12); color: #f59e0b; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; margin-bottom: 12px; }
.article-content h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.article-content p { color: #a1a1aa; font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }
.article-link { color: #f59e0b; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: color 0.3s; }
.article-link:hover { color: #ef4444; }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.gallery-tall { grid-row: span 2; }
.gallery-item.gallery-wide { grid-column: span 2; }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; font-weight: 600; font-size: 0.9rem; transform: translateY(100%); transition: transform 0.3s ease; }
.gallery-item:hover .gallery-caption { transform: translateY(0); }
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-item.gallery-wide { grid-column: span 1; } .gallery-item.gallery-tall { grid-row: span 1; } }

/* ===== Contact / Newsletter ===== */
.contact-wrapper { max-width: 600px; margin: 0 auto; text-align: center; }
.contact-content h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; }
.contact-content p { color: #a1a1aa; font-size: 1.1rem; margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 14px 20px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); color: #fff; font-size: 1rem; outline: none; transition: border 0.3s; }
.newsletter-form input:focus { border-color: #f59e0b; }
.newsletter-form input::placeholder { color: #6b6b80; }
.social-links { display: flex; gap: 16px; justify-content: center; margin: 32px 0; }
.social-link { color: #a1a1aa; transition: all 0.3s; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.social-link:hover { color: #f59e0b; background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.3); transform: translateY(-2px); }
.contact-credit { color: #6b6b80; font-size: 0.9rem; margin-top: 8px; }
@media (max-width: 768px) { .contact-content h2 { font-size: 2rem; } .newsletter-form { flex-direction: column; } }

/* ===== Footer ===== */
.footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 30px 0; text-align: center; }
.footer-content p { color: #6b6b80; font-size: 0.85rem; margin: 4px 0; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb { background: #2a2a3e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a4e; }

/* ===== Selection ===== */
::selection { background: rgba(245,158,11,0.3); color: #fff; }