/* ========================================
   Brand Colors & Variables
   ======================================== */
:root {
    --brand-blue: #0090D4;
    --brand-yellow: #FBD106;
    --dark-blue: #006B9F;
    --light-blue: #E6F5FC;
    --dark-gray: #2C3E50;
    --light-gray: #ECF0F1;
    --kat-guru:    #0090D4;
    --kat-kepsek:  #27AE60;
    --kat-pengawas:#8E44AD;
    --kat-tendik:  #E67E22;
}

/* ========================================
   Base Layout - Flexbox Sticky Footer
   ======================================== */
html {
  font-size: 14px;
  scroll-behavior: smooth;
  height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-gray);
  background-color: #f8f9fa;
  height: 100%;
}

/* Page wrapper - Flexbox container for sticky footer */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main content - Grows to fill available space */
.main-content {
  flex: 1 0 auto;
  width: 100%;
}

/* ========================================
   Hero Section - Landing Page
   ======================================== */
.hero-background {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--dark-blue) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(251, 209, 6, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slider-overlay {
    position: absolute;
    inset: 0;
    background-color: rgb(51 98 155 / 75%);
    z-index: 1;
}

.hero-slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.2);
}

.hero-section {
    position: relative;
    z-index: 2;
}

.logo-container {
    animation: fadeInDown 1s ease;
}

.logo-bbgtk {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--brand-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease;
}

.subtitle-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(251, 209, 6, 0.3);
    border-radius: 50px;
    padding: 15px 30px;
    display: inline-block;
    animation: fadeInUp 1s ease 0.2s both;
}

.subtitle-box .lead {
    color: var(--brand-yellow);
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-cta {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    letter-spacing: 0.4px;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Shimmer sweep layer */
.btn-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 80%
    );
    transform: translateX(-100%);
    transition: transform 0.55s ease;
    border-radius: 50px;
    pointer-events: none;
}

/* Top gloss */
.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.18), transparent);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff;
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-cta:hover::after {
    transform: translateX(100%);
}

.btn-cta:hover::before {
    opacity: 1.4;
}

.btn-cta:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition-duration: 0.1s;
}

/* Info Cards */
.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--brand-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--dark-blue);
    box-shadow: 0 10px 30px rgba(251, 209, 6, 0.3);
}

.info-card h5 {
    color: white;
    margin-bottom: 10px;
}

.info-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Form Styles
   ======================================== */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #E0E0E0;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 144, 212, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.is-invalid {
    border-color: #dc3545;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ========================================
   Cards & Components
   ======================================== */
.card {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--dark-blue) 100%);
    border-radius: 20px 20px 0 0 !important;
    border: none;
    padding: 20px 30px;
}

.card-header h3 {
    margin: 0;
    font-weight: 700;
}

.card-body {
    padding: 30px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--dark-blue) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--brand-blue) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 144, 212, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.btn-secondary {
    background: #6c757d;
}

.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 144, 212, 0.25);
}

/* ========================================
   Progress Bar
   ======================================== */
.progress {
    border-radius: 15px;
    height: 35px;
    background-color: var(--light-gray);
    overflow: visible;
}

.progress-bar {
    background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-yellow) 100%);
    border-radius: 15px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background: white !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-blue) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--dark-blue) !important;
    transform: scale(1.05);
}

.navbar-brand i {
    color: var(--brand-yellow);
}

.nav-link {
    font-weight: 600;
    color: var(--dark-gray) !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--brand-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--brand-blue) !important;
}

/* ========================================
   Table Styles
   ======================================== */
.table {
    border-radius: 15px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--dark-blue) 100%);
}

