/* --- ROOT VARIABLES --- */
:root {
    --primary: #2563eb;
    --navy: #0f172a;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-body: #f8fafc;
    --bg-section: #ffffff;
    --green-wa: #25d366;
}

/* --- GLOBAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Hapus shadow biru saat klik di HP */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- NAVBAR --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.btn-share {
    background: #f1f5f9;
    color: var(--navy);
    border: 1px solid #cbd5e1;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.btn-share:active {
    transform: scale(0.95);
    background: #e2e8f0;
}

/* --- HERO SECTION --- */
.hero {
    padding: 60px 0;
    text-align: center;
}

.badge-wrapper {
    margin-bottom: 20px;
}

.badge {
    background: #dbeafe;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--navy);
}

.text-gradient {
    background: linear-gradient(to right, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-light);
    margin: 0 auto 30px;
    font-size: 1rem;
    max-width: 500px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 16px 35px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: 0.3s;
}

/* --- KATALOG & CARDS --- */
.katalog {
    padding: 40px 0 60px;
}

.bg-light-section {
    background-color: var(--bg-section);
    border-top: 1px solid #f1f5f9;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--navy);
}

.section-title p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 kolom di HP */
    gap: 25px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.card.featured {
    border: 2px solid var(--primary);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    padding: 4px 14px;
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.bg-blue { background: #2563eb; }
.bg-dark { background: #1e293b; }
.bg-pink { background: #db2777; }
.bg-green { background: #10b981; }
.bg-orange { background: #f59e0b; }
.bg-purple { background: #8b5cf6; }

.features {
    list-style: none;
    margin-bottom: 25px;
}

.features li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li i {
    color: #10b981;
    font-size: 0.9rem;
}

.price-box {
    margin-bottom: 25px;
}

.price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
}

.unit {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: 5px;
}

.btn-card {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-weight: 700;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-card.primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-card:active {
    transform: scale(0.98);
}

/* --- WHATSAPP BUTTON --- */
.whatsapp-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--green-wa) !important;
    color: white !important;
    border: none !important;
}

.whatsapp-btn:hover {
    background-color: #1eb956 !important;
}

/* --- FOOTER --- */
.footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    background: white;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.payment-methods img {
    height: 25px;
    filter: grayscale(0.2);
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* --- RESPONSIVE DESIGN --- */

/* Tablet */
@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Laptop/Desktop */
@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}