/* ★ V57.4 — Service Content Imperial Design
 * Targets V15-generated content classes (Laravel TemplateRenderer output):
 *   .voice-snippet, .trust-signals, .stats-grid, .stat-card, .trust-badges,
 *   .problems-section, .problem-item, .cta-box, .solution-section,
 *   .feature-card, .process-section, .step-item, .equipment-section, .equipment-card
 */

/* ════════════════════════════════════════════════════════════
   1. Voice Snippet (الـ Direct Answer للـ AI Overview)
   ════════════════════════════════════════════════════════════ */
.voice-snippet {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(167, 139, 250, 0.05));
    border-right: 4px solid #0284c7;
    border-radius: 14px;
    padding: 22px 24px;
    margin: 28px 0;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #0c4a6e;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.06);
    direction: rtl;
}

/* ════════════════════════════════════════════════════════════
   2. Trust Signals + Stats Grid (الإحصائيات)
   ════════════════════════════════════════════════════════════ */
.trust-signals {
    margin: 36px 0;
    padding: 32px 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
    border-radius: 20px;
    border: 1px solid rgba(2, 132, 199, 0.10);
    box-shadow: 0 8px 32px rgba(2, 132, 199, 0.05);
}
.trust-signals h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #0c4a6e;
    text-align: center;
    margin: 0 0 24px;
    letter-spacing: -0.3px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}
.stat-card {
    background: #fff;
    border: 1.5px solid rgba(2, 132, 199, 0.12);
    border-radius: 16px;
    padding: 24px 18px;
    text-align: center !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 4px;
    background: linear-gradient(90deg, #0284c7, #06b6d4);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(2, 132, 199, 0.15);
    border-color: #0284c7;
}
.stat-card > div:first-child {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0284c7;
    line-height: 1.1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #0284c7, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-card > div:nth-child(2) {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 700;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 24px;
}
.trust-badges > div {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), #fff);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #166534;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ════════════════════════════════════════════════════════════
   3. Problems Section
   ════════════════════════════════════════════════════════════ */
.problems-section {
    margin: 40px 0;
    padding: 36px 28px;
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.04), #fff);
    border: 1px solid rgba(248, 113, 113, 0.15);
    border-radius: 22px;
    position: relative;
    overflow: hidden;
}
.problems-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0; height: 4px;
    background: linear-gradient(90deg, #ef4444, #f97316);
}
.problems-section h2 {
    font-size: 1.7rem;
    font-weight: 900;
    color: #991b1b;
    margin: 0 0 14px;
    text-align: center;
}
.problems-intro {
    color: #475569;
    line-height: 1.85;
    margin-bottom: 24px;
    font-size: 1.05rem;
    text-align: center;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin: 24px 0;
}
.problem-item {
    background: #fff;
    border: 1.5px solid rgba(248, 113, 113, 0.18);
    border-radius: 14px;
    padding: 20px 22px;
    transition: all 0.35s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.problem-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(248, 113, 113, 0.15);
    border-color: #f87171;
}
.problem-item h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #991b1b;
    margin: 0 0 10px;
    line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════
   4. CTA Box (Call To Action)
   ════════════════════════════════════════════════════════════ */
.cta-box {
    margin: 32px 0;
    padding: 32px 28px;
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    border-radius: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 12px 36px rgba(2, 132, 199, 0.30);
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    border-radius: 50%;
}
.cta-box h3 {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 14px;
    position: relative;
    z-index: 1;
}
.cta-box a {
    display: inline-block;
    background: #fff;
    color: #0284c7 !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.05rem;
    text-decoration: none;
    margin-top: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}
.cta-box a:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* ════════════════════════════════════════════════════════════
   5. Solution Section + Feature Cards
   ════════════════════════════════════════════════════════════ */
