/* 🌟 Newso Global CMS Default Theme Stylesheet */
:root {
  --primary-color: #165DFF;
  --accent-color: #00B42A;
  --text-main: #1D2129;
  --text-muted: #86909C;
  --bg-light: #F7F8FA;
  --border-color: #E5E6EB;
  --border-radius: 8px;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-family); color: var(--text-main); line-height: 1.6; background: #fff; }
.container { width: 100%; margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-color); }
img { max-width: 100%; height: auto; }

/* Header */
.site-header { width: 100%; border-bottom: 1px solid var(--border-color); background: #fff; z-index: 100; }
.site-header.sticky { position: sticky; top: 0; }
.site-header.glass { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.brand-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.logo-badge { width: 36px; height: 36px; border-radius: 8px; background: var(--primary-color); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; }

.main-navigation .nav-list { display: flex; gap: 28px; list-style: none; }
.nav-item { position: relative; }
.nav-link { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 4px; padding: 10px 0; }
.nav-badge { font-size: 10px; padding: 1px 6px; border-radius: 10px; font-weight: 700; color: #fff; }
.badge-red { background: #f53f3f; }
.badge-gold { background: #ff7d00; }
.badge-green { background: #00b42a; }

/* Dropdown */
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 180px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 8px; list-style: none; padding: 8px 0; display: none; }
.nav-item:hover .dropdown-menu { display: block; }
.dropdown-link { display: block; padding: 8px 16px; font-size: 14px; }
.dropdown-link:hover { background: var(--bg-light); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; font-weight: 600; font-size: 14px; border-radius: var(--border-radius); cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { opacity: 0.9; color: #fff; }
.btn-outline { border-color: var(--border-color); background: #fff; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* Hero */
.hero-section { padding: 100px 0; background: linear-gradient(135deg, rgba(22, 93, 255, 0.05) 0%, rgba(0, 180, 42, 0.05) 100%); text-align: center; }
.hero-badge { display: inline-block; padding: 6px 16px; border-radius: 20px; background: rgba(22, 93, 255, 0.1); color: var(--primary-color); font-weight: 700; font-size: 13px; margin-bottom: 20px; }
.hero-title { font-size: 48px; font-weight: 900; margin-bottom: 20px; }
.hero-subtitle { font-size: 18px; color: var(--text-muted); max-width: 700px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; }

/* Product Grid */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.section-desc { color: var(--text-muted); font-size: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.product-card { border: 1px solid var(--border-color); overflow: hidden; background: #fff; transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.product-cover { height: 220px; overflow: hidden; position: relative; background: #eee; }
.product-cover img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 20px; }
.product-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }

/* News Grid */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.news-card { border: 1px solid var(--border-color); overflow: hidden; background: #fff; }
.news-cover { height: 180px; overflow: hidden; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px; }
.news-date { font-size: 12px; color: var(--text-muted); }
.news-title { font-size: 16px; font-weight: 700; margin: 8px 0; }
.news-summary { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }

/* Footer */
.site-footer { background: #11141A; color: #A9AEB8; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-logo { color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.col-title { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #A9AEB8; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; }

/* WhatsApp Floating Bubble */
.whatsapp-floating-widget { position: fixed; bottom: 28px; right: 28px; z-index: 999; }
.whatsapp-bubble { display: flex; align-items: center; gap: 8px; background: #25D366; color: #fff; padding: 12px 20px; border-radius: 30px; font-weight: 700; box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
.whatsapp-bubble:hover { transform: scale(1.05); color: #fff; }
