/* ============================================================
   PERSIDANGAN BADAN BERKANUN MALAYSIA 2026
   "Mencorak Masa Hadapan" — Landing Page Theme
   Konsep: Poster rasmi — kertas putih bertekstur, hitam pekat,
   gradient merah → magenta → ungu, navy & pink pastel.
   ============================================================ */

:root {
    --pb-red: #C8102E;
    --pb-crimson: #E11D48;
    --pb-magenta: #C026D3;
    --pb-purple: #7C3AED;
    --pb-navy: #1E1B4B;
    --pb-ink: #111118;
    --pb-paper: #F7F5F2;
    --pb-pink-soft: #FBD3E0;
    --pb-pink-mid: #F07BB6;
    --pb-grad-main: linear-gradient(100deg, #C8102E 0%, #E11D48 35%, #C026D3 75%, #7C3AED 100%);
    --pb-grad-card: linear-gradient(160deg, #F9C5D8 0%, #EE7BB8 45%, #C75ECD 100%);
    --pb-grad-navy: linear-gradient(135deg, #1E1B4B 0%, #312E81 60%, #C8102E 160%);
    --pb-shadow-soft: 0 10px 40px rgba(30, 27, 75, 0.10);
    --pb-shadow-pop: 0 18px 50px rgba(192, 38, 211, 0.22);
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--pb-ink);
    background-color: var(--pb-paper);
}

/* ---------- Tekstur kertas renyuk (macam poster) ---------- */
.paper-bg {
    background-color: var(--pb-paper);
    background-image:
        radial-gradient(ellipse at 15% 10%, rgba(0, 0, 0, 0.035) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 25%, rgba(0, 0, 0, 0.03) 0%, transparent 40%),
        radial-gradient(ellipse at 40% 70%, rgba(0, 0, 0, 0.025) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 90%, rgba(0, 0, 0, 0.035) 0%, transparent 45%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografi ---------- */
.font-display {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.font-script {
    font-family: 'Caveat', cursive;
    font-weight: 700;
}

.headline-gradient {
    background: var(--pb-grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 0 rgba(30, 27, 75, 0.18));
}

.text-magenta { color: var(--pb-magenta); }
.text-navy { color: var(--pb-navy); }

/* ---------- Badge gaya poster: [PERSIDANGAN] BADAN BERKANUN... ---------- */
.poster-badge {
    display: inline-flex;
    align-items: stretch;
    border: 2.5px solid var(--pb-ink);
    border-radius: 50rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 4px 4px 0 rgba(17, 17, 24, 0.85);
}

.poster-badge .badge-left {
    background: linear-gradient(90deg, var(--pb-red), var(--pb-crimson));
    color: #fff;
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    letter-spacing: 4px;
    padding: 0.55rem 1.4rem;
    text-transform: uppercase;
}

.poster-badge .badge-right {
    color: var(--pb-ink);
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    letter-spacing: 3px;
    padding: 0.55rem 1.4rem;
    text-transform: uppercase;
}

/* ---------- Navbar ---------- */
.navbar-pbbm {
    background: rgba(247, 245, 242, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 27, 75, 0.08);
    transition: box-shadow .3s ease;
}

.navbar-pbbm .nav-link {
    font-weight: 600;
    color: var(--pb-navy);
    position: relative;
}

.navbar-pbbm .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--pb-grad-main);
    transition: all .25s ease;
    transform: translateX(-50%);
}

.navbar-pbbm .nav-link:hover::after { width: 60%; }

/* ---------- Butang ---------- */
.btn-pbbm {
    background: var(--pb-grad-main);
    background-size: 200% auto;
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: 50rem;
    transition: all .3s ease;
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.35);
}

.btn-pbbm:hover {
    background-position: right center;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(192, 38, 211, 0.45);
}

.btn-outline-pbbm {
    border: 2px solid var(--pb-navy);
    color: var(--pb-navy);
    font-weight: 700;
    border-radius: 50rem;
    background: transparent;
    transition: all .3s ease;
}

.btn-outline-pbbm:hover {
    background: var(--pb-navy);
    color: #fff;
    transform: translateY(-3px);
}

/* ---------- Kad info acara (sidebar pink macam poster) ---------- */
.event-card {
    background: var(--pb-grad-card);
    border-radius: 24px;
    box-shadow: var(--pb-shadow-pop);
    color: var(--pb-ink);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.event-card .item + .item { border-top: 1.5px solid rgba(30, 27, 75, 0.25); }

.event-card .icon-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: var(--pb-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 6px 16px rgba(30, 27, 75, 0.35);
}

/* ---------- Seksyen umum ---------- */
.section-eyebrow {
    display: inline-block;
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    background: var(--pb-grad-navy);
    padding: .5rem 1.5rem;
    border-radius: 50rem;
    box-shadow: 0 6px 18px rgba(30, 27, 75, 0.3);
}

.section-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--pb-ink);
}

/* ---------- Kad objektif ---------- */
.objective-card {
    background: #fff;
    border: 1.5px solid rgba(30, 27, 75, 0.08);
    border-radius: 20px;
    box-shadow: var(--pb-shadow-soft);
    transition: all .3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--pb-grad-main);
}

