/* =====================================================================
   Webcrawlio Data Solutions — Services Catalog Page Professional Stylesheet
   Crafted for Human Senior Developer UI/UX Aesthetics
   ===================================================================== */

/* ---------- System Variables ---------- */
:root {
    --sp-primary: #2563eb;
    --sp-primary-hover: #1d4ed8;
    --sp-primary-light: #eff6ff;
    --sp-primary-border: #bfdbfe;
    --sp-slate-900: #0f172a;
    --sp-slate-800: #1e293b;
    --sp-slate-700: #334155;
    --sp-slate-600: #475569;
    --sp-slate-500: #64748b;
    --sp-slate-400: #94a3b8;
    --sp-slate-300: #cbd5e1;
    --sp-slate-200: #e2e8f0;
    --sp-slate-100: #f1f5f9;
    --sp-slate-50:  #f8fafc;
    --sp-radius-sm: 8px;
    --sp-radius-md: 12px;
    --sp-radius-lg: 18px;
    --sp-radius-xl: 24px;
    --sp-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --sp-shadow-card: 0 8px 24px rgba(15, 23, 42, 0.05);
    --sp-shadow-hover: 0 16px 32px rgba(37, 99, 235, 0.12);
}

body.detail-page {
    font-family: var(--sp-font);
    background-color: #f8fafc;
    color: var(--sp-slate-800);
    line-height: 1.6;
}

/* ========== HERO SECTION ========== */
.services-hero {
    position: relative;
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
    color: #ffffff;
    padding: 5rem 0 5.5rem;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.services-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(147, 197, 253, 0.3);
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-badge-pill i {
    color: #60a5fa;
    font-size: 0.88rem;
}

.hero-headline {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 1.25rem 0 1rem;
    color: #ffffff;
}

.hero-headline .word-grad {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1.75rem;
    border-radius: var(--sp-radius-md);
    background: #2563eb;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
    transition: all 0.25s ease;
}

.btn-glow:hover {
    background: var(--sp-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.45);
    color: #ffffff;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1.65rem;
    border-radius: var(--sp-radius-md);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    color: #ffffff;
}


/* ========== INLINE STATS BAR ========== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1040px;
    margin: 3.5rem auto 0;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.hero-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--sp-radius-lg);
    padding: 1.25rem 1rem;
    text-align: center;
    backdrop-filter: blur(12px);
}

.hero-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.hero-stat-lbl {
    color: #94a3b8;
    font-size: 0.78rem;
    margin-top: 0.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* ========== SERVICES LISTING SECTION ========== */
.services-listing-section {
    position: relative;
    padding: 4.5rem 0 5rem;
    background: #f8fafc;
}

.section-header-box {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-eyebrow {
    display: inline-block;
    color: var(--sp-primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: var(--sp-slate-900);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title .accent {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-sub {
    color: var(--sp-slate-600);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-top: 0.75rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.service-list-card {
    position: relative;
    background: #ffffff;
    border-radius: var(--sp-radius-xl);
    border: 1px solid var(--sp-slate-200);
    box-shadow: var(--sp-shadow-card);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-list-card:hover {
    transform: translateY(-4px);
    border-color: var(--sp-primary-border);
    box-shadow: var(--sp-shadow-hover);
}

.service-media {
    position: relative;
    height: 190px;
    overflow: hidden;
    border-bottom: 1px solid var(--sp-slate-200);
    background: var(--sp-slate-100);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-list-card:hover .service-media img {
    transform: scale(1.05);
}

.service-list-placeholder {
    height: 190px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--sp-primary);
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
    border-bottom: 1px solid var(--sp-slate-200);
}

.service-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    color: #e2e8f0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.service-tag i {
    color: #93c5fd;
}

.service-list-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-list-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--sp-slate-900);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-list-text {
    color: var(--sp-slate-600);
    line-height: 1.65;
    font-size: 0.94rem;
    flex-grow: 1;
    margin-bottom: 1.35rem;
}

.service-list-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--sp-radius-md);
    background: var(--sp-primary-light);
    border: 1px solid var(--sp-primary-border);
    color: var(--sp-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.25s ease;
}

.service-list-btn:hover {
    background: var(--sp-primary);
    color: #ffffff;
    border-color: var(--sp-primary);
    transform: translateX(3px);
}

.service-list-btn i {
    transition: transform 0.25s ease;
}

.service-list-btn:hover i {
    transform: translateX(3px);
}


/* ========== TRUST STRIP / SLA GRID ========== */
.trust-strip {
    margin-top: 4.5rem;
    padding: 2.5rem 2rem;
    border-radius: var(--sp-radius-xl);
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #e2e8f0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

@media (max-width: 1024px) {
    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .trust-strip {
        grid-template-columns: 1fr;
    }
}

.trust-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.trust-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: var(--sp-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(147, 197, 253, 0.3);
    color: #93c5fd;
    font-size: 1.1rem;
}

.trust-title {
    font-weight: 800;
    color: #ffffff;
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}

.trust-text {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.55;
}


/* ========== BOTTOM CTA BANNER ========== */
.services-cta-banner {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border-radius: var(--sp-radius-xl);
    padding: 3.5rem 2.5rem;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    margin-top: 3.5rem;
}

.services-cta-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

.services-cta-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    margin-bottom: 0.85rem;
    line-height: 1.25;
}

.services-cta-desc {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.85rem;
}

.services-cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}
