/* =========================================================
   Ever — Landing Page Styles
   Token: warna diambil dari brand asli (biru #2F7DE0 / amber #F5A623)
   Tipografi: Plus Jakarta Sans (display) + Inter (body) + IBM Plex Mono (label/data)
   ========================================================= */

:root{
    --blue: #2F7DE0;
    --blue-deep: #163B77;
    --blue-soft: #E8F0FD;
    --amber: #F5A623;
    --amber-deep: #C9790E;
    --ink: #101826;
    --ink-soft: #4A5568;
    --paper: #FFFFFF;
    --mist: #F1F6FD;
    --line: #E3E9F4;

    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 12px;

    --shadow-soft: 0 20px 45px -20px rgba(16, 24, 38, 0.18);
    --shadow-card: 0 10px 30px -18px rgba(16, 24, 38, 0.22);
}

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

html{ scroll-behavior: smooth; }

body{
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.01em;
}

p{ margin: 0; color: var(--ink-soft); line-height: 1.65; }

.wrap{
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent{ color: var(--blue); }

@media (prefers-reduced-motion: reduce){
    *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Buttons ---------- */
.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
    cursor: pointer;
    white-space: nowrap;
}
.btn-lg{ padding: 15px 30px; font-size: 1rem; }
.btn-primary{ background: var(--amber); color: #241300; box-shadow: var(--shadow-card); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(245,166,35,.55); }
.btn-outline{ border-color: var(--line); color: var(--blue-deep); background: var(--paper); }
.btn-outline:hover{ border-color: var(--blue); background: var(--blue-soft); }
.btn-ghost{ color: var(--ink); }
.btn-ghost:hover{ color: var(--blue); }
.btn-white{ background: var(--paper); color: var(--blue-deep); }
.btn-white:hover{ transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.3); }
.btn-outline-white{ border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-white:hover{ background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.site-header{
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled{
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px -20px rgba(16,24,38,.35);
}
.header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}
.brand{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark{ width: 30px; height: 30px; }
.brand-name{ font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }

.main-nav{ display: flex; gap: 32px; margin: 0 auto; }
.main-nav a{ font-size: .95rem; font-weight: 500; color: var(--ink-soft); transition: color .15s ease; }
.main-nav a:hover{ color: var(--blue); }

.header-actions{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle{
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    border: none; background: none; cursor: pointer;
}
.nav-toggle span{ display:block; height: 2px; width: 22px; background: var(--ink); border-radius: 2px; }

/* ---------- Eyebrow / Section head ---------- */
.eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--blue-deep);
    margin: 0 0 14px;
}
.eyebrow-dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--amber); display:inline-block; }

.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(1.6rem, 3vw, 2.35rem); }

.section{ padding: 100px 0; }
.section-mist{ background: var(--mist); }

/* ---------- Hero ---------- */
.hero{
    position: relative;
    padding: 150px 0 110px;
    background: linear-gradient(180deg, #FBFDFF 0%, #FFFFFF 55%);
    overflow: hidden;
}
.hero-grid-decor{
    position: absolute;
    inset: -10% -5% auto auto;
    width: 620px; height: 620px;
    background-image: radial-gradient(circle, var(--line) 1.6px, transparent 1.6px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,.9) 0%, transparent 70%);
    mask-image: radial-gradient(circle, rgba(0,0,0,.9) 0%, transparent 70%);
    opacity: .8;
    pointer-events: none;
}
.hero-inner{
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
    position: relative;
}
.hero-copy h1{ font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 20px; }
.hero-lead{ font-size: 1.08rem; max-width: 480px; margin-bottom: 34px; }
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-meta{ display: flex; gap: 30px; flex-wrap: wrap; }
.hero-meta div{ display: flex; flex-direction: column; gap: 2px; }
.hero-meta strong{ font-family: var(--font-display); font-size: 1.05rem; }
.hero-meta span{ font-size: .82rem; color: var(--ink-soft); }