.solution-section {
    margin: 40px 0;
    padding: 36px 28px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.04), #fff);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 22px;
    position: relative;
    overflow: hidden;
}
.solution-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0; height: 4px;
    background: linear-gradient(90deg, #22c55e, #06b6d4, #0284c7);
}
.solution-section h2 {
    font-size: 1.7rem;
    font-weight: 900;
    color: #166534;
    margin: 0 0 14px;
    text-align: center;
}
.solution-intro {
    color: #475569;
    line-height: 1.85;
    margin-bottom: 28px;
    font-size: 1.05rem;
    text-align: center;
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin: 24px 0;
}
.feature-card {
    background: #fff;
    border: 1.5px solid rgba(34, 197, 94, 0.15);
    border-radius: 16px;
    padding: 22px 24px;
    transition: all 0.35s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
}
.feature-card > div:first-child {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.feature-card > div:first-child > div:first-child {
    font-size: 2.2rem;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(2, 132, 199, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0c4a6e;
    margin: 0 0 8px;
    line-height: 1.5;
}

.solution-guarantee {
    margin-top: 28px;
    padding: 24px;
    background: linear-gradient(135deg, #fef3c7, #fef9c3);
    border: 2px dashed #f59e0b;
    border-radius: 16px;
    text-align: center;
}
.solution-guarantee h3 {
    color: #78350f;
    font-size: 1.2rem;
    font-weight: 900;
    margin: 0 0 12px;
}
.solution-guarantee a {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    margin-top: 12px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

/* ════════════════════════════════════════════════════════════
   6. Process Section + Steps
   ════════════════════════════════════════════════════════════ */
.process-section {
    margin: 40px 0;
    padding: 36px 28px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.04), #fff);
    border: 1px solid rgba(167, 139, 250, 0.18);
    border-radius: 22px;
    position: relative;
    overflow: hidden;
}
.process-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0; height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
}
.process-section h2 {
    font-size: 1.7rem;
    font-weight: 900;
    color: #4c1d95;
    margin: 0 0 14px;
    text-align: center;
}
.process-intro {
    color: #475569;
    line-height: 1.85;
    margin-bottom: 28px;
    font-size: 1.05rem;
    text-align: center;
}

.process-steps {
    display: grid;
    gap: 16px;
    margin: 24px 0;
}
.step-item {
    background: #fff;
    border: 1.5px solid rgba(167, 139, 250, 0.18);
    border-radius: 16px;
    padding: 22px 24px;
    transition: all 0.35s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    padding-right: 70px;
}
.step-item:hover {
    transform: translateX(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
    border-color: #8b5cf6;
}
.step-item > div:first-child {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}
.step-item h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #4c1d95;
    margin: 0 0 12px;
}
.step-item ul {
    margin: 12px 0 0;
    padding-right: 20px;
    color: #475569;
}
.step-item ul li {
    margin: 6px 0;
    line-height: 1.7;
}

.process-cta {
    margin-top: 28px;
    padding: 28px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 18px;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 28px rgba(139, 92, 246, 0.30);
}
.process-cta h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0 0 12px;
}
.process-cta a {
    display: inline-block;
    background: #fff;
    color: #4c1d95 !important;
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 900;
    text-decoration: none;
    margin-top: 12px;
}

/* ════════════════════════════════════════════════════════════
   7. Equipment Section
   ════════════════════════════════════════════════════════════ */
.equipment-section {
    margin: 40px 0;
    padding: 36px 28px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.04), #fff);
    border: 1px solid rgba(2, 132, 199, 0.12);
    border-radius: 22px;
}
.equipment-section h2 {
    font-size: 1.7rem;
    font-weight: 900;
    color: #0c4a6e;
    margin: 0 0 14px;
    text-align: center;
}
.equipment-intro {
    color: #475569;
    line-height: 1.85;
    margin-bottom: 24px;
    font-size: 1.05rem;
    text-align: center;
}
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.equipment-card {
    background: #fff;
    border: 1.5px solid rgba(2, 132, 199, 0.15);
    border-radius: 14px;
    padding: 20px 18px;
    text-align: center;
    transition: all 0.35s;
}
.equipment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(2, 132, 199, 0.15);
}
.equipment-card > div:first-child {
    font-size: 2rem;
    margin-bottom: 8px;
}
.equipment-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #0c4a6e;
    margin: 0 0 8px;
}

/* ════════════════════════════════════════════════════════════
   Mobile responsiveness
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .trust-signals, .problems-section, .solution-section,
    .process-section, .equipment-section, .cta-box {
        padding: 24px 18px;
        border-radius: 16px;
    }
    .trust-signals h2, .problems-section h2,
    .solution-section h2, .process-section h2 { font-size: 1.4rem; }
    .stat-card > div:first-child { font-size: 2rem; }
    .stats-grid, .trust-badges, .equipment-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .problems-grid, .solution-features { grid-template-columns: 1fr; }
    .step-item { padding: 18px 16px; padding-right: 60px; }
    .step-item > div:first-child { width: 38px; height: 38px; font-size: 1rem; top: 18px; right: 18px; }
}
