/* ==========================================================================
   AIXORA TECH - Service Landing Page Styles
   Loaded alongside css/style.css. Self-contained (uses style.css variables).
   ========================================================================== */

/* Hero intro / lead text */
.service-hero .service-lead {
    max-width: 760px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 18px 0 28px;
}
.service-hero .hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 145, 178, .1);
    color: var(--primary-light);
    border: 1px solid var(--border-glow);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Generic section */
.service-section { padding: 72px 0; }
.service-section.alt { background: var(--bg-secondary); }
.service-section .section-head {
    max-width: 720px;
    margin: 0 auto 44px;
    text-align: center;
}
.service-section .section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.service-section .section-head p { color: var(--text-secondary); line-height: 1.7; }

/* Feature grid */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.svc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}
.svc-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}
.svc-card .svc-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    background: rgba(8, 145, 178, .1);
    color: var(--primary-light);
    border: 1px solid rgba(8, 145, 178, .15);
    margin-bottom: 16px;
}
.svc-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.svc-card p { color: var(--text-secondary); font-size: .92rem; line-height: 1.7; }

/* Benefits / checklist */
.benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.benefit-item {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}
.benefit-item i { color: var(--accent-green); font-size: 1.1rem; margin-top: 3px; }
.benefit-item h4 { font-size: 1rem; margin-bottom: 4px; }
.benefit-item p { color: var(--text-secondary); font-size: .88rem; line-height: 1.6; }

/* Process steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    counter-reset: step;
}
.process-step {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}
.process-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff; font-weight: 700; font-size: 1.05rem;
    margin-bottom: 16px;
}
.process-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: var(--text-secondary); font-size: .9rem; line-height: 1.65; }

/* Use cases */
.usecase-list {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.usecase-list span {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: .9rem;
    color: var(--text-primary);
}
.usecase-list span i { color: var(--primary-light); margin-right: 7px; }

/* Mini FAQ (native details) */
.svc-faq { max-width: 820px; margin: 0 auto; }
.svc-faq details {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
}
.svc-faq details[open] { border-color: var(--border-glow); }
.svc-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px;
}
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    font-size: .8rem; color: var(--primary-light);
    transition: var(--transition);
}
.svc-faq details[open] summary::after { transform: rotate(180deg); }
.svc-faq .svc-faq-body { padding: 0 22px 20px; color: var(--text-secondary); line-height: 1.75; }

/* CTA band */
.service-cta { padding: 80px 0; }
.service-cta .cta-inner {
    text-align: center;
    background: linear-gradient(135deg, rgba(8,145,178,.15), rgba(139,92,246,.1));
    border: 1px solid rgba(8,145,178,.2);
    border-radius: var(--radius-xl);
    padding: 56px 28px;
}
.service-cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.service-cta p { color: var(--text-secondary); max-width: 560px; margin: 0 auto 26px; line-height: 1.7; }
.service-cta .hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Related services */
.related-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.related-links a {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: .88rem;
    color: var(--text-secondary);
    transition: var(--transition);
}
.related-links a:hover { color: var(--primary-light); border-color: var(--border-glow); }

@media (max-width: 600px) {
    .service-section { padding: 52px 0; }
    .service-cta .cta-inner { padding: 40px 20px; }
}
