* { margin:0; padding:0; box-sizing:border-box; }
html, body { scroll-behavior:smooth; overflow-x:hidden; width:100%; }

:root {
    --green: #00b894;
    --green-dark: #00987a;
    --green-light: #e0f9f1;
    --green-mid: #b2f0e0;
    --dark: #0d1f1a;
    --dark2: #1a3329;
    --text: #1e2d26;
    --muted: #5a7a6e;
    --bg: #f7fdfb;
    --white: #ffffff;
    --shadow: 0 8px 40px rgba(0,184,148,0.10);
    --radius: 20px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    padding-top: 80px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--green-light); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 10px; }

/* ===== NAVBAR ===== */
.navbar-fixed {
    position: fixed; top:0; left:0; width:100%; height:80px; z-index:1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,184,148,0.12);
    box-shadow: 0 2px 30px rgba(0,184,148,0.08);
    display: flex; align-items: center;
    transition: all 0.3s;
}
.navbar-fixed.scrolled {
    height: 68px;
    box-shadow: 0 4px 40px rgba(0,184,148,0.15);
}
.nav-container {
    width:100%; max-width:1200px; margin:0 auto; padding:0 24px;
    display:flex; align-items:center; justify-content:space-between;
}
.logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo-img { height:40px; width:auto; }
.logo-text {
    font-family: 'Nunito', sans-serif;
    font-size:1.45rem; font-weight:900;
    background: linear-gradient(135deg, var(--green), #00cec9);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links { display:flex; gap:8px; align-items:center; }
.nav-links a {
    text-decoration:none; color: var(--muted); font-weight:500; font-size:0.88rem;
    padding: 8px 16px; border-radius: 50px;
    transition: all 0.25s ease;
    position: relative;
}
.nav-links a:hover { color: var(--green); background: var(--green-light); }
.nav-cta {
    background: var(--green) !important; color: white !important;
    font-weight: 700 !important; padding: 9px 20px !important;
    box-shadow: 0 4px 15px rgba(0,184,148,0.3);
}
.nav-cta:hover { background: var(--green-dark) !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,184,148,0.4) !important; }

.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:6px; z-index:1001; }
.hamburger span { width:24px; height:2.5px; background: var(--text); border-radius:4px; transition:all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 8px); }
.hamburger.active span:nth-child(2) { opacity:0; transform:scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -8px); }

/* ===== HERO ===== */
.hero {
    position: relative; overflow: hidden;
    padding: 60px 0 80px;
    background: linear-gradient(160deg, #f0fdf8 0%, #e8fdf5 40%, #f7fdfb 100%);
}

.hero::before {
    content:'';
    position:absolute; top:-120px; right:-120px;
    width:600px; height:600px; border-radius:50%;
    background: radial-gradient(circle, rgba(0,184,148,0.12) 0%, transparent 70%);
    pointer-events:none;
}
.hero::after {
    content:'';
    position:absolute; bottom:-80px; left:-80px;
    width:400px; height:400px; border-radius:50%;
    background: radial-gradient(circle, rgba(0,206,201,0.10) 0%, transparent 70%);
    pointer-events:none;
}

.hero-pattern {
    position:absolute; inset:0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,184,148,0.06) 1px, transparent 0);
    background-size: 36px 36px;
    pointer-events:none;
}

.hero .container { max-width:1200px; margin:0 auto; padding:0 24px; position:relative; z-index:2; }
.hero-layout { display:flex; align-items:center; justify-content:space-between; gap:60px; }

.hero-text-col { flex:1; max-width:580px; }

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: white; color: var(--green);
    padding: 8px 18px; border-radius:50px;
    font-size:0.82rem; font-weight:700;
    margin-bottom: 28px;
    border: 1.5px solid var(--green-mid);
    box-shadow: 0 4px 20px rgba(0,184,148,0.12);
    letter-spacing: 0.3px;
}
.badge::before {
    content:'';
    width:8px; height:8px; border-radius:50%;
    background: var(--green);
    display:inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%,100%{ box-shadow: 0 0 0 0 rgba(0,184,148,0.5); }
    50%{ box-shadow: 0 0 0 6px rgba(0,184,148,0); }
}

.hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 3.4rem; line-height:1.15; font-weight:900;
    color: var(--dark); margin-bottom:22px;
    letter-spacing: -0.5px;
}
.hero h1 .highlight {
    position: relative; display: inline-block;
    color: var(--green);
}
.hero h1 .highlight::after {
    content:'';
    position:absolute; bottom:-4px; left:0; width:100%; height:4px;
    background: linear-gradient(90deg, var(--green), #00cec9);
    border-radius:4px;
    animation: underline-grow 1s ease 0.5s both;
    transform-origin: left;
}
@keyframes underline-grow { from{transform:scaleX(0)} to{transform:scaleX(1)} }

.hero > .container .hero-layout .hero-text-col p {
    color: var(--muted); font-size:1.05rem; line-height:1.8;
    margin-bottom:36px; font-weight:400;
}

.cta-buttons { display:flex; gap:14px; margin-bottom:44px; flex-wrap:wrap; }
.btn {
    padding:14px 28px; border-radius:14px; font-weight:700;
    text-decoration:none; font-size:0.95rem;
    transition:all 0.3s ease; display:inline-flex;
    align-items:center; justify-content:center; gap:8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-primary {
    background: linear-gradient(135deg, var(--green) 0%, #00cec9 100%);
    color:white;
    box-shadow: 0 8px 24px rgba(0,184,148,0.35);
    border: none;
}
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 14px 30px rgba(0,184,148,0.45); }
.btn-secondary {
    background:white; color: var(--text);
    border:1.5px solid #d4f0e8;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.btn-secondary:hover { background: var(--green-light); border-color: var(--green); transform:translateY(-2px); }

.social-proof { display:flex; align-items:center; gap:14px; }
.avatars { display:flex; }
.avatar {
    width:36px; height:36px; border-radius:50%;
    border:2.5px solid white;
    margin-left:-10px; background:#e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.avatar:first-child { margin-left:0; }
.social-text { font-size:0.88rem; color: var(--muted); font-weight:600; }
.social-text strong { color: var(--green); }

/* HERO IMAGE SIDE */
.hero-image-col {
    flex:1; display:flex; justify-content:center;
    align-items:center; position:relative;
}
.hero-visual { position: relative; width:400px; height:420px; }

.image-card {
    width:340px; height:340px;
    background: linear-gradient(to bottom, rgba(0,30,20,0.15), rgba(0,30,20,0.6)),
                url('aset/hero-display.webp'); /* SISA KODE DIBAWAH TETAP SAMA */
    background-size:cover; background-position:center;
    border-radius:28px; border:10px solid white;
    transform:rotate(3deg);
    box-shadow: 0 24px 60px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,184,148,0.1);
    position:absolute; top:40px; left:20px;
    transition:transform 0.5s cubic-bezier(0.23,1,0.32,1);
    overflow:hidden;
}
.image-card:hover { transform:rotate(1deg) translateY(-10px) scale(1.02); }

.float-card {
    position:absolute; background:white; border-radius:16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12); padding:12px 18px;
    display:flex; align-items:center; gap:12px;
    animation: float-updown 4s ease-in-out infinite;
}
.float-card-1 { top:0; left:0; animation-delay:0s; border: 1.5px solid var(--green-mid); }
.float-card-2 { bottom:20px; right:0; animation-delay:1.5s; border:1.5px solid #ffeaa7; }
.float-card-3 {
    top:50%; right:-10px; transform:translateY(-50%); animation-delay:0.75s;
    flex-direction:column; gap:4px; text-align:center; border:1.5px solid #dfe6e9;
}
@keyframes float-updown { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }
.float-card-3 { animation: float-updown2 4s ease-in-out infinite 0.75s; }
@keyframes float-updown2 { 0%,100%{ transform:translateY(-50%); } 50%{ transform:translateY(calc(-50% - 8px)); } }

.float-icon {
    width:40px; height:40px; border-radius:12px;
    display:flex; align-items:center; justify-content:center;
    font-size:1.2rem; flex-shrink:0;
}
.icon-green { background:var(--green-light); color:var(--green); }
.icon-yellow { background:#fff9e6; color:#f1c40f; }
.float-label { font-size:0.7rem; color: var(--muted); font-weight:500; }
.float-value { font-size:0.9rem; color:var(--text); font-weight:800; }
.float-small { font-size:0.65rem; color:var(--muted); }
.stars { color:#f1c40f; font-size:0.75rem; letter-spacing:-1px; }

/* ===== STATS BAR ===== */
.stats-bar {
    background: white;
    border-top: 1px solid rgba(0,184,148,0.1);
    border-bottom: 1px solid rgba(0,184,148,0.1);
    padding: 28px 0; margin-bottom: 0;
}
.stats-inner {
    max-width:1200px; margin:0 auto; padding:0 24px;
    display:flex; justify-content:space-around; align-items:center;
    gap:20px; flex-wrap:wrap;
}
.stat-item { text-align:center; }
.stat-num {
    font-family:'Nunito',sans-serif; font-size:2rem; font-weight:900;
    color: var(--green); display:block; line-height:1;
}
.stat-lbl { font-size:0.82rem; color:var(--muted); font-weight:500; margin-top:4px; }
.stat-divider { width:1px; height:40px; background:#e8f5ef; }

/* ===== GRADE SECTION ===== */
.grade-section {
    padding: 80px 0; scroll-margin-top:90px; background: white;
    position: relative; overflow: hidden;
}
.grade-section::before {
    content:''; position:absolute; top:0; left:0; right:0; height:4px;
    background: linear-gradient(90deg, var(--green), #00cec9, var(--green));
    background-size: 200% 100%; animation: shimmer-bar 3s linear infinite;
}
@keyframes shimmer-bar { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.section-tag {
    display:inline-flex; align-items:center; gap:6px;
    background: var(--green-light); color:var(--green);
    padding:6px 14px; border-radius:50px;
    font-size:0.78rem; font-weight:700; margin-bottom:16px;
    letter-spacing:0.5px; text-transform:uppercase;
}
.section-title {
    font-family:'Nunito',sans-serif; font-size:2.1rem; font-weight:900; color:var(--dark);
    margin-bottom:12px; letter-spacing:-0.3px;
}
.section-desc {
    color:var(--muted); margin-bottom:0; max-width:560px;
    margin-left:auto; margin-right:auto; font-size:0.98rem; line-height:1.7;
}
.section-header { text-align:center; margin-bottom:52px; }

.grade-scroll-wrapper { position:relative; }
.grade-scroll-wrapper::before, .grade-scroll-wrapper::after {
    content:''; position:absolute; top:0; bottom:0; width:60px; z-index:10; pointer-events:none;
}
.grade-scroll-wrapper::before { left:0; background:linear-gradient(to right, white, transparent); }
.grade-scroll-wrapper::after { right:0; background:linear-gradient(to left, white, transparent); }

.grade-scroll-track {
    overflow-x: auto; padding: 20px 40px 30px; cursor: grab;
    scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x mandatory;
}
.grade-scroll-track::-webkit-scrollbar { display:none; }
.grade-scroll-track:active { cursor: grabbing; }
.grade-group { display:flex; gap:20px; width:max-content; }

.grade-group-label {
    writing-mode:vertical-lr; transform:rotate(180deg);
    font-size:0.72rem; font-weight:700; color:var(--green);
    letter-spacing:2px; text-transform:uppercase;
    align-self:center; opacity:0.7; flex-shrink:0; margin-right:4px;
}
.grade-divider { width:2px; background:var(--green-light); border-radius:2px; flex-shrink:0; margin:0 10px; align-self:stretch; }

.grade-card {
    background:white; padding:28px 20px; border-radius:20px; box-shadow:0 4px 20px rgba(0,0,0,0.05);
    display:flex; flex-direction:column; align-items:center; cursor:pointer;
    transition:all 0.3s cubic-bezier(0.23,1,0.32,1); border:2px solid #edf2f0;
    width:130px; flex-shrink:0; scroll-snap-align:start; position:relative; overflow:hidden;
    text-decoration: none;
}
.grade-card::before {
    content:''; position:absolute; inset:0;
    background:linear-gradient(135deg, rgba(0,184,148,0.04), rgba(0,206,201,0.04));
    opacity:0; transition:opacity 0.3s;
}
.grade-card:hover::before { opacity:1; }
.grade-card:hover {
    transform:translateY(-10px) scale(1.04); border-color: var(--green); box-shadow:0 16px 40px rgba(0,184,148,0.2);
}

.grade-icon {
    width:56px; height:56px; border-radius:16px;
    display:flex; justify-content:center; align-items:center;
    color:white; font-weight:900; font-size:1.35rem; margin-bottom:16px;
    font-family:'Nunito',sans-serif; box-shadow:0 6px 18px rgba(0,0,0,0.15); transition:transform 0.3s;
}
.grade-card:hover .grade-icon { transform:rotate(-5deg) scale(1.1); }
.grade-label { font-weight:700; font-size:0.88rem; color:var(--text); text-align:center; }
.grade-sub { font-size:0.72rem; color:var(--muted); margin-top:4px; font-weight:500; }

.c1{background:linear-gradient(135deg,#00b894,#00cec9);}
.c2{background:linear-gradient(135deg,#0984e3,#74b9ff);}
.c3{background:linear-gradient(135deg,#fdcb6e,#e17055);}
.c4{background:linear-gradient(135deg,#a29bfe,#6c5ce7);}
.c5{background:linear-gradient(135deg,#e84393,#fd79a8);}
.c6{background:linear-gradient(135deg,#ff7675,#d63031);}
.c7{background:linear-gradient(135deg,#6c5ce7,#a29bfe);}
.c8{background:linear-gradient(135deg,#fd79a8,#e84393);}
.c9{background:linear-gradient(135deg,#74b9ff,#0984e3);}

.scroll-nav { display:flex; justify-content:center; gap:12px; margin-top:24px; }
.scroll-btn {
    width:42px; height:42px; border-radius:50%; border:none; background:white; cursor:pointer;
    display:flex; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(0,0,0,0.1);
    color:var(--text); font-size:1.1rem; transition:all 0.2s;
}
.scroll-btn:hover { background:var(--green); color:white; box-shadow:0 6px 20px rgba(0,184,148,0.3); }
.scroll-hint {
    text-align:center; margin-top:14px; font-size:0.78rem; color:var(--muted); font-weight:500;
    display:flex; align-items:center; justify-content:center; gap:6px; opacity:0.7;
}

/* ===== CREDITS MARQUEE ===== */
.credits-section { padding: 70px 0; background: linear-gradient(180deg, var(--bg) 0%, white 100%); text-align:center; overflow:hidden; }
.marquee-outer { position:relative; overflow:hidden; padding: 10px 0; }
.marquee-outer::before, .marquee-outer::after { content:''; position:absolute; top:0; bottom:0; width:100px; z-index:5; pointer-events:none; }
.marquee-outer::before { left:0; background:linear-gradient(to right, var(--bg), transparent); }
.marquee-outer::after { right:0; background:linear-gradient(to left, var(--bg), transparent); }

.marquee-track { display:flex; gap:24px; width:max-content; animation: marquee-scroll 22s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }

.credit-card {
    background:white; padding:28px 30px; border-radius:20px; box-shadow:0 4px 24px rgba(0,0,0,0.05);
    border:1.5px solid #edf5f1; display:flex; flex-direction:column; align-items:center; gap:16px;
    width:240px; flex-shrink:0; transition:all 0.3s; cursor:default;
}
.credit-card:hover { border-color:var(--green); box-shadow:0 10px 32px rgba(0,184,148,0.14); transform:translateY(-4px); }
.credit-logo { height: 50px; width: 130px; object-fit: contain; filter: grayscale(30%); transition: filter 0.3s;}
.credit-card:hover .credit-logo { filter:grayscale(0%); }
.credit-text { font-size:0.83rem; color:var(--muted); line-height:1.6; text-align:center; }
.credit-text strong { color:var(--text); }

/* ===== FEATURES SECTION ===== */
.features-section { text-align:center; padding:80px 0; background: var(--dark); position:relative; overflow:hidden; }
.features-section::before {
    content:''; position:absolute; inset:0; background-image: radial-gradient(circle at 2px 2px, rgba(0,184,148,0.08) 1px, transparent 0);
    background-size:40px 40px; pointer-events:none;
}
.features-section .section-title { color:white; }
.features-section .section-desc { color: rgba(255,255,255,0.55); }
.features-section .section-tag { background:rgba(0,184,148,0.15); }

.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:50px; }
.feature-card {
    background:rgba(255,255,255,0.05); border:1.5px solid rgba(255,255,255,0.08);
    padding:40px 30px; border-radius:24px; text-align:left; transition:all 0.3s; position:relative; overflow:hidden;
}
.feature-card::after {
    content:''; position:absolute; bottom:0; left:0; right:0; height:3px;
    background:linear-gradient(90deg,var(--green),#00cec9); transform:scaleX(0); transform-origin:left; transition:transform 0.4s;
}
.feature-card:hover::after { transform:scaleX(1); }
.feature-card:hover { background:rgba(0,184,148,0.08); border-color:rgba(0,184,148,0.3); transform:translateY(-6px); }

.feature-icon-wrapper { width:58px; height:58px; border-radius:16px; display:flex; align-items:center; justify-content:center; margin-bottom:24px; font-size:1.5rem; }
.icon-book { background:rgba(255,118,117,0.15); color:#ff7675; }
.icon-game { background:rgba(162,155,254,0.15); color:#a29bfe; }
.icon-phone { background:rgba(0,184,148,0.15); color:var(--green); }
.feature-title { font-size:1.05rem; font-weight:700; margin-bottom:12px; color:white; }
.feature-desc { font-size:0.88rem; color:rgba(255,255,255,0.55); line-height:1.7; }

/* ===== FOOTER ===== */
footer { background: #080f0c; color:#6b8c7e; padding:60px 0 0; border-top:1px solid rgba(0,184,148,0.1); }
.footer-content { display:grid; grid-template-columns:2fr 1fr 1fr; gap:50px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,0.06); }
.footer-logo { display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.footer-logo-img { height:44px; }
.footer-logo-text {
    font-family:'Nunito',sans-serif; font-size:1.5rem; font-weight:900;
    background:linear-gradient(135deg,var(--green),#00cec9); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.footer-desc { font-size:0.88rem; line-height:1.8; max-width:300px; }
.footer-col h4 { color:white; margin-bottom:22px; font-weight:700; font-size:0.95rem; }
.footer-links { list-style:none; }
.footer-links li { margin-bottom:12px; }
.footer-links a {
    text-decoration:none; color:#6b8c7e; font-size:0.88rem; transition:color 0.2s; display:flex; align-items:center; gap:6px;
}
.footer-links a:hover { color:var(--green); }
.footer-links a::before { content:'→'; font-size:0.75rem; opacity:0; transition:opacity 0.2s,transform 0.2s; transform:translateX(-4px); }
.footer-links a:hover::before { opacity:1; transform:translateX(0); }
.footer-bottom { padding:24px 0; font-size:0.82rem; display:flex; justify-content:space-between; align-items:center; gap:15px; }
.footer-credit { color:var(--green); font-weight:600; }

@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:translateX(0); } }
.hero-text-col { animation: fadeInUp 0.8s ease both; }
.hero-image-col { animation: fadeInRight 0.8s ease 0.2s both; }

.reveal { opacity:0; transform:translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }

/* ===== RESPONSIVE ===== */
@media(max-width:900px){
    .hero-layout { flex-direction:column; gap:50px; }
    .hero-text-col { text-align:center; max-width:100%; }
    .hero h1 { font-size:2.4rem; }
    .cta-buttons { justify-content:center; }
    .social-proof { justify-content:center; }
    .hero-visual { width:300px; height:320px; }
    .image-card { width:260px; height:260px; top:30px; left:20px; }
    .float-card-3 { right:-20px; }
    .stats-inner { gap:16px; }
    .stat-divider { display:none; }
    .features-grid { grid-template-columns:1fr; gap:16px; }
    .footer-content { grid-template-columns:1fr; gap:36px; }
    .footer-bottom { flex-direction:column; text-align:center; }
}
@media(max-width:768px){
    .hamburger { display:flex; }
    .nav-links {
        position:fixed; top:80px; left:0; width:100%; background:white; flex-direction:column; padding:28px 24px;
        gap:6px; box-shadow:0 20px 40px rgba(0,0,0,0.1); border-top:1px solid #eee; opacity:0; visibility:hidden;
        transform:translateY(-16px); transition:all 0.3s ease;
    }
    .nav-links.active { opacity:1; visibility:visible; transform:translateY(0); }
    .nav-links a { font-size:1rem; display:block; padding:12px 16px; border-bottom:1px solid #f5f5f5; color:var(--text); }
    .nav-cta { margin-top:8px; text-align:center; }
    .hero h1 { font-size:2rem; }
    .hero-visual { width:260px; height:280px; }
    .image-card { width:220px; height:220px; }
    .float-card-2 { bottom:0; right:-10px; }
    .grade-card { width:115px; padding:22px 14px; }
}