/* =========================================
   ISYARATKU - LANDING PAGE
   Satu-satunya halaman dengan visual 3D.
   ========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(1100px 600px at 85% -10%, var(--color-mint), transparent 60%),
        radial-gradient(700px 500px at -10% 30%, #FDF6E1, transparent 60%),
        var(--color-bg);
    color: var(--color-navy);
    font-family: var(--font-sans);
    line-height: 1.5;
}

h1, h2, h3, p {
    margin: 0;
}

[hidden] {
    display: none !important;
}

.site-header.is-transparent {
    background: rgba(247, 250, 248, 0.75);
    border-bottom-color: transparent;
}

/* HERO */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 5.5% 40px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: white;
    box-shadow: var(--shadow-card);
    color: var(--color-primary-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(36px, 5.2vw, 64px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.hero h1 span {
    display: block;
    color: var(--color-primary);
}

.hero-lead {
    max-width: 520px;
    color: var(--color-muted);
    font-size: 18px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn-lg {
    min-height: 54px;
    padding: 0 28px;
    font-size: 16px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--color-muted);
    font-size: 14px;
}

.hero-note span {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-success-bg);
    color: var(--color-success);
    font-size: 11px;
    font-weight: 800;
}

/* Kartu lanjutkan belajar */

.resume-card {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 440px;
    margin-top: 22px;
    padding: 12px 16px 12px 12px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow-card);
    color: var(--color-navy);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.resume-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(23, 49, 58, 0.12);
}

.resume-ring {
    --value: 0deg;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, white 70%, transparent 72%),
        conic-gradient(var(--color-primary) var(--value), var(--color-surface-muted) 0);
}

.resume-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.resume-text small {
    color: var(--color-muted);
    font-size: 12px;
}

.resume-text strong {
    font-size: 15px;
}

.resume-arrow {
    margin-left: auto;
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 800;
}

/* VISUAL 3D */

.hero-visual {
    position: relative;
}

.hero-stage {
    position: relative;
    aspect-ratio: 1 / 0.92;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), transparent 55%),
        linear-gradient(160deg, #E8F6F2 0%, #D3ECE6 55%, #C4E3DC 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.7),
        0 30px 60px rgba(23, 49, 58, 0.12);
}

.hero-stage canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 72px);
    place-content: center;
    gap: 14px;
    transform: perspective(700px) rotateX(18deg) rotateY(-16deg);
}

.hero-stage.is-3d .hero-fallback {
    display: none;
}

.hero-fallback span {
    display: grid;
    place-items: center;
    height: 72px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 6px 0 #C3D8D2, 0 14px 24px rgba(23, 49, 58, 0.12);
    font-size: 34px;
    font-weight: 800;
}

.hero-fallback .is-on {
    background: var(--color-primary);
    color: white;
}

.hero-readout {
    position: absolute;
    left: -18px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 14px;
    border-radius: 18px;
    background: var(--color-navy);
    box-shadow: 0 18px 40px rgba(16, 36, 43, 0.3);
    color: white;
}

.readout-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #32D583;
    box-shadow: 0 0 0 4px rgba(50, 213, 131, 0.25);
}

.readout-copy {
    display: flex;
    flex-direction: column;
}

.readout-copy small {
    color: var(--color-on-dark-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.readout-copy strong {
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.readout-copy b {
    color: var(--color-accent);
}

.hero-readout.is-pulse {
    animation: readout-pop 0.35s ease;
}

@keyframes readout-pop {
    from { transform: translateY(4px) scale(0.97); }
    to { transform: none; }
}

/* FAKTA */

.facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5.5% 40px;
}

.fact {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 18px 20px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
}

.fact strong {
    font-size: 22px;
    font-weight: 800;
}

.fact span {
    color: var(--color-muted);
    font-size: 14px;
}

/* CARA KERJA */

.how {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 5.5% 80px;
}

.how-heading {
    max-width: 620px;
}

.how-heading h2 {
    margin: 14px 0 8px;
    font-size: clamp(28px, 3.4vw, 40px);
    letter-spacing: -0.02em;
}

.how-heading p {
    color: var(--color-muted);
    font-size: 16px;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.how-step {
    position: relative;
    padding: 22px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-card);
}

.how-num {
    position: absolute;
    top: 18px;
    right: 20px;
    color: var(--color-border-strong);
    font-size: 13px;
    font-weight: 800;
}

.how-step img,
.how-mark,
.how-cam {
    display: grid;
    place-items: center;
    width: 100%;
    height: 150px;
    margin-bottom: 16px;
    border-radius: 16px;
    object-fit: cover;
}

.how-step img {
    background: var(--color-mint);
}

.how-mark {
    background: var(--color-warning-bg);
    color: var(--color-warning);
    font-size: 56px;
    font-weight: 800;
}

.how-cam {
    position: relative;
    background: var(--color-camera);
    color: white;
}

.how-cam span {
    font-size: 56px;
    font-weight: 800;
}

.how-cam i {
    position: absolute;
    inset: 18px;
    border: 2px dashed rgba(244, 201, 93, 0.7);
    border-radius: 14px;
}

.how-step h3 {
    margin-bottom: 6px;
    font-size: 18px;
}

.how-step p {
    color: var(--color-muted);
    font-size: 14px;
}

/* FOOTER */

.site-footer p {
    margin-top: 4px;
}

/* RESPONSIF */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 28px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-stage {
        aspect-ratio: 1 / 0.75;
    }

    .hero-readout {
        left: 12px;
        bottom: 12px;
    }

    .facts,
    .how-steps {
        grid-template-columns: 1fr;
    }
}

/* Penjelasan dua pilihan masuk */

.mode-hints {
    display: grid;
    gap: 6px;
    max-width: 520px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: var(--color-muted);
    font-size: 14px;
}

.mode-hints strong {
    color: var(--color-navy);
}

.mode-hints strong::after {
    content: ":";
}
