/* ============================================================
   callby — landing page
   Direction: immersive night sky (dark) / morning sky (light),
   mascot as hero character. Themes via [data-theme] tokens.
   Fonts: Sora (display) + Inter (body)
   ============================================================ */

:root {
    /* brand constants */
    --violet: #8B5CF6;
    --lav: #A78BFA;
    --lav-soft: #C4B5FD;
    --pink: #EC4899;
    --gold: #FFD700;

    --grad-main: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --grad-btn: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;

    --font-display: "Sora", sans-serif;
    --font-body: "Inter", sans-serif;

    --nav-h: 72px;
    --wrap: 1160px;
}

/* ---------- dark theme (default) ---------- */
:root, [data-theme="dark"] {
    color-scheme: dark;
    --ink: #0A0A1A;
    --ink-2: #131328;
    --ink-3: #1A1A35;

    --text: #FFFFFF;
    --text-dim: #A1A1B5;
    --text-faint: #6B6B7B;

    --line: rgba(139, 92, 246, 0.14);
    --line-strong: rgba(139, 92, 246, 0.28);

    --sky-glow-a: rgba(139, 92, 246, 0.22);
    --sky-glow-b: rgba(139, 92, 246, 0.13);
    --horizon-bg: linear-gradient(to top, rgba(19, 19, 40, 0.9), transparent);

    --nav-bg: rgba(10, 10, 26, 0.78);
    --card-bg: linear-gradient(160deg, rgba(22, 13, 56, 0.72), rgba(19, 19, 40, 0.55));
    --card-flat: rgba(22, 13, 56, 0.5);
    --card-flat-hover: rgba(22, 13, 56, 0.8);
    --chip-bg: rgba(22, 13, 56, 0.88);
    --footer-bg: rgba(10, 10, 26, 0.85);
    --drop-bg: rgba(19, 19, 40, 0.97);
    --hover-bg: rgba(139, 92, 246, 0.1);
    --icon-bg: rgba(139, 92, 246, 0.14);
    --shadow-color: rgba(5, 2, 18, 0.8);
    --shadow-color-soft: rgba(5, 2, 18, 0.55);
    --star-opacity: 1;
    --cta-bg: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(139, 92, 246, 0.3), transparent 65%),
        linear-gradient(170deg, #131328, #131328 70%);
}

/* ---------- light theme ---------- */
[data-theme="light"] {
    color-scheme: light;
    --ink: #f6f3ff;
    --ink-2: #efebfd;
    --ink-3: #ffffff;

    --text: #241544;
    --text-dim: #5b4d8c;
    --text-faint: #8a7db8;

    --line: rgba(139, 92, 246, 0.14);
    --line-strong: rgba(139, 92, 246, 0.3);

    --sky-glow-a: rgba(139, 92, 246, 0.25);
    --sky-glow-b: rgba(236, 72, 153, 0.2);
    --horizon-bg: linear-gradient(to top, rgba(239, 235, 253, 0.95), transparent);

    --nav-bg: rgba(246, 243, 255, 0.8);
    --card-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(239, 235, 253, 0.75));
    --card-flat: rgba(255, 255, 255, 0.75);
    --card-flat-hover: rgba(255, 255, 255, 0.95);
    --chip-bg: rgba(255, 255, 255, 0.92);
    --footer-bg: rgba(239, 235, 253, 0.9);
    --drop-bg: rgba(255, 255, 255, 0.98);
    --hover-bg: rgba(139, 92, 246, 0.08);
    --icon-bg: rgba(139, 92, 246, 0.1);
    --shadow-color: rgba(139, 92, 246, 0.22);
    --shadow-color-soft: rgba(139, 92, 246, 0.14);
    --star-opacity: 0.35;
    --cta-bg: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(139, 92, 246, 0.35), transparent 65%),
        linear-gradient(170deg, #e6ddfc, #f6f3ff 70%);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--ink);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; }

::selection { background: rgba(139, 92, 246, 0.35); }

:focus-visible {
    outline: 2px solid var(--lav);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================================
   CURSOR COMPANIONS (desktop, fine pointers only)
   ============================================================ */
.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}
body.cursor-live .cursor-dot,
body.cursor-live .cursor-ring { opacity: 1; }
.cursor-dot {
    width: 7px; height: 7px;
    background: var(--lav);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.9);
    transform: translate(-50%, -50%);
}
.cursor-ring {
    width: 34px; height: 34px;
    border: 1.5px solid var(--line-strong);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s, width 0.22s ease, height 0.22s ease,
        border-color 0.22s ease, background 0.22s ease;
}
body.cursor-hover .cursor-ring {
    width: 52px; height: 52px;
    border-color: var(--lav);
    background: rgba(139, 92, 246, 0.08);
}
@media (hover: none), (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   AMBIENT SKY
   ============================================================ */
.sky {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 70% -10%, var(--sky-glow-a), transparent 60%),
        radial-gradient(ellipse 60% 40% at 15% 110%, var(--sky-glow-b), transparent 60%),
        var(--ink);
    transition: background 0.4s ease;
}

