* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    background-color: #fafbfc;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background: white;
    color: #1a1a2e;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;
    text-decoration: none;
    color: #0f3460;
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #e94560;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #e94560 100%);
    color: white;
    text-align: center;
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #0f3460;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.4);
}

.categories-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: #0f3460;
    font-weight: 700;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: #1a1a2e;
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #e94560, #ff6b35);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.category-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-info {
    padding: 2rem;
    text-align: center;
}

.category-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #0f3460;
    font-weight: 700;
}

.category-info p {
    color: #718096;
    font-size: 0.95rem;
}

.featured-articles {
    padding: 5rem 0;
    background: #f0f2f5;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    text-decoration: none;
    color: #1a1a2e;
    transition: all 0.4s ease;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-info {
    padding: 1.8rem;
}

.article-info .category-tag {
    display: inline-block;
    background: linear-gradient(135deg, #e94560, #ff6b35);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
    font-weight: 600;
    color: #0f3460;
}

.article-info .date {
    color: #a0aec0;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.article-info p {
    color: #718096;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: #e94560;
    font-weight: 600;
    margin-top: 1.2rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

footer {
    background: #0f3460;
    color: white;
    padding: 4rem 0;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.category-header {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.category-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.category-header p {
    font-size: 1.2rem;
    opacity: 0.85;
}

.article-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.article-header {
    margin-bottom: 2.5rem;
}

.article-header .category-tag {
    display: inline-block;
    background: linear-gradient(135deg, #e94560, #ff6b35);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-header h1 {
    font-size: 2.6rem;
    margin-bottom: 1.2rem;
    line-height: 1.35;
    color: #0f3460;
    font-weight: 700;
}

.article-meta {
    color: #718096;
    font-size: 1rem;
}

.article-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.article-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #4a5568;
}

.article-content h2 {
    font-size: 1.9rem;
    margin: 2.5rem 0 1.2rem;
    color: #0f3460;
    font-weight: 700;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #16213e;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.8rem;
}

.article-content ul, .article-content ol {
    margin-left: 1.8rem;
    margin-bottom: 1.8rem;
}

.article-content li {
    margin-bottom: 0.8rem;
}

.product-link {
    display: inline-block;
    background: linear-gradient(135deg, #e94560 0%, #ff6b35 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 1.2rem 0;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.product-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

.product-card {
    background: linear-gradient(135deg, #fff5f5 0%, #fff0eb 100%);
    border: 2px solid #ffe4dc;
    border-radius: 20px;
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: center;
}

.product-card img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.product-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    color: #0f3460;
    font-weight: 700;
}

.product-card p {
    color: #718096;
    margin-bottom: 1.2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 4rem;
}

.pagination a {
    display: inline-block;
    padding: 12px 20px;
    background: white;
    color: #4a5568;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pagination a:hover, .pagination a.active {
    background: linear-gradient(135deg, #e94560, #ff6b35);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-image {
        height: 280px;
    }
    
    .article-content {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .category-card img, .article-card img {
        height: 180px;
    }
}