.table thead th {
    color: white;
    font-weight: 700;
    border: none;
    padding: 15px;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: var(--light-blue);
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ========================================
   Alerts
   ======================================== */
.alert {
    border-radius: 15px;
    border: none;
    padding: 20px;
    font-weight: 500;
}

.alert-info {
    background: linear-gradient(135deg, var(--light-blue) 0%, #E3F2FD 100%);
    color: var(--dark-blue);
}

.alert-success {
    background: linear-gradient(135deg, #D4EDDA 0%, #C3E6CB 100%);
    color: #155724;
}

.alert-warning {
    background: linear-gradient(135deg, #FFF3CD 0%, #FFE69C 100%);
    color: #856404;
}

.alert-danger {
    background: linear-gradient(135deg, #F8D7DA 0%, #F5C6CB 100%);
    color: #721C24;
}

/* ========================================
   Footer
   ======================================== */
footer.footer {
    flex-shrink: 0;
    background: linear-gradient(160deg, #1d49ad 0%, #0a1f3a 100%);
    color: #ffffff;
    padding: 28px 0 0;

    width: 100%;
}

.footer-logo {
    height: 48px;
    width: auto;
    flex-shrink: 0;
}

.footer-brand {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.footer-brand-sub {
    font-size: 0.75rem;
    color: #ffffff;
    opacity: 0.7;
    margin-top: 1px;
}

.footer-institution {
    font-size: 0.8rem;
    color: #ffffff;
    line-height: 1.5;
}

.footer-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.5;
}

.footer-contact-list li i {
    color: #ffffff;
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--brand-yellow);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 20px 0 0;
}

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 0;
}

/* ========================================
   Utility Classes
   ======================================== */
.shadow-lg {
    box-shadow: 0 15px 50px rgba(0,0,0,0.15) !important;
}

.text-primary {
    color: var(--brand-blue) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--dark-blue) 100%) !important;
}

.badge {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .logo-bbgtk {
        max-width: 120px;
    }

    .display-2 {
        font-size: 2.5rem;
    }

    .btn-cta {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .info-card {
        margin-bottom: 20px;
    }
}

/* ========================================
   Register Page Header
   ======================================== */
.reg-header {
    padding: 32px 0 40px;
    clip-path: none;
}
.reg-header-change-link {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,255,255,0.4);
    transition: color .2s, border-color .2s;
}
.reg-header-change-link:hover {
    color: var(--brand-yellow);
    border-color: var(--brand-yellow);
}

/* Completed step line */
.kat-step-line-done {
    background: var(--brand-yellow) !important;
    opacity: 0.8;
}

/* ========================================
   Register Success Page
   ======================================== */
.success-card {
    border-radius: 20px;
    overflow: hidden;
}

.success-icon-wrap {
    position: relative;
    display: inline-block;
    width: 96px;
    height: 96px;
}
.success-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #e6f7ee;
    animation: success-pulse 2s ease-in-out infinite;
}
@keyframes success-pulse {
    0%,100% { transform: scale(1);   opacity: 1; }
    50%      { transform: scale(1.1); opacity: 0.6; }
}
.success-icon-check {
    position: relative;
    z-index: 1;
    font-size: 4.5rem;
    color: #27AE60;
    line-height: 96px;
}

.success-next-steps {
    background: #f8fafc;
    border-radius: 14px;
    padding: 18px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.success-step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #4a5568;
}
.success-step-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* ========================================
   Kategori Page
   ======================================== */
.kategori-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--brand-blue) 60%, #00b8ff 100%);
    padding: 48px 0 56px;
    text-align: center;
    color: #fff;
    clip-path: ellipse(110% 100% at 50% 0%);
}

.kat-step-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
}

.kat-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.kat-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: 2px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    transition: all .3s;
}

.kat-step.active .kat-step-circle {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #1a1a1a;
    box-shadow: 0 0 0 4px rgba(251,209,6,0.3);
}

.kat-step-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.kat-step.active .kat-step-label {
    color: #fff;
    font-weight: 700;
}

.kat-step-line {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    margin: 0 8px;
    margin-bottom: 22px;
}

.kategori-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.kategori-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    max-width: 560px;
    margin: 0 auto;
}

/* Accordion wrapper */
.kategori-accordion {
    max-width: 960px;
    margin: 0 auto;
}

