/* Shared extended sections for service subpages */

.pricing-section,
.tech-section,
.services-offered,
.services-detail,
.cta-section,
.why-choose,
.intro {
    margin: 4.2rem 0;
}

.pricing-intro {
    max-width: 860px;
    margin: 0 auto 2.2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.04rem;
    line-height: 1.75;
}

.pricing-grid,
.tech-grid,
.service-list,
.service-offer-grid,
.tech-overview {
    display: grid;
    gap: 1.5rem;
}

.pricing-grid,
.tech-grid,
.service-list,
.service-offer-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.tech-overview {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-card,
.tech-card,
.tech-category,
.service-offer-card,
.pricing-note,
.cta-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: linear-gradient(145deg, var(--glass-strong) 0%, var(--glass-soft) 100%);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    transition: transform var(--dur-mid) var(--ease-smooth), border-color var(--dur-mid) var(--ease-smooth), box-shadow var(--dur-mid) var(--ease-smooth), background var(--dur-mid) var(--ease-smooth);
}

.pricing-card::before,
.tech-card::before,
.tech-category::before,
.service-offer-card::before,
.pricing-note::before,
.cta-card::before {
    content: "";
    position: absolute;
    inset: -55% -22%;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(224, 229, 236, 0.22) 0%, transparent 50%);
    transition: opacity var(--dur-mid) var(--ease-smooth);
}

.pricing-card:hover,
.tech-card:hover,
.tech-category:hover,
.service-offer-card:hover,
.cta-card:hover,
.pricing-note:hover {
    transform: translateY(-5px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-deep), 0 0 0 1px rgba(214, 218, 225, 0.12);
}

.pricing-card:hover::before,
.tech-card:hover::before,
.tech-category:hover::before,
.service-offer-card:hover::before,
.cta-card:hover::before,
.pricing-note:hover::before {
    opacity: 1;
}

.pricing-card {
    padding: 2.1rem;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: rgba(214, 218, 225, 0.38);
    box-shadow: var(--shadow-soft), 0 0 0 1px rgba(214, 218, 225, 0.16);
}

.badge {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    padding: 0.32rem 0.72rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    color: #111317;
    background: linear-gradient(135deg, #edf0f6 0%, #c9ced8 100%);
    font-weight: 700;
}

.pricing-header {
    margin-bottom: 1.35rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(214, 218, 225, 0.14);
    text-align: center;
}

.pricing-header h3 {
    color: var(--accent-silver);
    font-size: clamp(1.25rem, 2.8vw, 1.65rem);
    margin-bottom: 0.65rem;
    line-height: 1.25;
}

.price {
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--text-primary);
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 1.45rem;
}

.pricing-features li,
.feature-item,
.service-offer-card li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
    padding: 0.66rem 0;
    border-bottom: 1px solid rgba(214, 218, 225, 0.08);
}

.pricing-features li:last-child,
.feature-item:last-child,
.service-offer-card li:last-child {
    border-bottom: none;
}

.pricing-cta,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform var(--dur-mid) var(--ease-smooth), border-color var(--dur-mid) var(--ease-smooth), color var(--dur-mid) var(--ease-smooth), background var(--dur-mid) var(--ease-smooth), box-shadow var(--dur-mid) var(--ease-smooth);
}

.pricing-cta {
    width: 100%;
    min-height: 46px;
    padding: 0.68rem 1.2rem;
    background: linear-gradient(135deg, rgba(227, 231, 238, 0.94) 0%, rgba(186, 193, 204, 0.96) 100%);
    color: #101317;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42);
}

.pricing-note {
    margin-top: 2rem;
    padding: 1.4rem 1.5rem;
    text-align: center;
}

.pricing-note p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.65rem;
}

.pricing-note p:last-child {
    margin-bottom: 0;
}

.pricing-note strong {
    color: var(--accent-silver);
}

.tech-card,
.tech-category,
.service-offer-card {
    padding: 1.9rem;
}

.tech-icon,
.service-offer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.8rem;
    border-radius: 12px;
    background: rgba(214, 218, 225, 0.09);
    border: 1px solid rgba(214, 218, 225, 0.16);
}

