﻿:root {
    --primary: #3b82f6;
    --secondary: #8b5cf6;
    --success: #10b981;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #334155;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
}

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

/* Header */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--light);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon { font-size: 2rem; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--dark);
    border-bottom: 1px solid var(--border);
}

.mobile-menu a {
    padding: 16px 20px;
    color: var(--light);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.mobile-menu.active { display: flex; }

/* Hero */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark), var(--darker));
    border-bottom: 1px solid var(--border);
}

.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--light), var(--gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p { color: var(--gray); font-size: 1.2rem; margin-bottom: 40px; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat { text-align: center; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.stat-label { color: var(--gray); font-size: 0.9rem; }

/* Sections */
.featured-section, .news-section, .newsletter-section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-header h2 { font-size: 1.8rem; font-weight: 700; }

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.featured-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-content { padding: 24px; }

.card-date { color: var(--gray); font-size: 0.85rem; }

.card-content h3 {
    font-size: 1.2rem;
    margin: 12px 0;
    line-height: 1.4;
}

.card-content p { color: var(--gray); font-size: 0.95rem; margin-bottom: 16px; }

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover { color: var(--secondary); }

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    display: flex;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.news-card:hover { transform: translateX(8px); }

.news-image {
    width: 120px;
    min-height: 120px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content { padding: 16px; flex: 1; }

.news-category {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-content h4 { font-size: 1rem; margin-bottom: 8px; }

.news-content p { color: var(--gray); font-size: 0.85rem; margin-bottom: 8px; }

.news-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Newsletter */
.newsletter-section { background: var(--dark); }

.newsletter-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid var(--border);
    border-radius: 20px;
}

.newsletter-box h3 { font-size: 1.5rem; margin-bottom: 12px; }
.newsletter-box p { color: var(--gray); margin-bottom: 24px; }

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--light);
    font-size: 1rem;
}

.newsletter-form button {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.newsletter-form button:hover { transform: scale(1.05); }

/* Footer */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p { color: var(--gray); margin-top: 16px; }

.footer-links h4 { margin-bottom: 20px; color: var(--light); }

.footer-links a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--gray);
}

/* Responsive */
@media (max-width: 968px) {
    .featured-grid, .news-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 30px; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
