:root {
  --navy: #053F5C;
  --teal: #0184A8;
  --amber: #F7AD1A;
  --paper: #F7F6F2;
  --muted: rgba(5, 63, 92, .7);
  --muted-2: rgba(5, 63, 92, .68);
  --phone-w: clamp(190px, 24vw, 270px);
}

html, body { margin: 0; background: var(--paper); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.bg { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 0; }
.page { position: relative; z-index: 1; font-family: 'Sora', sans-serif; color: var(--navy); min-height: 100vh; }

/* Header */
.header { position: sticky; top: 0; z-index: 30; background: rgba(247, 246, 242, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(5, 63, 92, .08); }
.header__inner { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand__mark { height: 28px; width: auto; display: block; }
.brand__name { font-weight: 700; font-size: 18px; letter-spacing: 2.5px; }
.nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.nav a { color: var(--navy); }
.header__cta { margin-left: auto; padding: 10px 18px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; }

/* Buttons */
.btn { padding: 15px 26px; border-radius: 14px; font-weight: 600; font-size: 15px; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(5, 63, 92, .6); }
.btn--outline { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px rgba(5, 63, 92, .16); }
.btn--light { background: #fff; color: var(--navy); padding: 15px 24px; }

/* Hero */
.hero { max-width: 860px; margin: 0 auto; padding: 88px 24px 56px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero__tag { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 20px; background: rgba(1, 132, 168, .1); font-size: 13px; font-weight: 600; color: var(--teal); }
.hero__tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.hero__title { margin: 0; font-weight: 700; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.08; letter-spacing: -1.6px; text-wrap: balance; }
.hero__lead { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* Showcase carousel */
.showcase { position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 70% at 50% 45%, #0A5A80 0%, #053F5C 60%, #042F45 100%); padding: 48px 0 56px; }
.showcase__switch { display: flex; justify-content: center; margin-bottom: 28px; padding: 0 24px; }
.app-tabs { display: flex; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.app-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 22px; border: 0; border-radius: 12px; cursor: pointer; font-family: 'Sora', sans-serif; background: transparent; color: #fff; transition: background .3s, color .3s; }
.app-tab.is-active { background: #fff; color: var(--navy); }
.app-tab__label { font-weight: 600; font-size: 14.5px; }
.app-tab__sub { font-size: 11.5px; opacity: .7; }
.showcase__stage { position: relative; height: calc(var(--phone-w) * 2.17 + 24px); }
.slide { position: absolute; top: 12px; left: 50%; width: var(--phone-w); aspect-ratio: 440 / 956; transform: translateX(-50%); opacity: 0; }
.showcase.is-ready .slide { transition: transform .7s cubic-bezier(.22, .7, .2, 1), opacity .7s, filter .7s; }
.showcase__caption { max-width: 560px; margin: 36px auto 0; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: #fff; }
.showcase__title { font-weight: 600; font-size: 22px; }
.showcase__note { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .7); min-height: 23px; }
.showcase__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.showcase__arrow { width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.showcase__arrow:hover { background: rgba(255, 255, 255, .2); }
.showcase__dots { display: flex; gap: 7px; align-items: center; }
.dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; cursor: pointer; background: rgba(255, 255, 255, .3); transition: width .4s, background .4s; }
.dot.is-active { width: 26px; background: var(--amber); }

/* Phone frame */
.phone { width: 100%; height: 100%; padding: 7px; border-radius: 38px; color: rgba(255, 255, 255, .8); }
.phone--dark { background: #021F2E; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 70px -24px rgba(0, 0, 0, .65); }
.phone--navy { background: var(--navy); box-shadow: 0 36px 64px -28px rgba(5, 63, 92, .5); }

/* Image slot: shows its caption until assets/screens/<name>.png exists */
.slot { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: var(--r, 12px); background: rgba(127, 127, 127, .08); display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; font: 500 13px/1.3 system-ui, -apple-system, sans-serif; letter-spacing: .01em; }
.slot::after { content: ""; position: absolute; inset: 0; border: 1.5px dashed currentColor; border-radius: inherit; opacity: .35; pointer-events: none; }
.slot__cap { max-width: 90%; opacity: .75; }
.slot img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { max-width: 1180px; margin: 0 auto; padding: 96px 24px 0; }
.section--last { padding-bottom: 96px; }
.section__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-bottom: 36px; }
.section__head--wide { margin-bottom: 40px; }
.section__lead { margin: 0; max-width: 520px; font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.section__lead--left { max-width: none; text-wrap: pretty; }
.h2 { margin: 0; font-weight: 700; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; letter-spacing: -1px; }
.h2--lg { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; text-wrap: balance; }
.split .h2 { text-wrap: balance; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--teal); }

.icon-tile { width: 44px; height: 44px; border-radius: 14px; background: rgba(1, 132, 168, .1); display: flex; align-items: center; justify-content: center; }
.icon-tile--amber { background: rgba(247, 173, 26, .18); }
.icon-tile--sm { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 12px; }
.badge { align-self: flex-start; padding: 6px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 700; }
.badge--teal { background: var(--teal); color: #fff; }

/* Console and the two apps */
.surfaces { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.surface { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 24px; background: #fff; box-shadow: 0 1px 0 rgba(5, 63, 92, .06), 0 12px 32px -18px rgba(5, 63, 92, .25); }
.surface__title { margin: 0; font-weight: 600; font-size: 23px; line-height: 1.25; }
.surface__text { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.surface__link { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 14.5px; color: var(--teal); }

/* Feature modules */
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.module { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 rgba(5, 63, 92, .06), 0 12px 32px -20px rgba(5, 63, 92, .25); }
.module__title { font-weight: 600; font-size: 17px; }
.module__desc { font-size: 14.5px; line-height: 1.55; color: var(--muted-2); }

/* Customisation panel */
.custom { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: var(--navy); color: #fff; align-items: center; }
.custom__copy { display: flex; flex-direction: column; gap: 18px; }
.custom__tag { align-self: flex-start; padding: 6px 12px; border-radius: 20px; background: var(--amber); color: var(--navy); font-size: 12.5px; font-weight: 700; }
.custom__lead { margin: 0; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, .75); text-wrap: pretty; }
.custom__cta { align-self: flex-start; margin-top: 6px; }
.custom__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.check svg { flex: 0 0 auto; margin-top: 1px; }
.check__body { display: flex; flex-direction: column; gap: 4px; }
.check__title { font-weight: 600; font-size: 14.5px; }
.check__text { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .65); }

/* Two-column blocks (AIMAN, Tilmidz, kartu santri) */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px; align-items: center; }
.split--panel { padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: #fff; box-shadow: 0 1px 0 rgba(5, 63, 92, .06), 0 12px 32px -20px rgba(5, 63, 92, .25); }
.split--tint { padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: #EAF3F6; }
.split__copy { display: flex; flex-direction: column; gap: 16px; }
.prompts { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.prompt { align-self: flex-start; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: 0 8px 20px -14px rgba(5, 63, 92, .35); font-size: 14.5px; }

.steps { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.step { display: flex; gap: 14px; align-items: center; }
.step__no { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 10px; background: rgba(1, 132, 168, .1); display: flex; align-items: center; justify-content: center; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--teal); }
.step__text { font-size: 15px; line-height: 1.5; }

.til-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; margin-top: 6px; }
.til-feature { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #fff; }
.til-feature__body { display: flex; flex-direction: column; gap: 4px; }
.til-feature__title { font-weight: 600; font-size: 14.5px; }
.til-feature__text { font-size: 13px; line-height: 1.5; color: rgba(5, 63, 92, .65); }

/* Small auto-rotating decks next to the copy */
.deck-media { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.deck { position: relative; }
.deck--phone { aspect-ratio: 440 / 956; }
.deck--aiman { width: min(70%, 270px); }
.deck--til { width: min(54%, 240px); }
.deck--card { width: min(52%, 230px); aspect-ratio: 54 / 85.6; }
.deck__item { position: absolute; inset: 0; cursor: pointer; }
.deck--til .phone--navy { box-shadow: 0 36px 64px -28px rgba(5, 63, 92, .55); }
.card { width: 100%; height: 100%; border-radius: 14px; box-shadow: 0 28px 50px -22px rgba(5, 63, 92, .55); }
.deck-dots { display: flex; gap: 7px; justify-content: center; }
.ddot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 4px; cursor: pointer; background: rgba(5, 63, 92, .2); transition: width .4s, background .4s; }
.ddot.is-active { width: 22px; background: var(--teal); }

/* Download */
.install { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.install__step { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 rgba(5, 63, 92, .06); }
.install__no { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--teal); }
.install__title { font-weight: 600; font-size: 15.5px; }
.install__text { font-size: 14px; line-height: 1.55; color: var(--muted-2); }

/* Roadmap */
.soon { padding: 6px 12px; border-radius: 20px; background: rgba(247, 173, 26, .18); font-size: 12.5px; font-weight: 700; color: #8a5b00; }
.roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.roadmap__item { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px rgba(5, 63, 92, .1); }
.roadmap__title { font-weight: 600; font-size: 19px; }
.roadmap__text { font-size: 14.5px; line-height: 1.6; color: var(--muted-2); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px; align-items: start; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: #EAF3F6; }
.contact__copy { display: flex; flex-direction: column; gap: 16px; }
.form { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 22px; background: #fff; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.field { font: 400 15px 'Sora', sans-serif; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--paper); color: var(--navy); outline-color: var(--teal); }
.field--area { resize: vertical; }
.form__submit { padding: 16px; border: 0; border-radius: 14px; background: var(--navy); color: #fff; font: 600 15px 'Sora', sans-serif; cursor: pointer; }
.form__submit:hover { background: var(--teal); }
.form__error { margin: 0; font-size: 13.5px; line-height: 1.5; color: #B3261E; }
.sent { display: flex; flex-direction: column; gap: 10px; padding: 32px 26px; border-radius: 22px; background: var(--navy); color: #fff; }
.sent__tag { font-size: 13px; font-weight: 600; color: var(--amber); }
.sent__text { font-weight: 600; font-size: 21px; line-height: 1.4; }

/* Footer */
.footer { border-top: 1px solid rgba(5, 63, 92, .08); }
.footer__inner { max-width: 1180px; margin: 0 auto; padding: 28px 24px 36px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 13px; color: rgba(5, 63, 92, .6); }
.footer__name { font-weight: 700; font-size: 15px; letter-spacing: 2.5px; color: var(--navy); }

/* Download section (#unduh) */
.dl-banner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding: 16px 20px; border-radius: 22px; background: var(--navy); color: #fff; }
.dl-banner[hidden] { display: none; }
.dl-banner__logo { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.dl-banner__body { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 3px; }
.dl-banner__kicker { font-size: 12.5px; font-weight: 500; color: #9EBBCA; }
.dl-banner__name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.dl-banner__city { font-size: 13px; color: #C9DAE3; }
.dl-banner__from { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 500; color: #F7AD1A; }
.dl-banner__dot { width: 7px; height: 7px; border-radius: 50%; background: #F7AD1A; }
.dl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 16px; align-items: start; }
.dl-card { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 28px; background: #fff; box-shadow: 0 1px 0 rgba(5, 63, 92, .06), 0 12px 32px -20px rgba(5, 63, 92, .25); transition: opacity .4s, box-shadow .4s; }
.dl-card--hi { box-shadow: 0 0 0 3px #F7AD1A, 0 24px 48px -24px rgba(5, 63, 92, .45); }
.dl-card--dim { opacity: .55; }
.dl-card__top { display: flex; align-items: center; gap: 16px; }
.dl-card__glyph { width: 60px; height: 60px; flex: 0 0 auto; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-family: 'Noto Kufi Arabic', sans-serif; font-weight: 700; font-size: 26px; }
.dl-card__names { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.dl-card__name { font-size: 22px; font-weight: 700; letter-spacing: -.4px; }
.dl-card__role { font-size: 14px; color: rgba(5, 63, 92, .6); }
.dl-card__badge { height: 28px; padding: 0 12px; border-radius: 999px; background: #FEF4DE; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; color: #7A5000; }
.dl-card__desc { font-size: 15px; line-height: 1.55; color: rgba(5, 63, 92, .72); }
.dl-card__new { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 20px; background: #F7F6F2; }
.dl-card__newhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl-card__newlabel { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--teal); flex: 1; }
.dl-card__ver { display: inline-flex; gap: 7px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: rgba(5, 63, 92, .55); }
.dl-card__ver b { color: var(--navy); }
.dl-card__item { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.dl-card__item::before { content: ''; width: 7px; height: 7px; margin-top: 8px; flex: 0 0 auto; border-radius: 50%; background: #F7AD1A; }
.dl-card__btn { display: flex; align-items: center; justify-content: center; gap: 12px; height: 58px; border-radius: 16px; background: var(--navy); color: #fff; font-size: 16.5px; font-weight: 600; box-shadow: 0 12px 28px -14px rgba(5, 63, 92, .6); }
.dl-card__btn:hover { background: var(--teal); color: #fff; }
.dl-card--hi .dl-card__btn { background: var(--teal); }
.dl-card__btn[aria-disabled="true"] { cursor: default; }
.dl-card__meta { text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: rgba(5, 63, 92, .55); }
.dl-note { margin: 18px auto 0; max-width: 640px; text-align: center; font-size: 14px; line-height: 1.6; color: rgba(5, 63, 92, .6); }
.dl-note[hidden] { display: none; }
.dl-guide { display: flex; flex-direction: column; gap: 16px; margin-top: 56px; }
.dl-guide__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dl-guide__title { font-size: 22px; font-weight: 700; letter-spacing: -.4px; }
.dl-guide__req { font-size: 14px; color: rgba(5, 63, 92, .6); }
.dl-warn { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: #FEF4DE; color: #5A3B00; font-size: 14px; line-height: 1.55; }
.dl-warn__mark { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; background: #F7AD1A; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--navy); }