.stars {
    position: absolute;
    inset: -100% 0 0 0;
    background-repeat: repeat;
    will-change: transform;
    opacity: var(--star-opacity);
    transition: opacity 0.4s ease;
}
.stars-a {
    background-image:
        radial-gradient(1.5px 1.5px at 25px 35px, #fff 100%, transparent),
        radial-gradient(1px 1px at 120px 90px, rgba(255,255,255,0.8) 100%, transparent),
        radial-gradient(1.2px 1.2px at 200px 40px, rgba(196,181,253,0.9) 100%, transparent),
        radial-gradient(1px 1px at 60px 160px, rgba(255,255,255,0.6) 100%, transparent),
        radial-gradient(1.6px 1.6px at 280px 130px, #fff 100%, transparent);
    background-size: 320px 320px;
    animation: twinkle 7s ease-in-out infinite alternate;
}
.stars-b {
    background-image:
        radial-gradient(1px 1px at 45px 70px, rgba(255,255,255,0.7) 100%, transparent),
        radial-gradient(1.3px 1.3px at 170px 20px, rgba(240,171,252,0.8) 100%, transparent),
        radial-gradient(1px 1px at 240px 100px, rgba(255,255,255,0.5) 100%, transparent),
        radial-gradient(1.4px 1.4px at 90px 190px, #fff 100%, transparent);
    background-size: 420px 420px;
    animation: twinkle 9s ease-in-out infinite alternate-reverse;
}
.stars-c {
    background-image:
        radial-gradient(2px 2px at 70px 130px, rgba(255,255,255,0.9) 100%, transparent),
        radial-gradient(1px 1px at 190px 60px, rgba(255,255,255,0.5) 100%, transparent),
        radial-gradient(1.5px 1.5px at 300px 170px, rgba(196,181,253,0.8) 100%, transparent);
    background-size: 560px 560px;
    animation: twinkle 11s ease-in-out infinite alternate;
}
@keyframes twinkle {
    from { opacity: calc(var(--star-opacity) * 0.45); }
    to   { opacity: var(--star-opacity); }
}

.planet {
    position: absolute;
    top: 8%;
    right: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 30%, rgba(139, 92, 246, 0.55), rgba(139, 92, 246, 0.35) 45%, rgba(139, 92, 246, 0.25) 70%, transparent 75%);
    filter: blur(1px);
    opacity: 0.7;
}
.planet::after {
    content: "";
    position: absolute;
    inset: -14%;
    border-radius: 50%;
    border: 1.5px solid rgba(139, 92, 246, 0.18);
    transform: rotateX(72deg);
}

.horizon {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 34vh;
    background: var(--horizon-bg);
    pointer-events: none;
    transition: background 0.4s ease;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 clamp(20px, 4vw, 48px);
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(139, 92, 246, 0.45));
}
.nav-word {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}
.nav-links {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

/* nav dropdown */
.nav-drop { position: relative; }
.nav-drop-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.2s, background 0.2s;
}
.nav-drop-btn:hover, .nav-drop-btn[aria-expanded="true"] {
    color: var(--text);
    background: var(--hover-bg);
}
.nav-drop-btn .chev {
    width: 14px; height: 14px;
    transition: transform 0.22s ease;
}
.nav-drop-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.drop-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 264px;
    padding: 8px;
    border-radius: var(--r-md);
    background: var(--drop-bg);
    border: 1px solid var(--line-strong);
    box-shadow: 0 24px 60px var(--shadow-color-soft);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-drop.open .drop-menu {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.drop-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    transition: background 0.18s;
}
.drop-menu a:hover { background: var(--hover-bg); }
.drop-ic {
    flex-shrink: 0;
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    border-radius: 11px;
    background: var(--icon-bg);
    border: 1px solid var(--line);
}
.drop-menu strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.drop-menu small {
    display: block;
    font-size: 0.78rem;
    color: var(--text-faint);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* theme toggle */
.theme-toggle {
    position: relative;
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: var(--hover-bg);
    color: var(--lav-soft);
    transition: transform 0.3s ease, border-color 0.25s, background 0.25s;
}
.theme-toggle:hover { transform: rotate(18deg) scale(1.06); border-color: var(--lav); }
.theme-toggle svg {
    position: absolute;
    width: 19px; height: 19px;
    transition: opacity 0.3s ease, transform 0.35s ease;
}
[data-theme="dark"] .ic-sun { opacity: 1; transform: none; }
[data-theme="dark"] .ic-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
[data-theme="light"] .ic-sun { opacity: 0; transform: rotate(90deg) scale(0.5); }
[data-theme="light"] .ic-moon { opacity: 1; transform: none; }
[data-theme="light"] .theme-toggle { color: var(--violet); }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}
.nav-burger span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-display);
    font-weight: 600;
    border-radius: 999px;
    transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s;
    white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
    background: var(--grad-btn);
    color: #fff;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(139, 92, 246, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
    color: var(--lav-soft);
    border: 1px solid var(--line-strong);
    background: var(--hover-bg);
}
[data-theme="light"] .btn-ghost { color: var(--violet); }
.btn-ghost:hover {
    border-color: var(--lav);
    transform: translateY(-2px);
}

