/* CQZ Pharmacy ERP — Premium Services Section */

.services-premium {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f8fbff 50%,
        #ffffff 100%
    );
    overflow: hidden;
}

.services-premium-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.services-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.24;
}

.services-orb-1 {
    width: 420px;
    height: 420px;
    top: -100px;
    inset-inline-start: -120px;
    background: color-mix(in srgb, var(--accent-color), transparent 52%);
}

.services-orb-2 {
    width: 360px;
    height: 360px;
    bottom: -80px;
    inset-inline-end: -100px;
    background: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.services-premium .container {
    position: relative;
    z-index: 1;
}

.services-header {
    max-width: 680px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.services-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-color);
}

.services-header h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.625rem, 3vw, 2.125rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--heading-color);
}

.services-header p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: color-mix(in srgb, var(--default-color), transparent 10%);
}

/* Featured POS card */
.services-main-row {
    margin-bottom: 1.5rem;
}

.service-featured-card {
    height: 100%;
    padding: 1.75rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
    box-shadow:
        0 4px 24px color-mix(in srgb, var(--heading-color), transparent 92%),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-featured-card:hover {
    box-shadow:
        0 12px 40px color-mix(in srgb, var(--accent-color), transparent 82%),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    transform: translateY(-2px);
}

.service-featured-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.service-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
}

.service-featured-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), var(--accent-darker) 30%) 100%);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--accent-color), transparent 55%);
    flex-shrink: 0;
}

.service-featured-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.35;
}

.service-featured-card > p {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: color-mix(in srgb, var(--default-color), transparent 8%);
}

.service-featured-list {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.service-featured-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--heading-color);
    line-height: 1.5;
}

.service-featured-list li i {
    color: var(--accent-color);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.service-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6875rem 1.125rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), var(--accent-darker) 25%) 100%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color), transparent 45%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-featured-cta:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--accent-color), transparent 35%);
}

/* Highlights stack */
.services-highlights-stack {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    height: 100%;
}

.service-highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    padding: 1.125rem 1.25rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: 0 2px 12px color-mix(in srgb, var(--heading-color), transparent 94%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-highlight-card:hover {
    border-color: color-mix(in srgb, var(--accent-color), transparent 75%);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-color), transparent 88%);
    transform: translateY(-1px);
}

.service-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    color: var(--accent-color);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.service-highlight-body {
    flex: 1;
    min-width: 0;
}

.service-highlight-body h4 {
    margin: 0 0 0.35rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--heading-color);
}

.service-highlight-body p {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: color-mix(in srgb, var(--default-color), transparent 14%);
}

.service-highlight-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: none;
    background: none;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--accent-color);
    cursor: pointer;
    transition: gap 0.2s ease;
}

.service-highlight-link:hover {
    gap: 0.5rem;
    color: color-mix(in srgb, var(--accent-color), black 8%);
}

/* Compact service cards */
.services-cards-row {
    margin-bottom: 1.5rem;
}

.service-card {
    height: 100%;
    padding: 1.25rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: 0 2px 12px color-mix(in srgb, var(--heading-color), transparent 94%);
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    border-color: color-mix(in srgb, var(--accent-color), transparent 78%);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--accent-color), transparent 86%);
    transform: translateY(-2px);
}

.service-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.875rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), var(--accent-darker) 30%) 100%);
    color: #fff;
    font-size: 1.125rem;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--accent-color), transparent 58%);
}

.service-card h5 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading-color);
}

.service-card p {
    margin: 0 0 0.875rem;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: color-mix(in srgb, var(--default-color), transparent 12%);
    flex-grow: 1;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    border: none;
    background: none;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--accent-color);
    cursor: pointer;
    transition: gap 0.2s ease;
}

.service-card-link:hover {
    gap: 0.5rem;
    color: color-mix(in srgb, var(--accent-color), black 8%);
}

/* Compliance strip */
.services-compliance-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--heading-color) 0%, #0c1a2e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--heading-color), transparent 72%);
}

.services-compliance-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
}

.services-compliance-item i {
    font-size: 0.9375rem;
    color: color-mix(in srgb, var(--accent-color), #fff 35%);
}

[dir="rtl"] .services-header {
    text-align: center;
}

@media (max-width: 991.98px) {
    .services-premium {
        padding: 3.5rem 0;
    }

    .services-highlights-stack {
        margin-top: 0.25rem;
    }

    .service-featured-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .services-compliance-strip {
        gap: 0.5rem;
        padding: 0.875rem 1rem;
    }

    .services-compliance-item {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }
}