.hero-visual{ position: relative; height: 460px; }
.mark-assemble{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mark-assemble .bar{ position: absolute; width: 230px; }
.bar-atas{ animation: dropIn .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: .1s; }
.bar-tengah{ animation: fadeGrow .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: .32s; }
.bar-bawah{ animation: riseIn .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: .54s; }

@keyframes dropIn{ from{ opacity:0; transform: translateY(-40px);} to{ opacity:1; transform: translateY(0);} }
@keyframes riseIn{ from{ opacity:0; transform: translateY(40px);} to{ opacity:1; transform: translateY(0);} }
@keyframes fadeGrow{ from{ opacity:0; transform: scale(.85);} to{ opacity:1; transform: scale(1);} }

.float-card{
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    box-shadow: var(--shadow-soft);
    animation: floatY 5s ease-in-out infinite;
}
.float-card--kas{ left: -10px; bottom: 42px; animation-delay: 0s; }
.float-card--tiket{ right: -6px; top: 38px; animation-delay: 1.2s; }
@keyframes floatY{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

.fc-icon{ width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
.fc-label{ display:block; font-size: .72rem; color: var(--ink-soft); }
.fc-value{ font-family: var(--font-mono); font-size: .88rem; color: var(--ink); }

/* ---------- Problems ---------- */
.problem-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.problem-card{
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px;
}
.problem-tag{
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #B23A3A;
    background: #FCEBEB;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.problem-card p{ margin-bottom: 18px; color: var(--ink); }
.problem-solution{ display: flex; gap: 10px; align-items: flex-start; padding-top: 16px; border-top: 1px dashed var(--line); }
.ps-icon{ width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.problem-solution span{ font-size: .9rem; color: var(--ink-soft); }

/* ---------- Bento fitur ---------- */
.bento{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(160px, auto);
    gap: 20px;
}
.bento-card{
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--paper);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.bento-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card); }
.bento-lg{ grid-column: span 4; grid-row: span 2; }
.bento-md{ grid-column: span 2; grid-row: span 2; }
.bento-sm{ grid-column: span 2; }

.bento-highlight{
    background: linear-gradient(155deg, var(--blue) 0%, #2465BE 100%);
    color: #fff;
    border: none;
}
.bento-highlight p, .bento-highlight .bento-label{ color: rgba(255,255,255,.82); }
.bento-highlight .bento-icon{ background: rgba(255,255,255,.15); color: #fff; }

.bento-icon{
    width: 46px; height: 46px;
    border-radius: 14px;
    background: var(--blue-soft);
    color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.bento-icon .icon{ width: 22px; height: 22px; }
.bento-label{
    font-family: var(--font-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ink-soft);
    margin-bottom: 10px;
}
.bento-card h3{ font-size: 1.15rem; margin-bottom: 10px; }
.bento-card p{ font-size: .92rem; }

/* ---------- Deep dive tabs ---------- */
.deepdive-tabs{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}
.dd-tab{
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .9rem;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink-soft);
    cursor: pointer;
    transition: all .18s ease;
}
.dd-tab.is-active{ background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }

.dd-panel{ display: none; }
.dd-panel.is-active{
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 50px;
    align-items: center;
}
.dd-copy h3{ font-size: 1.6rem; margin-bottom: 14px; }
.dd-copy p{ margin-bottom: 22px; }
.dd-points{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dd-points li{ display: flex; gap: 10px; align-items: center; font-weight: 500; }
.dd-check{ width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

.dd-visual{ display: flex; justify-content: center; }
.phone-mock{
    width: 240px; height: 480px;
    background: var(--ink);
    border-radius: 38px;
    padding: 14px;
    box-shadow: var(--shadow-soft);
    position: relative;
}
.phone-notch{
    position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
    width: 70px; height: 18px; background: var(--ink); border-radius: 0 0 12px 12px; z-index: 2;
}
.phone-screen{
    height: 100%;
    background: linear-gradient(160deg, var(--blue-soft) 0%, #fff 60%);
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}
.phone-tag{
    position: absolute; top: 30px;
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--blue-deep);
    background: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
}
.phone-icon{ width: 70px; height: 70px; color: var(--blue); }
/* Mockup asli SUDAH punya frame HP di dalam SVG-nya. Tampilkan langsung,
   tanpa frame tambahan. drop-shadow mengikuti bentuk frame (bukan kotak). */
.phone-shot{
    width: min(260px, 80%);
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 40px rgba(15, 23, 42, .18));
}

/* ---------- Steps ---------- */
.steps{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step{
    border-top: 3px solid var(--blue);
    padding-top: 20px;
}
.step-no{
    font-family: var(--font-mono);
    font-size: .85rem;
    color: var(--amber-deep);
    display: block;
    margin-bottom: 12px;
}
.step h3{ font-size: 1.1rem; margin-bottom: 10px; }
.step p{ font-size: .92rem; }

/* ---------- Use cases ---------- */
.usecases{ display: flex; flex-wrap: wrap; gap: 14px; }
.usecase-chip{
    display: flex; align-items: center; gap: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
}
.uc-icon{ width: 20px; height: 20px; color: var(--blue); }

/* ---------- CTA ---------- */
.cta{
    position: relative;
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 55%, var(--amber-deep) 130%);
    padding: 90px 0;
    overflow: hidden;
}
.cta-decor{
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.14) 1.6px, transparent 1.6px);
    background-size: 28px 28px;
    opacity: .6;
}
.cta-inner{ position: relative; text-align: center; max-width: 640px; margin: 0 auto; }
.cta h2{ color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 16px; }
.cta p{ color: rgba(255,255,255,.85); margin-bottom: 34px; font-size: 1.05rem; }
.cta-actions{ justify-content: center; margin-bottom: 0; }
.cta-inner .cta-store{ max-width: none; }

/* store badge + QR */
.cta-store{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.store-badge{
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 26px 12px 20px;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(6px);
    color: #fff;
    text-decoration: none;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.store-badge:hover{
    transform: translateY(-3px);
    background: #fff;
    border-color: #fff;
    color: var(--ink);
    box-shadow: 0 18px 34px rgba(0,0,0,.25);
}
.store-badge-icon{ width: 34px; height: 34px; flex: none; }
.store-badge-text{ display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge-text small{
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .8;
}
.store-badge-text strong{ font-size: 1.18rem; font-weight: 700; }

.store-qr{ display: flex; flex-direction: column; align-items: center; gap: 8px; }
.store-qr-frame{
    background: #fff;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0,0,0,.22);
    line-height: 0;
}
.store-qr-frame img{ width: 104px; height: 104px; display: block; }
.store-qr span{
    font-size: .78rem;
    letter-spacing: .06em;
    color: rgba(255,255,255,.85);
}

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.footer-grid{
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand{ display: flex; flex-direction: column; gap: 12px; }
.footer-brand .brand-mark{ filter: brightness(0) invert(1); }
.footer-brand .brand-name{ color: #fff; }
.footer-brand p{ color: rgba(255,255,255,.55); font-size: .9rem; max-width: 280px; }
.footer-col{ display: flex; flex-direction: column; gap: 12px; }
.footer-col h4{ color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.footer-col a{ color: rgba(255,255,255,.6); font-size: .92rem; transition: color .15s ease; }
.footer-col a:hover{ color: var(--amber); }
.footer-bottom{
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    padding-top: 26px;
    font-size: .82rem;
    color: rgba(255,255,255,.45);
}

/* ---------- Scroll reveal ---------- */
[data-reveal]{ opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px){
    .main-nav{ display: none; }
    .header-actions .btn-ghost{ display: none; }
    .nav-toggle{ display: flex; }

    .hero-inner{ grid-template-columns: 1fr; }
    .hero-visual{ height: 360px; order: -1; }
    .problem-grid{ grid-template-columns: 1fr; }
    .bento{ grid-template-columns: repeat(2, 1fr); }
    .bento-lg{ grid-column: span 2; }
    .bento-md{ grid-column: span 2; }
    .bento-sm{ grid-column: span 2; }
    .dd-panel.is-active{ grid-template-columns: 1fr; }
    .dd-visual{ order: -1; }
    .steps{ grid-template-columns: repeat(2, 1fr); }
    .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px){
    .section{ padding: 70px 0; }
    .hero{ padding: 120px 0 70px; }
    .hero-actions .btn, .cta-actions .btn{ width: 100%; }
    .hero-actions, .cta-actions{ flex-direction: column; }
    .cta-store{ flex-direction: column; gap: 22px; }
    .store-qr-frame img{ width: 128px; height: 128px; }
    .hero-meta{ gap: 20px; }
    .bento{ grid-template-columns: 1fr; }
    .bento-lg, .bento-md, .bento-sm{ grid-column: span 1; }
    .steps{ grid-template-columns: 1fr; }
    .footer-grid{ grid-template-columns: 1fr; }
    .footer-bottom{ flex-direction: column; }

    .main-nav.is-open{
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 76px; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 20px 24px 28px;
        gap: 18px;
        box-shadow: var(--shadow-card);
    }
}