.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

/* ============================================================
   SHARED BITS
   ============================================================ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lav);
    margin-bottom: 18px;
}
[data-theme="light"] .eyebrow { color: var(--violet); }
.eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--grad-main);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.9);
}

.grad {
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section {
    position: relative;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: clamp(80px, 11vw, 140px) clamp(20px, 4vw, 48px) 0;
}
.section-head {
    max-width: 640px;
    margin-bottom: clamp(44px, 6vw, 72px);
}
.section-title {
    font-size: clamp(1.9rem, 4.4vw, 3rem);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}
.section-sub {
    font-size: clamp(1rem, 1.6vw, 1.13rem);
    color: var(--text-dim);
}

/* reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
    opacity: 1;
    transform: none;
}

/* float animations for imagery */
.float       { animation: floaty 6s ease-in-out infinite; }
.float-slow  { animation: floaty 9s ease-in-out infinite; }
.float-fast  { animation: floaty 4.5s ease-in-out infinite; }
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: calc(var(--nav-h) + 40px) clamp(20px, 4vw, 48px) 80px;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(40px, 6vw, 80px);
}
.hero-title {
    font-size: clamp(2.4rem, 5.6vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
}
.hero-title em {
    font-style: normal;
    color: var(--lav-soft);
}
[data-theme="light"] .hero-title em { color: var(--violet); }
.hero-sub {
    font-size: clamp(1.02rem, 1.7vw, 1.18rem);
    color: var(--text-dim);
    max-width: 520px;
    margin-bottom: 34px;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
}
.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-faint);
}
.hero-trust .ic {
    width: 17px; height: 17px;
    color: var(--lav);
}
[data-theme="light"] .hero-trust .ic { color: var(--violet); }

