/* My AliMedia Network — landing page v3 */
*, *::before, *::after { box-sizing: border-box; }
:root {
    --ink: #0c1d36;
    --ink-2: #33465f;
    --muted: #5f6f84;
    --blue: #2476ed;
    --indigo: #5a61f0;
    --aqua: #39cbd7;
    --green: #19aa72;
    --orange: #ff8a3d;
    --sun: #ffd166;
    --line: #dfe7f1;
    --soft: #f4f8fe;
    --white: #fff;
    --radius: 22px;
    --shadow: 0 30px 80px rgba(27, 72, 132, .14);
}
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(36, 118, 237, .45); outline-offset: 3px; border-radius: 8px; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border: 1px solid transparent; border-radius: 13px; font-size: 15px; font-weight: 700; line-height: 1.2; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 14px 30px rgba(36, 118, 237, .3); }
.btn-primary:hover { background: #1b68d8; box-shadow: 0 18px 36px rgba(36, 118, 237, .36); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: #cddbec; background: rgba(255, 255, 255, .85); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 10px 18px; border-radius: 11px; font-size: 14px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; background: rgba(255, 255, 255, .84); border-bottom: 1px solid transparent; backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px rgba(12, 29, 54, .06); }
.header-row { height: 78px; display: flex; align-items: center; gap: 36px; }
.brand { width: 104px; height: 66px; display: grid; place-items: center; flex: none; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: #4b5d73; font-size: 14px; font-weight: 600; transition: color .2s; }
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-link { color: #4b5d73; font-size: 14px; font-weight: 600; }
.header-link:hover { color: var(--blue); }
.menu-button { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-button span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-button.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-button.active span:nth-child(2) { opacity: 0; }
.menu-button.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; padding: 132px 0 84px; overflow: hidden; background: linear-gradient(180deg, #f2f8ff 0%, #f8fbff 62%, #fff 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(4px); }
.blob-a { width: 520px; height: 520px; left: -220px; top: 60px; background: radial-gradient(circle, rgba(57, 203, 215, .2), transparent 68%); }
.blob-b { width: 620px; height: 620px; right: -240px; top: -80px; background: radial-gradient(circle, rgba(90, 97, 240, .16), transparent 68%); }
.blob-c { width: 380px; height: 380px; left: 42%; bottom: -200px; background: radial-gradient(circle, rgba(255, 166, 77, .16), transparent 68%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid #cfe0f7; border-radius: 999px; background: rgba(255, 255, 255, .8); color: #3f5875; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(25, 170, 114, .14); animation: dotPulse 2s ease-in-out infinite; }
.hero h1 { margin: 22px 0 20px; font-size: clamp(40px, 4.8vw, 62px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; }
.hero h1 span { display: block; background: linear-gradient(90deg, var(--blue), var(--indigo) 55%, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > p { max-width: 540px; color: var(--muted); font-size: 18px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero-points li { display: flex; align-items: center; gap: 9px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.hero-points i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #e8f1ff; color: var(--blue); }
.hero-points li:nth-child(2) i { background: #fff1e4; color: #e8701f; }
.hero-points li:nth-child(3) i { background: #e3f7ee; color: var(--green); }
.hero-points svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-points li:nth-child(1) svg circle { fill: currentColor; stroke: none; }

.hero-visual { position: relative; padding: 14px; border: 1px solid rgba(203, 219, 238, .9); border-radius: 30px; background: rgba(255, 255, 255, .78); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.scene { position: relative; overflow: hidden; border-radius: 20px; background: #e6f1ff; aspect-ratio: 720 / 460; }
.scene > svg { display: block; width: 100%; height: 100%; }
.scene-caption { margin-top: 14px; }
.scene-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: step; }
.scene-steps li { position: relative; display: flex; align-items: center; gap: 9px; padding: 10px 11px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--muted); font-size: 12.5px; font-weight: 650; line-height: 1.25; transition: border-color .3s, background .3s, color .3s; }
.scene-steps b { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--soft); color: #7d8da1; font-size: 12px; transition: background .3s, color .3s; }
.scene-steps li::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--aqua)); transition: width .4s ease; }
.scene-steps li.is-active { border-color: #b9d3f7; background: #f2f7ff; color: var(--ink); }
.scene-steps li.is-active b { background: var(--blue); color: #fff; }
.scene-steps li.is-active::after { width: 100%; transition: width 2.6s linear; }
.scene-steps li.is-done { color: var(--ink-2); }
.scene-steps li.is-done b { background: #e3f7ee; color: var(--green); }

/* Scene: SVG text */
.scene text { font-family: 'Inter', system-ui, sans-serif; }
.svg-sign { fill: #fff; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; }
.svg-tag { fill: #fff; font-size: 7.5px; font-weight: 800; letter-spacing: 1px; }
.svg-poster { fill: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .4px; }
.svg-poster-blue { fill: var(--blue); font-size: 10px; }
.svg-poster-sub { fill: var(--muted); font-size: 8.5px; font-weight: 600; }
.svg-qris { fill: #e03131; font-size: 5.5px; font-weight: 800; }
.svg-bubble { fill: var(--ink); font-size: 11.5px; font-weight: 700; }
.svg-bubble-sm { font-size: 11px; }
.svg-card-label { fill: var(--blue); font-size: 9.5px; font-weight: 800; letter-spacing: .8px; }
.svg-card-code { fill: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: 1.5px; }
.svg-card-ok { fill: var(--green); font-size: 9.5px; font-weight: 650; }
.svg-card-muted { fill: var(--muted); font-size: 9.5px; font-weight: 600; }
.svg-card-amount { fill: var(--ink); font-size: 18px; font-weight: 800; }
.svg-badge { fill: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .5px; }
.svg-online { fill: #fff; font-size: 11px; font-weight: 700; }

/* Scene: ambient motion */
.cloud-a { animation: cloudDrift 14s ease-in-out infinite alternate; }
.cloud-b { animation: cloudDrift 18s ease-in-out -6s infinite alternate-reverse; }
.sun { transform-box: fill-box; transform-origin: center; animation: sunGlow 5s ease-in-out infinite; }
.tower-light { animation: blink 1.4s steps(1) infinite; }
.tower-wave { opacity: 0; animation: towerWave 2.4s ease-out infinite; }
.tw-2 { animation-delay: .5s; }
.router-led { animation: blink 1s steps(1) infinite; }
.led-2 { animation-delay: .35s; }
.led-3 { animation-delay: .7s; }
.monitor-screen { animation: screenFlicker 4s ease-in-out infinite; }
.lamp-glow { animation: sunGlowFade 3s ease-in-out infinite; }

/* Scene: character rig — pivot sendi memakai koordinat SVG (transform-box: view-box) */
.walker { transition: transform 4.2s linear; }
.walker-figure { transform-box: view-box; transform-origin: 350px 0; transition: transform .35s ease-in-out; }
.thigh, .shin, .uarm, .farm, .pb-leg, .pb-arm { transform-box: view-box; transition: transform .45s ease; }
.thigh-back, .shin-back { transform-origin: 347.5px 330px; }
.thigh-front { transform-origin: 351.5px 330px; }
.shin-back { transform-origin: 347.5px 355px; }
.shin-front { transform-origin: 351.5px 355px; }
.uarm-back { transform-origin: 342.5px 275px; }
.uarm-front { transform-origin: 351.5px 275px; }
.farm-back { transform-origin: 342.5px 296px; }
.farm-front { transform-origin: 351.5px 296px; }
.keeper-arm { transform-box: fill-box; transform-origin: 50% 8%; transition: transform .45s ease; }
.keeper-head { transform-box: fill-box; transform-origin: 50% 100%; }
.walker-phone, .ticket, .qris-pulse, .phone-check { opacity: 0; transition: opacity .35s ease; }
.phone-screen { fill: var(--aqua); transition: fill .4s ease; }
.wifi-ring { opacity: 0; transform-box: fill-box; transform-origin: center; }
.scene-ui { opacity: 0; transform: translateY(10px) scale(.94); transform-box: fill-box; transform-origin: 50% 100%; transition: opacity .45s ease, transform .5s cubic-bezier(.2, .8, .3, 1.25); }

.scene[data-step="reset"] .walker { transform: translateX(-430px); transition: none; }
.scene[data-step="reset"] .walker-figure, .scene[data-step="reset"] .scene-ui { transition: none; }

/* Pejalan kaki latar belakang: selalu lewat */
.passerby { animation: passerbyWalk 14s linear infinite; }
.pb-bob { animation: walkBobSmall .55s ease-in-out infinite; }
.pb-leg-back { transform-origin: 250px 354px; animation: pbLeg 1.1s ease-in-out -.55s infinite; }
.pb-leg-front { transform-origin: 252px 354px; animation: pbLeg 1.1s ease-in-out infinite; }
.pb-arm-back { transform-origin: 248.5px 323px; animation: pbArm 1.1s ease-in-out infinite; }
.pb-arm-front { transform-origin: 252.5px 323px; animation: pbArm 1.1s ease-in-out -.55s infinite; }

/* 1. Berjalan ke warung & 6. berbalik lalu berjalan pergi */
.scene[data-step="walk"] .thigh-front, .scene[data-step="leave"] .thigh-front { animation: thighStep 1s linear infinite; }
.scene[data-step="walk"] .thigh-back, .scene[data-step="leave"] .thigh-back { animation: thighStep 1s linear -.5s infinite; }
.scene[data-step="walk"] .shin-front, .scene[data-step="leave"] .shin-front { animation: shinStep 1s linear infinite; }
.scene[data-step="walk"] .shin-back, .scene[data-step="leave"] .shin-back { animation: shinStep 1s linear -.5s infinite; }
.scene[data-step="walk"] .uarm-front { animation: armStep 1s ease-in-out -.5s infinite; }
.scene[data-step="walk"] .farm-front { animation: forearmStep 1s ease-in-out -.5s infinite; }
.scene[data-step="walk"] .uarm-back, .scene[data-step="leave"] .uarm-back { animation: armStep 1s ease-in-out infinite; }
.scene[data-step="walk"] .farm-back, .scene[data-step="leave"] .farm-back { animation: forearmStep 1s ease-in-out infinite; }
.scene[data-step="walk"] .walker-bob, .scene[data-step="leave"] .walker-bob { animation: walkBob .5s ease-in-out infinite; }
.scene[data-step="leave"] .walker-figure { transform: scaleX(-1); }
.scene[data-step="leave"] .walker { transform: translateX(-430px); transition: transform 4.2s linear .35s; }
.scene[data-step="leave"] .card-voucher, .scene[data-step="leave"] .card-pay { transition-delay: 1.4s; }

/* 2. Memesan voucher */
.scene[data-step="order"] .bubble-order { opacity: 1; transform: none; }
.scene[data-step="order"] .keeper-head { animation: nod .7s ease-in-out .9s 2; }

/* 3. Menerima voucher */
.scene[data-step="voucher"] .uarm-front { transform: rotate(-60deg); transition-delay: .9s; }
.scene[data-step="voucher"] .keeper-arm { animation: keeperGive 2.8s ease-in-out both; }
.scene[data-step="voucher"] .ticket { animation: ticketHandOff 2.8s ease-in-out both; }
.scene[data-step="voucher"] .bubble-keeper { opacity: 1; transform: none; }
.scene[data-step="voucher"] .card-voucher { opacity: 1; transform: none; transition-delay: 1.5s; }

/* 4. Bayar internet via QRIS (ponsel tetap dipegang sampai pergi) */
.scene[data-step="pay"] .uarm-front, .scene[data-step="online"] .uarm-front, .scene[data-step="leave"] .uarm-front { transform: rotate(-40deg); }
.scene[data-step="pay"] .farm-front, .scene[data-step="online"] .farm-front, .scene[data-step="leave"] .farm-front { transform: rotate(-60deg); }
.scene[data-step="pay"] .walker-phone, .scene[data-step="online"] .walker-phone, .scene[data-step="leave"] .walker-phone { opacity: 1; }
.scene[data-step="pay"] .qris-pulse { animation: qrisPulse 1s ease-in-out .3s 2; }
.scene[data-step="pay"] .card-voucher, .scene[data-step="online"] .card-voucher { opacity: 1; transform: none; }
.scene[data-step="pay"] .card-pay { opacity: 1; transform: none; transition-delay: 1.3s; }

/* 5. Terhubung */
.scene[data-step="online"] .card-pay, .scene[data-step="online"] .badge-online { opacity: 1; transform: none; }
.scene[data-step="online"] .phone-screen, .scene[data-step="leave"] .phone-screen { fill: var(--green); }
.scene[data-step="online"] .phone-check, .scene[data-step="leave"] .phone-check { opacity: 1; }
.scene[data-step="online"] .wifi-ring { animation: wifiRing 2.4s ease-out infinite; }
.scene[data-step="online"] .wifi-ring:nth-child(2) { animation-delay: .8s; }
.scene[data-step="online"] .wifi-ring:nth-child(3) { animation-delay: 1.6s; }
.scene[data-step="online"] .walker-bob { animation: hop .55s ease-out .3s 2; }
.online-dot { transform-box: fill-box; transform-origin: center; animation: dotPulse 1.6s ease-in-out infinite; }

/* Tanpa JS / reduced motion: tampilkan komposisi akhir tanpa gerak */
.scene.is-static *, .scene.is-static *::before, .scene.is-static *::after { animation: none !important; transition: none !important; }
.scene.is-static .wifi-ring:nth-child(1) { opacity: .5; transform: scale(1.6); }
.scene.is-static .wifi-ring:nth-child(2) { opacity: .25; transform: scale(2.4); }

/* Siklus jalan 1 detik: 0% tumit depan menapak, 50% kaki lain menapak */
@keyframes thighStep { 0% { transform: rotate(-24deg); } 30% { transform: rotate(-4deg); } 50% { transform: rotate(18deg); } 70% { transform: rotate(6deg); } 100% { transform: rotate(-24deg); } }
@keyframes shinStep { 0% { transform: rotate(2deg); } 15% { transform: rotate(12deg); } 35% { transform: rotate(4deg); } 50% { transform: rotate(22deg); } 65% { transform: rotate(58deg); } 85% { transform: rotate(18deg); } 100% { transform: rotate(2deg); } }
@keyframes armStep { 0%, 100% { transform: rotate(-22deg); } 50% { transform: rotate(20deg); } }
@keyframes forearmStep { 0%, 100% { transform: rotate(-32deg); } 50% { transform: rotate(-8deg); } }
@keyframes walkBob { 0%, 100% { transform: translateY(3.5px); } 50% { transform: translateY(-1px); } }
@keyframes walkBobSmall { 0%, 100% { transform: translateY(1.5px); } 50% { transform: translateY(-.5px); } }
@keyframes pbLeg { 0%, 100% { transform: rotate(-18deg); } 50% { transform: rotate(18deg); } }
@keyframes pbArm { 0%, 100% { transform: rotate(16deg); } 50% { transform: rotate(-16deg); } }
@keyframes passerbyWalk { from { transform: translateX(-300px); } to { transform: translateX(200px); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-9px); } }
@keyframes nod { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-7deg); } }
@keyframes keeperGive { 0% { transform: rotate(0); } 22%, 72% { transform: rotate(70deg); } 100% { transform: rotate(0); } }
@keyframes ticketHandOff { 0%, 20% { opacity: 0; transform: translate(0, 0); } 27% { opacity: 1; transform: translate(0, 0); } 62%, 100% { opacity: 1; transform: translate(-46px, 2px); } }
@keyframes qrisPulse { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes wifiRing { 0% { opacity: .8; transform: scale(.3); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes cloudDrift { from { transform: translateX(-18px); } to { transform: translateX(22px); } }
@keyframes sunGlow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes sunGlowFade { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes towerWave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes screenFlicker { 0%, 100% { opacity: 1; } 50% { opacity: .82; } }
@keyframes dotPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.75); opacity: .6; } }

/* Sections */
section { position: relative; }
.section-heading { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.kicker { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: #eaf2ff; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.kicker-light { background: rgba(255, 255, 255, .12); color: #9cc4ff; }
.section-heading h2, .app-copy h2, .contact-card h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.section-heading p { margin-top: 16px; color: var(--muted); font-size: 17px; }

.how { padding: 100px 0 40px; }
.how-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.how-grid::before { content: ''; position: absolute; left: 12%; right: 12%; top: 64px; height: 2px; background: repeating-linear-gradient(90deg, #c9daf0 0 8px, transparent 8px 16px); }
.how-card { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 40px rgba(27, 72, 132, .06); transition: transform .25s, box-shadow .25s, border-color .25s; }
.how-card:hover { transform: translateY(-4px); border-color: #c4d8f2; box-shadow: 0 24px 50px rgba(27, 72, 132, .12); }
.how-num { position: absolute; top: 22px; right: 22px; color: #c2cfdf; font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.how-icon { position: relative; width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 16px; background: #fff4e9; color: #e8701f; }
.how-icon.blue { background: #e8f1ff; color: var(--blue); }
.how-icon.orange { background: #fff1e4; color: #e8701f; }
.how-icon.green { background: #e3f7ee; color: var(--green); }
.how-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.how-card h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.how-card p { margin-top: 10px; color: var(--muted); font-size: 15px; }

.features { padding: 100px 0; }
.bento-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bento { position: relative; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s; }
.bento:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(27, 72, 132, .1); }
.bento > span, .bento-copy > span { display: block; margin-bottom: 10px; color: #8a99ab; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.bento h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.bento p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.bento-span-2 { grid-column: span 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px; align-items: center; }
.bento-blue { border-color: #cfe0f5; background: linear-gradient(135deg, #eef5ff, #f5f3ff); }
.bento-mint { border-color: #cfe9e2; background: linear-gradient(135deg, #ecfbf6, #eef8ff); }
.bento-blue .bento-copy > span, .bento-mint .bento-copy > span { color: var(--blue); }
.icon-box { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 14px; background: #e8f1ff; color: var(--blue); }
.icon-box.green { background: #e3f7ee; color: var(--green); }
.icon-box.orange { background: #fff1e4; color: #e8701f; }
.icon-box svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.customer-ui, .billing-ui { padding: 16px; border: 1px solid rgba(208, 224, 238, .9); border-radius: 18px; background: rgba(255, 255, 255, .92); box-shadow: 0 22px 50px rgba(26, 71, 125, .12); }
.customer-ui { transform: rotate(-1deg); }
.billing-ui { transform: rotate(1deg); }
.customer-head, .billing-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.customer-head b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--blue); color: #fff; font-size: 14px; }
.billing-head b { padding: 5px 9px; border-radius: 7px; background: #e7f1ff; color: var(--blue); font-size: 11px; }
.customer-row, .billing-row { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid #edf2f6; }
.customer-row:last-child { border-bottom: 0; }
.customer-row > i { width: 34px; height: 34px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #c8dcff, #e3d9ff); }
.customer-row:nth-child(3) > i { background: linear-gradient(135deg, #c9f1e1, #d4ecff); }
.customer-row:nth-child(4) > i { background: linear-gradient(135deg, #ffe0c4, #ffd6e4); }
.customer-row span, .billing-row span, .billing-row strong { display: flex; flex-direction: column; min-width: 0; }
.customer-row b, .billing-row b, .billing-row strong { font-size: 13px; }
.customer-row small, .billing-row small { color: #8796a8; font-size: 11.5px; font-weight: 500; }
.customer-row em { margin-left: auto; padding: 4px 9px; border-radius: 999px; background: #e3f7ee; color: var(--green); font-size: 11px; font-style: normal; font-weight: 800; }
.billing-row > i { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #e8f1ff; color: var(--blue); font-size: 13px; font-style: normal; font-weight: 800; }
.billing-row > i.paid { background: #e3f7ee; color: var(--green); }
.billing-row > strong { margin-left: auto; text-align: right; }
.billing-row > strong small { color: var(--green); }
.billing-summary { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px; border-radius: 12px; background: linear-gradient(90deg, var(--blue), var(--indigo)); color: #fff; }
.billing-summary span { font-size: 12px; }
.billing-summary strong { margin-left: auto; font-size: 16px; }
.billing-summary em { padding: 4px 7px; border-radius: 6px; background: rgba(255, 255, 255, .18); font-size: 11px; font-style: normal; font-weight: 800; }

.showcase { padding: 40px 0 110px; }
.browser { max-width: 1060px; margin: 0 auto; overflow: hidden; border: 1px solid #cbd9e9; border-radius: 22px; background: #fff; box-shadow: 0 42px 110px rgba(20, 65, 125, .18); }
.browser-bar { height: 50px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line); background: #fbfdff; }
.browser-dots { display: flex; gap: 7px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff8b8b; }
.browser-dots i:nth-child(2) { background: #ffca68; }
.browser-dots i:nth-child(3) { background: #72d7a4; }
.browser-address { min-width: 260px; padding: 6px 18px; border: 1px solid #e1e8f0; border-radius: 8px; background: #fff; color: #7d8ca0; font-size: 12px; text-align: center; }
.browser-live { justify-self: end; display: flex; align-items: center; gap: 7px; color: #5f6f84; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.browser-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: dotPulse 1.6s ease-in-out infinite; }
.browser img { width: 100%; aspect-ratio: 1880 / 921; object-fit: cover; background: #eef3f8; }

.app-section { padding: 110px 0; overflow: hidden; background: radial-gradient(circle at 15% 30%, rgba(57, 203, 215, .16), transparent 30%), radial-gradient(circle at 85% 20%, rgba(36, 118, 237, .12), transparent 30%), #f2f7fd; }
.app-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: center; }
.phone-preview { position: relative; display: grid; place-items: center; }
.phone { position: relative; width: 270px; padding: 12px; border-radius: 42px; background: var(--ink); box-shadow: 0 40px 90px rgba(12, 29, 54, .28); }
.phone-notch { position: absolute; top: 12px; left: 50%; width: 92px; height: 22px; border-radius: 0 0 14px 14px; background: var(--ink); transform: translateX(-50%); }
.phone-screen { display: flex; flex-direction: column; gap: 8px; min-height: 500px; padding: 42px 20px 24px; border-radius: 32px; background: linear-gradient(180deg, #f5f9ff, #fff); }
.phone-screen img { width: 64px; height: 50px; object-fit: contain; }
.phone-screen > span { color: var(--muted); font-size: 13px; }
.phone-screen h3 { margin-bottom: 10px; font-size: 22px; letter-spacing: -.02em; }
.phone-stat { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.phone-stat i { width: 38px; height: 38px; border-radius: 12px; background: #e8f1ff; }
.phone-stat:nth-of-type(2) i { background: #fff1e4; }
.phone-stat small { display: block; color: var(--muted); font-size: 11px; }
.phone-stat strong { font-size: 15px; }
.phone-button { margin-top: auto; padding: 13px; border-radius: 13px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-align: center; }
.float-message { position: absolute; right: 4%; bottom: 18%; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(27, 72, 132, .18); animation: floatY 4s ease-in-out infinite; }
.float-message i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #e3f7ee; color: var(--green); font-style: normal; font-weight: 800; }
.float-message small { display: block; color: var(--muted); font-size: 11px; }
.float-message strong { font-size: 14px; }
.float-message span { display: flex; flex-direction: column; }
.app-copy { padding: 40px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 26px; background: rgba(255, 255, 255, .8); box-shadow: 0 24px 70px rgba(29, 71, 124, .1); backdrop-filter: blur(14px); }
.app-copy > p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.check-list { display: grid; gap: 12px; margin: 26px 0 30px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.check-list i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #e3f7ee; color: var(--green); font-size: 13px; font-style: normal; font-weight: 800; }
.play-store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 14px; background: var(--ink); color: #fff; transition: transform .2s; }
.play-store:hover { transform: translateY(-2px); }
.play-store svg { width: 26px; height: 26px; fill: currentColor; }
.play-store span { display: flex; flex-direction: column; line-height: 1.15; }
.play-store small { font-size: 10px; letter-spacing: .1em; opacity: .75; }
.play-store b { font-size: 18px; }

.trust-section { padding: 100px 0 40px; }
.trust-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.trust-card { display: flex; gap: 22px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.trust-card span { display: block; margin-bottom: 8px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.trust-card h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
.trust-card p { margin: 8px 0 16px; color: var(--muted); }
.trust-card a { color: var(--blue); font-weight: 700; }
.trust-card a:hover { text-decoration: underline; }
.trust-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 15px; background: #fff; color: var(--blue); box-shadow: 0 10px 24px rgba(27, 72, 132, .08); }
.trust-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.trust-card-dark { border-color: transparent; background: linear-gradient(135deg, #12284a, var(--ink)); color: #fff; }
.trust-card-dark span, .trust-card-dark a { color: #8fbaff; }
.trust-card-dark p { color: #b5c3d6; }

.contact { padding: 60px 0 100px; }
.contact-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 50px; align-items: center; padding: 54px; overflow: hidden; border-radius: 30px; background: radial-gradient(circle at 10% 0%, rgba(57, 203, 215, .25), transparent 40%), radial-gradient(circle at 100% 100%, rgba(90, 97, 240, .35), transparent 45%), var(--ink); color: #fff; }
.contact-card p { margin-top: 14px; color: #b5c3d6; font-size: 17px; }
.contact-links { display: grid; gap: 12px; }
.contact-links a { position: relative; display: flex; flex-direction: column; padding: 18px 56px 18px 22px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(255, 255, 255, .06); transition: background .2s, border-color .2s, transform .2s; }
.contact-links a:hover { transform: translateX(4px); border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .1); }
.contact-links small { color: #8fbaff; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.contact-links strong { font-size: 16px; overflow-wrap: anywhere; }
.contact-links span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: #8fbaff; font-size: 18px; }

.footer { padding: 30px 0 40px; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 46px; height: 37px; object-fit: contain; }
.footer p { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 20px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.footer-links a:hover { color: var(--blue); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Responsive */
@media (max-width: 1080px) {
    .nav { gap: 20px; }
    .header-link { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-copy { max-width: 720px; margin-inline: auto; text-align: center; }
    .hero-copy > p { margin-inline: auto; }
    .hero-buttons, .hero-points { justify-content: center; }
    .hero-visual { max-width: 780px; width: 100%; margin-inline: auto; }
    .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .how-grid::before { display: none; }
    .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento-span-2 { grid-column: 1 / -1; }
    .app-layout, .contact-card { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 860px) {
    .nav, .header-actions { display: none; }
    .menu-button { display: block; }
    .mobile-menu { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 2px; max-height: 0; padding: 0 20px; overflow: hidden; border-bottom: 1px solid transparent; background: #fff; transition: max-height .3s ease, padding .3s ease, border-color .3s; }
    .mobile-menu.open { max-height: 520px; padding: 10px 20px 20px; border-color: var(--line); box-shadow: 0 20px 40px rgba(12, 29, 54, .08); }
    .mobile-menu a { padding: 12px 6px; border-radius: 10px; font-weight: 600; }
    .mobile-menu a:hover { background: var(--soft); }
    .mobile-menu .mobile-login { margin-top: 8px; background: var(--ink); color: #fff; text-align: center; }
    .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .container { width: min(1200px, calc(100% - 28px)); }
    .header-row { height: 68px; }
    .brand { width: 84px; height: 54px; }
    .hero { padding: 92px 0 56px; }
    .hero-grid { gap: 30px; }
    .eyebrow { padding: 6px 12px; font-size: 11px; }
    .hero h1 { margin: 16px 0 14px; font-size: clamp(31px, 8.6vw, 40px); }
    .hero-copy > p { font-size: 15.5px; }
    .hero-buttons { margin-top: 22px; flex-wrap: nowrap; gap: 10px; }
    .hero-buttons .btn { flex: 1 1 0; padding: 13px 12px; font-size: 14px; }
    .hero-points { gap: 8px 14px; margin-top: 20px; }
    .hero-points li { font-size: 13px; gap: 7px; }
    .hero-points i { width: 26px; height: 26px; }
    .hero-visual { width: calc(100% + 12px); margin-inline: -6px; padding: 6px; border-radius: 22px; }
    .scene { border-radius: 16px; }
    .scene-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .scene-steps li { padding: 8px 9px; font-size: 12px; }
    .how, .features, .trust-section { padding-top: 72px; }
    .features, .app-section { padding-bottom: 72px; }
    .app-section { padding-top: 72px; }
    .section-heading { margin-bottom: 36px; }
    .how-grid, .bento-grid { grid-template-columns: 1fr; }
    .bento-span-2 { grid-template-columns: 1fr; gap: 24px; }
    .bento, .how-card { padding: 24px; }
    .browser-bar { grid-template-columns: auto 1fr; gap: 12px; height: 42px; padding: 0 12px; }
    .browser-address { min-width: 0; font-size: 11px; }
    .browser-live { display: none; }
    .app-copy { padding: 28px 22px; }
    .phone { width: 236px; }
    .phone-screen { min-height: 430px; }
    .float-message { right: 0; }
    .trust-card { flex-direction: column; padding: 26px; }
    .contact-card { padding: 34px 22px; border-radius: 24px; }
    .footer-row { flex-direction: column; text-align: center; }
}

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