/* =========================================================
   PRESTASI PROFESSIONAL MODERN PAGE
   File: public/assets/css/prestasi-pro.css
   Load after main.css
========================================================= */

:root {
    --pres-primary: #063d2b;
    --pres-secondary: #198754;
    --pres-emerald: #20c997;
    --pres-gold: #c8a96a;
    --pres-navy: #0f172a;
    --pres-muted: #64748b;
    --pres-soft: #f8fafc;
    --pres-shadow: 0 24px 70px rgba(15, 23, 42, .10);
    --pres-shadow-hover: 0 36px 100px rgba(15, 23, 42, .16);
}

.prestasi-pro-page {
    font-family: "Plus Jakarta Sans", "Poppins", sans-serif;
    color: var(--pres-navy);
    background: #fff;
    overflow-x: hidden;
}

.prestasi-pro-page img {
    max-width: 100%;
}

.prestasi-kicker,
.prestasi-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(25, 135, 84, .10);
    color: var(--pres-secondary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.prestasi-section-tag.dark {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .16);
}

.prestasi-section-head {
    position: relative;
    z-index: 2;
    margin-bottom: 58px;
}

.prestasi-section-head h2 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(34px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: -2.5px;
    font-weight: 950;
    color: var(--pres-navy);
}

.prestasi-section-head.text-center h2,
.prestasi-section-head.text-center p {
    margin-left: auto;
    margin-right: auto;
}

.prestasi-section-head p {
    max-width: 760px;
    margin-top: 20px;
    color: var(--pres-muted);
    line-height: 1.9;
}

/* BUTTON */
.prestasi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 15px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    transition: .3s ease;
}

.prestasi-btn-primary {
    background: linear-gradient(135deg, var(--pres-primary), var(--pres-secondary));
    color: #fff;
    box-shadow: 0 20px 44px rgba(25, 135, 84, .24);
}

.prestasi-btn-primary:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 28px 62px rgba(25, 135, 84, .34);
}

.prestasi-btn-light {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(14px);
}

.prestasi-btn-light:hover {
    color: #fff;
    background: rgba(255, 255, 255, .18);
    transform: translateY(-4px);
}

.prestasi-btn-gold {
    background: linear-gradient(135deg, var(--pres-gold), #f5d76e);
    color: #111827;
    box-shadow: 0 20px 44px rgba(200, 169, 106, .28);
}

.prestasi-btn-gold:hover {
    color: #111827;
    transform: translateY(-4px);
}

/* HERO */
.prestasi-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background:
        radial-gradient(circle at 14% 24%, rgba(32, 201, 151, .13), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(200, 169, 106, .15), transparent 30%),
        linear-gradient(135deg, #10261e 0%, #163629 48%, #1c2d42 100%);
}

.prestasi-pattern {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 88%);
}

.prestasi-word {
    position: absolute;
    font-weight: 1000;
    line-height: 1;
    letter-spacing: -12px;
    pointer-events: none;
    user-select: none;
    z-index: -1;
    white-space: nowrap;
}

.prestasi-word.word-left {
    top: 92px;
    left: -5%;
    font-size: clamp(80px, 14vw, 220px);
    color: rgba(255,255,255,.035);
}

.prestasi-word.word-right {
    right: -4%;
    bottom: 5%;
    font-size: clamp(80px, 15vw, 240px);
    color: rgba(32,201,151,.04);
}

.prestasi-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: .28;
    z-index: -2;
}

.prestasi-orb.orb-left {
    width: 380px;
    height: 380px;
    background: rgba(32,201,151,.28);
    left: -120px;
    bottom: 14%;
}

.prestasi-orb.orb-right {
    width: 320px;
    height: 320px;
    background: rgba(200,169,106,.24);
    right: -90px;
    top: 14%;
}

.prestasi-hero-grid {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: grid;
    grid-template-columns: .96fr 1.04fr;
    gap: 60px;
    align-items: center;
    padding: 110px 0 90px;
}

.prestasi-hero-content h1 {
    font-size: clamp(44px, 6.5vw, 84px);
    line-height: .96;
    letter-spacing: -4.2px;
    font-weight: 950;
    color: #fff;
    margin: 0 0 28px;
}

.prestasi-hero-content h1 span {
    display: block;
    color: var(--pres-gold);
}

.prestasi-hero-content p {
    max-width: 720px;
    color: rgba(255,255,255,.78);
    font-size: 18px;
    line-height: 1.9;
    margin: 0 0 36px;
}

.prestasi-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* HERO SHOWCASE */
.prestasi-hero-showcase {
    position: relative;
    padding: 22px;
}

.prestasi-hero-showcase::before {
    content: "";
    position: absolute;
    inset: 9% 0 0 12%;
    border-radius: 46px;
    background: linear-gradient(135deg, rgba(32,201,151,.16), rgba(200,169,106,.16));
    transform: rotate(-5deg);
}

