/* Landing Page - Desain seperti Shafwah */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 2rem;
}

.logo { flex-shrink: 0; }

.logo img { height: 50px; width: auto; }

.header nav {
    flex: 1;
    display: flex;
    min-width: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    width: 100%;
    justify-content: space-evenly;
}

.nav-menu li {
    white-space: nowrap;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.25rem;
    transition: color 0.3s;
}

.nav-menu a:hover { color: #dc2626; }

/* Tombol hamburger - disembunyikan di desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}
.nav-toggle:hover { background: #f1f5f9; }
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}
.header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}
.header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Responsif: layar sempit / HP - menu vertikal (hamburger) */
@media (max-width: 992px) {
    .nav-container {
        position: relative;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .nav-toggle {
        display: flex !important;
        flex-shrink: 0;
    }
    .header .nav-wrap {
        flex: none;
        min-width: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0 -2rem;
        padding: 0 2rem;
        background: #fff;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .header.nav-open .nav-wrap {
        max-height: 400px;
    }
    .nav-menu {
        flex-direction: column !important;
        align-items: stretch;
        gap: 0;
        padding: 1rem 0;
        width: 100%;
    }
    .nav-menu li {
        border-bottom: 1px solid #e5e7eb;
    }
    .nav-menu li:last-child { border-bottom: none; }
    .nav-menu a {
        display: block;
        padding: 1rem 1.25rem;
        font-size: 1.1rem;
    }
    .nav-menu .btn-primary {
        text-align: center;
        margin: 0.5rem 0 0;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: white;
    color: #dc2626 !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #dc2626;
    display: inline-block;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #dc2626;
    color: white !important;
}

/* Hero - Layout: Gambar kiri, Teks kanan - keduanya di tengah */
.hero {
    padding: 2rem 2rem 0;
    margin-bottom: 0;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 50%, #fecaca 100%);
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: flex-end;
    gap: 2rem;
}

.hero-image-wrap {
    flex: 1 1 55%;
    min-width: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0;
    object-fit: contain;
}

.hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: left;
}

.hero h1 {
    font-size: 3.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1f2937;
    line-height: 1.2;
}

.hero h1 strong,
.hero-rotating-text { color: #dc2626; }

.hero-rotating-wrap {
    display: inline-block;
    min-width: 220px;
    text-align: left;
    vertical-align: bottom;
}

.hero-rotating-text {
    display: inline-block;
    font-size: 0.88em;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-rotating-text.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.hero-content p {
    font-size: 1.15rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-trust {
    margin-top: 2rem !important;
    color: #6b7280 !important;
    font-size: 1rem !important;
}

.stats {
    display: none; /* disembunyikan untuk sementara */
}

.stat-item { text-align: left; }

.stat-item h3 { font-size: 1.75rem; color: #dc2626; margin-bottom: 0.25rem; }

.stat-item p { color: #6b7280; font-size: 0.9rem; }

@media (max-width: 900px) {
    .hero-inner { flex-direction: column; }
    .hero-image-wrap { max-width: 100%; }
    .hero-content { text-align: center; }
    .hero-buttons { justify-content: center; }
    .stats { justify-content: center; }
    .stat-item { text-align: center; }
}

/* Section: Kartu Smart & Aplikasi Mobile - Desain Modern */
.smart-mobile-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.smart-mobile-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.smart-mobile-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.smart-mobile-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.smart-mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.smart-mobile-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.smart-mobile-card-img {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 270px;
    max-height: 169px;
    object-fit: contain;
    pointer-events: none;
}

.smart-mobile-card-apps .smart-mobile-card-img {
    max-width: 297px;
    max-height: 186px;
}

.smart-mobile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: rgba(220, 38, 38, 0.2);
}

.smart-mobile-card-inner {
    padding: 2.5rem;
    position: relative;
}

.smart-mobile-card-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #dc2626 0%, #f87171 100%);
    border-radius: 0 4px 4px 0;
}

.smart-mobile-icon-wrap {
    margin-bottom: 1.5rem;
}

.smart-mobile-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.3);
    transition: transform 0.3s ease;
}

.smart-mobile-card:hover .smart-mobile-icon {
    transform: scale(1.05);
}

.smart-mobile-card h3 {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.smart-mobile-card p {
    color: #64748b;
    line-height: 1.75;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .smart-mobile-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .smart-mobile-card-inner {
        padding: 2rem;
    }
}

/* Features */
.features { padding: 4rem 2rem; margin-top: 0; background: linear-gradient(180deg, #ffffff 0%, #dbeafe 50%, #ffffff 100%); }

.features-container { max-width: 1200px; margin: 0 auto; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-desc {
    text-align: center;
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #94a3b8;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Warna soft beragam untuk garis kiri tiap kartu */
.feature-border-tahfidz { border-left-color: #86efac; }
.feature-border-kesantrian { border-left-color: #7dd3fc; }  /* biru soft */
.feature-border-kehadiran { border-left-color: #fcd34d; }   /* kuning soft */
.feature-border-akademik { border-left-color: #c4b5fd; }    /* ungu soft */
.feature-border-uks { border-left-color: #5eead4; }         /* teal soft */
.feature-border-ppdb { border-left-color: #fdba74; }        /* oranye soft */
.feature-border-spp { border-left-color: #f9a8d4; }         /* pink soft */
.feature-border-perpustakaan { border-left-color: #a5b4fc; }/* indigo soft */
.feature-border-ekstra { border-left-color: #6ee7b7; }      /* emerald soft */
.feature-border-bik { border-left-color: #fda4af; }         /* rose soft */
.feature-border-inventory { border-left-color: #67e8f9; }   /* cyan soft */
.feature-border-bk { border-left-color: #d8b4fe; }          /* violet soft */
.feature-border-lms { border-left-color: #86efac; }         /* hijau soft */
.feature-border-kurikulum { border-left-color: #fbbf24; }   /* amber soft */
.feature-border-surat { border-left-color: #93c5fd; }       /* biru muda soft */
.feature-border-olimpiade { border-left-color: #a78bfa; }   /* ungu soft */
.feature-border-infaq { border-left-color: #34d399; }       /* hijau soft */
.feature-border-tabungan { border-left-color: #fb923c; }    /* oranye soft */
.feature-border-piket { border-left-color: #f472b6; }       /* pink soft */
.feature-border-pegawai { border-left-color: #60a5fa; }     /* biru soft */
.feature-border-wa { border-left-color: #2dd4bf; }          /* teal soft */
.feature-border-yaum { border-left-color: #fda4af; }        /* rose soft */
.feature-border-kontrol-yayasan { border-left-color: #818cf8; } /* indigo soft */

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-card h3 { color: #334155; margin-bottom: 1rem; font-size: 1.5rem; }

.feature-card p { color: #4b5563; line-height: 1.8; }

.feature-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Feature card expandable */
.feature-card-expand {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card-expand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    transform: translateX(-100%) skewX(-15deg);
    pointer-events: none;
}

.feature-card-expand:hover::before {
    animation: product-shimmer 0.8s ease-out;
}

/* Default: tampil gambar + judul + "Klik untuk detail" */
.feature-card-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card-img {
    width: 100%;
    max-width: 180px;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.feature-border-tahfidz .feature-card-img {
    max-width: 198px;
    max-height: 132px;
}

.feature-card-preview h3 {
    margin-bottom: 0.25rem;
}

.feature-card-expand .feature-toggle {
    display: inline-block;
    margin-top: 0.1rem;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.feature-card-expand .feature-short {
    display: none;
}

.feature-card-expand .feature-detail,
.feature-card-expand .feature-detail-gallery {
    display: none;
    margin-top: 1rem;
}

.feature-card-expand .feature-detail {
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.feature-card-expand.expanded .feature-detail,
.feature-card-expand.expanded .feature-detail-gallery {
    display: block;
}

.feature-detail-gallery {
    display: none;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-card-expand.expanded .feature-detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.feature-detail-gallery-item {
    display: block;
    border: none;
    padding: 0;
    cursor: pointer;
    background: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-detail-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-detail-gallery-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

@media (max-width: 600px) {
    .feature-card-expand.expanded .feature-detail-gallery {
        grid-template-columns: 1fr;
    }
    .feature-detail-gallery-item img {
        height: 180px;
    }
}

/* Popup gambar */
.feature-img-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.feature-img-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.feature-img-popup-overlay img {
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.feature-img-popup-overlay .feature-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-img-popup-overlay .feature-popup-close:hover {
    background: #fff;
}

.feature-card-expand .feature-close {
    display: none;
}

.feature-card-expand.expanded .feature-toggle {
    display: none;
}

.feature-card-expand.expanded .feature-close {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* Saat expanded: sembunyikan gambar, tampilkan detail di bawah judul */
.feature-card-expand.expanded .feature-card-img {
    display: none;
}

.feature-card-expand.expanded .feature-card-preview {
    align-items: flex-start;
    text-align: left;
}

/* Comparison Section: Cara Lama vs Cara Baru */
.comparison {
    padding: 4rem 2rem;
    background: #f9fafb;
}

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
}

.comparison .highlight {
    color: #dc2626;
}

.comparison .section-desc strong,
.comparison .section-desc .highlight {
    color: #dc2626;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-card {
    padding: 2rem;
    border-radius: 15px;
    border-width: 3px;
    border-style: solid;
}

.comparison-old {
    border-color: #dc2626;
    background: rgba(254, 226, 226, 0.5);
}

.comparison-new {
    border-color: #16a34a;
    background: rgba(220, 252, 231, 0.5);
}

.comparison-card-title {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-card-title .icon-cons,
.comparison-card-title .icon-pros {
    font-size: 1.5rem;
}

.comparison-old .comparison-card-title {
    color: #b91c1c;
}

.comparison-new .comparison-card-title {
    color: #15803d;
}

.comparison-old .icon-cons {
    color: #dc2626;
    font-size: 1.25rem;
}

.comparison-new .icon-pros {
    color: #16a34a;
    font-size: 1.25rem;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.comparison-list li:last-child {
    margin-bottom: 0;
}

.comparison-list li .icon-cons,
.comparison-list li .icon-pros {
    flex-shrink: 0;
    width: 1.5em;
    min-width: 1.5em;
    text-align: center;
}

.comparison-list li strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.comparison-list li p {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* Digitalisasi Section: 3 Langkah */
.digitalisasi {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
}

.digitalisasi-container {
    max-width: 1200px;
    margin: 0 auto;
}

.digitalisasi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.digitalisasi-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.digitalisasi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.15);
}

.digitalisasi-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.digitalisasi-card h3 {
    color: #1f2937;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.digitalisasi-card p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .digitalisasi-grid {
        grid-template-columns: 1fr;
    }
}

/* Pricing */
.pricing {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #e0f2fe 0%, #ffffff 15%);
}

.pricing-container { max-width: 1200px; margin: 0 auto; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.pricing-grid-colored .pricing-card {
    padding: 2rem 1.5rem;
    border: none;
    text-align: center;
    color: white;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.pricing-grid-colored .pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 100%
    );
    transform: translateX(-100%) skewX(-15deg);
    pointer-events: none;
}

.pricing-grid-colored .pricing-card:hover::before {
    animation: product-shimmer 0.8s ease-out;
}

.pricing-ekonomis { background: linear-gradient(135deg, #5eead4 0%, #14b8a6 50%, #0d9488 100%); }
.pricing-gold { background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #d97706 100%); }
.pricing-premium { background: linear-gradient(135deg, #9ca3af 0%, #6b7280 50%, #374151 100%); }
.pricing-kustom { background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 50%, #6d28d9 100%); }

.pricing-grid-colored .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.pricing-grid-colored .pricing-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-grid-colored .pricing-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.pricing-card:hover {
    border-color: #dc2626;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.pricing-card h3 { color: #dc2626; font-size: 1.5rem; margin-bottom: 1rem; }

.pricing-card .price { font-size: 2rem; font-weight: bold; color: #1f2937; margin: 1rem 0; }

.price-desc { color: #6b7280; font-size: 0.9rem; }

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

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

/* Halaman detail paket */
.pricing-detail-section {
    padding: 4rem 2rem 5rem;
    min-height: 70vh;
}

/* Background menyesuaikan tiap paket - gradasi vertikal soft */
.pricing-detail-section.package-ekonomis {
    background: linear-gradient(180deg, rgba(77, 208, 174, 0.15) 0%, rgba(46, 204, 183, 0.12) 30%, rgba(255, 255, 255, 0.95) 100%);
}

.pricing-detail-section.package-gold {
    background: linear-gradient(180deg, rgba(253, 224, 71, 0.2) 0%, rgba(251, 191, 36, 0.15) 30%, rgba(255, 255, 255, 0.95) 100%);
}

.pricing-detail-section.package-premium {
    background: linear-gradient(180deg, rgba(156, 163, 175, 0.15) 0%, rgba(107, 114, 128, 0.1) 30%, rgba(255, 255, 255, 0.95) 100%);
}

.pricing-detail-section.package-kustom {
    background: linear-gradient(180deg, rgba(196, 181, 253, 0.2) 0%, rgba(139, 92, 246, 0.12) 30%, rgba(255, 255, 255, 0.95) 100%);
}

.pricing-detail-container {
    max-width: 700px;
    margin: 0 auto;
}

.pricing-detail-back {
    display: inline-block;
    color: #64748b;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.pricing-detail-back:hover {
    color: #0f172a;
}

.pricing-detail-card {
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.pricing-detail-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: white;
}

.pricing-detail-price {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.pricing-detail-price .price-value {
    font-weight: 700;
}

.pricing-detail-summary {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
}

.pricing-detail-benefits {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.pricing-detail-benefits h2 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.pricing-detail-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-detail-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: #334155;
    line-height: 1.5;
}

.pricing-detail-benefits li i {
    position: absolute;
    left: 0;
    top: 0.6rem;
    color: #10b981;
    font-size: 1rem;
}

.pricing-detail-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.pricing-detail-cta .btn-cta,
.pricing-detail-cta .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-detail-cta .btn-cta {
    background: #25d366;
    color: white;
}

.pricing-detail-cta .btn-cta:hover {
    background: #20bd5a;
}

.pricing-detail-cta .btn-secondary {
    background: #f1f5f9;
    color: #334155;
}

.pricing-detail-cta .btn-secondary:hover {
    background: #e2e8f0;
}

/* Halaman detail produk (marketplace style) */
.produk-detail-section {
    padding: 4rem 2rem 5rem;
    min-height: 70vh;
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.5) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.produk-detail-container {
    max-width: 1100px;
    margin: 0 auto;
}

.produk-detail-back {
    display: inline-block;
    color: #64748b;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.produk-detail-back:hover { color: #0f172a; }

.produk-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.produk-detail-gallery {
    position: sticky;
    top: 2rem;
}

.produk-detail-main-wrap {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 0.75rem;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produk-detail-main-wrap img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.produk-detail-image-wrap img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* Thumbnail gallery di bawah gambar besar - rata bagian bawah */
.produk-detail-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-end;
}

.produk-detail-thumb {
    width: 96px;
    height: 96px;
    padding: 0;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.produk-detail-thumb:hover {
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.produk-detail-thumb.active {
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

.produk-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: none;
}

.produk-detail-info {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.produk-detail-title {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.produk-detail-short {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.produk-detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 1.5rem;
}

.produk-detail-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.produk-tab {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.produk-tab:hover,
.produk-tab.active {
    color: #10b981;
    border-bottom-color: #10b981;
}

.produk-tab-content {
    display: none;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #475569;
}

.produk-tab-content.active { display: block; }

.produk-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.produk-detail-list li {
    padding: 0.35rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.produk-detail-buy {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.produk-detail-buy h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #334155;
}

.produk-qty-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.produk-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.produk-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8fafc;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.produk-qty-btn:hover { background: #e2e8f0; }

.produk-qty-control input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    font-size: 1rem;
}

.produk-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.produk-metode-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.produk-metode-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.produk-metode-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.produk-metode-btn:hover {
    border-color: #10b981;
    background: #f0fdf4;
    color: #059669;
}

.produk-metode-btn.produk-metode-va {
    border-color: #10b981;
    background: #10b981;
    color: white;
}

.produk-metode-btn.produk-metode-va:hover {
    background: #059669;
}

.produk-transfer-detail {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.9rem;
}

.btn-wa-transfer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.6rem 1rem;
    background: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
}

.btn-wa-transfer:hover { background: #20bd5a; }

@media (max-width: 768px) {
    .produk-detail-layout {
        grid-template-columns: 1fr;
    }
}

/* Halaman bayar produk (VA) */
.produk-bayar-section {
    padding: 4rem 2rem 5rem;
    min-height: 70vh;
    background: #f8fafc;
}

.produk-bayar-container {
    max-width: 480px;
    margin: 0 auto;
}

.produk-bayar-back {
    display: inline-block;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.produk-bayar-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.produk-bayar-card h1 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.produk-bayar-info { margin-bottom: 1.5rem; }

.produk-bayar-error {
    color: #dc2626;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.produk-bayar-form .form-group {
    margin-bottom: 1rem;
}

.produk-bayar-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: #374151;
}

.produk-bayar-form input,
.produk-bayar-form select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.produk-bayar-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.produk-bayar-form .btn-primary {
    width: 100%;
    padding: 0.75rem;
}

/* Products Section */
.products {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 25%, #dbeafe 50%, #bfdbfe 75%, #eff6ff 100%);
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products .section-title {
    color: #1e3a5f;
}

.products .section-desc {
    color: #475569;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch;
}

@keyframes product-shimmer {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(200%) skewX(-15deg); }
}

a.product-card {
    text-decoration: none;
    color: inherit;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.1);
    border-left: 4px solid #2563eb;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    transform: translateX(-100%) skewX(-15deg);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(30, 58, 95, 0.15);
}

.product-card:hover::before {
    animation: product-shimmer 0.8s ease-out;
}

.product-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.product-icon i {
    font-size: 1.4rem;
    color: white;
}

.product-card h3 {
    font-size: 1.2rem;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.products-cta {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 1.05rem;
    color: #475569;
}

.products-cta a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.products-cta a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

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

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-card {
        padding: 1.5rem;
    }
}

/* CTA */
.cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    text-align: center;
}

.cta-container { max-width: 800px; margin: 0 auto; }

.cta h2 { font-size: 2rem; margin-bottom: 1rem; }

.cta p { font-size: 1.25rem; margin-bottom: 0.5rem; opacity: 0.9; }

.cta-highlight { font-size: 1.5rem !important; font-weight: 600; margin-top: 1rem !important; }

.cta .hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta .btn-cta {
    background: white !important;
    color: #b91c1c !important;
    font-weight: 700 !important;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    border: 2px solid white;
    min-width: 160px;
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.cta .btn-cta:hover {
    background: #b91c1c !important;
    color: white !important;
    border-color: white;
}

/* Footer */
.footer {
    position: relative;
    background: #1f2937;
    color: white;
    padding: 0 2rem 0;
    overflow: hidden;
}

.footer-accent {
    height: 4px;
    background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #dc2626;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #dc2626;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 1.75rem; }
    .stats { gap: 2rem; }
}
