/* ── VARIABEL TEMA TRANSFORNERGY ── */
:root {
    --primary: #FFB703;    /* Kuning Hangat */
    --secondary: #0284C7;  /* Biru Utama */
    --accent: #FB8500;     /* Oranye */
    --bg-page: #E0F2FE;    /* Biru Muda Lembut */
    --card-bg: #F0F9FF;    /* Biru Sangat Muda */
    --border: #BAE6FD;     /* Garis Biru */
    --text: #0C4A6E;       /* Biru Dongker Gelap */
    --text-muted: #0369A1; /* Biru Sedang */
    --white: #FFFFFF;
}

/* ── RESET & BASE SETUP ── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-page);
    color: var(--text);
    line-height: 1.6;
    background-image: radial-gradient(circle at 50% 0%, #F0F9FF 0%, #E0F2FE 100%);
    min-height: 100vh;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
    font-family: 'Fredoka One', cursive;
    color: var(--text);
    margin-bottom: 15px;
}

p {
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* ── LAYOUT & CONTAINER ── */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* ── COMPONENTS: CARDS ── */
.card {
    background: var(--card-bg);
    border: 3px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.05);
}

/* ── COMPONENTS: BUTTONS ── */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 99px;
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ── FORM ELEMENTS ── */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--secondary);
    font-size: 0.95rem;
}

input, select, textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 16px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    outline: none;
    transition: 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}

/* ── NAV BAR ── */
nav {
    background: rgba(240, 249, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-family: 'Fredoka One', cursive;
    color: var(--secondary);
    font-size: 1.5rem;
}

/* ── RESPONSIVE UTILITIES ── */

/* Tablet */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    h1 { font-size: 2rem; }
    .card { padding: 20px; }
}

/* Smartphone */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .nav-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* ── ANIMATIONS ── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.5s ease forwards;
}