/* hero visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-glow {
    position: absolute;
    inset: 8% 4%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4), rgba(139, 92, 246, 0.12) 55%, transparent 72%);
    filter: blur(30px);
}
.hero-img {
    position: relative;
    width: min(100%, 470px);
    border-radius: var(--r-xl);
    border: 1px solid var(--line-strong);
    box-shadow:
        0 30px 80px var(--shadow-color),
        0 0 0 6px rgba(139, 92, 246, 0.05);
}
.bubble {
    position: absolute;
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text);
    background: var(--chip-bg);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px var(--shadow-color-soft);
}
.bubble::after {
    content: "";
    position: absolute;
    bottom: -6px;
    width: 12px; height: 12px;
    background: inherit;
    border-right: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    transform: rotate(45deg);
}
.bubble-1 { top: 9%; left: -4%; }
.bubble-1::after { left: 26px; }
.bubble-2 { bottom: 30%; right: -6%; }
.bubble-2::after { right: 26px; left: auto; }
.bubble-3 { bottom: 6%; left: 2%; }
.bubble-3::after { left: 40px; }

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: 26px; height: 42px;
    border: 1.5px solid var(--line-strong);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.scroll-hint span {
    width: 3px; height: 8px;
    border-radius: 3px;
    background: var(--lav);
    animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint {
    0%   { transform: translateY(0); opacity: 1; }
    70%  { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   CARA KERJA — steps
   ============================================================ */
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 34px 28px 30px;
    border-radius: var(--r-lg);
    background: var(--card-bg);
    border: 1px solid var(--line);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.step:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    box-shadow: 0 20px 50px var(--shadow-color-soft);
}
.step-num {
    position: absolute;
    top: 22px;
    right: 26px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-faint);
}
.step-icon {
    width: 52px; height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    margin-bottom: 22px;
    color: var(--lav-soft);
    background: var(--icon-bg);
    border: 1px solid var(--line-strong);
}
[data-theme="light"] .step-icon,
[data-theme="light"] .feat-icon,
[data-theme="light"] .safety-ic { color: var(--violet); }
.step-icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.18rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { font-size: 0.95rem; color: var(--text-dim); }

/* ============================================================
   FITUR
   ============================================================ */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.feat {
    padding: 34px 30px;
    border-radius: var(--r-lg);
    background: var(--card-bg);
    border: 1px solid var(--line);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feat:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    box-shadow: 0 20px 50px var(--shadow-color-soft);
}
.feat h3 { font-size: 1.25rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.feat p { color: var(--text-dim); font-size: 0.97rem; }
.feat-icon {
    width: 50px; height: 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    margin-bottom: 22px;
    color: var(--lav-soft);
    background: var(--icon-bg);
    border: 1px solid var(--line-strong);
}
.feat-icon svg { width: 25px; height: 25px; }

.feat-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    padding: clamp(30px, 4vw, 48px);
}
.feat-flip .feat-text { order: 2; }
.feat-flip .feat-media { order: 1; }
.feat-wide h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 14px; }
.feat-media img {
    width: 100%;
    border-radius: var(--r-md);
    border: 1px solid var(--line-strong);
    box-shadow: 0 18px 50px var(--shadow-color-soft);
}

/* ============================================================
   MOMEN
   ============================================================ */
.moments {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.moment {
    padding: 30px 24px;
    border-radius: var(--r-lg);
    text-align: center;
    background: var(--card-flat);
    border: 1px solid var(--line);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s;
}
.moment:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    background: var(--card-flat-hover);
}
.moment-emoji {
    font-size: 2rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 14px rgba(139, 92, 246, 0.35));
}
.moment h3 { font-size: 1.06rem; margin-bottom: 8px; }
.moment p { font-size: 0.88rem; color: var(--text-dim); }

/* ============================================================
   KEAMANAN
   ============================================================ */
