/* ==========================================
   DESIGN SYSTEM
   ========================================== */
:root {
    --c-bg: #FFFFFF;
    --c-bg-alt: #F8F9FB;
    --c-bg-dark: #0A0A0A;
    --c-text: #111111;
    --c-text-2: #6B7280;
    --c-text-inv: #FAFAFA;
    --c-border: rgba(0, 0, 0, 0.06);
    --c-border-h: rgba(0, 0, 0, 0.12);
    
    --c-brand: #4338CA;
    --c-brand-h: #3730A3;
    --c-brand-glow: rgba(67, 56, 202, 0.25);

    --ff: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; 
    --s5: 3rem; --s6: 5rem; --s7: 8rem;

    --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;

    --sh-sm: 0 2px 4px rgba(0,0,0,0.02);
    --sh-md: 0 8px 30px rgba(0,0,0,0.04);
    --sh-lg: 0 20px 60px rgba(0,0,0,0.06);
    --sh-xl: 0 25px 50px -12px rgba(67, 56, 202, 0.2);
    --sh-glow: 0 0 0 1px var(--c-brand), 0 10px 40px var(--c-brand-glow);

    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 200ms var(--ease);
    --t-base: 400ms var(--ease-out);
    --t-slow: 600ms var(--ease-out);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--ff); font-size: 1rem; line-height: 1.6; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--t-fast); }
ul, ol { list-style: none; }

*:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; top: -100%; left: 1rem; z-index: 9999; padding: 1rem; background: var(--c-brand); color: white; font-weight: 600; border-radius: 0 0 var(--r-md) var(--r-md); }
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--sm { max-width: 720px; }
.section { padding: var(--s7) 0; }
.section--alt { background: var(--c-bg-alt); }
.text-center { text-align: center; }

.section__head { text-align: center; max-width: 640px; margin: 0 auto var(--s6); }
.section__title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 1rem; }
.section__desc { font-size: 1.125rem; color: var(--c-text-2); line-height: 1.7; }

.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 1.75rem; font-family: var(--ff); font-size: 0.9375rem; font-weight: 600; border-radius: var(--r-md); border: none; cursor: pointer; transition: all var(--t-fast); white-space: nowrap; }
.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn--primary { background: var(--c-brand); color: white; box-shadow: var(--sh-md); }
.btn--primary:hover { background: var(--c-brand-h); box-shadow: var(--sh-glow); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--c-text); border: 1.5px solid var(--c-border); }
.btn--ghost:hover { border-color: var(--c-border-h); background: var(--c-bg-alt); }
.btn--white { background: white; color: var(--c-text); }
.btn--white:hover { background: #F3F4F6; box-shadow: 0 15px 40px rgba(0,0,0,0.15); transform: translateY(-2px); }
.btn--full { width: 100%; }

.tile, .showcase, .plan, .review {
    background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 0; overflow: hidden; transition: all var(--t-base);
}
.tile:hover, .showcase:hover, .review:hover { border-color: var(--c-border-h); box-shadow: var(--sh-lg); transform: translateY(-6px); }

/* FIX 4: Ganti Icon dengan Image pada Solusi */
.tile__img { height: 180px; overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile__title { padding: 1.25rem 1.5rem 0.5rem; font-size: 1.0625rem; font-weight: 600; }
.tile__text { padding: 0 1.5rem 1.5rem; font-size: 0.9375rem; color: var(--c-text-2); line-height: 1.65; }

.showcase__thumb { overflow: hidden; }
.showcase__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); aspect-ratio: 3/2; background: #F3F4F6; }
.showcase:hover .showcase__thumb img { transform: scale(1.05); }
.showcase__info { padding: 1.25rem 1.5rem; }
.showcase__tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-brand); }
.showcase__title { font-size: 0.9375rem; font-weight: 600; margin-top: 0.25rem; line-height: 1.4; }

