:root {
    --sky: #38bdf8;
    --sky-dark: #0284c7;
    --sky-soft: #e0f2fe;
    --text: #1e293b; /* Lebih gelap dari sebelumnya */
    --muted: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --red: #ef4444; /* Untuk badge best seller */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Mengganti font menjadi yang lebih modern */
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* --- HEADER / NAVIGATION --- */
header {
    background: linear-gradient(135deg, var(--sky), var(--sky-dark));
    color: var(--white);
    padding: 40px 0 80px 0; /* Padding atas lebih kecil */
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); /* Efek melengkung di bawah */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

nav .logo {
    font-size: 28px; /* Logo lebih menonjol */
    font-weight: 800;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 28px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--sky-soft);
}

/* --- HERO SECTION --- */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Memperbesar ruang teks */
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 48px; /* Lebih besar */
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--sky-soft);
    opacity: 0.9;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    backdrop-filter: blur(6px);
}

.hero-title .highlight {
    background: linear-gradient(90deg, #ffffff, #bae6fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title .accent {
    position: relative;
    color: #ffffff;
}

.hero-title .accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 6px;
    background: var(--sky);
    border-radius: 999px;
    opacity: 0.8;
}


.hero-title span {
    background: linear-gradient(
        90deg,
        #ffffff,
        var(--sky-soft)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.hero-title br {
    display: none;
}


.btn {
    display: inline-block;
    background: var(--white);
    color: var(--sky-dark);
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.hero-card {
    background: none; /* Menghilangkan background card di Hero */
    padding: 0;
    backdrop-filter: none;
}

.hero-banner img {
    width: 100%; /* Mengisi kolom penuh */
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* --- SECTIONS UMUM --- */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px; /* Jarak lebih besar */
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 800;
}

.section-title p {
    color: var(--muted);
    font-size: 18px;
}

/* --- LAYANAN (SERVICES) --- */
/* ===== LAYANAN: 4 KOLOM DESKTOP ===== */
#layanan .why-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.service {
    background: var(--white);
    border-radius: 24px; /* Sudut lebih membulat */
    padding: 26px 22px; /* lebih ramping */
    text-align: center;
    box-shadow: var(--shadow-lg); /* Bayangan lebih jelas */
    transition: 0.3s ease-in-out;
}

.service:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(2,132,199,0.15);
}

.service img {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
}

.service h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}

.service p {
    color: var(--muted);
}

/* --- HARGA (PRICING) --- */
#harga {
    background: var(--sky-soft); /* Background section harga */
}

.pricing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 26px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: 0.3s ease;
    position: relative;
}

/* EFEK ZOOM & HOVER BARU */
.price-card:hover {
    transform: translateY(-5px) scale(1.03); /* Zoom sedikit saat hover */
    /* Warna background yang lebih gelap/menarik saat di-hover */
    background: var(--sky-soft); 
    box-shadow: 0 25px 55px rgba(2,132,199,0.25); /* Bayangan lebih besar dan berwarna saat hover */
}

.price-card.popular {
    border: 2px solid var(--sky);
    background: var(--sky-soft);
    box-shadow: 0 20px 45px rgba(2,132,199,0.2);
    transform: none;
}

/* Menyesuaikan hover untuk kartu popular */
.price-card.popular:hover {
     transform: translateY(-6px); /* Zoom lebih besar */
    /* Warna background yang lebih kuat saat popular di-hover */
    background: #f0faff; 
    box-shadow: 0 35px 80px rgba(2,132,199,0.5); 
}

.price-card h3 {
    font-size: 22px;
    font-weight: 800;
}

.price {
    font-size: 42px;          /* Lebih besar, tapi tetap rapi */
    font-weight: 500;         /* Sangat tebal */
	text-shadow: 0 2px 6px rgba(2,132,199,0.25);
    margin: 20px 0;
    color: var(--sky-dark);
    letter-spacing: -0.5px;  /* Biar terlihat solid & premium */
}

.price-card ul {
    list-style: none;
    margin: 24px 0;
}

.price-card li {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 14.5px;
}

/* --- BEST SELLER BADGE --- */
.badge-popular {
    position: absolute;
    top: -15px; /* Posisikan di atas kartu */
    right: 20px;
    background: var(--red); /* Warna merah mencolok */
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    transform: rotate(5deg); /* Sedikit miring */
}

/* HIDE BADGE DI KARTU LAIN */
.price-card:not(.popular) .badge-popular {
    display: none;
}
/* --- END BEST SELLER BADGE --- */

.old-price {
    font-size: 16px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-top: 10px;
}

.discount-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #22c55e;
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
}

