:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --border: #e5e7eb;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* ===== HEADER ===== */

.header {
    background: white;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 22px;
}

.logo p {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.nav a {
    margin-left: 12px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 8px;
    transition: 0.2s;
}

.nav a:hover {
    background: var(--bg);
}

/* ===== MAIN ===== */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

/* ===== HERO ===== */

.hero {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #60a5fa 100%);
    color: white;
    border-radius: 28px;
    padding: 46px 36px;
    box-shadow: var(--shadow);
    margin-bottom: 26px;
}

.hero h1 {
    margin: 0 0 14px;
    font-size: 48px;
    line-height: 1.05;
    max-width: 760px;
}

.hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 20px;
    line-height: 1.5;
}

/* ===== BUTTONS ===== */

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.2s;
}

.btn:hover {
    background: #eef2ff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== CARDS ===== */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--card);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.card h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.card p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
}

.muted {
    color: var(--muted);
}

/* ===== FOOTER ===== */

.footer {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: var(--muted);
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hero {
        padding: 30px 22px;
        border-radius: 22px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 17px;
    }

    .header-inner {
        align-items: flex-start;
    }
}
