/* ============================================================
   LANDING PAGE (index.php)
   ============================================================ */
:root {
    --ink: #2e1f7a;                       /* teks di atas tombol putih */
    --glass: rgba(24, 14, 70, 0.30);      /* kaca gelap: teks putih tetap kontras tinggi */
    --glass-line: rgba(255, 255, 255, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.landing {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    background:
        radial-gradient(900px 520px at 88% 8%, rgba(236, 72, 153, 0.35), transparent 60%),
        radial-gradient(760px 520px at 0% 95%, rgba(56, 189, 248, 0.28), transparent 60%),
        linear-gradient(135deg, #4b57cf 0%, #6d3fc4 55%, #5b2a9e 100%);
    background-attachment: fixed;
}

/* ---------- Tautan lewati (untuk keyboard & pembaca layar) ---------- */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 10;
    padding: 10px 16px;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Tombol ---------- */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-pill:focus-visible,
.link-ghost:focus-visible,
.brand:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.btn-pill--light {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 6px 16px rgba(20, 10, 70, 0.28);
}
.btn-pill--light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(20, 10, 70, 0.36);
}

.btn-pill--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.75);
}
.btn-pill--outline:hover { background: rgba(255, 255, 255, 0.14); }

.btn-lg { padding: 15px 30px; font-size: 1.08rem; }
.btn-lg .bi { transition: transform 0.2s; }
.btn-lg:hover .bi { transform: translateX(4px); }

/* ---------- Navbar atas ---------- */
.topbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}
.brand img { width: 36px; height: 36px; object-fit: contain; }

.topbar-actions { display: flex; align-items: center; gap: 8px; }

.link-ghost {
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.link-ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- Hero ---------- */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 150px);
    padding: 32px 32px 72px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
}

.hero-text > * { animation: rise 0.6s ease both; }
.hero-text > :nth-child(2) { animation-delay: 0.08s; }
.hero-text > :nth-child(3) { animation-delay: 0.16s; }
.hero-text > :nth-child(4) { animation-delay: 0.24s; }
.hero-text > :nth-child(5) { animation-delay: 0.32s; }

@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    background: var(--glass);
    border: 1px solid var(--glass-line);
    backdrop-filter: blur(6px);
}

.hero h1 {
    margin: 20px 0 16px;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero h1 .accent {
    display: block;
    color: #fde68a;                       /* cadangan jika gradasi teks tidak didukung */
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero h1 .accent {
        background: linear-gradient(90deg, #fde68a, #f9a8d4);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}

.hero-desc {
    max-width: 560px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-prodi {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 0.98rem;
    background: var(--glass);
    border: 1px solid var(--glass-line);
}
.hero-prodi .bi { margin-top: 3px; }

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

/* ---------- Logo dalam lingkaran kaca ---------- */
.hero-visual { display: grid; place-items: center; }

.logo-orb {
    position: relative;
    width: min(360px, 80vw);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08) 62%);
    border: 1px solid var(--glass-line);
    box-shadow: 0 30px 80px rgba(20, 10, 70, 0.45), inset 0 0 40px rgba(255, 255, 255, 0.12);
    animation: float 6s ease-in-out infinite;
}

.logo-orb::before {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.35);
}

.logo-orb img {
    width: 72%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* ---------- Cara kerja ---------- */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px 72px;
}

.features h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.features-lead {
    max-width: 560px;
    margin: 8px auto 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.feature {
    padding: 28px 24px;
    border-radius: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-line);
    backdrop-filter: blur(6px);
    transition: transform 0.2s, background 0.2s;
}
.feature:hover { transform: translateY(-4px); background: rgba(24, 14, 70, 0.4); }

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.4rem;
    background: #fff;
    color: #4b2fb0;
}

.feature-step {
    display: block;
    margin-bottom: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fde68a;
}

.feature h3 { margin-bottom: 6px; font-size: 1.15rem; }
.feature p  { font-size: 0.98rem; color: rgba(255, 255, 255, 0.95); }

/* ---------- Footer ---------- */
.footer {
    padding: 24px 32px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* ---------- Tablet & ponsel ---------- */
@media (max-width: 860px) {
    body.landing { background-attachment: scroll; }

    .topbar { padding: 16px 20px; }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 16px 20px 56px;
        gap: 36px;
    }

    .hero-visual { order: -1; }
    .logo-orb { width: 220px; }

    .hero-cta .btn-pill { flex: 1 1 100%; }

    .features { padding: 8px 20px 56px; }
}

/* ---------- Kurangi gerakan ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-text > *, .logo-orb { animation: none; }
    .btn-pill, .feature, .btn-lg .bi { transition: none; }
}