@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text: #202826;
    --muted: #68736f;
    --accent: #0d1227;
    --blue: #123865;
    --soft: #eef4f7;
    --white: rgba(255,255,255,.94);
    --glass: rgba(255,255,255,.78);
    --border: rgba(32,40,38,.12);
    --shadow: 0 18px 45px rgba(0,0,0,.09);
    --danger: #9b1c12;
    --success-bg: #dff4e8;
    --success-text: #17643b;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Manrope", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 35%, #8eb0c9, transparent 30%),
        radial-gradient(circle at 86% 78%, #467da8, transparent 34%),
        linear-gradient(135deg, #f8f4ec, #ffffff);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

img {
    max-width: 100%;
}

.simple-navbar,
.role-navbar {
    position: fixed;
    top: 20px;
    left: 24px;
    right: 24px;
    height: 74px;
    z-index: 1000;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 24px;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.brand-logo {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-button,
.main-button,
.icon-button,
.btn-primary-small,
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-weight: 900;
}

.nav-button {
    height: 46px;
    padding: 0 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--border);
}

.nav-button.dark,
.main-button,
.btn-primary-small {
    background: #111;
    color: #fff;
}

.main-button {
    height: 56px;
    padding: 0 28px;
    border-radius: 18px;
    font-size: 16px;
}

.main-button.full {
    width: 100%;
}

.icon-button {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--border);
    font-size: 24px;
}

.icon-button img {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.role-main {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 145px 0 70px;
}

.page-heading {
    margin-bottom: 32px;
}

.page-heading.center {
    text-align: center;
}

.page-heading h1 {
    font-size: clamp(30px, 4vw, 46px);
    margin-bottom: 10px;
}

.page-heading p {
    color: var(--muted);
    font-weight: 600;
}

.alert {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 16px;
    font-weight: 800;
}

.alert.success {
    background: var(--success-bg);
    color: var(--success-text);
}

.alert.error {
    background: #ffe4e4;
    color: #8c1b1b;
}

.landing-hero {
    min-height: 100vh;
    padding: 150px 24px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.landing-content {
    width: min(900px, 100%);
}

.landing-content h1 {
    font-size: clamp(34px, 5vw, 62px);
    margin-bottom: 20px;
}

.landing-content h1 span {
    font-family: "Playfair Display", serif;
    letter-spacing: 4px;
}

.landing-content p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.footer-cintesa {
    padding: 24px 16px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .simple-navbar,
    .role-navbar {
        top: 12px;
        left: 12px;
        right: 12px;
        height: 66px;
        padding: 0 14px;
        border-radius: 20px;
    }

    .brand-logo {
        font-size: 24px;
    }

    .nav-button {
        height: 42px;
        padding: 0 14px;
        font-size: 13px;
    }

    .role-main {
        width: calc(100% - 24px);
        padding-top: 112px;
    }
}

.back-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.icon-button.back-button {
    background: #fff;
}

.icon-button.back-button img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* ===============================
   INDEX - ANGGOTA KELOMPOK
================================ */
.anggota-section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto 80px;
    padding-top: 40px;
}

.section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 46px);
    margin-bottom: 10px;
}

.section-heading p {
    color: var(--muted);
    font-weight: 600;
}

.anggota-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.anggota-card {
    overflow: hidden;
    border-radius: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
}

.anggota-photo {
    width: 100%;
    height: 240px;
    background: var(--soft);
}

.anggota-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.anggota-info {
    padding: 20px 16px 24px;
}

.anggota-info h3 {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.anggota-info p {
    color: var(--muted);
    font-weight: 800;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .anggota-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .anggota-section {
        width: calc(100% - 24px);
        margin-bottom: 50px;
    }

    .anggota-grid {
        grid-template-columns: 1fr;
    }

    .anggota-photo {
        height: 260px;
    }

    .navbar-actions {
        gap: 6px;
    }

    .navbar-actions .nav-button {
        padding: 0 10px;
        font-size: 12px;
    }
}