.section-safety { max-width: none; }
.safety-grid {
    max-width: var(--wrap);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: clamp(44px, 7vw, 96px);
}
.safety-media {
    position: relative;
    display: flex;
    justify-content: center;
}
.safety-glow {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.16), rgba(139, 92, 246, 0.18) 50%, transparent 72%);
    filter: blur(28px);
}
.safety-media img {
    position: relative;
    width: min(100%, 420px);
    border-radius: var(--r-xl);
    border: 1px solid var(--line-strong);
    box-shadow: 0 30px 80px var(--shadow-color);
}
.safety-list {
    display: grid;
    gap: 8px;
    margin-top: 34px;
}
.safety-list li {
    display: flex;
    gap: 16px;
    padding: 16px 18px;
    border-radius: var(--r-md);
    transition: background 0.2s;
}
.safety-list li:hover { background: var(--card-flat); }
.safety-ic {
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--lav-soft);
    background: var(--icon-bg);
    border: 1px solid var(--line-strong);
}
.safety-ic svg { width: 22px; height: 22px; }
.safety-list h3 { font-size: 1.02rem; margin-bottom: 4px; }
.safety-list p { font-size: 0.9rem; color: var(--text-dim); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    max-width: 760px;
    display: grid;
    gap: 12px;
}
.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--card-flat);
    overflow: hidden;
    transition: border-color 0.25s;
}
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.02rem;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--lav-soft); }
[data-theme="light"] .faq-item summary:hover { color: var(--violet); }
.faq-chev {
    flex-shrink: 0;
    width: 10px; height: 10px;
    border-right: 2px solid var(--lav);
    border-bottom: 2px solid var(--lav);
    transform: rotate(45deg);
    transition: transform 0.25s;
}
.faq-item[open] .faq-chev { transform: rotate(-135deg); }
.faq-item p {
    padding: 0 24px 22px;
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: clamp(80px, 11vw, 140px) clamp(20px, 4vw, 48px);
}
.cta-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px);
    border-radius: var(--r-xl);
    background: var(--cta-bg);
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 100px var(--shadow-color-soft);
}
.cta-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.4px 1.4px at 15% 25%, rgba(255,255,255,0.8) 100%, transparent),
        radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.6) 100%, transparent),
        radial-gradient(1.6px 1.6px at 65% 60%, rgba(196,181,253,0.9) 100%, transparent),
        radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.5) 100%, transparent),
        radial-gradient(1.2px 1.2px at 90% 80%, rgba(240,171,252,0.8) 100%, transparent),
        radial-gradient(1px 1px at 45% 15%, rgba(255,255,255,0.6) 100%, transparent);
    opacity: var(--star-opacity);
    animation: twinkle 8s ease-in-out infinite alternate;
    pointer-events: none;
}
.cta-lottie {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 10px;
    filter: drop-shadow(0 8px 30px rgba(139, 92, 246, 0.5));
}
.cta-title {
    position: relative;
    font-size: clamp(1.8rem, 4.4vw, 2.9rem);
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}
.cta-sub {
    position: relative;
    color: var(--text-dim);
    font-size: 1.05rem;
    margin-bottom: 30px;
}
.cta-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

/* store badges */
.store-badges {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.store-badge {
    display: inline-flex;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.store-badge:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.store-badge img {
    height: 52px;
    width: auto;
}

/* ============================================================
   SCROLL-PAUSE PEEK
   ============================================================ */
.peek {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 16px 12px;
    border-radius: var(--r-lg);
    background: var(--drop-bg);
    border: 1px solid var(--line-strong);
    box-shadow: 0 20px 50px var(--shadow-color-soft);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(16px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.peek.show {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.peek-lottie { width: 84px; height: 84px; }
.peek-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    white-space: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--line);
    background: var(--footer-bg);
    transition: background 0.4s ease;
}
.footer-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 56px clamp(20px, 4vw, 48px) 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
    gap: 32px;
}
.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-faint);
}
.footer-col h4 {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    padding: 5px 0;
    font-size: 0.93rem;
    color: var(--text-dim);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-store .store-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.footer-store .store-badge img { height: 44px; }

/* socials */
.socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.socials a {
    width: 40px; height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--text-dim);
    border: 1px solid var(--line);
    background: var(--hover-bg);
    transition: transform 0.2s ease, color 0.2s, border-color 0.2s, background 0.2s;
}
.socials a:hover {
    transform: translateY(-3px);
    color: #fff;
    background: var(--grad-btn);
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(139, 92, 246, 0.5);
}
.socials svg { width: 19px; height: 19px; }

