/* ============================================
   Services Overview - Page Styles
   (resets, body, ai-background live in shared/base.css)
   ============================================ */

main {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

.page-hero {
    padding: 6rem 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #a855f7;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.page-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.services-overview-section {
    padding: 3rem 2rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    display: block;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease,
                background 0.4s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(168, 85, 247, 0.35);
}

.card-glow {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .card-glow { opacity: 1; }

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(168, 85, 247, 0.18));
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: #c4b5fd;
}

.service-card:hover .card-icon {
    transform: scale(1.08);
    box-shadow: 0 0 28px rgba(168, 85, 247, 0.35);
}

/* Per-service accent recolors */
.service-card--cloud .card-icon { background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(6, 182, 212, 0.18)); border-color: rgba(59, 130, 246, 0.3); }
.service-card--cloud .card-icon svg { color: #93c5fd; }
.service-card--platform .card-icon { background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(236, 72, 153, 0.18)); border-color: rgba(236, 72, 153, 0.3); }
.service-card--platform .card-icon svg { color: #f9a8d4; }
.service-card--vpn .card-icon { background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(6, 182, 212, 0.18)); border-color: rgba(16, 185, 129, 0.3); }
.service-card--vpn .card-icon svg { color: #6ee7b7; }

.service-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.service-card p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #c4b5fd;
    transition: gap 0.3s ease;
}

.card-link svg { width: 16px; height: 16px; }

.service-card:hover .card-link { gap: 0.75rem; }

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

@media (max-width: 640px) {
    .page-hero { padding: 4rem 1.25rem 2rem; }
    .services-overview-section { padding: 2rem 1.25rem 5rem; }
    .service-card { padding: 1.75rem 1.5rem; }
}
