/* ===================== SERVICE PAGE SHARED STYLES ===================== */

/* Page Hero */
.service-hero {
    padding: 140px 0 70px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--primary-light) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

.service-hero-content .hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 18px;
}

.service-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.15;
    margin-bottom: 18px;
}

.service-hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 540px;
}

.service-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.service-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-visual-card {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
}

.service-visual-card .svc-big-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 2.8rem;
    border-radius: 24px;
}

.service-visual-card .svc-tag {
    padding: 8px 20px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
}

/* ===================== KEY FEATURES ===================== */
.key-features-section {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.feature-card {
    background: #fff;
    padding: 28px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.2rem;
    border-radius: 12px;
    margin: 0 auto 16px;
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================== DETAILED FEATURES ===================== */
.detailed-features-section {
    padding: 100px 0;
    background: var(--bg);
}

.detailed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.detail-block {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
}

.detail-block:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.detail-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 14px;
}

.detail-block h3 i {
    color: var(--primary);
    font-size: 1rem;
}

.detail-block ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.5;
}

.detail-block ul li i {
    color: #10B981;
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 0.7rem;
}

/* ===================== COMBO CTA BANNER ===================== */
.service-combo-banner {
    padding: 80px 0;
    background: var(--bg-dark);
}

.combo-banner-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.combo-banner-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.combo-banner-text p {
    font-size: 1rem;
    color: var(--text-lighter);
    line-height: 1.7;
    max-width: 520px;
}

.combo-banner-card {
    background: #fff;
    padding: 36px 44px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.combo-banner-card h4 {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.combo-mini-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 6px;
}

.combo-mini-price span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

.combo-mini-price strong {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.combo-banner-card > p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 18px;
}

.combo-banner-card .btn {
    width: 100%;
}

/* ===================== PROCESS ===================== */
.service-process-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.process-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.psc-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.psc-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.1rem;
    border-radius: 12px;
    margin: 8px auto 14px;
}

.process-step-card h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.process-step-card p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================== OTHER SERVICES ===================== */
.other-services-section {
    padding: 80px 0;
    background: var(--bg);
}

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

.other-service-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    transition: var(--transition);
}

.other-service-link:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.other-service-link.current {
    border-color: var(--primary);
    background: var(--primary);
}

.other-service-link.current i,
.other-service-link.current span {
    color: #fff;
}

.other-service-link i {
    font-size: 1.4rem;
    color: var(--primary);
}

.other-service-link span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.3;
}

/* ===================== PRICING PACKAGES ===================== */
.pricing-packages-section {
    padding: 100px 0;
    background: var(--bg);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 560px;
    margin: -4px auto 0;
    line-height: 1.6;
}

/* Tabs */
.pkg-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 36px;
    flex-wrap: wrap;
}

.pkg-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-light);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.pkg-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.pkg-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pkg-tab i {
    font-size: 1rem;
}

/* Tab Content */
.pkg-tab-content {
    display: none;
}

.pkg-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Package Grid */
.pkg-grid {
    display: grid;
    gap: 24px;
}

.pkg-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.pkg-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Package Card */
.pkg-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pkg-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.pkg-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.pkg-card.popular:hover {
    transform: scale(1.02) translateY(-6px);
}

.pkg-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 18px;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pkg-card-header {
    margin-bottom: 16px;
}

.pkg-card-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}

.pkg-desc {
    font-size: 0.82rem;
    color: var(--text-light);
}

.pkg-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 4px;
}

.pkg-currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
}

.pkg-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.pkg-amount.pkg-custom {
    font-size: 2rem;
    color: var(--primary);
}

.pkg-period {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

.pkg-type {
    font-size: 0.8rem;
    color: var(--text-lighter);
    margin-bottom: 20px;
}

.pkg-features {
    flex: 1;
    margin-bottom: 24px;
}

.pkg-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.4;
}

.pkg-features li i {
    color: #10B981;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.7rem;
}

.pkg-features li.pkg-extra {
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.82rem;
}

.pkg-features li.pkg-extra i {
    color: var(--primary);
}

.pkg-btn {
    width: 100%;
    margin-top: auto;
}

/* Next.js Callout */
.nextjs-callout {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 16px 24px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.nextjs-callout i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.nextjs-callout p {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.5;
}

/* Hosting Layout */
.hosting-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.hosting-main-card {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 36px 32px;
    text-align: center;
}

.hosting-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.5rem;
    border-radius: 16px;
    margin: 0 auto 18px;
}

.hosting-main-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
}

.hosting-main-card .pkg-price {
    justify-content: center;
    margin-bottom: 6px;
}

.hosting-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.hosting-main-card .pkg-features {
    text-align: left;
    max-width: 320px;
    margin: 0 auto 24px;
}

.hosting-main-card .pkg-btn {
    max-width: 280px;
    margin: 0 auto;
}

.hosting-addons {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
}

.hosting-addons h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.addon-table {
    margin-bottom: 24px;
}

.addon-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text);
}

.addon-row:last-child {
    border-bottom: none;
}

.addon-row.addon-header {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border-bottom: none;
    margin-bottom: 4px;
}

.addon-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
}

.addon-note i {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.addon-note p {
    font-size: 0.82rem;
    color: var(--text);
    line-height: 1.5;
}

/* Payment Note Bar */
.payment-note-bar {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    padding: 20px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    flex-wrap: wrap;
}

.payment-note-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
}

.payment-note-item i {
    color: var(--primary);
    font-size: 1rem;
}

/* ===================== WHY CHOOSE US ===================== */
.why-choose-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.why-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.why-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.3rem;
    border-radius: 14px;
    margin: 0 auto 16px;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.why-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================== FAQ ===================== */
.service-faq-section {
    padding: 80px 0;
    background: var(--bg);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 24px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    color: var(--primary);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question {
    background: var(--primary-light);
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    background: #fff;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .service-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .service-hero-cta {
        justify-content: center;
    }

    .service-hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pkg-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .pkg-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hosting-layout {
        grid-template-columns: 1fr;
    }

    .combo-banner-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .combo-banner-text p {
        max-width: 100%;
    }

    .combo-banner-card {
        max-width: 320px;
        margin: 0 auto;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .other-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .service-hero-title {
        font-size: 2.2rem;
    }

    .detailed-grid {
        grid-template-columns: 1fr;
    }

    .pkg-grid-3 {
        grid-template-columns: 1fr;
    }

    .pkg-grid-4 {
        grid-template-columns: 1fr;
    }

    .pkg-card.popular {
        transform: none;
    }

    .pkg-card.popular:hover {
        transform: translateY(-6px);
    }

    .pkg-tabs {
        gap: 6px;
    }

    .pkg-tab {
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .payment-note-bar {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
    }

    .why-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .faq-question {
        font-size: 0.88rem;
        padding: 16px 20px;
    }

    .faq-answer p {
        padding: 0 20px 16px;
        font-size: 0.85rem;
    }

    .other-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .service-hero-title {
        font-size: 1.8rem;
    }

    .service-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pkg-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .pkg-tab {
        justify-content: center;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .other-services-grid {
        grid-template-columns: 1fr;
    }

    .addon-row {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
}
