:root {
    --background: #0b1020;
    --surface: #141c30;
    --surface-hover: #1c2942;
    --border: #26344e;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --accent: #38bdf8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
}

header {
    height: 85px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: #0e1628;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 3px;
}

.logo span {
    color: var(--accent);
}

.subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--muted);
}

main {
    max-width: 1250px;
    margin: 0 auto;
    padding: 65px 30px;
}

.welcome {
    margin-bottom: 55px;
}

.welcome h1 {
    font-size: 36px;
    margin: 0 0 12px;
}

.welcome p {
    color: var(--muted);
    font-size: 15px;
}

.category {
    margin-bottom: 45px;
}

.category h2 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 18px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.service-card {
    display: block;
    padding: 25px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: 0.2s ease;
}

.service-card:hover {
    background: var(--surface-hover);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    header {
        padding: 0 20px;
    }

    .subtitle {
        font-size: 9px;
    }

    main {
        padding: 40px 20px;
    }

    .welcome h1 {
        font-size: 28px;
    }
}
