:root {
    --primary-blue: #4f9cf9;
    --deep-pink: #e85d92;
    --text: #24425c;
    --text-soft: #6c8196;
    --bg: #f7fbff;
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow: 0 16px 40px rgba(79, 156, 249, 0.12);
}

* { box-sizing: border-box; }
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background: radial-gradient(circle at top left, rgba(244, 143, 177, 0.1), transparent 30%), var(--bg);
    color: var(--text);
}

header {
    background: linear-gradient(135deg, #4f9cf9, #ffd6e7);
    color: white;
    padding: 2rem 1rem 5rem;
    text-align: center;
}

.header-container { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.logo-icon { font-size: 2rem; background: rgba(255,255,255,0.2); padding: 1rem; border-radius: 20px; }

main { max-width: 1100px; margin: -3rem auto 2rem; padding: 0 1rem; }
.hero-strip { display: flex; gap: 0.5rem; margin-bottom: 1rem; justify-content: center; }
.hero-pill { background: white; padding: 0.6rem 1rem; border-radius: 50px; font-size: 0.85rem; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

/* TAB SYSTEM */
.tabs-nav { display: flex; background: white; padding: 0.5rem; border-radius: 50px; gap: 0.5rem; margin-bottom: 2rem; box-shadow: var(--shadow); }
.tab-btn { flex: 1; border: none; background: none; padding: 0.8rem; border-radius: 50px; cursor: pointer; font-weight: 600; color: var(--text-soft); transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.tab-btn.active { background: var(--primary-blue); color: white; }

.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* BERANDA STYLE */
.hero-section { text-align: center; padding: 3rem 1rem; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.5rem; }
.creator-section { margin-top: 4rem; text-align: center; }
.creator-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.creator-card { background: white; border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow); transition: 0.3s; }
.creator-card img {
    /* Langkah 1: Atur ukuran kotak yang sama (1:1) */
    width: 150px;  /* Anda bisa ubah ke 200px jika perlu */
    height: 150px; /* Wajib sama dengan width agar lingkaran sempurna */
    
    /* Langkah 2: Buat lingkaran sempurna */
    border-radius: 50%; /* Nilai 50% memotong sudut kotak menjadi lingkaran */
    
    /* Langkah 3: Penting! Pertahankan rasio & potong (crop) */
    object-fit: cover; /* Foto akan mengisi lingkaran tanpa distorsi/gepeng, kelebihannya dipotong */
    
    /* Tambahan Kerapihan */
    margin-bottom: 1rem;
    border: 4px solid #f0f7ff; /* Frame tipis di sekeliling foto */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Bayangan halus agar foto terlihat menonjol */
}

/* SKRINING STYLE */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.card { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 1rem; }
.card-header { padding: 1.5rem; border-bottom: 1px solid #eee; }
.card-body { padding: 1.5rem; }
.card-footer { padding: 1rem; background: #fafafa; }

.upload-area { border: 2px dashed #ccddee; border-radius: var(--radius-md); padding: 3rem 1rem; text-align: center; cursor: pointer; }
.upload-area.dragover { border-color: var(--deep-pink); background: #fff0f5; }
#image-preview { width: 100%; border-radius: 15px; }

.btn-primary { width: 100%; padding: 1rem; border: none; border-radius: 15px; background: var(--deep-pink); color: white; font-weight: bold; cursor: pointer; }
.btn-primary:disabled { opacity: 0.5; }

.result-box { background: #f0f7ff; padding: 1rem; border-radius: 15px; margin-bottom: 1rem; }
.result-box label { font-size: 0.8rem; color: var(--text-soft); }
.result-box .value { font-weight: bold; font-size: 1.1rem; }

.coming-soon { text-align: center; padding: 5rem 2rem; }
.cs-icon { font-size: 4rem; color: #ffd6e7; margin-bottom: 1rem; }

@media (max-width: 768px) { .grid-2, .info-grid, .creator-grid { grid-template-columns: 1fr; } }