.discount-badge.blue { background: #3b82f6; }
.discount-badge.purple { background: #8b5cf6; }
.discount-badge.red { background: #ef4444; }

.detail-list {
    margin-top: 25px;
    border-top: 1px dashed #e5e7eb;
    padding-top: 20px;
}

.detail-list li {
    font-size: 14px;
    color: var(--muted);
}

/* TOMBOL DETAIL SPESIFIKASI */
.spec-toggle {
    width: 100%;
    background: none;
    border: 1px dashed var(--sky);
    padding: 10px 14px;
	margin-bottom: 30px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--sky-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* PANAH */
.spec-toggle span {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--sky-dark);
    border-bottom: 2px solid var(--sky-dark);
    transform: rotate(45deg);
    transition: 0.3s;
}

.price-card.active .spec-toggle span {
    transform: rotate(-135deg);
}

/* ISI DETAIL (TERSEMBUNYI) */
.spec-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.price-card.active .spec-detail {
    max-height: 300px;
}


/* --- THEME SWITCHER --- */
.theme-switcher {
    padding: 80px 0;
    text-align: center;
    background: var(--white);
}

.theme-switcher h3 {
    font-size: 30px;
    margin-bottom: 40px;
    font-weight: 800;
}

.theme-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.theme-list img {
    width: 280px; /* Ukuran preview tema lebih besar */
    height: 160px;
    object-fit: cover;
    border-radius: 18px;
    cursor: pointer;
    border: 3px solid transparent;
    box-shadow: var(--shadow-lg);
    transition: 0.3s;
}

.theme-list img:hover {
    transform: scale(1.03);
    border-color: var(--sky);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* --- CALL TO ACTION (CTA) --- */
.cta {
    background: linear-gradient(135deg, var(--sky-dark), var(--sky));
    color: #fff;
    text-align: center;
    padding: 80px 50px;
    border-radius: 20px; /* Sudut lebih halus */
    margin: 60px auto;
    max-width: 900px;
}

.cta h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--sky-soft);
}

.cta .btn {
    background: #fff;
    color: var(--sky-dark);
}

/* --- WHY US SECTION --- */
.why-us {
    background: var(--white); /* Mengubah background menjadi putih */
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-item {
    background: var(--sky-soft); /* Card Why Us menggunakan warna biru muda */
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: 0.3s ease;
    border-bottom: 4px solid var(--sky); /* Garis warna di bawah */
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(2, 132, 199, 0.15);
}

.why-item img {
    width: 60px; /* Icon lebih kecil */
    height: 60px;
    margin-bottom: 20px;
}

.why-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 700;
}

.why-item p {
    font-size: 15px;
    color: var(--muted);
}

/* --- FAQ SECTION --- */
.faq-section {
    background: var(--sky-soft);
}

.faq-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* FAQ list lebih luas */
    gap: 60px;
    align-items: flex-start;
}

.faq-illustration h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.faq-illustration p {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 30px;
}

.faq-illustration img {
    width: 100%;
    max-width: 400px;
    display: block;
    border-radius: 15px;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 16px; 
    box-shadow: 0 10px 30px rgba(2,132,199,0.08); /* Shadow yang lebih ringan */
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 22px; 
    background: none;
    border: none;
    text-align: left;
    font-size: 15px; 
    font-weight: 600; 
    cursor: pointer;
    position: relative; /* PENTING: Untuk posisi panah */
    color: var(--text);
}

.faq-item.active .faq-question {
    background: none; 
}

/* --- ATURAN PANAH ACCORDION --- */
.faq-question .arrow {
    position: absolute;
    right: 22px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--sky-dark);
    border-bottom: 2px solid var(--sky-dark);
    transform: translateY(-50%) rotate(45deg); /* Posisi awal: ke bawah */
    transition: 0.3s;
}

.faq-item.active .arrow {
    transform: translateY(-50%) rotate(-135deg); /* Rotasi saat aktif: ke atas */
}

/* --- ATURAN JAWABAN ACCORDION --- */
.faq-answer {
    max-height: 0; /* Ketinggian awal 0 untuk disembunyikan */
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Cukup besar untuk menampilkan konten jawaban */
}

.faq-answer p {
    padding: 0 22px 20px; 
    color: var(--muted);
    line-height: 1.6;
    font-size: 14.5px; 
}

/* ============================= */
/* THEME SLIDER AUTO SCROLL */
/* ============================= */

.theme-slider {
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.theme-track {
    display: flex;
    gap: 24px;
    animation: scroll-theme 40s linear infinite;
}

.theme-track img {
    width: calc((100% / 4) * 1.2); /* +20% */
    min-width: 310px;
    height: 190px; /* ikut diperbesar */
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;

    /* SHADOW HITAM TIPIS */
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.18),
        0 4px 10px rgba(0, 0, 0, 0.12);

    transition: 
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.theme-track img:hover {
    transform: scale(1.05);
}

/* ANIMASI GERAK */
@keyframes scroll-theme {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* CTA BUTTON */
.theme-cta {
    background: blue;
    color: white;
    margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .theme-track img {
        width: calc(100% / 2 - 18px); /* tablet 2 */
    }
}

@media (max-width: 600px) {
    .theme-track img {
        width: 85%; /* mobile 1 item */
    }
}


/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--white);
    background: var(--sky-dark); /* Menggunakan warna biru tua solid */
}

/* --- MEDIA QUERIES (Responsiveness) --- */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }
    
    .hero-banner img {
        margin-top: 30px;
    }

    .faq-wrapper {
        grid-template-columns: 1fr;
    }

    .faq-illustration {
        text-align: center;
    }

    .faq-illustration img {
        margin: 0 auto 30px;
    }

    .price-card.popular {
        transform: scale(1.05); /* Mengurangi skala di mobile agar tidak terlalu besar */
    }
    .price-card.popular:hover {
        transform: scale(1.08) translateY(-5px);
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 36px;
    }

    .section-title h2 {
        font-size: 30px;
    }
}

/* Animasi Fade-In dari JavaScript */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@media (max-width: 1024px) {
    #layanan .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #layanan .why-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .pricing {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
        text-align: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
}

