/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: #fdfcf0; /* Warna krem susu yang lembut */
    color: #5a4a42; /* Coklat susu hangat untuk teks */
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* === VARIABEL WARNA PASTEL === */
:root {
    --pink-pastel: #FFD1DC; /* Pink Baby */
    --blue-pastel: #AEC6CF; /* Blue Baby */
    --mint-pastel: #B5EAD7; /* Mint */
    --lavender-pastel: #E6E6FA; /* Lavender */
    --yellow-pastel: #FDFD96; /* Lemon */
    --text-dark: #4a4a4a;
    --text-light: #7a7a7a;
    --white: #ffffff;
    --shadow-soft: 0 10px 20px rgba(255, 209, 220, 0.4);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-family: 'Fredoka', sans-serif; /* Font gemuk yang lucu */
    color: #ff8fa3; /* Pink sedikit lebih tua */
}

a {
    text-decoration: none;
    color: #7eb5c9;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff8fa3;
}

/* === MASCOT STYLING (Emojis) === */
.mascot-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Agar tidak menghalangi klik */
    z-index: -1;
}

.mascot {
    position: absolute;
    font-size: 40px;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

#mascot-1 { top: 10%; left: 5%; animation-delay: 0s; }
#mascot-2 { top: 60%; right: 5%; animation-delay: 2s; font-size: 50px; }
#mascot-3 { bottom: 15%; left: 10%; animation-delay: 4s; font-size: 35px; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* === HEADER === */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 0 0 30px 30px;
    box-shadow: var(--shadow-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-text {
    font-size: 24px;
    color: #ff8fa3;
}

.tagline {
    font-size: 12px;
    color: #aaa;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-link {
    background: var(--lavender-pastel);
    padding: 10px 20px;
    border-radius: 20px;
    color: #fff;
    font-weight: 700;
    box-shadow: 3px 3px 0px #dcd0ff;
}

.nav-link:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #dcd0ff;
    background: #dcd0ff;
}

/* === HERO SECTION === */
.hero-card {
    background: linear-gradient(135deg, #fff0f5, #e6e6fa);
    border-radius: 30px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    box-shadow: var(--shadow-soft);
    border: 2px solid #fff;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ff8fa3;
}

.hero-mascot {
    font-size: 150px;
    margin-left: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.btn-cute {
    display: inline-block;
    background: #ff9aa2;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'Fredoka', sans-serif;
    font-size: 18px;
    box-shadow: 0 5px 0 #ff7a83;
    transition: all 0.2s;
}

.btn-cute:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #ff7a83;
}

/* === SECTION BOX === */
.section-box {
    background: white;
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 2px solid #f0f0f0;
}

.section-title {
    margin-bottom: 30px;
    display: inline-block;
    border-bottom: 4px dotted #ffd1dc;
    padding-bottom: 10px;
}

/* === UTILITY GRID === */
.utility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.utility-card {
    background: #fcfcfc;
    border: 2px solid #ffefd5;
    border-radius: 20px;
    padding: 25px;
    transition: transform 0.3s;
    text-align: center;
}

.utility-card:hover {
    transform: translateY(-5px);
    border-color: #ffd1dc;
    background: #fff;
}

.icon-box {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.utility-card h3 {
    color: #7eb5c9;
    margin-bottom: 10px;
}

.link-card {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    color: #ff9aa2;
}

/* === ARTICLE LIST === */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-item {
    display: flex;
    background: #fffcfc;
    border-left: 5px solid var(--mint-pastel);
    padding: 20px;
    border-radius: 0 15px 15px 0;
    transition: all 0.3s;
}

.article-item:hover {
    background: #fff;
    border-left-color: var(--pink-pastel);
}

.article-content h3 a {
    color: #6a6a6a;
    font-size: 20px;
}

.article-content h3 a:hover {
    color: #ff9aa2;
}

.category-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
}

.tag.software { background: var(--blue-pastel); color: #fff; }
.tag.utility { background: var(--mint-pastel); color: #fff; }
.tag.guide { background: var(--yellow-pastel); color: #888; }
.tag.security { background: var(--pink-pastel); color: #fff; }

.category-tag.software { background: var(--blue-pastel); color: #fff; }
.category-tag.utility { background: var(--mint-pastel); color: #fff; }
.category-tag.guide { background: var(--yellow-pastel); color: #888; }
.category-tag.security { background: var(--pink-pastel); color: #fff; }

/* === FOOTER === */
footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background: #fff;
    border-radius: 30px 30px 0 0;
}

.footer-links a {
    margin: 0 10px;
    color: #aaa;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-card {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-mascot {
        margin-bottom: 20px;
        font-size: 100px;
    }
    
    header {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}