/* ===========================
   USTC.CSS
   Warna: Deep Navy #003366 + Teal #00897B + Gold accent
   Tema: Sains, Futuristik, Presisi Tinggi
   Border radius: BESAR (rounded modern)
   =========================== */

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy:       #003366;
    --navy-mid:   #00509e;
    --teal:       #00897B;
    --teal-light: rgba(0, 137, 123, 0.35);
    --gold:       #FFB300;
    --gold-light: rgba(255, 179, 0, 0.3);
    --cream:      #e8f4f8;
    --dark:       #020d1a;
}

body {
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
    background: var(--dark);
}

/* ===== PARTIKEL SAINS ===== */
.particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    color: var(--teal);
    font-family: 'Orbitron', monospace;
    animation: floatSpin linear infinite;
    user-select: none;
}
@keyframes floatSpin {
    0%   { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(180deg) scale(1.2); opacity: 0; }
}

/* ===== SLIDES BACKGROUND ===== */
.slide1, .slide2, .slide3 {
    position: relative;
    display: block;
    background-image: url("peking.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    z-index: 1;
}
.slide1::before, .slide2::before, .slide3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(2, 13, 26, 0.7) 0%,
        rgba(0, 51, 102, 0.4) 40%,
        rgba(0, 137, 123, 0.2) 70%,
        rgba(2, 13, 26, 0.75) 100%
    );
    z-index: 0;
    pointer-events: none;
}
.slide1 > *, .slide2 > *, .slide3 > * {
    position: relative;
    z-index: 1;
}

