* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Navbar */
.navbar {
    background: #252525;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #ffe80c;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ffe80c;
}

/* Hero Section */
.hero {
    background: #ffe80c;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    color: #252525;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: #252525;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background: #252525;
    color: #ffe80c;
}

.btn-secondary {
    background: #ffe80c;
    color: #252525;
}

/* Stats Section */
.stats {
    background: #252525;
    padding: 40px 20px;
}

.stats .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h2 {
    font-size: 36px;
    color: #ffe80c;
    margin-bottom: 10px;
}

.stat-item p {
    color: #fff;
    font-size: 18px;
}

/* Categories Section */
.categories {
    padding: 60px 20px;
    background: #f7f7f7;
}

.categories h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #252525;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.category-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.category-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #252525;
}

.category-card p {
    color: #666;
}

/* Featured Tips Section */
.featured-tips {
    padding: 60px 20px;
    background: #fff;
}

.featured-tips h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #252525;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.tip-card {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.badge {
    background: #ffe80c;
    color: #252525;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.tip-card h3 {
    margin: 15px 0 10px;
    font-size: 22px;
    color: #252525;
}

.tip-card p {
    color: #666;
    margin-bottom: 15px;
}

.meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

/* Article Content Page */
.article-content {
    padding: 60px 20px;
    background: #fff;
    min-height: 60vh;
}

.article-content h1 {
    font-size: 36px;
    color: #252525;
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 28px;
    color: #252525;
    margin: 30px 0 15px;
}

.article-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.article-content ol, .article-content ul {
    margin: 20px 0;
    padding-left: 40px;
}

.article-content li {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.article-content strong {
    color: #252525;
    font-weight: bold;
}

.article-content a {
    color: #ffe80c;
    text-decoration: underline;
}

.article-content a:hover {
    color: #252525;
}

/* Newsletter Section */
.newsletter {
    background: #252525;
    padding: 60px 20px;
    text-align: center;
}

.newsletter h2 {
    color: #ffe80c;
    font-size: 32px;
    margin-bottom: 10px;
}

.newsletter p {
    color: #fff;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ffe80c;
    border-radius: 8px;
    font-size: 16px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #ffe80c;
    margin-bottom: 15px;
}

.footer-section h4 {
    color: #ffe80c;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ffe80c;
}

.social-links {
    display: flex;
    gap: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }

    .article-content h1 {
        font-size: 28px;
    }

    .article-content p, .article-content li {
        font-size: 16px;
    }
}
