/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f2f4f7; /* abu muda */
    color: #1f2937;
    line-height: 1.6;
}

/* HEADER */
header {
    text-align: center;
    padding: 2.5rem 1rem;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

header p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 1.5rem;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* CARD */
.card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

/* ICON */
.icon-wrapper {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

/* BUTTON GROUP */
.btn-group {
    display: flex;
    gap: 0.6rem;
}

/* BUTTON */
.btn {
    padding: 0.55rem 1.3rem;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.btn:hover {
    background: #1d4ed8;
}

/* PREVIEW BUTTON */
.btn-preview {
    background: #16a34a;
}

.btn-preview:hover {
    background: #15803d;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem 1rem;
    color: #6b7280;
    font-size: 1.1rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .grid {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 1.6rem;
    }
}
