:root {
    --lp-primary: #1b6b52;
    --lp-primary-dark: #0f4a38;
    --lp-primary-soft: #e8f5f0;
    --lp-accent: #c9a227;
    --lp-accent-soft: #faf3dc;
    --lp-coral: #d4846a;
    --lp-coral-soft: #fdf0eb;
    --lp-slate: #2d3748;
    --lp-muted: #64748b;
    --lp-bg: #f7f9f8;
    --lp-card: #ffffff;
    --lp-radius: 20px;
    --lp-shadow: 0 8px 32px rgba(27, 107, 82, 0.08);
    --lp-shadow-hover: 0 16px 48px rgba(27, 107, 82, 0.14);
}

* { box-sizing: border-box; }

.landing-body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: var(--lp-bg);
    color: var(--lp-slate);
    overflow-x: hidden;
}

/* Navbar */
.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}

.lp-nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0;
}

.lp-nav .navbar-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--lp-primary-dark) !important;
    letter-spacing: -0.02em;
}

.brand-logo-nav {
    height: 36px;
    max-width: 120px;
    object-fit: contain;
}

.brand-logo-footer {
    height: 40px;
    max-width: 100px;
    object-fit: contain;
}

.lp-nav .nav-link {
    color: var(--lp-muted) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.9rem !important;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.lp-nav .nav-link:hover {
    color: var(--lp-primary) !important;
    background: var(--lp-primary-soft);
}

.lp-btn-login {
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(27, 107, 82, 0.3);
}

.lp-btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(27, 107, 82, 0.4);
    color: #fff;
}

/* Hero */
.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 5rem;
    overflow: hidden;
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(27, 107, 82, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 10% 80%, rgba(201, 162, 39, 0.1) 0%, transparent 55%),
        linear-gradient(160deg, #f0f7f4 0%, #f7f9f8 40%, #faf8f3 100%);
    z-index: 0;
}

.lp-hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: lp-float 8s ease-in-out infinite;
}

.lp-hero-shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(27, 107, 82, 0.15);
    top: -100px;
    right: -80px;
}

.lp-hero-shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(201, 162, 39, 0.12);
    bottom: 10%;
    left: -60px;
    animation-delay: -4s;
}

@keyframes lp-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.lp-hero-content { position: relative; z-index: 1; }

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--lp-primary-soft);
    color: var(--lp-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(27, 107, 82, 0.15);
}

.lp-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--lp-primary-dark);
    margin-bottom: 1rem;
}

.lp-hero h1 span {
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-hero-lead {
    font-size: 1.05rem;
    color: var(--lp-muted);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2rem;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.lp-btn-primary {
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 24px rgba(27, 107, 82, 0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.lp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(27, 107, 82, 0.45);
    color: #fff;
}

.lp-btn-outline {
    background: rgba(255, 255, 255, 0.8);
    color: var(--lp-primary-dark);
    border: 2px solid rgba(27, 107, 82, 0.2);
    border-radius: 14px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.lp-btn-outline:hover {
    background: var(--lp-primary-soft);
    border-color: var(--lp-primary);
    color: var(--lp-primary-dark);
}

/* Hero visual card */
.lp-hero-visual {
    position: relative;
    z-index: 1;
}

.lp-glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-hover);
    padding: 1.75rem;
    animation: lp-slide-up 0.8s ease-out;
}

@keyframes lp-slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.lp-mini-stat {
    text-align: center;
    padding: 1rem;
    border-radius: 14px;
    background: var(--lp-bg);
    transition: transform 0.2s;
}

.lp-mini-stat:hover { transform: translateY(-3px); }

.lp-mini-stat .value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--lp-primary-dark);
    line-height: 1;
}

.lp-mini-stat .label {
    font-size: 0.75rem;
    color: var(--lp-muted);
    margin-top: 0.35rem;
    font-weight: 500;
}

/* Sections */
.lp-section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.lp-section-alt {
    background: linear-gradient(180deg, #fff 0%, var(--lp-bg) 100%);
}

#terkini {
    padding-bottom: 6rem;
}

.lp-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--lp-primary-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.lp-section-sub {
    color: var(--lp-muted);
    font-size: 1rem;
    max-width: 560px;
    margin-bottom: 2.5rem;
}

