/* ============================================================
   LANDING.CSS — Sistem Absensi Digital
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

:root {
    --primary: #4f6df5;
    --primary-dark: #3a56d6;
    --green: #0fa23b;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
}

html { scroll-behavior: smooth; }
body { background: #fff; color: var(--dark); line-height: 1.6; overflow-x: hidden; }

/* ========================================================= */
/* =============== LOADING OVERLAY (ANIMASI) =============== */
/* ========================================================= */
.loading-overlay {
    position: fixed; inset: 0; z-index: 99999;
    background: linear-gradient(135deg, #4f6df5 0%, #3a56d6 50%, #0fa23b 100%);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    transition: opacity .6s ease, visibility .6s ease;
    overflow: hidden;
}
.loading-overlay::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.10) 0%, transparent 40%);
    animation: bgShift 8s ease-in-out infinite alternate;
}
@keyframes bgShift {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.15) rotate(8deg); }
}
.loading-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    align-items: center; gap: 26px;
    padding: 20px; text-align: center;
}

.logo-spinner {
    width: 110px; height: 110px;
    position: relative; perspective: 1000px;
    animation: spin3D 3.2s infinite linear;
}
@keyframes spin3D {
    0%   { transform: rotateY(0deg); }
    50%  { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}
.logo-front, .logo-back {
    position: absolute; inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.logo-front { background: #fff; padding: 12px; }
.logo-front img { width: 100%; height: 100%; object-fit: contain; }
.logo-back {
    background: linear-gradient(135deg, #0fa23b 0%, #0b8a31 100%);
    transform: rotateY(180deg);
    color: #fff;
}
.logo-back i { font-size: 48px; }

.loader-ring {
    position: absolute;
    width: 150px; height: 150px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgba(255,255,255,0.9);
    border-right-color: rgba(255,255,255,0.5);
    animation: ringSpin 1.6s linear infinite;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
@keyframes ringSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.loading-text {
    font-size: 18px; font-weight: 700;
    color: #fff; letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: pulseText 1.6s infinite;
}
@keyframes pulseText { 0%,100% { opacity: 1; } 50% { opacity: .65; } }
.loading-text .dots::after { content: ''; animation: dotsAnim 1.5s infinite; }
@keyframes dotsAnim {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
    100% { content: ''; }
}
.loading-subtitle {
    font-size: 13px; color: rgba(255,255,255,0.85);
    font-weight: 400; margin-top: -14px; letter-spacing: .4px;
}
.progress-bar-wrap {
    width: 240px; max-width: 70vw;
    height: 5px; border-radius: 5px;
    background: rgba(255,255,255,0.2);
    overflow: hidden; position: relative;
}
.progress-bar-fill {
    height: 100%; border-radius: 5px;
    background: linear-gradient(90deg, #fff 0%, #a7f3d0 100%);
    width: 0%;
    animation: progressFill 1.8s ease-in-out forwards;
    box-shadow: 0 0 12px rgba(255,255,255,0.7);
}
@keyframes progressFill {
    0%   { width: 0%; }
    25%  { width: 35%; }
    60%  { width: 70%; }
    100% { width: 100%; }
}
.progress-percent {
    font-size: 12px; color: rgba(255,255,255,0.9);
    font-weight: 600; margin-top: 8px;
    font-variant-numeric: tabular-nums;
}
.loader-particles {
    position: absolute; inset: 0; overflow: hidden;
    pointer-events: none;
}
.loader-particles span {
    position: absolute; width: 6px; height: 6px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    animation: floatParticle 6s infinite ease-in-out;
}
.loader-particles span:nth-child(1)  { left: 10%; top: 20%; animation-delay: 0s;   }
.loader-particles span:nth-child(2)  { left: 25%; top: 70%; animation-delay: .5s;  }
.loader-particles span:nth-child(3)  { left: 50%; top: 15%; animation-delay: 1s;   }
.loader-particles span:nth-child(4)  { left: 75%; top: 60%; animation-delay: 1.5s; }
.loader-particles span:nth-child(5)  { left: 88%; top: 30%; animation-delay: 2s;   }
.loader-particles span:nth-child(6)  { left: 40%; top: 85%; animation-delay: 2.5s; }
.loader-particles span:nth-child(7)  { left: 60%; top: 40%; animation-delay: 3s;   }
.loader-particles span:nth-child(8)  { left: 15%; top: 55%; animation-delay: 3.5s; }
@keyframes floatParticle {
    0%,100% { transform: translateY(0) scale(1); opacity: .4; }
    50% { transform: translateY(-40px) scale(1.5); opacity: 1; }
}
.page-content { opacity: 0; transition: opacity .6s ease; }
.page-content.loaded { opacity: 1; }

/* ============ NAVBAR ============ */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 16px 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all .3s ease;
}
.navbar.scrolled { padding: 10px 5%; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dark); flex-shrink: 0; }
.nav-brand img {
    width: 46px; height: 46px; object-fit: contain;
    border-radius: 50%; background: #fff;
    padding: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: width .3s, height .3s;
}
.nav-brand-text h1 { font-size: 15px; font-weight: 700; line-height: 1.2; }
.nav-brand-text p { font-size: 11px; color: var(--gray); font-weight: 500; }

.nav-menu { display: flex; gap: 6px; align-items: center; list-style: none; }
.nav-menu > li { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    text-decoration: none; color: var(--dark); font-size: 14px;
    font-weight: 500; transition: color .3s, background .3s;
    padding: 10px 14px; border-radius: 10px;
    cursor: pointer; background: none; border: none;
    font-family: inherit;
}
.nav-link:hover { color: var(--primary); background: rgba(79,109,245,0.07); }
.nav-link .caret { font-size: 10px; transition: transform .3s; }

.dropdown-menu {
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 240px;
    background: #fff; border-radius: 14px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 8px; list-style: none;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: all .28s ease;
    z-index: 100;
}
.dropdown-menu::before {
    content: ''; position: absolute; top: -6px; left: 22px;
    width: 12px; height: 12px; background: #fff;
    transform: rotate(45deg);
    border-left: 1px solid rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.05);
}
.nav-menu > li:hover > .dropdown-menu,
.nav-menu > li.open > .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-menu > li:hover > .nav-link .caret,
.nav-menu > li.open > .nav-link .caret {
    transform: rotate(180deg);
}
.dropdown-menu li a {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px; border-radius: 10px;
    color: var(--dark); text-decoration: none;
    font-size: 13.5px; font-weight: 500;
    transition: all .25s;
    white-space: nowrap;
}
.dropdown-menu li a:hover {
    background: linear-gradient(135deg, rgba(79,109,245,0.08), rgba(15,162,59,0.05));
    color: var(--primary);
    padding-left: 18px;
}
.dropdown-menu li a i {
    width: 32px; height: 32px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 9px; font-size: 13px;
    background: rgba(79,109,245,0.1); color: var(--primary);
    transition: all .25s;
}
.dropdown-menu li a:hover i {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    transform: scale(1.08);
}
.dropdown-menu li:nth-child(2) a i { background: rgba(15,162,59,0.1); color: var(--green); }
.dropdown-menu li:nth-child(2) a:hover i { background: linear-gradient(135deg, var(--green), #0b8a31); color: #fff; }
.dropdown-menu li:nth-child(3) a i { background: rgba(245,158,11,0.12); color: #d97706; }
.dropdown-menu li:nth-child(3) a:hover i { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.dropdown-menu li:nth-child(4) a i { background: rgba(236,72,153,0.12); color: #db2777; }
.dropdown-menu li:nth-child(4) a:hover i { background: linear-gradient(135deg, #ec4899, #db2777); color: #fff; }
.dropdown-menu li:nth-child(5) a i { background: rgba(6,182,212,0.12); color: #0891b2; }
.dropdown-menu li:nth-child(5) a:hover i { background: linear-gradient(135deg, #06b6d4, #0891b2); color: #fff; }
.dropdown-menu li a .dd-text { display: flex; flex-direction: column; line-height: 1.25; }
.dropdown-menu li a .dd-text small { font-size: 11px; color: var(--gray); font-weight: 400; }

.btn-login-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff !important; padding: 10px 24px; border-radius: 50px;
    font-weight: 600; font-size: 14px; text-decoration: none;
    box-shadow: 0 4px 14px rgba(79,109,245,0.35);
    transition: all .3s;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-login-nav:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(79,109,245,0.5); }
.nav-toggle { display: none; font-size: 22px; color: var(--dark); cursor: pointer; background: none; border: none; z-index: 1001; }

/* ================= HERO ================ */
.hero {
    min-height: 100vh;
    padding: 140px 5% 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #f0f4ff;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-slide {
    position: absolute; inset: 0; opacity: 0;
    transition: opacity 1.8s ease-in-out;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-slide-1 { background: linear-gradient(135deg, #e8eeff 0%, #e8f5e9 100%); }
.hero-slide-2 { background: linear-gradient(135deg, #e0f2ff 0%, #d4f5e0 100%); }
.hero-slide-3 { background: linear-gradient(135deg, #fef3e0 0%, #e8eeff 100%); }
.hero-slide-4 { background: linear-gradient(135deg, #f0e8ff 0%, #e0f2ff 100%); }
.hero-slide-5 { background: linear-gradient(135deg, #e8f5e9 0%, #fef3e0 100%); }
.hero-slide-6 { background: linear-gradient(135deg, #ffe8f0 0%, #e8eeff 100%); }
.hero-slide-7 { background: linear-gradient(135deg, #e8fff8 0%, #f0e8ff 100%); }
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(79,109,245,0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(15,162,59,0.08) 0%, transparent 45%);
    animation: bgShift 12s ease-in-out infinite alternate;
}
.hero-slide::after {
    content: ''; position: absolute;
    top: -30%; right: -15%;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,109,245,0.10) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite;
}
.hero-slide-2::after, .hero-slide-5::after {
    background: radial-gradient(circle, rgba(15,162,59,0.10) 0%, transparent 70%);
    top: auto; bottom: -25%; left: -12%; right: auto;
}
@keyframes float {
    0%,100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}
.hero-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 60px; align-items: center;
    max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(79,109,245,0.12); color: var(--primary);
    padding: 8px 18px; border-radius: 50px;
    font-size: 13px; font-weight: 600; margin-bottom: 22px;
    border: 1px solid rgba(79,109,245,0.2);
    animation: fadeInUp .8s ease;
    backdrop-filter: blur(8px);
}
.hero-badge i { font-size: 12px; }
.hero-title {
    font-size: clamp(30px, 4.2vw, 52px);
    font-weight: 800; line-height: 1.15; margin-bottom: 20px;
    color: var(--dark); animation: fadeInUp .8s ease .1s backwards;
}
.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--green) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 16px; color: var(--gray); margin-bottom: 34px;
    max-width: 540px; line-height: 1.75;
    animation: fadeInUp .8s ease .2s backwards;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp .8s ease .3s backwards; }
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 32px; border-radius: 50px;
    font-size: 15px; font-weight: 600; text-decoration: none;
    border: none; cursor: pointer; transition: all .3s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff; box-shadow: 0 8px 24px rgba(79,109,245,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(79,109,245,0.5); }
.btn-outline {
    background: rgba(255,255,255,0.9); color: var(--dark);
    border: 2px solid #e2e8f0;
    backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }

.hero-visual { position: relative; animation: fadeInUp .8s ease .4s backwards; display: flex; justify-content: center; }
.hero-card-main {
    width: 100%; max-width: 420px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.6);
    position: relative;
}
.hero-card-main::before {
    content: ''; position: absolute; inset: -3px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--primary), var(--green));
    z-index: -1; opacity: .12;
}
.hc-header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hc-header img {
    width: 56px; height: 56px; border-radius: 50%;
    object-fit: contain; background: #f1f5f9; padding: 6px;
}
.hc-header h3 { font-size: 16px; font-weight: 700; }
.hc-header p { font-size: 12px; color: var(--gray); }
.hc-status {
    margin-left: auto; background: #dcfce7; color: #15803d;
    font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 50px;
    display: flex; align-items: center; gap: 5px;
}
.hc-status::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e; animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.hc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.hc-stat { background: var(--light); border-radius: 14px; padding: 16px; text-align: center; }
.hc-stat i { font-size: 20px; color: var(--primary); margin-bottom: 8px; display: block; }
.hc-stat .num { font-size: 24px; font-weight: 800; color: var(--dark); line-height: 1; }
.hc-stat .label { font-size: 11px; color: var(--gray); font-weight: 500; margin-top: 4px; }
.hc-info {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border-radius: 14px; padding: 14px 16px;
    font-size: 12px; color: var(--dark);
    display: flex; align-items: center; gap: 10px;
    border-left: 4px solid var(--green);
}
.hc-info i { color: var(--green); font-size: 16px; }
.float-badge {
    position: absolute; background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-radius: 14px; padding: 12px 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600;
    animation: floatY 3s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,0.6);
}
.float-badge i { font-size: 18px; }
.fb-1 { top: 10%; left: -8%; }
.fb-1 i { color: var(--green); }
.fb-2 { bottom: 8%; right: -6%; animation-delay: 1.5s; }
.fb-2 i { color: var(--primary); }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-dots {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 5;
    padding: 10px 16px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.6);
}
.hero-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(79,109,245,0.25);
    border: none; cursor: pointer;
    transition: all .35s ease;
    padding: 0; position: relative;
}
.hero-dot:hover { background: rgba(79,109,245,0.5); transform: scale(1.2); }
.hero-dot.active {
    background: linear-gradient(135deg, var(--primary), var(--green));
    width: 32px; border-radius: 50px;
    box-shadow: 0 0 12px rgba(79,109,245,0.5);
}
.hero-dot.active::after {
    content: ''; position: absolute; inset: 0;
    border-radius: 50px;
    background: rgba(255,255,255,0.5);
    animation: dotProgress 6s linear infinite;
    transform-origin: left;
}
@keyframes dotProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ============ MARQUEE ============ */
.marquee-section {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 50%, var(--green) 100%);
    color: #fff; padding: 12px 0; overflow: hidden; position: relative;
    box-shadow: inset 0 4px 12px rgba(0,0,0,0.1), inset 0 -4px 12px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 3;
}
.marquee-section::before, .marquee-section::after {
    content: ''; position: absolute; top: 0; bottom: 0;
    width: 80px; z-index: 2; pointer-events: none;
}
.marquee-section::before { left: 0; background: linear-gradient(90deg, rgba(58,86,214,0.85) 0%, transparent 100%); }
.marquee-section::after { right: 0; background: linear-gradient(270deg, rgba(15,162,59,0.85) 0%, transparent 100%); }
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 40s linear infinite; will-change: transform; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-item {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0 24px; font-size: 12.5px; font-weight: 500;
    letter-spacing: .3px; white-space: nowrap;
    color: rgba(255,255,255,0.95);
}
.marquee-item i { font-size: 11px; color: #ffd700; filter: drop-shadow(0 0 4px rgba(255,215,0,0.6)); }
.marquee-item.highlight { color: #ffd700; font-weight: 700; }
.marquee-item.highlight i { color: #fff; }
.marquee-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.5); flex-shrink: 0; }

/* ============ SECTIONS ============ */
section { padding: 90px 5%; }
.container { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-tag {
    display: inline-block; background: rgba(79,109,245,0.1); color: var(--primary);
    padding: 6px 16px; border-radius: 50px; font-size: 12px;
    font-weight: 700; letter-spacing: .5px; margin-bottom: 14px;
    text-transform: uppercase;
}
.section-title { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 14px; }
.section-desc { color: var(--gray); font-size: 15px; }

/* ============ FITUR NEWSPAPER ============ */
.newspaper-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    padding-bottom: 16px; margin-bottom: 32px;
    border-bottom: 3px double var(--dark); position: relative;
}
.np-header-left .np-tag {
    display: inline-block; font-size: 11px; font-weight: 800;
    letter-spacing: 2px; color: var(--primary);
    margin-bottom: 4px; text-transform: uppercase;
}
.np-title {
    font-size: clamp(22px, 3vw, 32px); font-weight: 800;
    color: var(--dark); letter-spacing: -.5px; line-height: 1.1; margin: 0;
}
.np-header-right { display: flex; align-items: center; gap: 12px; }
.np-line { width: 60px; height: 2px; background: var(--dark); }
.np-page { font-size: 11px; font-weight: 700; color: var(--gray); letter-spacing: 1px; text-transform: uppercase; }
.features { background: #fff; }
.features-newspaper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.features-newspaper .feature-hero { grid-column: span 2; }
.feature-hero {
    background: #fff; border: 1px solid #e5e9f0;
    border-radius: 18px; overflow: hidden;
    transition: all .35s ease; display: flex; flex-direction: column;
}
.feature-hero:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); border-color: transparent; }
.feature-hero-img {
    position: relative; height: 140px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; overflow: hidden;
}
.feature-hero-img::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
}
.feature-hero-img.green { background: linear-gradient(135deg, #0fa23b 0%, #0b8a31 100%); }
.feature-hero-img i { font-size: 56px; position: relative; z-index: 2; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2)); }
.feature-hero-badge {
    position: absolute; top: 14px; left: 14px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    color: #fff; font-size: 10px; font-weight: 800;
    letter-spacing: 1.2px; padding: 5px 11px;
    border-radius: 50px; border: 1px solid rgba(255,255,255,0.3);
    z-index: 3;
}
.feature-hero-body { padding: 24px 22px 26px; flex: 1; }
.feature-hero-body h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; color: var(--dark); line-height: 1.3; }
.feature-hero-body p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 18px; }
.feature-points { list-style: none; display: grid; gap: 8px; }
.feature-points li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dark); font-weight: 500; }
.feature-points i { color: var(--green); font-size: 13px; }
.features-newspaper .feature-mini {
    background: #fff; border: 1px solid #e5e9f0;
    border-radius: 18px; padding: 24px 22px;
    transition: all .35s ease; position: relative; overflow: hidden;
}
.features-newspaper .feature-mini::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--green));
    transform: scaleY(0); transform-origin: top; transition: transform .35s;
}
.features-newspaper .feature-mini:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: transparent; }
.features-newspaper .feature-mini:hover::before { transform: scaleY(1); }
.feature-mini-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    margin-bottom: 16px; box-shadow: 0 6px 16px rgba(79,109,245,0.3);
}
.feature-mini-icon.green { background: linear-gradient(135deg, #0fa23b, #0b8a31); box-shadow: 0 6px 16px rgba(15,162,59,0.3); }
.feature-mini-icon.orange { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 6px 16px rgba(245,158,11,0.3); }
.feature-mini-icon.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 6px 16px rgba(139,92,246,0.3); }
.feature-mini-icon.pink { background: linear-gradient(135deg, #ec4899, #db2777); box-shadow: 0 6px 16px rgba(236,72,153,0.3); }
.feature-mini h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.feature-mini p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ============ STATS ============ */
.stats {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: #fff; position: relative; overflow: hidden;
}
.stats::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,109,245,0.25) 0%, transparent 70%);
}
.stats-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "main1 main2"
        "minis minis"
        "progress info";
    gap: 20px;
    position: relative;
    z-index: 2;
}
.stats-dashboard > .stat-main:nth-child(1) { grid-area: main1; }
.stats-dashboard > .stat-main:nth-child(2) { grid-area: main2; }
.stats-dashboard > .stat-mini-grid         { grid-area: minis; }
.stats-dashboard > .stat-progress-card     { grid-area: progress; }
.stats-dashboard > .stat-info-card         { grid-area: info; }

.stat-main {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; padding: 28px;
    backdrop-filter: blur(10px);
    position: relative; overflow: hidden;
    transition: all .35s ease;
    min-height: 220px;
}
.stat-main::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,109,245,0.35) 0%, transparent 70%);
}
.stat-main:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }
.stat-main-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; position: relative; z-index: 2;
}
.stat-main-head > i {
    font-size: 32px; color: #7dd3fc;
    background: rgba(125,211,252,0.12);
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(125,211,252,0.2);
}
.stat-main-badge {
    background: linear-gradient(135deg, #4f6df5, #3a56d6);
    color: #fff; font-size: 10px; font-weight: 800;
    letter-spacing: 1.5px; padding: 5px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(79,109,245,0.4);
}
.stat-main-badge.green {
    background: linear-gradient(135deg, #0fa23b, #0b8a31);
    box-shadow: 0 4px 12px rgba(15,162,59,0.4);
}
.stat-main-num {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800; line-height: 1; color: #fff;
    margin-bottom: 8px; position: relative; z-index: 2;
    letter-spacing: -2px;
}
.stat-main-total {
    font-size: 0.4em; font-weight: 600;
    color: #94a3b8; margin-left: 8px; letter-spacing: 0;
}
.stat-main-label {
    font-size: 14px; color: #cbd5e1;
    font-weight: 500; margin-bottom: 24px;
    position: relative; z-index: 2;
}
.stat-main-bar {
    height: 8px; background: rgba(255,255,255,0.1);
    border-radius: 50px; overflow: hidden;
    margin-bottom: 14px; position: relative; z-index: 2;
}
.stat-main-fill {
    height: 100%;
    background: linear-gradient(90deg, #7dd3fc, #4f6df5);
    border-radius: 50px;
    box-shadow: 0 0 14px rgba(125,211,252,0.6);
    animation: fillAnim 1.5s ease-out forwards;
}
.stat-main-fill.green {
    background: linear-gradient(90deg, #86efac, #0fa23b);
    box-shadow: 0 0 14px rgba(134,239,172,0.6);
}
@keyframes fillAnim { from { width: 0 !important; } }
.stat-main-footer {
    display: flex; justify-content: space-between;
    font-size: 12px; color: #94a3b8;
    position: relative; z-index: 2;
}
.stat-main-footer i { color: #4ade80; }

.stat-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-mini {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 20px;
    display: flex; align-items: center; gap: 14px;
    transition: all .3s ease; backdrop-filter: blur(10px);
}
.stat-mini:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}
.stat-mini-icon {
    width: 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
    background: rgba(125,211,252,0.12); color: #7dd3fc;
    border: 1px solid rgba(125,211,252,0.2);
}
.stat-mini-icon.green { background: rgba(134,239,172,0.12); color: #86efac; border-color: rgba(134,239,172,0.2); }
.stat-mini-icon.orange { background: rgba(252,211,77,0.12); color: #fcd34d; border-color: rgba(252,211,77,0.2); }
.stat-mini-icon.purple { background: rgba(196,181,253,0.12); color: #c4b5fd; border-color: rgba(196,181,253,0.2); }
.stat-mini-info { min-width: 0; }
.stat-mini-num { font-size: 24px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 4px; }
.stat-mini-label { font-size: 12px; color: #94a3b8; font-weight: 500; line-height: 1.3; }

.stat-progress-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; padding: 24px;
    backdrop-filter: blur(10px);
}
.stat-progress-card h4 {
    color: #fff; font-size: 15px; font-weight: 700;
    margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.stat-progress-card h4 i { color: #7dd3fc; }
.progress-item { margin-bottom: 16px; }
.progress-item:last-child { margin-bottom: 0; }
.progress-head {
    display: flex; justify-content: space-between;
    font-size: 13px; color: #e2e8f0;
    margin-bottom: 8px; font-weight: 500;
}
.progress-head span:last-child { font-weight: 700; color: #fff; }
.progress-bar-bg {
    height: 6px; background: rgba(255,255,255,0.08);
    border-radius: 50px; overflow: hidden;
}
.progress-bar-fill {
    height: 100%; border-radius: 50px;
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(125,211,252,0.5);
}

.stat-info-card {
    background: linear-gradient(135deg, rgba(15,162,59,0.15), rgba(79,109,245,0.15));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px; padding: 24px;
    display: flex; align-items: center; gap: 18px;
    backdrop-filter: blur(10px);
}
.stat-info-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, #0fa23b, #0b8a31);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #fff; flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(15,162,59,0.4);
}
.stat-info-body h5 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.stat-info-body p { font-size: 13px; color: #cbd5e1; line-height: 1.6; }

/* ============ CHART 7 HARI ============ */
.rekap-chart-wrap {
    margin-top: 32px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 24px 28px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}
.rekap-chart-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.rekap-chart-head h4 {
    color: #fff; font-size: 15px; font-weight: 700;
    display: flex; align-items: center; gap: 10px;
}
.rekap-chart-head h4 i { color: #7dd3fc; }
.rekap-chart-legend { display: flex; gap: 18px; font-size: 12px; color: #cbd5e1; font-weight: 500; }
.rekap-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rekap-chart-legend .dot {
    width: 10px; height: 10px; border-radius: 3px;
    display: inline-block;
}
.rekap-chart-legend .dot.blue  { background: linear-gradient(135deg, #4f6df5, #7dd3fc); }
.rekap-chart-legend .dot.green { background: linear-gradient(135deg, #0fa23b, #86efac); }
.rekap-chart {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 12px; align-items: end;
    height: 180px; padding: 0 4px;
}
.rekap-bar-group {
    display: flex; flex-direction: column; align-items: center;
    height: 100%; justify-content: flex-end; gap: 8px;
}
.rekap-bars {
    display: flex; align-items: flex-end; gap: 4px;
    height: 100%; width: 100%; justify-content: center;
}
.rekap-bar {
    width: 50%; max-width: 20px; min-height: 4px;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all .4s ease;
    cursor: pointer;
}
.rekap-bar.blue { background: linear-gradient(180deg, #7dd3fc, #4f6df5); box-shadow: 0 0 10px rgba(125,211,252,0.4); }
.rekap-bar.green { background: linear-gradient(180deg, #86efac, #0fa23b); box-shadow: 0 0 10px rgba(134,239,172,0.4); }
.rekap-bar:hover { filter: brightness(1.25); transform: scaleY(1.03); transform-origin: bottom; }
.rekap-bar::after {
    content: attr(data-value);
    position: absolute; top: -20px; left: 50%;
    transform: translateX(-50%);
    font-size: 10px; font-weight: 700; color: #fff;
    opacity: 0; transition: opacity .25s; white-space: nowrap;
}
.rekap-bar:hover::after { opacity: 1; }
.rekap-bar-label { font-size: 11px; color: #94a3b8; font-weight: 600; white-space: nowrap; }

/* ============ TENTANG ============ */
.about-magazine { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.about-profile-card {
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 50%, var(--green) 100%);
    border-radius: 24px; padding: 36px 28px;
    text-align: center; color: #fff;
    box-shadow: 0 25px 60px rgba(79,109,245,0.25);
    position: relative; overflow: hidden;
}
.about-profile-card::before {
    content: ''; position: absolute; top: -50%; right: -50%;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.profile-badge {
    position: absolute; top: 18px; left: 18px;
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; backdrop-filter: blur(8px); z-index: 2;
}
.profile-logo {
    width: 110px; height: 110px; object-fit: contain;
    background: #fff; padding: 10px;
    border-radius: 50%; margin-bottom: 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
    position: relative; z-index: 2;
}
.about-profile-card h3 {
    font-size: 17px; font-weight: 800; margin-bottom: 6px;
    position: relative; z-index: 2; line-height: 1.3;
}
.profile-singkatan {
    font-size: 13px; opacity: .9; margin-bottom: 20px;
    position: relative; z-index: 2;
}
.profile-info-row {
    display: flex; justify-content: space-between;
    font-size: 12.5px; padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    position: relative; z-index: 2;
}
.profile-info-row .label { opacity: .8; }
.profile-info-row .value { font-weight: 700; }
.profile-divider {
    height: 1px; background: rgba(255,255,255,0.2);
    margin: 18px 0; position: relative; z-index: 2;
}
.profile-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 12px; position: relative; z-index: 2;
}
.profile-stats > div {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px; padding: 12px 6px;
    backdrop-filter: blur(8px);
}
.profile-stats strong { display: block; font-size: 22px; font-weight: 800; margin-bottom: 2px; line-height: 1; }
.profile-stats small { font-size: 11px; opacity: .85; font-weight: 500; }

.about-article {
    background: #fff; border-radius: 24px;
    padding: 36px 34px;
    border: 1px solid #eef2f7;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}
.article-head {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 16px; margin-bottom: 22px;
    border-bottom: 2px solid #eef2f7;
}
.article-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; font-size: 10px; font-weight: 800;
    letter-spacing: 1.5px; padding: 5px 12px;
    border-radius: 50px; text-transform: uppercase;
}
.article-date { font-size: 12px; color: var(--gray); font-weight: 500; }
.article-title {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 800; line-height: 1.3;
    color: var(--dark); margin-bottom: 16px;
    letter-spacing: -.5px;
}
.article-lead {
    font-size: 15px; font-weight: 500; line-height: 1.7;
    color: var(--dark); padding-left: 16px;
    border-left: 4px solid var(--primary);
    margin-bottom: 22px; font-style: italic;
}
.article-columns {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; margin-bottom: 26px;
}
.article-columns p {
    font-size: 14px; line-height: 1.8;
    color: var(--gray); text-align: justify;
}
.article-columns p::first-letter {
    font-size: 32px; font-weight: 800;
    color: var(--primary); float: left;
    line-height: 1; margin: 4px 8px 0 0;
    font-family: Georgia, serif;
}
.article-columns p:nth-child(2)::first-letter { color: var(--green); }
.article-info-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; padding-top: 22px;
    border-top: 1px solid #eef2f7;
}
.info-tile {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px; background: #f8fafc;
    border-radius: 12px; border: 1px solid #eef2f7;
    transition: all .3s ease;
}
.info-tile:hover {
    background: #fff; border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(79,109,245,0.1);
    transform: translateY(-2px);
}
.info-tile i {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79,109,245,0.25);
}
.info-tile strong {
    display: block; font-size: 12px;
    color: var(--gray); font-weight: 600;
    margin-bottom: 2px; text-transform: uppercase;
    letter-spacing: .5px;
}
.info-tile span { font-size: 13px; color: var(--dark); font-weight: 500; line-height: 1.4; }

/* ============ CTA ============ */
.cta-newspaper {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 28px; padding: 60px 40px;
    text-align: center; color: #fff;
    position: relative; overflow: hidden;
    border: 2px solid #334155;
    max-width: 1100px; margin: 0 auto;
}
.cta-newspaper::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(79,109,245,0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(15,162,59,0.2) 0%, transparent 50%);
}
.cta-corner { position: absolute; width: 40px; height: 40px; border: 3px solid var(--primary); z-index: 2; }
.cta-corner.top-left { top: 12px; left: 12px; border-right: none; border-bottom: none; border-top-left-radius: 16px; }
.cta-corner.top-right { top: 12px; right: 12px; border-left: none; border-bottom: none; border-top-right-radius: 16px; }
.cta-corner.bottom-left { bottom: 12px; left: 12px; border-right: none; border-top: none; border-bottom-left-radius: 16px; }
.cta-corner.bottom-right { bottom: 12px; right: 12px; border-left: none; border-top: none; border-bottom-right-radius: 16px; }
.cta-content { position: relative; z-index: 2; }
.cta-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff; font-size: 11px; font-weight: 800;
    letter-spacing: 2px; padding: 8px 18px;
    border-radius: 50px; margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(245,158,11,0.4);
}
.cta-newspaper h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800; margin-bottom: 14px;
    letter-spacing: -.5px;
    background: linear-gradient(135deg, #fff 0%, #7dd3fc 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta-newspaper p {
    font-size: 15px; color: #cbd5e1;
    max-width: 580px; margin: 0 auto 32px;
    line-height: 1.7;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.btn-cta-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; padding: 16px 38px; border-radius: 50px;
    font-size: 15px; font-weight: 700; text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    transition: all .3s;
    box-shadow: 0 10px 30px rgba(79,109,245,0.4);
}
.btn-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(79,109,245,0.6); }
.btn-cta-outline {
    background: transparent; color: #fff;
    padding: 16px 38px; border-radius: 50px;
    font-size: 15px; font-weight: 700; text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    transition: all .3s;
    border: 2px solid rgba(255,255,255,0.2);
}
.btn-cta-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-3px);
}
.cta-features {
    display: flex; gap: 24px; justify-content: center;
    flex-wrap: wrap; font-size: 13px; color: #cbd5e1;
}
.cta-features span { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.cta-features i { color: #4ade80; }

/* ============ FOOTER ============ */
footer { background: var(--dark); color: #cbd5e1; padding: 60px 5% 24px; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 40px; max-width: 1200px; margin: 0 auto 40px;
}
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 20px; font-weight: 700; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 46px; height: 46px; object-fit: contain; background: #fff; padding: 4px; border-radius: 50%; }
.footer-brand h3 { color: #fff; font-size: 16px; font-weight: 700; }
.footer-brand p { font-size: 11px; color: #94a3b8; }
.footer-col p { font-size: 13.5px; line-height: 1.8; color: #94a3b8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; font-size: 13.5px; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; transition: color .3s; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--primary); margin-top: 3px; font-size: 14px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 22px; text-align: center;
    font-size: 12.5px; color: #64748b;
    max-width: 1200px; margin: 0 auto;
}
.footer-bottom strong { color: #cbd5e1; }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: all .7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ========================================================= */
/* ============ RESPONSIVE ================================= */
/* ========================================================= */
@media (max-width: 1024px) {
    .nav-menu { gap: 2px; }
    .nav-link { padding: 9px 10px; font-size: 13.5px; }
    .btn-login-nav { padding: 9px 18px; font-size: 13px; }

    .features-newspaper { grid-template-columns: 1fr 1fr; }
    .features-newspaper .feature-hero { grid-column: span 2; }

    .stats-dashboard {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main1"
            "main2"
            "minis"
            "progress"
            "info";
    }
    .stat-mini-grid { grid-template-columns: 1fr 1fr; }

    .about-magazine { grid-template-columns: 300px 1fr; }
    .article-columns { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .navbar { padding: 12px 5%; }
    .navbar.scrolled { padding: 8px 5%; }

    .nav-toggle { display: block; }

    .nav-menu {
        position: fixed; top: 0; right: -100%;
        width: 320px; max-width: 88vw; height: 100vh;
        background: #fff; flex-direction: column;
        justify-content: flex-start; align-items: stretch;
        padding: 90px 20px 30px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right .35s ease;
        gap: 4px; overflow-y: auto;
        z-index: 1000;
    }
    .nav-menu.active { right: 0; }
    .nav-menu > li { width: 100%; }

    .nav-link {
        width: 100%; justify-content: space-between;
        padding: 13px 16px; font-size: 15px;
        border-radius: 12px;
    }
    .nav-link:hover { background: rgba(79,109,245,0.08); }

    .dropdown-menu {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none;
        background: #f8fafc;
        max-height: 0; overflow: hidden;
        padding: 0 6px; margin-top: 0;
        transition: max-height .35s ease, padding .35s ease, margin .35s ease;
        border-radius: 12px;
        min-width: 0;
    }
    .dropdown-menu::before { display: none; }
    .nav-menu > li.open > .dropdown-menu {
        max-height: 600px; padding: 6px; margin-top: 6px;
    }
    .nav-menu > li:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
    .nav-menu > li:not(.open) > .dropdown-menu { max-height: 0; padding: 0 6px; margin-top: 0; }

    .dropdown-menu li a { padding: 12px 14px; font-size: 14px; }
    .dropdown-menu li a:hover { padding-left: 18px; }

    .nav-menu .btn-login-nav {
        width: 100%; justify-content: center;
        margin-top: 12px; padding: 14px 20px; font-size: 15px;
    }

    .nav-login-btn { width: 100%; }
    .nav-login-btn > .nav-link {
        width: 100%; justify-content: center;
        padding: 14px 20px; font-size: 15px;
        border-radius: 12px;
    }
    .nav-login-btn .dropdown-menu { left: 0; right: auto; min-width: 0; }
    .nav-login-btn .dropdown-menu::before { display: none; }

    .nav-overlay {
        position: fixed; inset: 0; background: rgba(0,0,0,0.45);
        opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 999;
        backdrop-filter: blur(2px);
    }
    .nav-overlay.active { opacity: 1; pointer-events: auto; }

    .hero { padding: 120px 5% 90px; min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .float-badge { display: none; }
    .hero-desc { max-width: 100%; }

    .hero-dots { bottom: 20px; padding: 8px 12px; gap: 8px; }
    .hero-dot { width: 8px; height: 8px; }
    .hero-dot.active { width: 24px; }

    .about-magazine { grid-template-columns: 1fr; gap: 24px; }
    .about-profile-card { max-width: 400px; margin: 0 auto; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

    .marquee-item { font-size: 12px; padding: 0 20px; }
    .marquee-section { padding: 10px 0; }
}

@media (max-width: 768px) {
    section { padding: 70px 5%; }
    .nav-brand img { width: 40px; height: 40px; }
    .nav-brand-text h1 { font-size: 14px; }
    .nav-brand-text p { font-size: 10px; }

    .hero-card-main { padding: 24px; }
    .hc-header img { width: 48px; height: 48px; }
    .hc-stat { padding: 12px; }
    .hc-stat .num { font-size: 20px; }
    .hc-stat .label { font-size: 10.5px; }

    .features-newspaper { grid-template-columns: 1fr; }
    .features-newspaper .feature-hero { grid-column: span 1; }

    .newspaper-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .np-header-right { width: 100%; justify-content: flex-end; }

    .stat-mini-grid { grid-template-columns: 1fr 1fr; }
    .article-info-grid { grid-template-columns: 1fr; }

    .cta-newspaper { padding: 45px 24px; }
    .cta-corner { width: 30px; height: 30px; }
    .btn-cta-primary, .btn-cta-outline {
        width: 100%; justify-content: center; padding: 14px 24px;
    }

    .marquee-item { font-size: 11.5px; padding: 0 16px; gap: 6px; }
    .marquee-item i { font-size: 10px; }
    .marquee-section::before, .marquee-section::after { width: 50px; }

    .rekap-chart { height: 150px; gap: 8px; }
}

@media (max-width: 560px) {
    .navbar { padding: 10px 4%; }
    .navbar.scrolled { padding: 8px 4%; }
    .nav-brand { gap: 8px; }
    .nav-brand img { width: 36px; height: 36px; padding: 3px; }
    .nav-brand-text h1 { font-size: 12.5px; }
    .nav-brand-text p { font-size: 9.5px; }

    .nav-menu { width: 300px; padding: 84px 16px 24px; }
    .nav-link { padding: 12px 14px; font-size: 14.5px; }
    .dropdown-menu li a { padding: 11px 12px; font-size: 13.5px; }
    .dropdown-menu li a i { width: 28px; height: 28px; font-size: 12px; }

    section { padding: 55px 4%; }
    .hero { padding: 100px 4% 80px; }
    .hero-badge { font-size: 11.5px; padding: 7px 14px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; padding: 14px 24px; font-size: 14px; }

    .hero-dots { bottom: 14px; padding: 7px 10px; gap: 6px; }
    .hero-dot { width: 7px; height: 7px; }
    .hero-dot.active { width: 20px; }

    .hc-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hc-header { gap: 10px; }
    .hc-header h3 { font-size: 14px; }
    .hc-header p { font-size: 11px; }
    .hc-status { font-size: 10px; padding: 4px 9px; }

    .section-head { margin-bottom: 40px; }

    .stat-main-num { font-size: 48px; }
    .stat-main-head > i { width: 50px; height: 50px; font-size: 24px; }
    .stat-mini-grid { grid-template-columns: 1fr; }

    .about-article { padding: 26px 22px; }
    .article-columns p::first-letter { font-size: 26px; }

    .profile-stats strong { font-size: 18px; }
    .profile-stats small { font-size: 10px; }

    .cta-features { gap: 14px; font-size: 12px; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-brand img { width: 40px; height: 40px; }
    .footer-bottom { font-size: 11.5px; }

    .logo-spinner { width: 90px; height: 90px; }
    .loader-ring { width: 125px; height: 125px; }
    .logo-back i { font-size: 38px; }
    .loading-text { font-size: 16px; }
    .loading-subtitle { font-size: 12px; }
    .progress-bar-wrap { width: 200px; }

    .marquee-section { padding: 9px 0; }
    .marquee-item { font-size: 11px; padding: 0 14px; gap: 5px; }
    .marquee-item i { font-size: 9.5px; }
    .marquee-section::before, .marquee-section::after { width: 30px; }
    .marquee-track { animation-duration: 30s; }

    .rekap-chart-wrap { padding: 18px 16px; }
    .rekap-chart { height: 130px; gap: 6px; }
    .rekap-bar-label { font-size: 10px; }
    .rekap-chart-head { flex-direction: column; align-items: flex-start; }
    .rekap-chart-head h4 { font-size: 14px; }
    .rekap-chart-legend { font-size: 11px; gap: 12px; }
}

@media (max-width: 380px) {
    .nav-brand-text h1 { font-size: 11.5px; }
    .nav-brand-text p { font-size: 9px; }
    .nav-brand img { width: 32px; height: 32px; }

    .nav-menu { width: 100%; max-width: 100%; padding: 78px 14px 20px; }
    .nav-link { font-size: 14px; padding: 11px 12px; }
    .dropdown-menu li a { font-size: 13px; padding: 10px 10px; }

    .hero-badge { font-size: 10.5px; }
    .hc-header { flex-wrap: wrap; }
    .hc-status { font-size: 9.5px; padding: 3px 8px; }
    .hc-stat .num { font-size: 18px; }

    .logo-spinner { width: 75px; height: 75px; }
    .loader-ring { width: 105px; height: 105px; }
    .logo-back i { font-size: 30px; }
    .loading-text { font-size: 14px; }
    .progress-bar-wrap { width: 170px; }

    .marquee-section { padding: 8px 0; }
    .marquee-item { font-size: 10px; padding: 0 12px; gap: 4px; }
    .marquee-item i { font-size: 9px; }
    .marquee-section::before, .marquee-section::after { width: 20px; }

    .rekap-chart { height: 110px; }
    .rekap-bar { max-width: 14px; }
}

/* ============ TOMBOL LOGIN DENGAN DROPDOWN =============== */
.nav-login-btn { position: relative; }

.nav-login-btn > .nav-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(79,109,245,0.35);
    transition: all .3s ease;
    gap: 8px;
}
.nav-login-btn > .nav-link:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79,109,245,0.5);
}
.nav-login-btn > .nav-link .caret { color: #fff; font-size: 10px; }
.nav-login-btn .dropdown-menu { left: auto; right: 0; min-width: 220px; }
.nav-login-btn .dropdown-menu::before { left: auto; right: 24px; }
.nav-login-btn.open > .nav-link,
.nav-login-btn:hover > .nav-link {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: 0 6px 20px rgba(79,109,245,0.5);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .nav-login-btn { width: 100%; }
    .nav-login-btn > .nav-link {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 12px;
    }
    .nav-login-btn .dropdown-menu { left: 0; right: auto; min-width: 0; }
    .nav-login-btn .dropdown-menu::before { display: none; }
}

/* ===== MENU AKTIF - LEVEL UTAMA ===== */
.nav-menu > li > .nav-link.active {
    background: rgba(79, 109, 245, 0.08) !important;
    color: #4f6df5 !important;
    border-radius: 8px;
}

/* ===== SUBMENU AKTIF ===== */
.nav-menu .dropdown-menu a.active {
    background: rgba(79, 109, 245, 0.08) !important;
    color: #4f6df5 !important;
    border-radius: 6px;
}

/* Paksa semua isi submenu (teks + ikon) ikut biru */
.nav-menu .dropdown-menu a.active .dd-text,
.nav-menu .dropdown-menu a.active i,
.nav-menu .dropdown-menu a.active span {
    color: #4f6df5 !important;
}

/* Matikan efek hover default agar tidak menimpa active */
.nav-menu .dropdown-menu a.active:hover {
    background: rgba(79, 109, 245, 0.12) !important;
    color: #4f6df5 !important;
}