.plan { text-align: center; display: flex; flex-direction: column; position: relative; padding: var(--s4); }
.plan--highlight { border: 2px solid var(--c-brand); box-shadow: var(--sh-glow); transform: scale(1.02); z-index: 1; }
.plan__label { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--c-brand); color: white; font-size: 0.75rem; font-weight: 700; padding: 0.3rem 1.25rem; border-radius: 50px; letter-spacing: 0.02em; }
.plan__name { font-size: 1.25rem; font-weight: 700; margin-top: 1rem; margin-bottom: 0.25rem; }
.plan__target { font-size: 0.875rem; color: var(--c-text-2); margin-bottom: 2rem; }
.plan__price { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 2rem; }
.plan__price span { font-size: 0.875rem; font-weight: 400; color: var(--c-text-2); }
.plan__list { text-align: left; margin-bottom: 2.5rem; flex-grow: 1; }
.plan__list li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 0; font-size: 0.9375rem; color: var(--c-text-2); border-bottom: 1px solid var(--c-border); }
.plan__list li:last-child { border-bottom: none; }
.plan__list i { color: var(--c-brand); margin-top: 3px; flex-shrink: 0; }
@media (max-width: 1023px) { .plan--highlight { transform: none; box-shadow: none; border: 1.5px solid var(--c-brand); } }

.review { display: flex; flex-direction: column; padding: var(--s4); }
.review__stars { color: #F59E0B; margin-bottom: 1.25rem; display: flex; gap: 0.25rem; font-size: 0.875rem; }
.review__quote { font-size: 0.9375rem; color: var(--c-text-2); line-height: 1.7; flex-grow: 1; margin-bottom: 1.5rem; font-style: normal; }
.review__author { display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid var(--c-border); padding-top: 1.25rem; }
.review__author strong { font-size: 0.9375rem; display: block; }
.review__author span { font-size: 0.8125rem; color: var(--c-text-2); }
.review__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #E5E7EB; }

/* ==========================================
   HEADER
   ========================================== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,0.04); }
.header.scrolled { background: rgba(255,255,255,0.85); box-shadow: 0 1px 0 rgba(0,0,0,0.04); }
.header__inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; z-index: 1001; }
.logo__mark { color: var(--c-text); }
.logo__ext { color: var(--c-brand); }
.nav { display: flex; align-items: center; }
.nav__list { display: flex; gap: 2rem; }
.nav__link { font-size: 0.9375rem; font-weight: 500; color: var(--c-text-2); position: relative; padding: 0.25rem 0; }
.nav__link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px; background: var(--c-text); transition: width var(--t-base); }
.nav__link:hover { color: var(--c-text); }
.nav__link:hover::after { width: 100%; }
.header__toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; z-index: 1001; }
.header__toggle span { display: block; width: 22px; height: 1.5px; background: var(--c-text); transition: all var(--t-base); transform-origin: center; }
.header__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(2.5px, 2.5px); }
.header__toggle.active span:nth-child(2) { opacity: 0; }

@media (max-width: 1023px) {
    .nav { position: fixed; top: 0; right: -100%; width: 85%; max-width: 320px; height: 100dvh; background: rgba(255,255,255,0.98); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); padding: 100px 2rem 2rem; box-shadow: -10px 0 60px rgba(0,0,0,0.05); flex-direction: column; align-items: flex-start; visibility: hidden; opacity: 0; pointer-events: none; transition: right var(--t-base), opacity var(--t-base), visibility var(--t-base); z-index: 999; }
    .nav.open { right: 0; visibility: visible; opacity: 1; pointer-events: auto; }
    .nav__list { flex-direction: column; gap: 1.5rem; }
    .nav__link { font-size: 1.25rem; }
    .nav .btn { margin-left: 0; margin-top: 2rem; width: 100%; }
}
@media (min-width: 1024px) { .header__toggle { display: none; } .nav .btn { margin-left: 2rem; } }

/* ==========================================
   HERO (FIX 1 & 2: Jarak & Proporsi Mobile)
   ========================================== */
.hero { 
    padding: calc(64px + var(--s5)) 0 var(--s6); /* Jarak atas dikurangi drastis */
    position: relative; 
    overflow: hidden; 
}
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(67, 56, 202, 0.06) 0%, transparent 70%); pointer-events: none; }

.hero__grid { display: grid; gap: var(--s4); align-items: center; }
.hero__badge { display: inline-block; padding: 0.5rem 1.25rem; background: rgba(67, 56, 202, 0.08); color: var(--c-brand); font-size: 0.8125rem; font-weight: 600; border-radius: 50px; margin-bottom: 1.5rem; }
.hero__heading { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.hero__sub { font-size: 1.1875rem; color: var(--c-text-2); line-height: 1.75; margin-bottom: 2.5rem; max-width: 520px; }
.hero__cta-group { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.hero__checks li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--c-text-2); font-weight: 500; }
.hero__checks i { color: var(--c-brand); font-size: 0.75rem }