.tech-card h3,
.tech-category h3,
.service-offer-card h3 {
    color: var(--accent-silver);
    font-size: clamp(1.16rem, 2.5vw, 1.5rem);
    margin-bottom: 0.72rem;
    line-height: 1.3;
}

.tech-card p,
.tech-category p,
.service-offer-card p {
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.96rem;
}

.tech-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(214, 218, 225, 0.16);
    background: rgba(214, 218, 225, 0.07);
    color: var(--accent-soft);
    padding: 0.32rem 0.72rem;
    font-size: 0.78rem;
}

.service-offer-card h3 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.service-offer-card ul {
    list-style: none;
}

.service-offer-card li {
    padding-left: 1.2rem;
    position: relative;
}

.service-offer-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.2rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(214, 218, 225, 0.74);
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.2rem;
    min-height: 42px;
    padding: 0.62rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(214, 218, 225, 0.2);
    background: rgba(214, 218, 225, 0.06);
    color: var(--accent-soft);
    transition: transform var(--dur-mid) var(--ease-smooth), border-color var(--dur-mid) var(--ease-smooth), color var(--dur-mid) var(--ease-smooth), background var(--dur-mid) var(--ease-smooth);
}

.back-button:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    color: var(--text-primary);
    background: rgba(214, 218, 225, 0.12);
}

.cta-card {
    text-align: center;
    padding: 2.4rem;
    border-width: 1px;
}

.cta-card h2 {
    color: var(--accent-silver);
    font-size: clamp(1.55rem, 4vw, 2.2rem);
    margin-bottom: 0.7rem;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 1.35rem;
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.cta-button {
    min-height: 46px;
    padding: 0.68rem 1.45rem;
    border: 1px solid transparent;
}

.cta-button.primary {
    color: #0f1216;
    background: linear-gradient(135deg, rgba(229, 233, 239, 0.96) 0%, rgba(189, 196, 206, 0.96) 100%);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}

.cta-button.secondary,
.cta-button.tertiary {
    background: rgba(214, 218, 225, 0.06);
    border-color: rgba(214, 218, 225, 0.2);
    color: var(--accent-soft);
}

.cta-button.secondary:hover,
.cta-button.tertiary:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    background: rgba(214, 218, 225, 0.14);
    color: var(--text-primary);
}

@media (max-width: 980px) {
    .pricing-grid,
    .tech-grid,
    .service-list,
    .service-offer-grid,
    .tech-overview {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .cta-card {
        padding: 2rem 1.4rem;
    }
}

@media (max-width: 768px) {
    .pricing-section,
    .tech-section,
    .services-offered,
    .services-detail,
    .cta-section,
    .why-choose,
    .intro {
        margin: 3rem 0;
    }

    .pricing-intro {
        font-size: 0.96rem;
    }

    .pricing-card,
    .tech-card,
    .tech-category,
    .service-offer-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .service-offer-card li,
    .pricing-features li,
    .feature-item {
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .pricing-section,
    .tech-section,
    .services-offered,
    .services-detail,
    .cta-section,
    .why-choose,
    .intro {
        margin: 2.3rem 0;
    }

    .pricing-card,
    .tech-card,
    .tech-category,
    .service-offer-card,
    .pricing-note,
    .cta-card {
        border-radius: 14px;
    }

    .pricing-card,
    .tech-card,
    .tech-category,
    .service-offer-card {
        padding: 1.2rem;
    }

    .pricing-header {
        margin-bottom: 1rem;
        padding-bottom: 0.9rem;
    }

    .pricing-note {
        padding: 1.15rem;
        margin-top: 1.35rem;
    }

    .badge {
        top: 0.7rem;
        right: 0.7rem;
    }

    .tech-icon,
    .service-offer-icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .cta-card {
        padding: 1.5rem 1rem;
    }

    .cta-card p {
        font-size: 0.95rem;
    }

    .back-button {
        width: 100%;
    }
}

@media (hover: none) and (pointer: coarse) {
    .pricing-card:hover,
    .tech-card:hover,
    .tech-category:hover,
    .service-offer-card:hover,
    .pricing-note:hover,
    .cta-card:hover,
    .back-button:hover,
    .pricing-cta:hover,
    .cta-button:hover {
        transform: none;
    }
}
