/* ===== Service Page Styles ===== */

/* Service Hero */
.service-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 20px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary);
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.service-title--compact {
    font-size: clamp(2.15rem, 3.4vw, 2.6rem);
    line-height: 1.15;
}

.service-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.service-highlights .highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
}

.service-highlights .highlight i {
    color: var(--primary);
}

.service-hero-image {
    display: flex;
    justify-content: center;
}

.service-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Pricing Section - Gaming Style */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
}

/* Sedikit lebih lebar dari .container global agar teks fitur 2 kolom tidak mudah patah baris */
.pricing-section .container {
    max-width: 1380px;
}

/* VPS (grid 4 kolom): lebar ekstra vs default */
.pricing-section:has(.pricing-grid-4) .container {
    max-width: 1560px;
}

/* SAMP: teks fitur sedikit lebih panjang — perlebar lagi, VPS tetap pakai aturan di atas */
.pricing-section.pricing-section--samp .container {
    max-width: 1680px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 50px;
}

.pricing-grid--single {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid--bot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .pricing-grid--bot {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: linear-gradient(180deg, rgba(20, 30, 50, 0.9) 0%, rgba(10, 14, 23, 0.95) 100%);
    border: 2px solid transparent;
    border-image: linear-gradient(180deg, rgba(59, 130, 246, 0.5) 0%, rgba(59, 130, 246, 0.1) 100%) 1;
    border-radius: 0;
    padding: 0;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    opacity: 0.3;
}

.pricing-card:hover {
    transform: none;
    border-image: linear-gradient(180deg, rgba(59, 130, 246, 1) 0%, rgba(59, 130, 246, 0.5) 100%) 1;
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.2),
        0 0 40px rgba(59, 130, 246, 0.1) inset;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.featured {
    border-image: linear-gradient(180deg, rgba(59, 130, 246, 1) 0%, rgba(59, 130, 246, 0.3) 100%) 1;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.15) 0%, rgba(10, 14, 23, 0.95) 100%);
    transform: none;
}

.pricing-card.featured::before {
    opacity: 1;
    height: 6px;
}

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

.pricing-card:hover,
.pricing-card.featured:hover {
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 8px 8px;
    z-index: 10;
}

.pricing-card-inner {
    padding: 28px 18px 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 18px;
    padding-top: 6px;
}

.plan-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.05) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    position: relative;
}

.plan-icon::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--bg-dark);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.plan-icon i {
    position: relative;
    z-index: 1;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.plan-desc {
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.pricing-price {
    text-align: center;
    margin-bottom: 18px;
    padding: 14px 0;
    position: relative;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
}

.pricing-price::before,
.pricing-price::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.pricing-price::before {
    top: 0;
}

.pricing-price::after {
    bottom: 0;
}

.pricing-price .currency {
    font-size: 1.08rem;
    color: var(--primary);
    vertical-align: super;
    font-weight: 600;
    margin-right: 2px;
}

.pricing-price .amount {
    font-family: var(--font-heading);
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: keep-all;
    white-space: nowrap;
}

.pricing-price .period {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    column-gap: 8px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    font-size: 0.8rem;
    line-height: 1.2;
    white-space: nowrap;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    width: 18px;
    height: 18px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.62rem;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    opacity: 0.4;
}

.pricing-features li.disabled i {
    background: rgba(100, 116, 139, 0.2);
    color: var(--text-muted);
}

.pricing-card .btn {
    width: 100%;
    padding: 12px 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-size: 0.8rem;
    border-radius: var(--radius-md);
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-item .feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
}

.feature-item h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--bg-darker);
}

.cta-section .cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Footer Simple */
.footer-simple {
    text-align: center;
    padding: 30px 0;
}

.footer-simple .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.footer-simple p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

    .service-hero-image {
        order: -1;
    }

    .service-hero-image img {
        max-width: 400px;
    }

    .service-highlights {
        justify-content: center;
    }

    .service-title {
        font-size: 2.5rem;
    }

    .control-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .control-features {
        justify-content: center;
    }

    .laptop-frame {
        max-width: 500px;
        margin: 0 auto;
    }
}

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

    .pricing-price .amount {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

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

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

/* ===== Old Price Styling ===== */
.old-price {
    display: block;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.92);
    font-weight: 600;
    text-decoration: line-through;
    margin-bottom: 4px;
    opacity: 0.9;
}

/* ===== Responsive Price Adjustments ===== */
@media (max-width: 1600px) {
    .pricing-price .amount {
        font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    }
}

@media (max-width: 1200px) {
    .pricing-price .amount {
        font-size: 2.2rem;
    }

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

@media (max-width: 768px) {
    .pricing-price .amount {
        font-size: 2.5rem;
    }
}

/* ===== Pricing Grid Variants ===== */
.pricing-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1200px) {
    .pricing-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ===== Pricing Grid 4 Columns ===== */
.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* Tetap 4 kolom satu baris sampai layar lebih sempit (hanya SAMP & VPS pakai kelas ini) */
@media (max-width: 1100px) {
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ===== Features Grid 4 Columns ===== */
.features-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .features-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ===== RDP Control Section ===== */
.control-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.control-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.control-content {
    position: relative;
    z-index: 1;
}

.control-content .section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.control-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.control-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.control-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.control-feature i {
    color: var(--primary);
    font-size: 1rem;
}

/* Laptop Frame Preview */
.control-preview {
    position: relative;
    z-index: 1;
}

.laptop-frame {
    position: relative;
    padding: 20px 20px 40px;
    background: linear-gradient(180deg, #2a2a3e 0%, #1a1a2e 100%);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.laptop-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #444;
    border-radius: 50%;
}

.laptop-frame::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -30px;
    right: -30px;
    height: 30px;
    background: linear-gradient(180deg, #3a3a4e 0%, #2a2a3e 100%);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.laptop-screen {
    background: #0a0e17;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.laptop-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Features Section Enhancement ===== */
.features-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.features-section .feature-card {
    background: linear-gradient(180deg, rgba(20, 30, 50, 0.8) 0%, rgba(10, 14, 23, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.features-section .feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.features-section .feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
    position: relative;
}

.features-section .feature-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.features-section .feature-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Gift icon styling in pricing */
.pricing-features li i.fa-gift {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}