/* Mengatasi gambar hero agar proporsional dan tidak jelek di mobile */
.hero__visual { width: 100%; }
.hero__frame { 
    border-radius: var(--r-xl); 
    overflow: hidden; 
    box-shadow: var(--sh-xl); 
    border: 1px solid rgba(0,0,0,0.05); 
    transition: transform var(--t-slow), box-shadow var(--t-slow); 
    aspect-ratio: 4/3; /* Memaksa rasio gambar tetap sempurna di semua ukuran layar */
    background: #F3F4F6; /* Warna placeholder saat gambar loading */
}
.hero__frame img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* Memastikan gambar tidak terdistorsi atau terpotong aneh */
}
.hero__frame:hover { transform: scale(1.02); box-shadow: 0 30px 80px -20px rgba(67, 56, 202, 0.3); }

@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s6); } }

/* ==========================================
   INTERNAL SECTIONS
   ========================================== */
.steps { display: grid; grid-template-columns: 1fr; gap: 2.5rem; counter-reset: step; }
.steps__item { position: relative; padding-left: 5rem; /* Ditambah jarak agar muat angka besar */ }
/* FIX 5: Angka Steps Eye Catching */
.steps__num { 
    position: absolute; 
    left: 0; 
    top: -10px; 
    font-size: 3.5rem; /* Diperbesar drastis */
    font-weight: 800; 
    color: rgba(67, 56, 202, 0.1); /* Dijadikan transparan seperti watermark */
    line-height: 1; 
    letter-spacing: -0.05em;
}
.steps__item h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.25rem; position: relative; z-index: 1; }
.steps__item p { font-size: 0.9375rem; color: var(--c-text-2); line-height: 1.6; position: relative; z-index: 1; }
@media (min-width: 768px) { .steps { max-width: 600px; margin: 0 auto; } }

.media-block { display: grid; gap: var(--s6); margin-bottom: var(--s7); align-items: center; }
.media-block:last-child { margin-bottom: 0; }
.media-block__visual { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.media-block__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); aspect-ratio: 3/2; background: #F3F4F6; }
.media-block:hover .media-block__visual img { transform: scale(1.03); }
.media-block__body h3 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; line-height: 1.25; }
.media-block__body h3 span { color: var(--c-brand); }
.media-block__body p { color: var(--c-text-2); line-height: 1.75; font-size: 1.0625rem; }
@media (min-width: 768px) { .media-block { grid-template-columns: 1fr 1fr; } .media-block--reverse { grid-template-columns: 1fr 1fr; } .media-block--reverse .media-block__visual { order: 2; } .media-block--reverse .media-block__body { order: 1; } }

.acc { border-bottom: 1px solid var(--c-border); }
.acc__trigger { padding: 1.5rem 0; font-weight: 500; font-size: 1.0625rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: color var(--t-fast); }
.acc__trigger::-webkit-details-marker { display: none; }
.acc__trigger::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--c-text-2); transition: transform var(--t-base); }
.acc[open] .acc__trigger::after { transform: rotate(45deg); }
.acc__body { padding: 0 0 1.5rem; color: var(--c-text-2); line-height: 1.75; max-width: 640px; }

/* ==========================================
   FOOTER & FINAL CTA
   ========================================== */
.cta-final { background: var(--c-bg-dark); padding: var(--s7) 0; }
.cta-final__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: white; letter-spacing: -0.03em; margin-bottom: 1.25rem; }
.cta-final__text { font-size: 1.125rem; color: #9CA3AF; margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7; }

.footer { border-top: 1px solid var(--c-border); padding: var(--s6) 0 var(--s4); }
.footer__grid { display: grid; gap: 2.5rem; margin-bottom: var(--s6); }
.footer__brand p { font-size: 0.9375rem; color: var(--c-text-2); margin-top: 1rem; line-height: 1.6; max-width: 300px; }
.footer__col h4 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__col a { font-size: 0.9375rem; color: var(--c-text-2); }
.footer__col a:hover { color: var(--c-text); }
.footer__bottom { border-top: 1px solid var(--c-border); padding-top: 2rem; text-align: center; }
.footer__bottom p { font-size: 0.875rem; color: var(--c-text-2); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ==========================================
   ANIMATION
   ========================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.active { opacity: 1; transform: translateY(0); }
.grid .reveal:nth-child(2) { transition-delay: 100ms; }
.grid .reveal:nth-child(3) { transition-delay: 200ms; }
.grid .reveal:nth-child(4) { transition-delay: 300ms; }