/* RuangArsitek Landing v2 — "Organic Warm Earth" (DS-compliant)
   Light cream + terracotta. No gradients, no blur, no textures.
   Tokens come from _ds colors_and_type.css — this file only composes them. */

html { scroll-behavior: smooth; }

.lp {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  overflow-x: clip;
}

.lp ::selection { background: var(--primary-soft); color: var(--fg-strong); }

em.ac { font-style: italic; color: var(--primary); }

/* Eyebrow per DS: ALL CAPS, 11px, 0.12em */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow-size);
  font-weight: var(--text-eyebrow-weight);
  letter-spacing: var(--text-eyebrow-tracking);
  text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow.accent { color: var(--primary); }

.msi {
  font-family: 'Material Symbols Rounded';
  font-weight: normal; font-style: normal;
  line-height: 1; letter-spacing: normal; text-transform: none;
  white-space: nowrap; word-wrap: normal; direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.msi.fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
section { position: relative; }

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav__inner {
  max-width: 1180px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__links { display: flex; gap: 2px; align-items: center; }
.nav__links a {
  color: var(--fg-muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-pill);
  transition: color 0.18s, background 0.18s;
}
.nav__links a:hover { color: var(--fg-strong); background: var(--surface2); }
.nav__cta { display: flex; align-items: center; gap: 10px; }

/* Buttons — pill (StadiumBorder), no elevation */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-button-size);
  font-weight: var(--text-button-weight);
  letter-spacing: var(--text-button-tracking);
  border: none; cursor: pointer; text-decoration: none;
  border-radius: var(--r-pill);
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--primary); color: var(--on-primary); padding: 13px 24px; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--primary:active { background: var(--primary-press); }
.btn--outline {
  background: transparent; color: var(--fg);
  border: 1.5px solid var(--border-strong);
  padding: 12px 23px;
}
.btn--outline:hover { background: var(--surface2); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--sm.btn--outline { padding: 8px 17px; }

/* Store buttons */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 18px;
  background: var(--fg-strong); color: var(--bg);
  border-radius: var(--r-md); text-decoration: none;
  border: 1px solid var(--fg-strong);
  transition: background 0.15s, transform 0.12s;
}
.store-btn:hover { background: var(--fg); transform: translateY(-2px); }
.store-btn .msi { font-size: 27px; }
.store-btn__txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn__txt small { font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; opacity: 0.75; text-transform: uppercase; font-family: var(--font-body); }
.store-btn__txt b { font-size: 16px; font-weight: 500; font-family: var(--font-display); letter-spacing: -0.01em; }
.store-btn.alt { background: var(--surface); color: var(--fg-strong); border: 1.5px solid var(--border-strong); }
.store-btn.alt:hover { background: var(--surface2); }

/* ─── PHONE SHOT ──────────────────────────────────────── */
.phone-shot { position: relative; }
.phone-shot__frame {
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-elevated);
  background: var(--bg);
}
.phone-shot__statusbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  height: 56px; padding: 18px 30px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: var(--fg-strong);
  pointer-events: none;
}
.phone-shot__statusicons { display: inline-flex; align-items: center; gap: 6px; }

/* ─── HERO ────────────────────────────────────────────── */
.hero { padding: 64px 0 88px; overflow: hidden; background: var(--bg); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px; align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--fg-strong);
  margin: 18px 0 0;
  text-wrap: balance;
}
.hero__sub {
  font-size: 17px; line-height: 1.6;
  color: var(--fg-muted);
  margin: 20px 0 30px;
  max-width: 470px;
  text-wrap: pretty;
}
.hero__trust {
  margin-top: 22px;
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; color: var(--fg-faint);
  flex-wrap: wrap;
}
.hero__trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--fg-faintest); }
.hero__trust b { color: var(--fg-muted); font-weight: 600; }