.showcase-main {
    position: relative;
    overflow: hidden;
    height: 620px;
    border-radius: 46px;
    box-shadow: 0 42px 110px rgba(0,0,0,.32);
    border: 1px solid rgba(255,255,255,.12);
}

.showcase-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: .9;
}

.showcase-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,6,23,.88), rgba(2,6,23,.18), transparent);
}

.showcase-overlay {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    z-index: 2;
}

.showcase-overlay span {
    display: inline-flex;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.16);
    color: var(--pres-gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    backdrop-filter: blur(12px);
}

.showcase-overlay h3 {
    color: #fff;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.08;
    font-weight: 950;
    margin-bottom: 12px;
}

.showcase-overlay p {
    color: rgba(255,255,255,.74);
    line-height: 1.75;
    margin: 0;
}

.showcase-stat {
    position: absolute;
    z-index: 3;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 55px rgba(0,0,0,.20);
}

.showcase-stat strong,
.showcase-stat span {
    display: block;
}

.showcase-stat strong {
    color: #fff;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 6px;
}

.showcase-stat span {
    color: rgba(255,255,255,.70);
    font-size: 12px;
}

.stat-top {
    left: -4px;
    top: 18%;
}

.stat-bottom {
    right: 0;
    bottom: 13%;
}

/* SECTION BASE */
.prestasi-values,
.prestasi-list-section,
.prestasi-story-section,
.prestasi-cta-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(86px, 10vw, 145px) 0;
}

.section-bg-word {
    position: absolute;
    font-size: clamp(80px, 18vw, 260px);
    font-weight: 1000;
    letter-spacing: -12px;
    line-height: 1;
    white-space: nowrap;
    color: rgba(15, 23, 42, .024);
    pointer-events: none;
    user-select: none;
    z-index: -1;
}

.prestasi-values .section-bg-word {
    top: 8%;
    left: -5%;
}

.prestasi-list-section .section-bg-word {
    right: -5%;
    top: 6%;
    color: rgba(200,169,106,.04);
}

.prestasi-story-section .section-bg-word {
    left: -4%;
    bottom: 2%;
    color: rgba(32,201,151,.026);
}

/* VALUE GRID */
.prestasi-values {
    background: #fff;
}

.prestasi-values-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 20px;
}

.value-card {
    min-height: 220px;
    padding: 30px;
    border-radius: 30px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(15,23,42,.06);
    box-shadow: 0 16px 42px rgba(15,23,42,.055);
    backdrop-filter: blur(14px);
    transition: .35s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--pres-shadow-hover);
}

.value-card i {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(25,135,84,.10);
    color: var(--pres-secondary);
    font-size: 26px;
    margin-bottom: 22px;
}

.value-card h4,
.value-card h3 {
    font-weight: 950;
    color: var(--pres-navy);
}

.value-card p {
    color: var(--pres-muted);
    line-height: 1.75;
    margin: 0;
}

.value-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(circle at top right, rgba(200,169,106,.28), transparent 42%),
        linear-gradient(135deg, var(--pres-primary), var(--pres-secondary));
    color: #fff;
}

.value-card.featured i {
    background: rgba(255,255,255,.16);
    color: #fff;
}

.value-card.featured h3 {
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.value-card.featured p {
    color: rgba(255,255,255,.78);
}

/* LIST */
.prestasi-list-section {
    background: linear-gradient(180deg, #f8fafc, #fff);
}

.prestasi-filter-pills {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.prestasi-filter-pills button {
    border: 0;
    padding: 11px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--pres-muted);
    font-weight: 850;
    box-shadow: 0 10px 26px rgba(15,23,42,.06);
    transition: .25s ease;
}

.prestasi-filter-pills button.active,
.prestasi-filter-pills button:hover {
    background: linear-gradient(135deg, var(--pres-primary), var(--pres-secondary));
    color: #fff;
    transform: translateY(-3px);
}

.prestasi-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 24px;
}

.prestasi-card {
    overflow: hidden;
    border-radius: 34px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    box-shadow: var(--pres-shadow);
    transition: .35s ease;
}

.prestasi-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--pres-shadow-hover);
}

.prestasi-card-img {
    position: relative;
    overflow: hidden;
    height: 285px;
}

.prestasi-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .8s ease;
}

.prestasi-card:hover .prestasi-card-img img {
    transform: scale(1.08);
}

.prestasi-card-img span {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pres-gold), #f5d76e);
    color: #111827;
    font-size: 11px;
    font-weight: 950;
}

.prestasi-card-body {
    padding: 28px;
}

.prestasi-card-meta small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pres-secondary);
    font-weight: 850;
    margin-bottom: 12px;
}

