* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f8fafc;
    color: #0f172a;
}

a {
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}

.header {
    background: rgba(15, 23, 42, 0.96);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: 900;
}

.logo span {
    color: #38bdf8;
}

.menu {
    display: flex;
    gap: 24px;
}

.menu a {
    color: #cbd5e1;
    font-weight: 600;
}

.menu a:hover {
    color: white;
}

.btn {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #1d4ed8;
}

.btn.small {
    padding: 10px 16px;
}

.btn.outline {
    background: transparent;
    border: 1px solid white;
}

.hero {
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, .25), transparent 30%),
        linear-gradient(135deg, #020617, #0f766e);
    color: white;
    padding: 90px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
}

.badge.dark {
    background: #0f172a;
    color: white;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.05;
    margin: 20px 0;
}

.hero p {
    font-size: 19px;
    color: #dbeafe;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-card {
    background: white;
    color: #0f172a;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.finance-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.finance-item strong {
    color: #2563eb;
}

.stats {
    background: white;
    padding: 28px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    text-align: center;
}

.stats strong {
    display: block;
    font-size: 34px;
    color: #2563eb;
}

.stats span {
    color: #64748b;
    font-weight: 700;
}

.section-head {
    margin: 70px 0 26px;
}

.section-head span {
    color: #2563eb;
    font-weight: 900;
}

.section-head h2 {
    font-size: 36px;
    margin: 8px 0 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: white;
    padding: 28px;
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .08);
}

.icon {
    font-size: 36px;
}

.category-card h3 {
    margin-bottom: 8px;
}

.category-card p {
    color: #64748b;
}

.featured-card {
    margin-top: 70px;
    padding: 50px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .92), rgba(15, 118, 110, .92)),
        #2563eb;
    color: white;
}

.featured-card h2 {
    font-size: 40px;
    max-width: 720px;
}

.featured-card p {
    max-width: 680px;
    color: #e0f2fe;
    font-size: 18px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.post-card {
    background: white;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .08);
    transition: .2s;
}

.post-card:hover {
    transform: translateY(-6px);
}

.post-card span {
    color: #2563eb;
    font-size: 14px;
    font-weight: 900;
}

.post-card h3 {
    font-size: 22px;
}

.post-card p {
    color: #64748b;
}

.post-card button {
    margin-top: 12px;
    background: #0f172a;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
}

.post-card button:hover {
    background: #2563eb;
}

.about {
    margin-top: 80px;
    background: white;
    padding: 46px;
    border-radius: 28px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .08);
}

.about h2 {
    font-size: 36px;
}

.about p {
    color: #64748b;
    font-size: 18px;
    max-width: 780px;
}

.newsletter {
    margin-top: 80px;
    background: #0f172a;
    color: white;
    padding: 60px 0;
}

.newsletter-box {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.newsletter h2 {
    font-size: 34px;
    margin: 0 0 10px;
}

.newsletter p {
    color: #cbd5e1;
}

.newsletter form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter input {
    min-width: 260px;
    padding: 15px;
    border: none;
    border-radius: 14px;
}

.newsletter button {
    background: #2563eb;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
}

.footer {
    background: #020617;
    color: white;
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.footer p {
    color: #94a3b8;
}

.footer a {
    display: block;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.footer a:hover {
    color: white;
}

.copy {
    text-align: center;
    border-top: 1px solid #1e293b;
    margin-top: 40px;
    padding: 20px;
    color: #94a3b8;
}

@media (max-width: 800px) {
    .menu {
        display: none;
    }

    .hero-grid,
    .newsletter-box,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        display: block;
    }

    .hero-card {
        margin-top: 35px;
    }

    .category-grid,
    .posts-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        padding: 30px;
    }

    .featured-card h2 {
        font-size: 30px;
    }
}