.footer-base {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 22px clamp(20px, 4vw, 48px) 30px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    font-size: 0.84rem;
    color: var(--text-faint);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 56px; }
    .hero-copy { text-align: center; }
    .hero-sub { margin-inline: auto; }
    .hero-cta, .hero-trust { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-img { width: min(78vw, 380px); }
    .bubble-1 { left: 0; }
    .bubble-2 { right: 0; }

    .steps { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .feat-wide { grid-template-columns: 1fr; }
    .feat-flip .feat-text { order: 1; }
    .feat-flip .feat-media { order: 2; }
    .moments { grid-template-columns: repeat(2, 1fr); }
    .safety-grid { grid-template-columns: 1fr; }
    .safety-media { order: -1; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .nav { gap: 12px; }
    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 12px; right: 12px;
        flex-direction: column;
        padding: 12px;
        border-radius: var(--r-md);
        background: var(--drop-bg);
        border: 1px solid var(--line-strong);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 24px 60px var(--shadow-color-soft);
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.2s, transform 0.2s;
        max-height: calc(100vh - var(--nav-h) - 24px);
        overflow-y: auto;
    }
    .nav-links.open {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
    /* mobile: dropdown menus become static, accordion style */
    .nav-drop { width: 100%; }
    .nav-drop-btn { width: 100%; justify-content: space-between; padding: 12px 16px; }
    .drop-menu {
        position: static;
        transform: none;
        min-width: 0;
        border: none;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0 0 0 8px;
        display: none;
        opacity: 1;
        pointer-events: auto;
    }
    .nav-drop.open .drop-menu { display: block; transform: none; }
    .nav-burger { display: flex; }
    .nav-right .btn { display: none; }

    .moments { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .footer-base { flex-direction: column; }
    .bubble { display: none; }
    .peek { right: 12px; bottom: 12px; padding: 10px 12px 8px; }
    .peek-lottie { width: 64px; height: 64px; }
    .store-badge img { height: 44px; }
}

/* ============================================================
   DOWNLOAD PAGE
   ============================================================ */
.dl {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: calc(var(--nav-h) + 24px) clamp(20px, 4vw, 48px) 60px;
}
.dl-card {
    position: relative;
    overflow: hidden;
    width: min(680px, 100%);
    text-align: center;
    padding: clamp(44px, 6vw, 72px) clamp(24px, 5vw, 56px);
    border-radius: var(--r-xl);
    background: var(--cta-bg);
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 100px var(--shadow-color-soft);
}
.dl-title {
    position: relative;
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: -0.03em;
    margin: 6px 0 14px;
}
.dl-sub {
    position: relative;
    color: var(--text-dim);
    margin-bottom: 28px;
}
.dl-note {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    margin: 26px auto 0;
    max-width: 460px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    background: var(--card-flat);
    border: 1px solid var(--line);
}
.dl-note .ic {
    flex-shrink: 0;
    width: 20px; height: 20px;
    color: var(--lav);
    margin-top: 2px;
}
.dl-note p { font-size: 0.88rem; color: var(--text-dim); }
.dl-form {
    position: relative;
    display: flex;
    gap: 10px;
    max-width: 420px;
    margin: 18px auto 0;
}
.dl-form input {
    flex: 1;
    min-width: 0;
    padding: 13px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--card-flat);
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}
.dl-form input:focus { border-color: var(--lav); }
.dl-form input::placeholder { color: var(--text-faint); }
.dl-ok {
    position: relative;
    margin-top: 18px;
    color: var(--lav-soft);
    font-weight: 500;
}
@media (max-width: 640px) {
    .dl-form { flex-direction: column; }
    .dl-form .btn { width: 100%; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .stars, .stars-a, .stars-b, .stars-c,
    .cta-stars,
    .float, .float-slow, .float-fast,
    .scroll-hint span { animation: none !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .step, .feat, .moment { transition: none; }
    .cursor-dot, .cursor-ring { display: none; }
    .peek { transition: opacity 0.2s; transform: none; }
    .peek.show { transform: none; }
}
