
/* =====================================================
   CMM PUBLIC CSS FINAL (CLEAN SAAS UI SYSTEM)
   ===================================================== */
body {
    padding-bottom: 140px; /* ruang untuk bottom nav + follow */
}

/* =========================
   RESET
========================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #f6f8fb;
    color: #1f2937;
}

/* =========================
   CORE CONTAINER
========================= */
.cmm-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

/* =========================
   GRID SYSTEM
========================= */
.cmm-grid {
    display: grid;
    gap: 14px;
}

.cmm-grid-1 { grid-template-columns: 1fr; }
.cmm-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cmm-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cmm-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* =========================
   CARD SYSTEM
========================= */
.cmm-card {
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* =========================
   TYPO HELPERS
========================= */
.cmm-muted {
    color: #6b7280;
    font-size: 13px;
}

/* =========================
   BUTTON
========================= */
.cmm-btn {
    padding: 10px 14px;
    border-radius: 10px;
    background: #16a34a;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* =====================================================
   BOTTOM NAV (SAAS MOBILE APP STYLE)
===================================================== */
.cmm-bottom-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;

    width: calc(100% - 24px);
    max-width: 420px;

    display: flex;
    justify-content: space-around;
    align-items: center;

    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);

    border-radius: 18px;
    padding: 10px 8px;

    box-shadow: 0 12px 30px rgba(0,0,0,0.12);

    z-index: 100;
}

.cmm-bottom-nav a {
    flex: 1;
    text-align: center;
}

.cmm-bottom-nav {
    z-index: 100;
}

.cmm-bottom-nav i {
    font-size: 18px;
    display: block;
}

.cmm-section-title {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cmm-section-title h2,
.cmm-section-title h3 {
    width: 100%;
    text-align: center;
}

.cmm-section-title .cmm-muted {
    max-width: 520px;
    margin: 6px auto 0;
    text-align: center;
    line-height: 1.5;
}

a {
    text-decoration: none !important;
}

.cmm-bottom-nav a,
.cmm-menu-card,
.cmm-card,
.cmm-action,
.cmm-section a {
    text-decoration: none !important;
}

.cmm-section-title h2,
.cmm-section-title h3 {
    letter-spacing: -0.2px;
}

.cmm-muted {
    opacity: 0.85;
}


/* =====================================================
   DESKTOP MODE
===================================================== */
@media (min-width: 861px) {

    .cmm-container {
        padding: 24px;
    }

    .cmm-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .cmm-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .cmm-card {
        padding: 18px;
        border-radius: 16px;
    }

    .cmm-bottom-nav {
        bottom: 20px;
        max-width: 520px;
    }
}

/* =====================================================
   MOBILE TUNING (AUTO APP FEEL)
===================================================== */
@media (max-width: 860px) {

    .cmm-grid-3,
    .cmm-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cmm-container {
        padding: 12px;
    }
}

/* =====================================================
   SMALL DEVICE FIX
===================================================== */
@media (max-width: 420px) {
    .cmm-bottom-nav {
        width: calc(100% - 16px);
    }

    .cmm-card {
        padding: 12px;
    }
}

body {
    line-height: 1.5;
}

h1, h2, h3 {
    color: #111827;
    margin: 0;
}

p {
    margin: 0;
}

/* ===================================
   SOCIAL MEDIA
=================================== */

.cmm-social-section{
    text-align:center;
    padding:20px 15px 40px;
}

.cmm-social-title{
    font-size:14px;
    font-weight:600;
    color:#666;
    margin-bottom:15px;
    letter-spacing:1px;
    text-transform:uppercase;
}

.cmm-social-links{
    display:flex;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
}

.cmm-social-links a{
    width:52px;
    height:52px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;

    color:#fff;
    font-size:22px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.12);

    transition:all .3s ease;
}

.cmm-social-links a:hover{
    transform:translateY(-5px) scale(1.08);
    box-shadow:
        0 12px 28px rgba(0,0,0,.20);
}

/* Facebook */
.cmm-social-links .facebook{
    background:#1877f2;
}

/* Instagram */
.cmm-social-links .instagram{
    background:linear-gradient(
        45deg,
        #f58529,
        #dd2a7b,
        #8134af,
        #515bd4
    );
}

/* Youtube */
.cmm-social-links .youtube{
    background:#ff0000;
}

/* WhatsApp */
.cmm-social-links .whatsapp{
    background:#25d366;
}

