/* ================= BASE (System Fonts Only) ================= */
:root {
  --primary: #8b5cf6;
  --primary-hover: #7c3aed;
  --bg-dark: #09090b;
  --bg-card: #121214;
  --bg-card-hover: #1c1c1f;
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --border-color: #27272a;
  --gradient-text: linear-gradient(135deg, #a78bfa, #f472b6);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: all 0.2s; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
ul { list-style: none; }
.container { width: 1200px; max-width: 92%; margin: 0 auto; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.text-gradient { 
  background: var(--gradient-text); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
}
.link-purple { color: var(--primary); font-weight: 600; font-size: 14px; }
.link-purple:hover { color: var(--primary-hover); }
.link-more { color: var(--primary); font-size: 14px; font-weight: 600; }
.btn-primary { background: var(--primary); color: #fff; padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; display: inline-block; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary.large { padding: 14px 28px; font-size: 16px; }
.btn-secondary { background: transparent; color: var(--text-main); padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 16px; border: 1px solid var(--border-color); display: inline-block; }
.btn-secondary:hover { background: var(--bg-card); border-color: var(--text-muted); }

/* ================= HEADER ================= */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(9, 9, 11, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 900; color: #fff; }
.logo-icon { font-size: 24px; }
.logo-text span { color: var(--primary); }
.main-nav { display: flex; gap: 25px; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 15px; }
.search-btn { background: none; border: none; color: var(--text-main); font-size: 18px; cursor: pointer; }

/* ================= HERO ================= */
.hero-section { position: relative; padding: 100px 0 60px; overflow: hidden; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge { display: inline-block; padding: 6px 16px; border-radius: 20px; background: rgba(139, 92, 246, 0.1); color: var(--primary); border: 1px solid rgba(139, 92, 246, 0.2); font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-bottom: 20px; }
.hero-content h1 { font-size: 56px; font-weight: 900; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }
.hero-content p { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; }
.hero-buttons { display: flex; justify-content: center; gap: 15px; margin-bottom: 60px; }
.hero-glow { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 800px; height: 500px; background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%); z-index: 1; pointer-events: none; }

.hero-stats { display: flex; justify-content: center; gap: 60px; border-top: 1px solid var(--border-color); padding-top: 30px; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-item strong { font-size: 32px; font-weight: 900; color: #fff; }
.stat-item span { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; }

/* ================= SECTION HEADER ================= */
.section-header { margin-bottom: 40px; }
.section-header.text-center { text-align: center; }
.sec-title { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; color: #fff; }
.sec-desc { font-size: 16px; color: var(--text-muted); margin-top: 10px; }

/* ================= CATEGORY GRID ================= */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 30px; transition: all 0.3s; display: flex; flex-direction: column; }
.cat-card:hover { background: var(--bg-card-hover); border-color: var(--primary); transform: translateY(-5px); }
.cat-icon { font-size: 32px; margin-bottom: 20px; }
.cat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.cat-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; flex: 1; }
.cat-link { font-size: 14px; font-weight: 600; color: var(--primary); }

/* ================= NEWS GRID ================= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); transition: border-color 0.3s; }
.news-card:hover { border-color: var(--primary); }
.nc-image img { height: 200px; width: 100%; }
.nc-content { padding: 25px; }
.nc-date { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 10px; }
.nc-content h3 { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.nc-content h3 a:hover { color: var(--primary); }
.nc-content p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ================= FEATURES (WHY TRUST US) ================= */
.bg-dark-card { background: var(--bg-card); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1000px; margin: 0 auto; }
.feature-item { text-align: center; }
.fi-icon { font-size: 36px; margin-bottom: 20px; }
.feature-item h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-item p { font-size: 15px; color: var(--text-muted); }

/* ================= FOOTER ================= */
.site-footer { background: #000; border-top: 1px solid var(--border-color); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 15px; max-width: 280px; }
.footer-small { font-size: 12px; color: #555; font-weight: 700; margin-top: 20px; text-transform: uppercase; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 15px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--bg-card); border-radius: 50%; font-size: 16px; color: #fff; }
.footer-social a:hover { background: var(--primary); }
.footer-bottom { margin-top: 40px; border-top: 1px solid var(--border-color); padding-top: 20px; text-align: center; }
.footer-bottom p { font-size: 13px; color: #666; }

/* ================= PAGINATION ================= */
.custom-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.custom-pagination a, .custom-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 15px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-main); border-radius: 8px; font-weight: 600; }
.custom-pagination a:hover, .custom-pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ================= ARTICLE PAGE ================= */
.article-container { padding: 60px 0; }
.article-wrapper { max-width: 800px; margin: 0 auto; background: var(--bg-card); padding: 50px; border-radius: 20px; border: 1px solid var(--border-color); }
.article-header { text-align: center; margin-bottom: 40px; border-bottom: 1px solid var(--border-color); padding-bottom: 30px; }
.article-category { display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.article-header h1 { font-size: 36px; font-weight: 800; line-height: 1.3; color: #fff; margin-bottom: 20px; }
.article-meta { display: flex; justify-content: center; gap: 20px; color: var(--text-muted); font-size: 14px; }
.article-content { font-size: 17px; line-height: 1.8; color: #d4d4d8; }
.article-content p { margin-bottom: 25px; }
.article-content h2 { font-size: 26px; font-weight: 700; margin: 40px 0 20px; color: #fff; }
.article-content a { color: var(--primary); text-decoration: underline; }
.article-footer { margin-top: 50px; border-top: 1px solid var(--border-color); padding-top: 30px; }
.article-nav { display: flex; justify-content: space-between; }
.article-nav div { flex: 1; }
.article-nav .nav-next { text-align: right; }
.article-nav span { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 5px; text-transform: uppercase; font-weight: 700; }
.article-nav a { color: var(--primary); font-weight: 700; font-size: 16px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hero-content h1 { font-size: 36px; }
  .hero-buttons { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .category-grid, .news-grid, .features-grid, .footer-grid { grid-template-columns: 1fr; }
  .article-wrapper { padding: 25px; }
  .article-header h1 { font-size: 28px; }
  .article-nav { flex-direction: column; gap: 20px; }
  .article-nav .nav-next { text-align: left; }
}