/* Stat cards */
.lp-stat-card {
    background: var(--lp-card);
    border-radius: var(--lp-radius);
    padding: 1.5rem;
    box-shadow: var(--lp-shadow);
    border: 1px solid rgba(27, 107, 82, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
}

.lp-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-hover);
}

.lp-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.lp-stat-icon.green { background: var(--lp-primary-soft); color: var(--lp-primary); }
.lp-stat-icon.gold { background: var(--lp-accent-soft); color: #9a7b1a; }
.lp-stat-icon.coral { background: var(--lp-coral-soft); color: var(--lp-coral); }
.lp-stat-icon.slate { background: #eef2f7; color: var(--lp-slate); }

.lp-stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lp-primary-dark);
    margin-bottom: 0.15rem;
}

.lp-stat-card p {
    color: var(--lp-muted);
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
}

/* Flow cards */
.lp-flow-card {
    background: var(--lp-card);
    border-radius: var(--lp-radius);
    padding: 1.5rem;
    box-shadow: var(--lp-shadow);
    border-left: 4px solid var(--lp-primary);
    height: 100%;
    transition: transform 0.2s;
}

.lp-flow-card:nth-child(2) { border-left-color: var(--lp-accent); }
.lp-flow-card:nth-child(3) { border-left-color: var(--lp-coral); }

.lp-flow-card:hover { transform: translateX(4px); }

.lp-flow-card .period {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lp-primary);
    margin-bottom: 0.5rem;
}

.lp-flow-card:nth-child(2) .period { color: #9a7b1a; }
.lp-flow-card:nth-child(3) .period { color: var(--lp-coral); }

.lp-flow-card h5 {
    font-weight: 700;
    color: var(--lp-primary-dark);
    margin-bottom: 0.5rem;
}

.lp-flow-card p {
    font-size: 0.875rem;
    color: var(--lp-muted);
    margin: 0;
    line-height: 1.6;
}

/* Chart cards */
.lp-chart-card {
    background: var(--lp-card);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    border: 1px solid rgba(27, 107, 82, 0.06);
    overflow: hidden;
    height: 100%;
}

.lp-chart-card .card-head {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f2f5;
}

.lp-chart-card .card-head h6 {
    font-weight: 700;
    color: var(--lp-primary-dark);
    margin: 0;
}

.lp-chart-card .card-body { padding: 1.25rem 1.5rem; }

/* Highlights feed */
.lp-highlight-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f2f5;
    animation: lp-fade-in 0.5s ease-out both;
}

.lp-highlight-item:last-child { border-bottom: none; }

@keyframes lp-fade-in {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.lp-highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.lp-highlight-icon.prestasi { background: var(--lp-accent-soft); color: #9a7b1a; }
.lp-highlight-icon.karakter { background: var(--lp-coral-soft); color: var(--lp-coral); }

.lp-highlight-meta {
    font-size: 0.75rem;
    color: var(--lp-muted);
}

.lp-highlight-title {
    font-weight: 600;
    color: var(--lp-slate);
    font-size: 0.9rem;
}

.lp-highlight-points {
    font-weight: 700;
    color: var(--lp-primary);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Announcements */
.lp-announcement-card {
    display: flex;
    gap: 1rem;
    background: var(--lp-card);
    border-radius: var(--lp-radius);
    padding: 1.25rem;
    box-shadow: var(--lp-shadow);
    border: 1px solid rgba(27, 107, 82, 0.08);
    height: 100%;
}

.lp-announcement-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--lp-primary-soft);
    color: var(--lp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.lp-announcement-title {
    font-weight: 700;
    color: var(--lp-primary-dark);
    margin-bottom: 0.35rem;
}

.lp-announcement-text {
    font-size: 0.875rem;
    color: var(--lp-muted);
    line-height: 1.5;
}

/* Class ranking */
.lp-class-bar {
    margin-bottom: 1rem;
}

.lp-class-bar .bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.lp-class-bar .bar-track {
    height: 10px;
    background: #eef2f7;
    border-radius: 50px;
    overflow: hidden;
}

.lp-class-bar .bar-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--lp-primary) 0%, #2d9f78 100%);
    transition: width 1s ease-out;
}

/* Leaderboard */
.lp-leaderboard-card {
    background: #fff;
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    padding: 1.75rem;
    height: 100%;
    border: 1px solid rgba(25, 135, 84, 0.08);
}

.lp-leaderboard-weekly {
    border-top: 4px solid #ffc107;
}

.lp-leaderboard-monthly {
    border-top: 4px solid var(--lp-primary);
}

.lp-leaderboard-weekly-karakter {
    border-top: 4px solid #0d6efd;
}

.lp-leaderboard-monthly-karakter {
    border-top: 4px solid #0d6efd;
}

.lp-leaderboard-weekly-karakter .lp-leaderboard-icon,
.lp-leaderboard-monthly-karakter .lp-leaderboard-icon {
    background: #eef4ff;
    color: #0d6efd;
}

.lp-leaderboard-weekly-karakter .lp-leaderboard-points,
.lp-leaderboard-monthly-karakter .lp-leaderboard-points {
    color: #0d6efd;
}

.lp-leaderboard-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.lp-leaderboard-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.lp-leaderboard-weekly .lp-leaderboard-icon {
    background: #fff8e6;
    color: #d4a017;
}

.lp-leaderboard-monthly .lp-leaderboard-icon {
    background: var(--lp-primary-soft);
    color: var(--lp-primary);
}

.lp-leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.lp-leaderboard-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: var(--lp-bg);
    transition: transform 0.2s ease;
}