/* ===== TOMBOL KEMBALI ===== */
.webresmi {
    background: linear-gradient(135deg, var(--navy) 0%, #001f3f 100%);
    color: var(--cream);
    border: 1.5px solid var(--teal);
    padding: 11px 28px;
    border-radius: 50px; /* Besar! */
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.82rem;
    box-shadow: 0 4px 20px rgba(0,137,123,0.3);
    display: flex;
    margin: 18px auto;
    width: fit-content;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}
.webresmi:hover {
    background: linear-gradient(135deg, var(--teal) 0%, #00695c 100%);
    color: #fff;
    box-shadow: 0 0 25px rgba(0,137,123,0.5);
    transform: translateY(-2px);
}

/* ===== HERO BADGE ===== */
.hero-badge {
    display: block;
    margin: 14px auto 0;
    width: fit-content;
    background: rgba(0, 137, 123, 0.12);
    border: 1px solid var(--teal);
    color: var(--teal);
    font-family: 'Orbitron', monospace;
    font-size: 0.72rem;
    letter-spacing: 4px;
    padding: 6px 22px;
    border-radius: 50px;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 0 15px rgba(0,137,123,0.2);
}

/* ===== JUDUL ===== */
.Judul {
    display: flex;
    margin: 14px auto 0;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: clamp(40px, 10vw, 100px);
    font-weight: 900;
    width: 80%;
    color: #ffffff;
    text-shadow: 0 0 50px rgba(0,137,123,0.6), 0 0 100px rgba(0,80,158,0.4);
    background: linear-gradient(135deg,
        rgba(0,51,102,0.35) 0%,
        rgba(0,137,123,0.1) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 137, 123, 0.5);
    border-radius: 30px; /* Besar! */
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 60px rgba(0,137,123,0.15), inset 0 1px 0 rgba(255,255,255,0.08);
    padding: 20px 40px;
    transition: all 0.4s ease;
    letter-spacing: 8px;
}
.Judul:hover {
    border-color: var(--teal);
    box-shadow: 0 0 60px rgba(0,137,123,0.4), 0 25px 50px rgba(0,0,0,0.5);
    transform: scale(1.01);
}
.Judul-sub {
    display: block;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(10px, 1.5vw, 14px);
    color: var(--teal);
    letter-spacing: 3px;
    margin: 10px auto 0;
    opacity: 0.9;
    font-weight: 300;
}

/* ===== CONTAINER FLEX ===== */
.container {
    display: flex;
    column-gap: 40px;
    padding: 50px 50px 60px;
}
section { display: block; border: none; margin: 0; padding: 0; }

/* ===== VIDEO CONTAINER ===== */
.video-container {
    display: flex;
    position: relative;
    margin-top: 50px;
    margin-left: 50px;
    width: fit-content;
    padding: 14px;
    background: rgba(0, 51, 102, 0.2);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(0,137,123,0.4);
    border-radius: 24px; /* Besar! */
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 40px rgba(0,137,123,0.15);
    transition: all 0.4s ease;
}
.video-container iframe { border-radius: 16px; display: block; }
.video-container:hover {
    border-color: var(--teal);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 50px rgba(0,137,123,0.3);
    transform: translateY(-5px);
}

/* ===== PENGANTAR ===== */
.pengantar {
    margin-top: 50px;
    margin-right: 50px;
    display: flex;
    align-items: center;
    background: rgba(0, 51, 102, 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0,137,123,0.3);
    border-left: 3px solid var(--teal);
    border-radius: 24px; /* Besar! */
    padding: 28px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    color: var(--cream);
    font-family: 'Open Sans', sans-serif;
    font-size: 1.02rem;
    line-height: 1.9;
    text-align: justify;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ===== HEADING SECTION ===== */
.dokumen, .stats-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 55px auto;
    width: fit-content;
    padding: 18px 55px;
    font-family: 'Orbitron', monospace;
    font-size: clamp(18px, 3.5vw, 44px);
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 30px rgba(0,137,123,0.5);
    background: rgba(0, 51, 102, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0,137,123,0.45);
    border-radius: 50px; /* Pill shape! */
    box-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 0 50px rgba(0,137,123,0.15);
    text-align: center;
}

/* ===== BOX WRAPPER ===== */
.box {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 92%;
    margin: 20px auto 40px;
}

/* ===== BOX ITEMS ===== */
.box1, .box2, .box3, .box4, .box5,
.box6, .box7, .box8, .box9, .box10 {
    background: rgba(0, 51, 102, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0,137,123,0.25);
    border-left: 4px solid var(--teal);
    border-radius: 20px; /* Besar! */
    padding: 22px 26px;
    width: 100%;
    max-width: 860px;
    color: var(--cream);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.97rem;
    line-height: 1.8;
    transition: all 0.35s ease;
    cursor: default;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.box1:hover, .box2:hover, .box3:hover, .box4:hover, .box5:hover,
.box6:hover, .box7:hover, .box8:hover, .box9:hover, .box10:hover {
    background: rgba(0, 137, 123, 0.25);
    border-left: 4px solid #fff;
    box-shadow: 0 0 30px rgba(0,137,123,0.3), 0 8px 30px rgba(0,0,0,0.3);
    transform: translateX(8px) scale(1.01);
}
.box1 strong, .box2 strong, .box3 strong,
.box4 strong, .box5 strong, .box6 strong,
.box7 strong, .box8 strong, .box9 strong,
.box10 strong {
    color: var(--teal);
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

/* ===== STATS SECTION ===== */
.stats-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 25px;
    padding: 0 20px 60px;
}
.stats-card {
    background: rgba(0, 51, 102, 0.22);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,137,123,0.3);
    border-top: 3px solid var(--teal);
    padding: 45px 30px;
    width: 300px;
    min-height: 280px;
    border-radius: 28px; /* Besar! */
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.stats-card:hover {
    transform: translateY(-12px);
    background: rgba(0,137,123,0.3);
    border-color: var(--teal);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 40px rgba(0,137,123,0.25);
}
.stats-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--teal);
    margin-bottom: 12px;
    text-shadow: 0 0 20px rgba(0,137,123,0.6);
}
.stats-label {
    color: rgba(232, 244, 248, 0.85);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ===== AI POPUP ===== */
.ai-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, #001a33 100%);
    border: 1.5px solid var(--teal);
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    z-index: 10000;
    transition: all 0.3s ease;
    animation: pulse-teal 2.5s infinite;
    box-shadow: 0 5px 20px rgba(0,137,123,0.4);
}
.ai-circle {
    width: 34px;
    height: 34px;
    background: var(--teal);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 11px;
    margin-right: 10px;
}
.ai-label {
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
}
@keyframes pulse-teal {
    0%   { box-shadow: 0 0 0 0 rgba(0,137,123,0.6), 0 5px 20px rgba(0,137,123,0.4); transform: scale(1); }
    70%  { box-shadow: 0 0 0 14px rgba(0,137,123,0), 0 5px 20px rgba(0,137,123,0.4); transform: scale(1.04); }
    100% { box-shadow: 0 0 0 0 rgba(0,137,123,0), 0 5px 20px rgba(0,137,123,0.4); transform: scale(1); }
}
.ai-popup:hover {
    animation: none;
    background: var(--teal);
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 30px rgba(0,137,123,0.5);
}
.ai-popup:hover .ai-circle { background: #fff; color: var(--teal); }
.ai-popup:hover .ai-label  { color: #fff; }

/* ===== SLIDE 4: FINAL ===== */
.slide4 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("peking.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    padding: 60px 20px;
    position: relative;
}
.slide4::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(2,13,26,0.7) 0%, rgba(0,51,102,0.4) 50%, rgba(2,13,26,0.75) 100%);
    z-index: 0;
}
.final-container {
    position: relative;
    z-index: 1;
    background: rgba(2, 15, 35, 0.65);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(0,137,123,0.4);
    border-top: 3px solid var(--teal);
    border-radius: 30px; /* Besar! */
    width: 90%;
    max-width: 1200px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 80px rgba(0,137,123,0.15);
    text-align: center;
}
.final-title {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    color: #ffffff;
    font-size: clamp(18px, 3.5vw, 36px);
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(0,137,123,0.5);
    letter-spacing: 3px;
}
.final-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--teal);
    margin: 14px auto 35px;
    border-radius: 2px;
}
.final-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}
.final-card {
    background: rgba(0, 51, 102, 0.28);
    border: 1px solid rgba(0,137,123,0.3);
    border-top: 2px solid var(--teal);
    padding: 28px 24px;
    border-radius: 24px; /* Besar! */
    color: var(--cream);
    text-align: left;
    transition: 0.35s ease;
}
.final-card:hover {
    background: rgba(0,137,123,0.25);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4), 0 0 30px rgba(0,137,123,0.2);
}
.final-card h3 {
    color: var(--teal);
    margin-bottom: 16px;
    font-family: 'Orbitron', monospace;
    font-size: 0.78rem;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(0,137,123,0.3);
    padding-bottom: 8px;
    text-transform: uppercase;
}
.final-card p {
    font-size: 0.87rem;
    line-height: 1.75;
    margin-bottom: 3px;
    color: rgba(232,244,248,0.9);
}
.timeline-list {
    list-style: none;
    font-size: 0.87rem;
    line-height: 2;
    color: rgba(232,244,248,0.9);
}
.timeline-list li::before { content: '▸ '; color: var(--teal); }
.link-group { display: flex; flex-direction: column; gap: 12px; }
.btn-final {
    text-decoration: none;
    background: transparent;
    color: var(--teal);
    padding: 10px 14px;
    text-align: center;
    font-weight: 700;
    border-radius: 50px; /* Pill! */
    border: 1px solid var(--teal);
    transition: 0.3s;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.btn-final:hover {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 0 20px rgba(0,137,123,0.4);
}
.mini-footer {
    margin-top: 20px;
    color: rgba(232,244,248,0.35);
    font-size: 0.78rem;
    letter-spacing: 1px;
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 900px) {
    .Judul { font-size: 36px !important; width: 93% !important; letter-spacing: 4px; padding: 16px 20px; border-radius: 20px; }
    .Judul-sub { font-size: 10px; letter-spacing: 2px; }
    .container { flex-direction: column !important; align-items: center !important; gap: 18px !important; padding: 10px 12px; }
    .video-container { width: 100% !important; margin-left: 0 !important; margin-top: 10px; border-radius: 18px; }
    .video-container iframe { height: 230px !important; width: 100% !important; border-radius: 12px; }
    .pengantar { width: 100% !important; margin: 0 !important; padding: 18px !important; font-size: 1rem !important; text-align: left; border-radius: 18px; }
    .dokumen, .stats-title { width: 90%; padding: 14px 24px; font-size: 16px; letter-spacing: 2px; border-radius: 50px; }
    .stats-card { width: 90%; min-height: auto; padding: 30px 20px; border-radius: 20px; }
    .final-grid { grid-template-columns: 1fr; }
    .final-container { padding: 24px; width: 96%; border-radius: 22px; }
    .final-card { text-align: left; border-radius: 18px; }
}