.kat-accordion-item {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Group header buttons */
.kat-group-btn {
    display: flex !important;
    align-items: center !important;
    gap: 16px;
    padding: 18px 24px !important;
    border: none !important;
    border-radius: 16px 16px 0 0 !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: none !important;
    background-size: 200% 100%;
    background-position: left center;
    transition: background-position .4s ease, box-shadow .3s;
}

.kat-group-btn:not(.collapsed) {
    background-position: right center;
}

.kat-group-btn::after {
    filter: brightness(10);
    margin-left: auto;
}

.kat-guru    { background-image: linear-gradient(120deg, #006B9F, #0090D4, #00b8ff); }
.kat-kepsek  { background-image: linear-gradient(120deg, #1a7a45, #27AE60, #2ecc71); }
.kat-pengawas{ background-image: linear-gradient(120deg, #6c2f9e, #8E44AD, #a855f7); }
.kat-tendik  { background-image: linear-gradient(120deg, #b55a10, #E67E22, #f97316); }

.kat-group-icon {
    font-size: 2rem;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kat-group-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kat-group-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.kat-group-count {
    font-size: 0.8rem;
    opacity: 0.85;
    font-weight: 400;
}

.kat-group-badge {
    margin-left: auto;
    margin-right: 12px;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    white-space: nowrap;
    display: none;
}

@media (min-width: 576px) {
    .kat-group-badge { display: inline; }
}

/* Accordion body */
.kat-body {
    background: #f8fafc;
    padding: 24px !important;
}

/* Sub-category cards */
.subkat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 12px 16px;
    background: #fff;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, border-color .25s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.subkat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 14px 14px 0 0;
    transition: height .25s;
}

.subkat-guru::before    { background: var(--kat-guru); }
.subkat-kepsek::before  { background: var(--kat-kepsek); }
.subkat-pengawas::before{ background: var(--kat-pengawas); }
.subkat-tendik::before  { background: var(--kat-tendik); }

.subkat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.subkat-guru:hover    { border-color: var(--kat-guru); }
.subkat-kepsek:hover  { border-color: var(--kat-kepsek); }
.subkat-pengawas:hover{ border-color: var(--kat-pengawas); }
.subkat-tendik:hover  { border-color: var(--kat-tendik); }

.subkat-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.subkat-guru .subkat-icon    { background: #e6f4fc; color: var(--kat-guru); }
.subkat-kepsek .subkat-icon  { background: #e6f7ee; color: var(--kat-kepsek); }
.subkat-pengawas .subkat-icon{ background: #f3ecfa; color: var(--kat-pengawas); }
.subkat-tendik .subkat-icon  { background: #fdf0e6; color: var(--kat-tendik); }

.subkat-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: #1a2a3a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.subkat-desc {
    font-size: 0.74rem;
    color: #7a8a9a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.subkat-arrow {
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s, transform .25s cubic-bezier(.34,1.56,.64,1);
}

.subkat-guru .subkat-arrow    { color: var(--kat-guru); }
.subkat-kepsek .subkat-arrow  { color: var(--kat-kepsek); }
.subkat-pengawas .subkat-arrow{ color: var(--kat-pengawas); }
.subkat-tendik .subkat-arrow  { color: var(--kat-tendik); }

.subkat-card:hover .subkat-arrow {
    opacity: 1;
    transform: translateX(0);
}

.subkat-wide {
    flex-direction: row;
    text-align: left;
    padding: 20px 24px;
    gap: 16px;
    align-items: flex-start;
}

.subkat-wide .subkat-icon { flex-shrink: 0; margin-bottom: 0; }
.subkat-wide .subkat-name { font-size: 0.95rem; }
.subkat-wide .subkat-desc { margin-bottom: 0; }
.subkat-wide .subkat-arrow { margin-left: auto; align-self: center; margin-bottom: 0; flex-shrink: 0; }

/* Category badge on Register page */
.kat-selected-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-left: 5px solid;
}

.kat-selected-banner .kat-change-link {
    margin-left: auto;
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0.8;
    text-decoration: none;
}

.kat-selected-banner .kat-change-link:hover { opacity: 1; text-decoration: underline; }

.kat-banner-guru     { background: #e6f4fc; color: #005580; border-color: var(--kat-guru); }
.kat-banner-kepsek   { background: #e6f7ee; color: #145a32; border-color: var(--kat-kepsek); }
.kat-banner-pengawas { background: #f3ecfa; color: #5b1f85; border-color: var(--kat-pengawas); }
.kat-banner-tendik   { background: #fdf0e6; color: #7e3600; border-color: var(--kat-tendik); }

/* ========================================
   Landing Page — Main Content Sections
   ======================================== */

/* ── Scroll Hint ── */
.lp-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.lp-scroll-arrow {
    font-size: 1.1rem;
    animation: lp-bounce 1.6s ease-in-out infinite;
}
@keyframes lp-bounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

/* ── Scroll Reveal base ── */
.lp-reveal,
.lp-reveal-right {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}
.lp-reveal-right {
    transform: translateX(36px);
}
.lp-reveal.lp-visible,
.lp-reveal-right.lp-visible {
    opacity: 1;
    transform: none;
}

/* ── Section base ── */
.lp-section {
    padding: 96px 0;
    position: relative;
}

.lp-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.lp-tag {
    display: inline-block;
    background: var(--light-blue);
    color: var(--dark-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0,144,212,0.2);
}
.lp-tag-light {
    background: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.25);
}

.lp-section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1.25;
}
.lp-title-light { color: #fff; }

.lp-highlight {
    color: var(--brand-blue);
}

.lp-section-subtitle {
    font-size: 1rem;
    color: #6c7a89;
    line-height: 1.75;
    margin-top: 12px;
}
.lp-subtitle-light { color: rgba(255,255,255,0.8); }

.lp-body-text {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.8;
}

/* ── Buttons ── */
.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-blue), var(--dark-blue));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,144,212,0.3);
    transition: transform .25s ease, box-shadow .25s ease;
}
.lp-btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0,144,212,0.4);
}
.lp-btn-primary.lp-btn-large {
    font-size: 1.1rem;
    padding: 16px 40px;
}

.lp-btn-outline {
    display: inline-flex;
    align-items: center;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 11px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all .25s ease;
}
.lp-btn-outline:hover {
    background: var(--brand-blue);
    color: #fff;
}

/* ── Wave dividers ── */
.lp-section-wave-top,
.lp-section-wave-bottom {
    position: absolute;
    left: 0; right: 0;
    height: 60px;
    pointer-events: none;
}
.lp-section-wave-top  { top: -1px; }
.lp-section-wave-bottom { bottom: -1px; }
.lp-section-wave-top::before,
.lp-section-wave-bottom::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: var(--wave-color, #fff);
    clip-path: ellipse(55% 100% at 50% 0%);
}
.lp-section-wave-bottom::before {
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.lp-about {
    background: #fff;
}

.lp-stats-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.lp-stat-item { text-align: center; }
.lp-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1;
}
.lp-stat-label {
    font-size: 0.8rem;
    color: #6c7a89;
    font-weight: 500;
    margin-top: 4px;
}
.lp-stat-divider {
    width: 1px;
    height: 40px;
    background: #dde3ea;
}

/* About visual orbit */
.lp-about-visual {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 380px;
    margin: 0 auto;
    will-change: transform;
}
.lp-about-center-logo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 50%;
    width: 110px; height: 110px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(0,144,212,0.15);
    z-index: 2;
}
.lp-about-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
    min-width: 110px;
    animation: lp-orbit-float 4s ease-in-out infinite;
    border: 2px solid transparent;
    transition: transform .3s ease, box-shadow .3s ease;
}
.lp-about-card:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}
.lp-about-card i { font-size: 1.6rem; }

.lp-about-card-1 { top: 6%;  left: 0%;   border-color: rgba(0,144,212,.2);  animation-delay: 0s;    }
.lp-about-card-2 { top: 6%;  right: 0%;  border-color: rgba(39,174,96,.2);  animation-delay: 1s;    }
.lp-about-card-3 { bottom: 6%; left: 0%; border-color: rgba(142,68,173,.2); animation-delay: 2s;    }
.lp-about-card-4 { bottom: 6%; right: 0%;border-color: rgba(230,126,34,.2); animation-delay: 0.5s;  }

.lp-about-card-1 i { color: var(--kat-guru); }
.lp-about-card-2 i { color: var(--kat-kepsek); }
.lp-about-card-3 i { color: var(--kat-pengawas); }
.lp-about-card-4 i { color: var(--kat-tendik); }

@keyframes lp-orbit-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ============================================================
   CATEGORIES SECTION
   ============================================================ */
.lp-categories {
    background: #f0f7ff;
    padding-top: 120px;
    padding-bottom: 120px;
}

/* Override tag & titles for light bg */
.lp-categories .lp-tag-light {
    background: rgba(0,144,212,0.1);
    color: var(--dark-blue);
    border-color: rgba(0,144,212,0.2);
}
.lp-categories .lp-title-light  { color: var(--dark-gray); }
.lp-categories .lp-subtitle-light { color: #6c7a89; }

.lp-cat-card {
    background: #fff;
    border: 1.5px solid #e2ecf5;
    border-radius: 20px;
    padding: 32px 24px;
    color: var(--dark-gray);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,144,212,0.07);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, border-color .3s;
    cursor: default;
}
.lp-cat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--cat-color);
    border-radius: 20px 20px 0 0;
}
.lp-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,144,212,0.14);
    border-color: var(--cat-color);
}
.lp-cat-icon {
    font-size: 2.2rem;
    width: 62px; height: 62px;
    background: color-mix(in srgb, var(--cat-color) 10%, white);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    color: var(--cat-color);
}
.lp-cat-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 8px;
}
.lp-cat-desc {
    font-size: 0.85rem;
    color: #6c7a89;
    line-height: 1.6;
    flex-grow: 1;
}
.lp-cat-count {
    display: inline-block;
    background: color-mix(in srgb, var(--cat-color) 10%, white);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.78rem;
    color: var(--cat-color);
    font-weight: 700;
    margin: 12px 0;
    border: 1px solid color-mix(in srgb, var(--cat-color) 25%, white);
}
.lp-cat-btn {
    display: inline-flex;
    align-items: center;
    color: var(--cat-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    padding: 8px 0;
    border-bottom: 1.5px solid color-mix(in srgb, var(--cat-color) 30%, transparent);
    transition: border-color .2s, gap .2s;
    gap: 4px;
    width: fit-content;
}
.lp-cat-btn:hover {
    border-color: var(--cat-color);
    gap: 10px;
}

/* ============================================================
   TIMELINE SECTION
   ============================================================ */
.lp-timeline-section {
    background: #fff;
}

.lp-timeline {
    position: relative;
    max-width: 720px;
    margin: 56px auto 0;
    padding-left: 0;
}
.lp-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-blue), var(--brand-yellow));
}
@media (min-width: 768px) {
    .lp-timeline::before { left: 32px; }
}