.prestasi-card-body h3 {
    color: var(--pres-navy);
    font-size: 24px;
    line-height: 1.18;
    font-weight: 950;
    margin-bottom: 12px;
}

.prestasi-card-body p {
    color: var(--pres-muted);
    line-height: 1.75;
    margin-bottom: 22px;
}

.prestasi-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--pres-secondary);
    font-weight: 900;
}

.prestasi-card-footer em {
    font-style: normal;
}

.prestasi-empty {
    grid-column: 1 / -1;
    padding: 48px;
    border-radius: 30px;
    background: #fff;
    border: 1px dashed rgba(15,23,42,.16);
    text-align: center;
    color: var(--pres-muted);
}

.prestasi-empty i {
    font-size: 46px;
    color: var(--pres-gold);
    margin-bottom: 18px;
}

.prestasi-empty h3 {
    color: var(--pres-navy);
    font-weight: 950;
}

/* STORY */
.prestasi-story-section {
    background: #fff;
}

.prestasi-story-card {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 42px;
    align-items: center;
    padding: clamp(28px, 5vw, 62px);
    border-radius: 42px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    box-shadow: var(--pres-shadow);
}

.story-content h2 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.06;
    letter-spacing: -2px;
    font-weight: 950;
    margin-bottom: 22px;
}

.story-content p {
    color: var(--pres-muted);
    line-height: 1.9;
    margin-bottom: 26px;
}

.story-points {
    display: grid;
    gap: 14px;
}

.story-points div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pres-navy);
    font-weight: 850;
}

.story-points i {
    color: var(--pres-secondary);
}

.story-visual {
    position: relative;
}

.story-visual img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 34px;
    box-shadow: 0 24px 60px rgba(15,23,42,.12);
}

.story-mini {
    position: absolute;
    z-index: 3;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255,255,255,.84);
    border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 22px 50px rgba(15,23,42,.12);
    backdrop-filter: blur(16px);
}

.story-mini strong,
.story-mini span {
    display: block;
}

.story-mini strong {
    color: var(--pres-navy);
    font-weight: 950;
}

.story-mini span {
    color: var(--pres-muted);
    font-size: 12px;
}

.story-mini.top {
    left: -16px;
    top: 14%;
}

.story-mini.bottom {
    right: -16px;
    bottom: 14%;
}

/* CTA */
.prestasi-cta-section {
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.prestasi-cta-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    overflow: hidden;
    padding: clamp(38px, 6vw, 78px);
    border-radius: 42px;
    background:
        radial-gradient(circle at top right, rgba(200,169,106,.28), transparent 36%),
        linear-gradient(135deg, var(--pres-primary), #0f172a);
    color: #fff;
    box-shadow: 0 34px 100px rgba(15,23,42,.20);
}

.prestasi-cta-box h2 {
    color: #fff;
    font-size: clamp(34px, 5vw, 66px);
    line-height: 1.04;
    letter-spacing: -2.4px;
    font-weight: 950;
    margin-bottom: 16px;
}

.prestasi-cta-box p {
    color: rgba(255,255,255,.74);
    max-width: 650px;
    line-height: 1.85;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .prestasi-values-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .prestasi-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 992px) {
    .prestasi-hero-grid,
    .prestasi-story-card,
    .prestasi-cta-box {
        grid-template-columns: 1fr;
    }

    .prestasi-hero-grid {
        min-height: auto;
        padding: 110px 0 80px;
    }

    .showcase-main {
        height: 460px;
    }

    .showcase-stat {
        position: static;
        margin-top: 12px;
        display: inline-block;
        margin-right: 10px;
    }

    .story-visual img {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .prestasi-hero-content h1,
    .prestasi-section-head h2,
    .story-content h2,
    .prestasi-cta-box h2 {
        letter-spacing: -1.4px;
    }

    .prestasi-hero-actions {
        flex-direction: column;
    }

    .prestasi-btn {
        width: 100%;
    }

    .prestasi-values-grid,
    .prestasi-grid {
        grid-template-columns: 1fr;
    }

    .value-card.featured {
        grid-column: span 1;
        min-height: 340px;
    }

    .prestasi-hero-showcase {
        padding: 0;
    }

    .showcase-main,
    .value-card,
    .prestasi-card,
    .prestasi-story-card,
    .story-visual img,
    .prestasi-cta-box {
        border-radius: 26px;
    }

    .story-mini {
        position: static;
        margin-top: 12px;
    }
}

@media (max-width: 576px) {
    .prestasi-hero-grid {
        padding-top: 95px;
    }

    .showcase-main,
    .story-visual img {
        height: 330px;
    }

    .prestasi-card-img {
        height: 240px;
    }

    .prestasi-word,
    .section-bg-word {
        display: none;
    }
}
