/* Reset Dasar */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, sans-serif; line-height: 1.6; color: #333; background: #f9f9f9; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: #007bff; transition: 0.3s; }
a:hover { color: #0056b3; }

/* Header & Navigasi */
.main-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 15px 0; position: sticky; top: 0; z-index: 100; }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.logo { font-size: 1.5rem; font-weight: 800; color: #222; letter-spacing: -1px; }
.logo span { color: #007bff; }

.main-nav ul { display: flex; list-style: none; gap: 20px; }
.main-nav a { color: #555; font-weight: 500; }

.search-form { display: flex; background: #eee; border-radius: 20px; padding: 5px 15px; }
.search-form input { border: none; background: transparent; padding: 5px; outline: none; width: 150px; }
.search-form button { border: none; background: transparent; cursor: pointer; }

/* Konten Utama */
.content-area { padding: 40px 20px; min-height: 80vh; background: #fff; margin-top: 20px; margin-bottom: 20px; border-radius: 8px; }

/* Legal */
.legal-content { line-height: 1.8; color: #444; }
.legal-content h1 { margin-bottom: 10px; color: #222; }
.legal-content h3 { margin-top: 30px; margin-bottom: 10px; color: #333; }
.legal-content hr { border: 0; border-top: 1px solid #eee; margin: 20px 0; }

/* Footer */
.main-footer { background: #222; color: #ccc; padding: 50px 0 20px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-info h3 { color: #fff; margin-bottom: 15px; }
.footer-links h4 { color: #fff; margin-bottom: 15px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #aaa; }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 0.9rem; }

/* Responsif HP */
@media (max-width: 768px) {
    .nav-wrapper { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .search-form { width: 100%; }
    .search-form input { width: 100%; }
}

/* Hero Styles */
.hero { 
    background: #ffffff; 
    padding: 60px 0; 
    text-align: center; 
    border-bottom: 1px solid #eee;
}
.hero h1 { font-size: 2.8rem; font-weight: 800; color: #111; margin-bottom: 20px; letter-spacing: -1px; }
.hero p { font-size: 1.2rem; color: #666; max-width: 700px; margin: 0 auto 30px; }

.hero-search { 
    max-width: 650px; margin: 0 auto; display: flex; 
    border: 2px solid #007bff; border-radius: 50px; overflow: hidden; padding: 5px;
}
.hero-search input { flex: 1; border: none; padding: 12px 25px; outline: none; font-size: 1.1rem; }
.hero-search button { background: #007bff; color: #fff; border: none; padding: 0 30px; border-radius: 40px; font-weight: 600; cursor: pointer; }

.hero-tags { margin-top: 20px; font-size: 0.9rem; color: #888; }
.hero-tags a { margin-left: 10px; color: #007bff; text-decoration: underline; }

/* Grid Styles */
.section-home { padding: 60px 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.bg-light { background: #fcfcfc; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.tool-card { border: 1px solid #eee; padding: 25px; border-radius: 12px; transition: 0.3s; }
.tool-card:hover { border-color: #007bff; box-shadow: 0 10px 30px rgba(0,111,255,0.1); }
.btn-outline { display: inline-block; margin-top: 15px; padding: 8px 20px; border: 1px solid #007bff; border-radius: 5px; font-weight: 600; }

.blog-home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card-mini h3 { margin: 10px 0; font-size: 1.3rem; }
.blog-card-mini a { color: #222; }

/* Page Header */
.page-header { text-align: center; margin-bottom: 40px; }
.page-header h1 { font-size: 2.5rem; color: #111; }

/* Category Pills */
.category-pills { 
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 50px; 
}
.pill { 
    background: #fff; border: 1px solid #ddd; padding: 10px 20px; border-radius: 30px; 
    color: #555; font-weight: 500; font-size: 0.9rem; transition: 0.3s;
}
.pill:hover { border-color: #007bff; color: #007bff; background: #f0f7ff; }

/* Category Sections */
.category-section { margin-bottom: 60px; scroll-margin-top: 100px; }
.cat-title { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.cat-title span { font-size: 1.8rem; }
.cat-title h2 { font-size: 1.5rem; color: #222; }

/* Tool Grid Mini */
.tool-grid-mini { 
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; 
}
.tool-item { 
    background: #fff; border: 1px solid #f0f0f0; padding: 20px; border-radius: 8px; transition: 0.2s;
}
.tool-item:hover { border-color: #007bff; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.tool-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tool-item h3 a { color: #007bff; }
.tool-item p { font-size: 0.85rem; color: #777; line-height: 1.4; }

.empty-msg { color: #bbb; font-style: italic; font-size: 0.9rem; }