.lp-leaderboard-item:hover {
    transform: translateX(4px);
}

.lp-leaderboard-item.rank-1 {
    background: linear-gradient(90deg, #fff9e6 0%, #fffdf5 100%);
    border: 1px solid #ffe08a;
}

.lp-leaderboard-item.rank-2 {
    background: linear-gradient(90deg, #f5f7fa 0%, #fafbfc 100%);
    border: 1px solid #d8dee9;
}

.lp-leaderboard-item.rank-3 {
    background: linear-gradient(90deg, #fff4eb 0%, #fffaf6 100%);
    border: 1px solid #ffd4b8;
}

.lp-leaderboard-rank {
    width: 36px;
    text-align: center;
    font-weight: 700;
    color: var(--lp-muted);
    flex-shrink: 0;
}

.lp-leaderboard-item.rank-1 .lp-leaderboard-rank { color: #d4a017; font-size: 1.2rem; }
.lp-leaderboard-item.rank-2 .lp-leaderboard-rank { color: #7a8a9a; font-size: 1.1rem; }
.lp-leaderboard-item.rank-3 .lp-leaderboard-rank { color: #c97a3d; font-size: 1.1rem; }

.lp-leaderboard-name {
    font-weight: 600;
    color: var(--lp-slate);
    font-size: 0.95rem;
}

.lp-leaderboard-class {
    font-size: 0.75rem;
    color: var(--lp-muted);
}

.lp-leaderboard-points {
    margin-left: auto;
    font-weight: 700;
    color: var(--lp-primary);
    font-size: 0.95rem;
    white-space: nowrap;
}

.lp-leaderboard-points span {
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--lp-muted);
}

/* About / Info */
.lp-info-card {
    background: linear-gradient(135deg, var(--lp-primary-dark) 0%, var(--lp-primary) 100%);
    color: #fff;
    border-radius: var(--lp-radius);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.lp-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.lp-info-card h4 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.lp-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.92;
}

.lp-info-list li i { margin-top: 2px; opacity: 0.8; }

/* Footer */
.lp-footer {
    position: relative;
    z-index: 10;
    background: var(--lp-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
    margin-top: 0;
    clear: both;
}

.lp-footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.lp-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.lp-footer a:hover { color: #fff; }

.lp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1.25rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* CTA band */
.lp-cta {
    background: linear-gradient(135deg, var(--lp-accent-soft) 0%, var(--lp-primary-soft) 100%);
    border-radius: var(--lp-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(27, 107, 82, 0.1);
    margin-bottom: 0;
}

.lp-cta h3 {
    font-weight: 800;
    color: var(--lp-primary-dark);
    margin-bottom: 0.75rem;
}

/* Reveal animation */
.lp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.lp-reveal.visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

@media (max-width: 991px) {
    .lp-hero { min-height: auto; padding: 6rem 0 3rem; }
    .lp-hero-visual { margin-top: 2.5rem; }
}

@media (max-width: 576px) {
    .lp-section { padding: 3.5rem 0; }
    .lp-cta { padding: 2rem 1.25rem; }
}
