/* =====================================================================
   Webcrawlio Data Solutions — Hire Web Scraping Developers Stylesheet
   ===================================================================== */

/* ---------- Hero Section ---------- */
.dev-hero-wrapper {
    position: relative;
    background: linear-gradient(145deg, #0f172a 0%, #1e1b4b 60%, #0f172a 100%);
    color: #ffffff;
    padding: 4.5rem 0 5.5rem;
    overflow: hidden;
}

.dev-hero-wrapper::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: 36px 36px;
    pointer-events: none;
}

.dev-hero-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.dev-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dev-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(147, 197, 253, 0.35);
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.dev-hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 1.1rem 0 0.85rem;
    color: #ffffff;
}

.dev-hero-title .word-grad {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dev-hero-desc {
    color: #cbd5e1;
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 800px;
}

.dev-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.dev-hero-grid.no-img {
    grid-template-columns: 1fr;
}

.dev-hero-img-box {
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.18);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}

.dev-hero-img-box img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

/* ---------- Button Groups ---------- */
.dev-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.dev-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.88rem 1.7rem;
    border-radius: 12px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37,99,235,0.35);
    transition: all 0.2s ease;
}
.dev-btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37,99,235,0.45);
    color: #ffffff;
}

.dev-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.88rem 1.6rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s ease;
}
.dev-btn-secondary:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ---------- Stats Strip ---------- */
.dev-stats-wrapper {
    max-width: 1180px;
    margin: -2.2rem auto 2.5rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.dev-stats-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

.dev-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.dev-stat-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.25rem 0.5rem;
}

.dev-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.dev-stat-value {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.dev-stat-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

/* ---------- Main Layout Container & Grids ---------- */
.dev-content-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.dev-main-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.dev-section-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2rem 2.2rem;
    box-shadow: 0 10px 30px rgba(15,23,42,0.05);
    margin-bottom: 2rem;
}

.dev-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.35rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
}

.dev-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.dev-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.dev-card-sub {
    font-size: 0.86rem;
    color: #64748b;
    margin-top: 0.15rem;
}

/* ---------- SLA Table Rows ---------- */
.dev-sla-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.dev-sla-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #f1f5f9;
    gap: 0.5rem;
}

.dev-sla-label {
    color: #64748b;
    font-weight: 600;
}

.dev-sla-val {
    color: #0f172a;
    font-weight: 700;
    text-align: right;
}

/* ---------- Core Skills & Pills ---------- */
.dev-skills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.dev-skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

/* ---------- Engagement Models Grid ---------- */
.dev-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.dev-model-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.35rem;
}

.dev-model-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.45rem;
}

.dev-model-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ---------- FAQ Accordion ---------- */
.dev-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.dev-faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
}

.dev-faq-answer {
    display: none;
    padding: 0 1.25rem 1.15rem;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.65;
    border-top: 1px dashed #e2e8f0;
    margin-top: 0.2rem;
    padding-top: 0.85rem;
}

.dev-faq-item.open .dev-faq-answer {
    display: block;
}

.dev-faq-item.open .dev-faq-btn i {
    transform: rotate(180deg);
}

/* ---------- Bottom CTA ---------- */
.dev-bottom-cta {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border-radius: 24px;
    padding: 3.8rem 2.5rem;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 40px rgba(15,23,42,0.25);
}

.dev-bottom-cta h2 {
    font-size: clamp(1.5rem, 3.2vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 0.85rem;
    line-height: 1.2;
}

.dev-bottom-cta p {
    color: #cbd5e1;
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 1.85rem;
    line-height: 1.7;
}

/* ---------- Catalog Listing Grid ---------- */
.dev-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.dev-role-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.85rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.dev-role-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.12);
}

.dev-role-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
}

/* =====================================================================
   RESPONSIVE & MOBILE BREAKPOINTS
   ===================================================================== */

@media (max-width: 992px) {
    .dev-hero-wrapper {
        padding: 3.5rem 0 4.5rem;
    }
    
    .dev-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    
    .dev-main-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .dev-hero-wrapper {
        padding: 2.75rem 0 3.75rem;
    }

    .dev-top-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .dev-hero-title {
        font-size: 1.85rem;
        line-height: 1.2;
        margin: 0.85rem 0 0.75rem;
    }

    .dev-hero-desc {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .dev-stats-wrapper {
        margin: 1rem auto 1.5rem;
        padding: 0 1rem;
    }

    .dev-stats-box {
        padding: 1.1rem;
        border-radius: 18px;
    }

    .dev-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }

    .dev-stat-item {
        padding: 0;
        gap: 0.65rem;
    }

    .dev-stat-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .dev-stat-value {
        font-size: 1.25rem;
    }

    .dev-stat-label {
        font-size: 0.7rem;
    }

    .dev-content-container {
        padding: 1.5rem 1rem 3rem;
    }

    .dev-section-card {
        padding: 1.35rem 1.15rem;
        border-radius: 18px;
        margin-bottom: 1.25rem;
    }

    .dev-card-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        gap: 0.7rem;
    }

    .dev-card-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .dev-card-title {
        font-size: 1.15rem;
    }

    .dev-card-sub {
        font-size: 0.8rem;
    }

    .dev-sla-row {
        flex-wrap: wrap;
        padding-bottom: 0.5rem;
    }

    .dev-sla-label, .dev-sla-val {
        font-size: 0.85rem;
    }

    .dev-bottom-cta {
        padding: 2.25rem 1.25rem;
        border-radius: 18px;
    }

    .dev-bottom-cta h2 {
        font-size: 1.5rem;
    }

    .dev-bottom-cta p {
        font-size: 0.94rem;
        margin-bottom: 1.35rem;
    }

    .dev-card-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 576px) {
    .dev-btn-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .dev-btn-primary,
    .dev-btn-secondary {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 0.85rem 1rem;
    }

    .dev-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .dev-models-grid {
        grid-template-columns: 1fr;
    }

    .dev-skill-pill {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }
}