.hero__stage {
  position: relative;
  height: 600px;
  display: flex; align-items: center; justify-content: center;
}
.hero__shot { position: absolute; }
.hero__shot--main { z-index: 3; }
.hero__shot--left { left: -4%; top: 16%; z-index: 2; }
.hero__shot--right { right: -6%; top: 7%; z-index: 1; }

.float-card {
  position: absolute; z-index: 5;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-elevated);
  display: flex; align-items: center; gap: 11px;
}
.float-card .ic {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.float-card b { font-size: 13.5px; font-weight: 600; color: var(--fg-strong); display: block; font-family: var(--font-body); }
.float-card span { font-size: 11.5px; color: var(--fg-muted); }

/* ─── SECTION HEADERS ─────────────────────────────────── */
.sec { padding: 88px 0; }
.sec.alt { background: var(--bg2); }
.sec__head { max-width: 620px; margin-bottom: 52px; }
.sec__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__head h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08; letter-spacing: -0.025em;
  color: var(--fg-strong);
  margin: 14px 0 0; text-wrap: balance;
}
.sec__head p {
  font-size: 16px; color: var(--fg-muted); margin: 14px 0 0;
  line-height: 1.6; text-wrap: pretty;
}

/* ─── CARA KERJA ──────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px 24px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s;
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step__num {
  font-family: var(--font-display); font-style: italic;
  font-size: 52px; font-weight: 400; line-height: 1;
  color: var(--primary);
}
.step__ic {
  position: absolute; top: 26px; right: 24px;
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.step h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--text-title-l-size); letter-spacing: var(--text-title-l-tracking);
  color: var(--fg-strong); margin: 20px 0 8px;
}
.step p { font-size: 14px; color: var(--fg-muted); margin: 0; line-height: 1.6; }

/* ─── FITUR (bento) ───────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.feat {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, border-color 0.24s;
  display: flex; flex-direction: column;
}
.feat:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feat__tag {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; flex-shrink: 0;
}
.feat h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; letter-spacing: -0.02em;
  color: var(--fg-strong); margin: 0 0 8px;
}
.feat p { font-size: 14px; color: var(--fg-muted); margin: 0; line-height: 1.6; max-width: 42ch; }

.feat.span-chat { grid-column: span 4; grid-row: span 2; }
.feat.span-rab  { grid-column: span 2; grid-row: span 2; }
.feat.span-img  { grid-column: span 3; }
.feat.span-plan { grid-column: span 3; }

.feat__shot-wrap { position: absolute; pointer-events: none; }
.feat.span-chat .feat__shot-wrap { right: 26px; bottom: -46px; }
.feat.span-rab .feat__shot-wrap  { right: -56px; bottom: -36px; }

.feat__imgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 16px; }
.feat__imgrid > div {
  aspect-ratio: 16/10; border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--surface2); overflow: hidden; position: relative;
}

/* ─── PRICING ─────────────────────────────────────────── */
.bill-toggle {
  display: inline-flex; gap: 4px; margin: 0 auto 44px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 4px;
}
.bill-toggle button {
  border: none; cursor: pointer; font-family: var(--font-body);
  padding: 9px 20px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600;
  background: transparent; color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.18s, color 0.18s;
}
.bill-toggle button.on { background: var(--surface); color: var(--fg-strong); box-shadow: var(--shadow-card); }
.bill-toggle .save { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: var(--r-pill); background: var(--success-soft); color: var(--success); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease;
}
.tier:hover { transform: translateY(-4px); }
.tier.featured { background: var(--pro-surface); border-color: var(--pro-border); }
.tier.max { background: var(--max-surface); border-color: var(--max-border); }
.tier__badge {
  position: absolute; top: -12px; right: 24px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--primary); color: var(--on-primary);
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 5px;
}
.tier__name { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.tier__name .dot { width: 8px; height: 8px; border-radius: 50%; }
.tier__name b { font-family: var(--font-display); font-weight: 500; font-size: 21px; letter-spacing: -0.02em; color: var(--fg-strong); }
.tier__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.tier__price .amt { font-family: var(--font-display); font-weight: 500; font-size: 34px; letter-spacing: -0.02em; color: var(--fg-strong); }
.tier__price .per { font-size: 13px; color: var(--fg-muted); }
.tier__desc { font-size: 13.5px; color: var(--fg-muted); margin: 0 0 20px; min-height: 40px; line-height: 1.5; }
.tier__feats {
  list-style: none; padding: 20px 0 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 11px;
  border-top: 1px solid var(--divider);
}
.tier.featured .tier__feats { border-top-color: var(--pro-border); }
.tier.max .tier__feats { border-top-color: var(--max-border); }
.tier__feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.45; color: var(--fg); }
.tier__feats .chk {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
}
.tier .btn { width: 100%; }
.btn--max { background: var(--tier-max); color: #FFFFFF; padding: 13px 24px; }
.btn--max:hover { filter: brightness(0.94); }
.tier__cta-disabled {
  width: 100%; padding: 12px; border-radius: var(--r-pill);
  background: transparent; border: 1px solid var(--border-strong);
  color: var(--fg-muted); font-weight: 600; font-size: 14px; cursor: default;
  font-family: var(--font-body);
}
.price-amt { display: inline; }

/* ─── FAQ ─────────────────────────────────────────────── */
.faq { max-width: 740px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--divider); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 8px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--text-title-m-size); letter-spacing: var(--text-title-m-tracking);
  color: var(--fg-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .msi { color: var(--primary); transition: transform 0.25s ease; flex-shrink: 0; }
.faq details[open] summary .msi { transform: rotate(45deg); }
.faq__body { padding: 0 8px 20px; color: var(--fg-muted); font-size: 14.5px; line-height: 1.65; max-width: 64ch; }

/* ─── CTA + FOOTER ────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden;
  margin: 32px 0;
  border-radius: var(--r-xl3);
  border: 1px solid var(--pro-border);
  background: var(--pro-surface);
  padding: 72px 40px;
  text-align: center;
}
.cta h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.025em;
  color: var(--fg-strong);
  margin: 20px 0 0; text-wrap: balance;
}
.cta p { font-size: 17px; color: var(--fg-muted); margin: 18px auto 30px; max-width: 440px; text-wrap: pretty; }
.cta .stores { justify-content: center; }

.footer { padding: 64px 0 48px; border-top: 1px solid var(--border); background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { font-size: 14px; color: var(--fg-muted); margin: 16px 0 0; max-width: 30ch; line-height: 1.6; }
.footer h4 {
  font-size: var(--text-eyebrow-size); font-weight: 600;
  letter-spacing: var(--text-eyebrow-tracking); text-transform: uppercase;
  color: var(--fg-faint); margin: 0 0 16px; font-family: var(--font-body);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer a { color: var(--fg-muted); text-decoration: none; font-size: 14px; transition: color 0.18s; }
.footer a:hover { color: var(--fg-strong); }
.footer__bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--divider);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 13px; color: var(--fg-faint); flex-wrap: wrap;
}

/* ─── MOTION — purposeful only (scroll reveal, hover) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-d="1"] { transition-delay: 0.07s; }
  .reveal[data-d="2"] { transition-delay: 0.14s; }
  .reveal[data-d="3"] { transition-delay: 0.21s; }
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 16px; }
  .hero__stage { height: 520px; margin-top: 24px; }
  .nav__links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .feat.span-chat, .feat.span-rab, .feat.span-img, .feat.span-plan { grid-column: span 2; grid-row: auto; min-height: 240px; }
  .tiers { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .wrap, .nav__inner { padding-left: 20px; padding-right: 20px; }
  .bento { grid-template-columns: 1fr; }
  .feat.span-chat, .feat.span-rab, .feat.span-img, .feat.span-plan { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta { padding: 52px 24px; border-radius: var(--r-xl2); }
}
