@charset "utf-8";

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

body.services-page {
    min-height: 100vh;
    background: #0c0c0f;
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #e8e6e3;
    overflow-x: hidden;
}

.services-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(88, 101, 242, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(139, 92, 246, 0.06), transparent),
        radial-gradient(ellipse 60% 40% at 0% 50%, rgba(59, 130, 246, 0.06), transparent);
    pointer-events: none;
    z-index: 0;
}

.services-main {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.services-header {
    text-align: center;
    margin-bottom: 56px;
}

.services-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 8px;
}

.services-subtitle {
    font-size: 1.15rem;
    font-style: italic;
    color: #9ca3af;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background: rgba(26, 26, 31, 0.8);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 12px 40px -12px rgba(88, 101, 242, 0.25);
}

.service-card:active {
    transform: translateY(-2px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #9ca3af;
    flex-grow: 1;
    margin-bottom: 20px;
}

.service-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #6366f1;
    font-weight: 500;
}

.service-card:hover .service-link {
    color: #818cf8;
}
