/* ==========================================================================
   MOTOLOOP — landing page styles
   Recreated from the Claude Design prototype (Motoloop-EN / Motoloop-ID).
   Brand palette: deep green #0B5B2B, accent yellow #FFD200, off-white #F5F8F4.
   ========================================================================== */

:root {
  --green: #0B5B2B;
  --green-hover: #0E6E35;
  --green-mid: #17903F;
  --green-deep: #08421F;
  --yellow: #FFD200;
  --yellow-hover: #FFDC3D;
  --ink: #12241A;
  --muted: #5C6E62;
  --bg: #F5F8F4;
  --card-border: #E3EAE2;
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Archivo', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Helvetica ampersand — Archivo's "&" glyph reads oddly at heavy weights. */
.amp { font-family: Helvetica, Arial, sans-serif; font-weight: 700; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-border);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; display: block; }

.nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover { color: var(--green-mid); }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #EEF3EC;
  border-radius: 999px;
  padding: 3px;
}
.lang-toggle a,
.lang-toggle span {
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.lang-toggle a { color: #45564A; }
.lang-toggle a:hover { background: #DFE8DD; }
.lang-toggle .active { background: var(--green); color: #fff; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}
.btn--header {
  background: var(--green);
  color: #fff;
  font-size: 15px;
  padding: 11px 20px;
}
.btn--header:hover { background: var(--green-hover); }

/* ============ HERO ============ */
.hero { background: var(--green); color: #fff; }
.hero__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin: 22px 0 0;
}
.hero h1 .accent { color: var(--yellow); }
/* Indonesian copy is shorter, so the ID hero heading runs larger. */
.hero--id h1 { font-size: 62px; line-height: 1.02; }
.hero__lead {
  font-size: 19px;
  line-height: 1.55;
  color: #D8EBDD;
  margin: 20px 0 0;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.btn--primary {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
  padding: 15px 26px;
  border-radius: 12px;
}
.btn--primary:hover { background: var(--yellow-hover); }
.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 15px 26px;
  border-radius: 12px;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* image frame (replaces the editable image-slot) */
.photo {
  display: block;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--hero { height: 420px; }
.photo--rider { height: 340px; }

.hero__stats { max-width: var(--maxw); margin: 56px auto 0; padding: 0 24px; }
.hero__stats-row {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 26px 0 30px;
}
.stat__num { font-size: 30px; font-weight: 900; color: var(--yellow); }
.stat__label { font-size: 14px; color: #C4DECB; margin-top: 4px; }

/* ============ SECTION SHELLS ============ */
.section { max-width: var(--maxw); margin: 0 auto; }
.section--pad { padding: 80px 24px 0; }
.section--pad-lg { padding: 88px 24px 0; }
.section--pad-sm { padding: 72px 24px 0; }

.h2 {
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 0;
}
.h2--center { text-align: center; }
.section__sub {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  margin: 12px auto 0;
  max-width: 560px;
}

/* ============ BEFORE vs AFTER ============ */
.compare {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
}
.compare__card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px 30px;
}
.compare__card--after { background: var(--green); color: #fff; border: none; }
.tag {
  display: inline-block;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 8px;
}
.tag--before { background: #4A5550; color: #fff; }
.tag--after { background: var(--yellow); color: var(--ink); }
.compare__list { display: grid; gap: 14px; margin-top: 20px; }
.compare__item { display: flex; gap: 12px; align-items: center; }
.compare__item span:last-child { font-size: 16px; }
.compare__card .compare__item span:last-child { font-weight: 500; }
.compare__card--after .compare__item span:last-child { font-weight: 600; }
.mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.mark--x { background: #F0E9E7; color: #A0522D; }
.mark--check { background: rgba(255, 255, 255, 0.16); color: var(--yellow); }
.compare__arrow { display: grid; place-items: center; }
.compare__arrow span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-mid);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
}

/* ============ 5 BENEFITS ============ */
.benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.benefit {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px 20px;
}
.benefit__num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 16px;
}
.benefit__title { font-weight: 800; font-size: 17px; margin-top: 14px; line-height: 1.25; }
.benefit__body { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ============ HOW IT WORKS ============ */
.how { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.steps { display: grid; gap: 18px; margin-top: 34px; }
.step {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px 22px;
  align-items: flex-start;
}
.step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-mid);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}
.step__title { font-weight: 800; font-size: 18px; }
.step__body { font-size: 15px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.how__aside { display: grid; gap: 16px; }
.note-card { background: var(--yellow); border-radius: 16px; padding: 22px 24px; }
.note-card__title { font-weight: 900; font-size: 18px; text-transform: uppercase; }
.note-card__body { font-size: 15px; margin-top: 8px; line-height: 1.5; color: #3A3413; }

/* ============ CALCULATOR ============ */
.calc-section { max-width: var(--maxw); margin: 88px auto 0; padding: 0 24px; }
.calc {
  background: var(--green);
  color: #fff;
  border-radius: 24px;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.calc h2 {
  font-size: 34px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 0;
}
.calc__intro { color: #C4DECB; font-size: 16px; line-height: 1.55; margin: 14px 0 0; }
.calc__slider-wrap { margin-top: 32px; }
.calc__slider-head {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  color: #D8EBDD;
}
.calc__slider-head .val { color: var(--yellow); font-weight: 800; }
.calc input[type="range"] {
  width: 100%;
  margin-top: 12px;
  cursor: pointer;
  accent-color: var(--yellow);
}
.calc__scale {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #8FB89B;
  margin-top: 4px;
}
.calc__formula {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 26px;
  font-size: 14px;
  color: #C4DECB;
  line-height: 1.6;
}
.calc__result {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 34px 36px;
}
.calc__result-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.calc__amount {
  font-size: 52px;
  font-weight: 900;
  color: var(--green);
  margin-top: 10px;
  letter-spacing: -1px;
}
.calc__sub { font-size: 16px; color: var(--muted); margin-top: 2px; }
.calc__sub s { text-decoration: line-through; }
.calc__rows {
  border-top: 1px solid var(--card-border);
  margin-top: 24px;
  padding-top: 20px;
  display: grid;
  gap: 12px;
}
.calc__row { display: flex; justify-content: space-between; font-size: 15px; }
.calc__row .k { color: var(--muted); }
.calc__row .v { font-weight: 800; }
.calc__row .v--pos { color: var(--green-mid); }
.btn--calc {
  display: block;
  text-align: center;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
  padding: 14px 0;
  border-radius: 12px;
  margin-top: 26px;
}
.btn--calc:hover { background: var(--yellow-hover); }
.calc__disclaimer { text-align: center; color: #8A988D; font-size: 13px; margin-top: 14px; }

/* ============ WHY GOECO ============ */
.why h2 { font-size: 26px; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.why__cell {
  text-align: center;
  padding: 18px 12px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
}

/* ============ CTA ============ */
.cta-section { max-width: var(--maxw); margin: 80px auto 0; padding: 0 24px 88px; }
.cta {
  background: var(--yellow);
  border-radius: 24px;
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta h2 {
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1.05;
}
.cta h2 .accent { color: var(--green); }
.cta p { font-size: 17px; color: #3A3413; margin: 12px 0 0; }
.btn--cta {
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  padding: 18px 32px;
  border-radius: 14px;
  white-space: nowrap;
}
.btn--cta:hover { background: var(--green-hover); }

/* ============ FOOTER ============ */
.site-footer { background: var(--green-deep); color: #C4DECB; }
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { font-weight: 900; font-size: 20px; color: #fff; letter-spacing: 0.5px; }
.footer-brand span { color: #7BD48F; }
.footer-tagline { font-size: 14px; margin-top: 4px; }
.site-footer__meta { font-size: 14px; }
.site-footer__meta b { color: #fff; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .hero__stats-row { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .compare__arrow { transform: rotate(90deg); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: 1fr; }
  .how__aside { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 34px; }
  .hero__stats-row { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .cta { padding: 36px 28px; }
  .cta h2 { font-size: 30px; }
  .h2 { font-size: 30px; }
}