.objective-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--pb-shadow-pop);
}

.objective-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    background: var(--pb-grad-main);
    box-shadow: 0 8px 22px rgba(200, 16, 46, 0.35);
}

/* ---------- Aturcara ---------- */
.agenda-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--pb-shadow-soft);
    overflow: hidden;
    border: 1.5px solid rgba(30, 27, 75, 0.07);
    height: 100%;
}

.agenda-card .agenda-header {
    background: var(--pb-grad-navy);
    color: #fff;
    padding: 1.3rem 1.8rem;
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.agenda-item {
    display: flex;
    gap: 1.1rem;
    padding: 1.15rem 1.6rem;
}

.agenda-item + .agenda-item { border-top: 1px solid rgba(30, 27, 75, 0.07); }

.agenda-item.highlight {
    background: linear-gradient(90deg, rgba(251, 211, 224, 0.45), rgba(255, 255, 255, 0));
    border-left: 5px solid var(--pb-magenta);
}

.agenda-time {
    min-width: 96px;
    text-align: center;
    align-self: flex-start;
    background: var(--pb-navy);
    color: #fff;
    font-weight: 800;
    font-size: .82rem;
    padding: .45rem .5rem;
    border-radius: 50rem;
    letter-spacing: .5px;
    box-shadow: 0 4px 12px rgba(30, 27, 75, 0.25);
}

.agenda-item.highlight .agenda-time {
    background: var(--pb-grad-main);
    box-shadow: 0 4px 14px rgba(192, 38, 211, 0.4);
}

.agenda-body h6 {
    font-weight: 800;
    color: var(--pb-ink);
    margin-bottom: .2rem;
}

.agenda-body .speaker { color: #555; font-size: .86rem; }
.agenda-body ul { padding-left: 1rem; margin: .4rem 0 0; }
.agenda-body ul li { font-size: .86rem; color: #555; margin-bottom: .2rem; }

/* ---------- Penceramah ---------- */
.speaker-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--pb-shadow-soft);
    border: 1.5px solid rgba(30, 27, 75, 0.07);
    transition: all .3s ease;
    height: 100%;
    text-align: center;
}

.speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--pb-shadow-pop);
}

.speaker-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    margin: 1.6rem auto .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: #fff;
    background: var(--pb-grad-main);
    box-shadow: 0 10px 26px rgba(200, 16, 46, 0.32);
    border: 4px solid #fff;
    outline: 2.5px solid var(--pb-magenta);
}

.speaker-card .name-bar {
    background: var(--pb-grad-navy);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: .55rem .8rem;
    margin-top: auto;
}

/* ---------- CTA bawah ---------- */
.cta-banner {
    background: var(--pb-grad-main);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--pb-shadow-pop);
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    top: -180px;
    right: -120px;
}

.cta-banner::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(30, 27, 75, 0.18);
    bottom: -130px;
    left: -80px;
}

/* ---------- Footer ---------- */
.footer-pbbm {
    background: var(--pb-navy);
    color: rgba(255, 255, 255, 0.75);
}

.footer-pbbm .top-strip {
    height: 6px;
    background: var(--pb-grad-main);
}

/* ---------- Lain-lain ---------- */
.divider-grad {
    height: 4px;
    width: 90px;
    border-radius: 4px;
    background: var(--pb-grad-main);
}

.stat-chip {
    background: #fff;
    border: 1.5px solid rgba(30, 27, 75, 0.1);
    border-radius: 18px;
    box-shadow: var(--pb-shadow-soft);
}

@media (max-width: 575.98px) {
    .poster-badge .badge-left,
    .poster-badge .badge-right {
        letter-spacing: 1.5px;
        padding: .45rem .8rem;
        font-size: .7rem;
    }
}