.lp-tl-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
    align-items: flex-start;
}
.lp-tl-item:last-child { margin-bottom: 0; }

.lp-tl-dot {
    flex-shrink: 0;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--tl-color);
    color: #fff;
    font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    position: relative;
    z-index: 1;
    transition: transform .3s ease, box-shadow .3s ease;
}
.lp-tl-item:hover .lp-tl-dot {
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.lp-tl-content {
    background: #f8fafc;
    border-radius: 14px;
    padding: 18px 22px;
    flex-grow: 1;
    border-left: 3px solid var(--tl-color, var(--brand-blue));
    transition: box-shadow .3s ease;
}
.lp-tl-item:hover .lp-tl-content {
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.lp-tl-date {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-blue);
    margin-bottom: 4px;
}
.lp-tl-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: 4px;
}
.lp-tl-desc {
    font-size: 0.875rem;
    color: #6c7a89;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   PRIZES SECTION
   ============================================================ */
.lp-prizes {
    background: linear-gradient(160deg, #003d5c 0%, #005a87 40%, var(--brand-blue) 100%);
    padding-top: 120px;
    padding-bottom: 120px;
}

.lp-prize-card {
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
}
.lp-prize-card:hover { transform: translateY(-8px); }

.lp-prize-gold {
    background: linear-gradient(160deg, #7B4F00, #C8860A, #F5C842);
    color: #fff;
    box-shadow: 0 16px 48px rgba(197,133,7,0.4);
}
.lp-prize-silver {
    background: linear-gradient(160deg, #4a4a5a, #6e7285, #9da3b4);
    color: #fff;
    box-shadow: 0 12px 32px rgba(80,80,100,0.3);
}
.lp-prize-bronze {
    background: linear-gradient(160deg, #5c3010, #8B4513, #CD7F32);
    color: #fff;
    box-shadow: 0 12px 32px rgba(90,52,16,0.3);
}

.lp-prize-featured {
    transform: scale(1.06);
    z-index: 2;
}
.lp-prize-featured:hover { transform: scale(1.06) translateY(-8px); }

.lp-prize-crown {
    position: absolute;
    top: -2px; left: 50%;
    transform: translateX(-50%);
    font-size: 1.4rem;
    color: var(--brand-yellow);
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.lp-prize-badge {
    position: absolute;
    top: 14px; right: -22px;
    background: var(--brand-yellow);
    color: #1a1a1a;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 28px;
    transform: rotate(45deg);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lp-prize-rank { font-size: 2.8rem; margin-bottom: 8px; }
.lp-prize-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.lp-prize-tier {
    font-size: 0.8rem;
    opacity: 0.75;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.lp-prize-perks {
    list-style: none;
    padding: 0; margin: 0;
    text-align: left;
}
.lp-prize-perks li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.lp-prize-perks li:last-child { border-bottom: none; }
.lp-prize-perks i { color: var(--brand-yellow); flex-shrink: 0; }

/* Extra awards */
.lp-extra-awards {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid rgba(255,255,255,0.12);
}
.lp-extra-title {
    color: var(--brand-yellow);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.lp-extra-card {
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background .2s, border-color .2s;
}
.lp-extra-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
}
.lp-extra-card i {
    color: var(--brand-yellow);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ============================================================
   TERMS SECTION
   ============================================================ */
.lp-terms-section {
    background: #fff;
}

.lp-terms-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.lp-term-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #eef1f4;
    align-items: flex-start;
}
.lp-term-item:first-child { padding-top: 0; }
.lp-term-item:last-child  { border-bottom: none; }

.lp-term-icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    background: var(--light-blue);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--brand-blue);
}
.lp-term-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: 3px;
}
.lp-term-item p {
    font-size: 0.855rem;
    color: #6c7a89;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   HOW TO JOIN SECTION
   ============================================================ */
.lp-howtojoin {
    background: linear-gradient(160deg, var(--dark-blue) 0%, #003d5c 100%);
    padding-top: 120px;
    padding-bottom: 96px;
}

.lp-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    position: relative;
}
@media (max-width: 767px) {
    .lp-steps-grid { grid-template-columns: 1fr; gap: 8px; }
}

.lp-step {
    padding: 32px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    position: relative;
    transition: background .3s, border-color .3s, transform .3s ease;
    margin: 6px;
}
.lp-step:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-6px);
}
.lp-step-connector {
    display: none;
}
@media (min-width: 768px) {
    .lp-step-connector {
        display: block;
        position: absolute;
        top: 52px;
        right: -20px;
        width: 20px; height: 2px;
        background: rgba(255,255,255,0.2);
        z-index: 1;
    }
}

.lp-step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    position: absolute;
    top: 12px; right: 16px;
}
.lp-step-icon {
    font-size: 2rem;
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    color: var(--brand-yellow);
    border: 2px solid rgba(255,255,255,0.12);
    transition: background .3s, border-color .3s;
}
.lp-step:hover .lp-step-icon {
    background: rgba(251,209,6,0.15);
    border-color: var(--brand-yellow);
}
.lp-step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.lp-step-desc {
    font-size: 0.825rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 575px) {
    .lp-section      { padding: 64px 0; }
    .lp-about-visual { height: 280px; }
    .lp-timeline     { padding-left: 0; }
    .lp-prize-featured { transform: scale(1); }
    .lp-prize-featured:hover { transform: translateY(-6px); }
}
