/* ============================================
   SERVICE PAGES — Convoking
   Author: Ahtisham ul haq | ThriveHash
   ============================================ */

/* ── Service Hero ── */
.service-hero {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 70%, #000000 100%);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero .service-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(10,10,26,0.85) 0%, rgba(13,13,43,0.92) 50%, rgba(10,10,26,0.85) 100%);
    z-index: 0;
    pointer-events: none;
}

.service-hero .service-hero-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(41,151,255,0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.service-hero > .container {
    position: relative;
    z-index: 2;
}

.service-hero .breadcrumb {
    margin-bottom: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 2;
}

.service-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.service-hero .breadcrumb a:hover {
    color: var(--color-white);
}

.service-hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.service-hero .hero-tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-hero .hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.service-hero .hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}

/* ── Service Hero Stats ── */
.service-hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    margin-top: 48px;
}

.service-hero-stats .hero-stat {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.service-hero-stats .hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.service-hero-stats .hero-stat .number {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.service-hero-stats .hero-stat .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 140px;
}

/* ── Service Overview ── */
.service-overview {
    padding: 80px 0;
    background: var(--color-white);
}

.service-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-overview-content .section-label {
    text-align: left;
}

.service-overview-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 16px;
    text-align: left;
}

.service-overview-content p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.service-overview-image img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-overview-image .placeholder-img {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
    border-radius: 16px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 48px;
}

/* ── Service Features Grid ── */
.service-features {
    padding: 80px 0;
    background: var(--color-gray-light);
}

.svc-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-feature-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 36px 28px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.svc-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.svc-feature-card:hover::before {
    transform: scaleX(1);
}

.svc-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(41, 151, 255, 0.2);
}

.svc-feature-card .card-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.svc-feature-card .card-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.svc-feature-card .card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.svc-feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 10px;
}

.svc-feature-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ── How It Works / Steps ── */
.service-steps {
    padding: 80px 0;
    background: var(--color-white);
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 48px;
}

/* Connecting line */
.steps-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(to right, var(--color-primary), rgba(41, 151, 255, 0.2));
    z-index: 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 16px;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(41, 151, 255, 0.3);
    position: relative;
}

.step-item:nth-child(2) .step-number { background: #0077ed; }
.step-item:nth-child(3) .step-number { background: #3a1fde; }
.step-item:nth-child(4) .step-number { background: #2a0fce; }

.step-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827 !important;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 14px;
    color: #555 !important;
    line-height: 1.6;
}

/* ── Benefits (Left/Right Alternating) ── */
.service-benefits {
    padding: 80px 0;
    background: var(--color-gray-light);
}

.benefit-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.benefit-block:last-child {
    margin-bottom: 0;
}

.benefit-block.reverse {
    direction: rtl;
}

.benefit-block.reverse > * {
    direction: ltr;
}

.benefit-block-content .section-label {
    text-align: left;
}

.benefit-block-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 12px;
}

.benefit-block-content p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.benefit-block-content .benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-block-content .benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.6;
}

.benefit-block-content .benefit-list li .check-icon {
    width: 22px;
    height: 22px;
    background: rgba(41, 151, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-block-content .benefit-list li .check-icon svg {
    width: 12px;
    height: 12px;
    color: var(--color-primary);
}

.benefit-block-image img {
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.benefit-block-image .placeholder-img {
    background: linear-gradient(135deg, #0a0a0a, #111111);
    border-radius: 16px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 48px;
}

/* ── Use Cases / Industries Grid ── */
.service-usecases {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--color-dark) 0%, #0a0a0a 100%);
}

.service-usecases .section-heading { color: var(--color-white); }
.service-usecases .section-subheading { color: rgba(255, 255, 255, 0.6); }

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.usecase-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.usecase-card:hover {
    transform: translateY(-4px);
    border-color: rgba(41, 151, 255, 0.3);
    background: rgba(41, 151, 255, 0.06);
}

.usecase-card .uc-icon {
    width: 64px;
    height: 64px;
    background: rgba(41, 151, 255, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.usecase-card .uc-icon img {
    width: 32px;
    height: 32px;
}

.usecase-card .uc-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.usecase-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.usecase-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.usecase-card .uc-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.usecase-card .uc-link:hover {
    gap: 8px;
}

/* ── Platforms / Integrations Row ── */
.service-platforms {
    padding: 80px 0;
    background: var(--color-white);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.platform-card {
    background: var(--color-gray-light);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.platform-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.platform-card .platform-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.platform-card .platform-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.platform-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 10px;
}

.platform-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.platform-card .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.platform-card .tag-list span {
    padding: 6px 14px;
    background: var(--color-white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    border: 1px solid rgba(41, 151, 255, 0.15);
}

/* ── Service Trust / Security ── */
.service-trust {
    padding: 80px 0;
    background: var(--color-dark);
}

.service-trust .section-heading {
    color: var(--color-white);
}

/* ── Service Social Proof / Testimonials ── */
.service-social-proof {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--color-gray-light) 0%, var(--color-white) 100%);
}

/* ── Service FAQ ── */
.service-faq {
    padding: 80px 0;
    background: var(--color-gray-light);
}

/* ── Service CTA ── */
.service-cta {
    padding: 80px 0;
    background: var(--color-white);
}

.service-cta-box {
    background: #1d1d1f;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.service-cta-box h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.service-cta-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.service-cta-box .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ── Schema / SEO Structured Data Note ── */
.schema-hidden {
    display: none !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .service-hero h1 { font-size: 42px; }
    .service-overview-grid { grid-template-columns: 1fr; }
    .svc-features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .steps-timeline::before { display: none; }
    .benefit-block { grid-template-columns: 1fr; }
    .benefit-block.reverse { direction: ltr; }
    .usecases-grid { grid-template-columns: repeat(2, 1fr); }
    .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .service-hero h1 { font-size: 32px; }
    .service-hero .hero-tagline { font-size: 16px; }
    .service-hero-stats { gap: 24px; }
    .service-hero-stats .hero-stat:not(:last-child)::after { display: none; }
    .svc-features-grid { grid-template-columns: 1fr; }
    .steps-timeline { grid-template-columns: 1fr; }
    .usecases-grid { grid-template-columns: 1fr; }
    .platforms-grid { grid-template-columns: 1fr; }
    .service-cta-box { padding: 40px 24px; }
    .service-cta-box h2 { font-size: 28px; }
}

/* ══════════════════════════════════════════
   COMPARISON TABLE TEXT — FORCE DARK COLORS
   Must override any theme/plugin rules
   ══════════════════════════════════════════ */
.comparison-section .comparison-table tbody td,
.comparison-section .comparison-table tbody td:first-child,
.comparison-section .comparison-table tbody td:nth-child(2),
.comparison-section .comparison-table tbody td:nth-child(3),
section.comparison-section table td,
table.comparison-table td {
    color: #374151 !important;
}

.comparison-section .comparison-table tbody td:first-child,
section.comparison-section table td:first-child,
table.comparison-table td:first-child {
    color: #111827 !important;
    font-weight: 600 !important;
}

.comparison-section .comparison-table thead th,
section.comparison-section table th,
table.comparison-table th {
    color: #374151 !important;
}

.comparison-section .comparison-table thead th.highlight,
table.comparison-table th.highlight {
    color: var(--color-primary) !important;
}

.comparison-section .comparison-table .highlight-text,
table.comparison-table .highlight-text {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
}
