/* Color Variables */
:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --card-hover: #334155;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --accent: #38bdf8;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* Service Cards */
.card {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-8px);
    background: var(--card-hover);
    border-color: var(--accent);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card h2 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-main);
}

.card p {
    margin: 10px 0 0;
    font-size: 0.95rem;
    color: var(--text-dim);
}

/* Footer */
.footer {
    margin-top: 4rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    opacity: 0.6;
}

/* Small Screens */
@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    .grid { grid-template-columns: 1fr; }
}