/* Modern Clean Styling for vinalink.vnptad.com */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

:root {
  --primary: #0b2545;
  --primary-light: #134074;
  --secondary: #0077b6;
  --accent: #d97706;
  --accent-light: #fef3c7;
  --success: #059669;
  --success-light: #d1fae5;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --bg-main: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

#progress-bar {
  position: fixed; top: 0; left: 0; height: 4px;
  background: linear-gradient(90deg, #0077b6, #d97706);
  width: 0%; z-index: 9999; transition: width 0.1s ease;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.top-bar {
  background-color: #06182c; color: #94a3b8; font-size: 0.85rem; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar .container {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}

.site-header {
  background-color: var(--primary); color: #ffffff; position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.brand-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo-badge {
  background: #0077b6; color: #fff; font-size: 0.75rem; font-weight: 800; padding: 4px 8px; border-radius: 4px; letter-spacing: 0.5px;
}
.logo-text span { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.3px; color: #fff; }
.logo-text small { display: block; font-size: 0.7rem; color: #94a3b8; letter-spacing: 0.5px; }

.main-nav ul { display: flex; list-style: none; gap: 8px; align-items: center; }
.main-nav a {
  color: #cbd5e1; text-decoration: none; font-size: 0.9rem; font-weight: 600; padding: 8px 14px; border-radius: 6px; transition: all 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: #ffffff; background-color: rgba(255,255,255,0.1); }
.nav-cta { background-color: var(--accent) !important; color: #fff !important; }
.nav-cta:hover { background-color: #b45309 !important; }

.hero-banner {
  background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
  color: #fff; padding: 60px 0 70px; text-align: center;
}
.hero-badge {
  display: inline-block; background: rgba(0, 180, 216, 0.2); color: #7dd3fc; border: 1px solid rgba(0, 180, 216, 0.4);
  font-size: 0.8rem; font-weight: 700; padding: 6px 14px; border-radius: 50px; margin-bottom: 20px; text-transform: uppercase;
}
.hero-title { font-size: 2.2rem; font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.hero-desc { font-size: 1.1rem; color: #cbd5e1; max-width: 820px; margin: 0 auto 30px; line-height: 1.6; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin: 40px 0; }
.post-card {
  background: #fff; border-radius: 12px; border: 1px solid var(--border); padding: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.card-category { font-size: 0.75rem; font-weight: 700; color: var(--secondary); text-transform: uppercase; margin-bottom: 10px; }
.card-title { font-size: 1.25rem; font-weight: 700; line-height: 1.4; margin-bottom: 12px; color: var(--primary); }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--secondary); }
.card-excerpt { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: #94a3b8; border-top: 1px solid #f1f5f9; padding-top: 14px; }
.read-more { color: var(--secondary); font-weight: 700; text-decoration: none; font-size: 0.9rem; }

.article-container { max-width: 880px; margin: 40px auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.breadcrumbs { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumbs a { color: var(--secondary); text-decoration: none; }
.article-header { border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 30px; }
.article-header h1 { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1.35; margin-bottom: 16px; }
.article-meta { display: flex; gap: 20px; font-size: 0.85rem; color: var(--text-muted); flex-wrap: wrap; }

.fact-box {
  background: #f0fdf4; border-left: 5px solid #22c55e; padding: 20px; border-radius: 0 8px 8px 0; margin: 24px 0;
}
.warning-box {
  background: #fef2f2; border-left: 5px solid #ef4444; padding: 20px; border-radius: 0 8px 8px 0; margin: 24px 0;
}
.alert-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.fact-box .alert-title { color: #15803d; }
.warning-box .alert-title { color: #b91c1c; }

.article-content { font-family: 'Merriweather', Georgia, serif; font-size: 1.05rem; line-height: 1.8; color: #334155; }
.article-content h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--primary); margin: 36px 0 16px; }
.article-content h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--primary-light); margin: 28px 0 12px; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 24px 24px; }
.article-content li { margin-bottom: 8px; }

.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; }
.data-table th, .data-table td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; }
.data-table th { background-color: #f8fafc; font-weight: 700; color: var(--primary); }

.faq-section { margin-top: 50px; font-family: 'Plus Jakarta Sans', sans-serif; }
.faq-section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; }
.faq-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-question { padding: 18px 20px; font-weight: 700; color: var(--primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.faq-answer { display: none; padding: 0 20px 20px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question { color: var(--secondary); border-bottom: 1px solid #f1f5f9; }

.author-box {
  background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-top: 40px;
  display: flex; gap: 20px; align-items: center; font-family: 'Plus Jakarta Sans', sans-serif;
}
.author-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--secondary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; flex-shrink: 0; }
.author-info h4 { font-size: 1.1rem; color: var(--primary); margin-bottom: 4px; }
.author-info p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.site-footer { background-color: #06182c; color: #94a3b8; padding: 50px 0 30px; font-size: 0.9rem; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h5 { color: #ffffff; font-size: 1.05rem; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 0.82rem; }

.menu-toggle { display: none; background: transparent; border: none; font-size: 1.5rem; color: #fff; cursor: pointer; }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; width: 100%; position: absolute; top: 100%; left: 0; background: var(--primary); padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .article-container { padding: 24px 16px; }
  .hero-title { font-size: 1.7rem; }
}
