:root {
  --green-950: #003b38;
  --green-900: #004d47;
  --green-800: #006b62;
  --green-700: #008c7e;
  --green-600: #00a896;
  --green-100: #dff6f1;
  --green-50: #f0fbf8;
  --ink: #102a2a;
  --muted: #607170;
  --line: #dfe9e7;
  --surface: #ffffff;
  --canvas: #eef3f2;
  --red: #d93643;
  --blue: #234a91;
  --yellow: #ffd44a;
  --shadow-sm: 0 8px 22px rgba(0, 65, 59, 0.08);
  --shadow-lg: 0 24px 70px rgba(0, 34, 31, 0.24);
  color-scheme: light;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
}

html {
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.page {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(6, 79, 72, 0.04),
    0 14px 50px rgba(18, 52, 49, 0.08);
}

.brand-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(9, 83, 76, 0.1);
}

.brand-logo {
  width: auto;
  height: 32px;
  object-fit: contain;
}

.brand-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-800);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.brand-placeholder__mark {
  position: relative;
  width: 25px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 48% 48% / 58% 58% 38% 38%;
}

.brand-placeholder__mark::after {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--green-800);
  content: "";
}

.demo-pill {
  position: absolute;
  top: 18px;
  right: 13px;
  padding: 4px 7px;
  border: 1px solid #c7dcda;
  border-radius: 999px;
  color: var(--green-800);
  background: var(--green-50);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.campaign-strip {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 16px;
  margin-top: 58px;
  color: #fff;
  background: var(--green-800);
}

.campaign-strip__title {
  display: grid;
  gap: 1px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.campaign-strip__eyebrow {
  color: #99e7dc;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.campaign-strip__date {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 25px 18px 27px;
  color: #fff;
  background:
    radial-gradient(
      circle at 90% 6%,
      rgba(45, 213, 193, 0.45),
      transparent 30%
    ),
    linear-gradient(
      148deg,
      var(--green-950) 0%,
      var(--green-800) 54%,
      #009c8c 100%
    );
}

.hero.has-partners {
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 61%,
      rgba(223, 246, 241, 0.18) 69%,
      #dff6f1 100%
    ),
    radial-gradient(
      circle at 90% 6%,
      rgba(45, 213, 193, 0.45),
      transparent 30%
    ),
    linear-gradient(
      148deg,
      var(--green-950) 0%,
      var(--green-800) 54%,
      #009c8c 100%
    );
}

.hero::after {
  position: absolute;
  right: -18px;
  bottom: -58px;
  width: 165px;
  height: 165px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.hero__accent {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 42% 33% 25%;
}

.hero__accent span {
  height: 4px;
}

.hero__accent span:nth-child(1) {
  background: var(--red);
}
.hero__accent span:nth-child(2) {
  background: var(--blue);
}
.hero__accent span:nth-child(3) {
  background: var(--yellow);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.hero__orb--one {
  top: 48px;
  right: -24px;
  width: 90px;
  height: 90px;
}

.hero__orb--two {
  top: 91px;
  right: 40px;
  width: 20px;
  height: 20px;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.malaysia-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 42, 39, 0.24);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.malaysia-badge__star {
  color: var(--yellow);
  font-size: 0.9rem;
}

.hero__kicker {
  margin: 0 0 5px;
  color: #a8f4ea;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 350px;
  margin: 0;
  font-size: clamp(1.78rem, 8vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero h1 span {
  color: #afece4;
}

.hero__intro {
  max-width: 345px;
  margin: 12px 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  line-height: 1.55;
}

.reward-card {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 16px;
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(0, 41, 37, 0.16);
}

.reward-card > div {
  display: grid;
}

.reward-card__label {
  color: var(--green-800);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.reward-card strong {
  margin: 5px 0 2px;
  font-size: 1.72rem;
  line-height: 1;
  letter-spacing: -0.035em;
}

.reward-card__caption {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.reward-card__demo,
.demo-label {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 7px;
  color: #783b00;
  background: #fff0c2;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero__disclaimer {
  margin: 10px 4px 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  line-height: 1.45;
}

.partners {
  margin-top: 21px;
}

.partners h2 {
  margin: 0 0 10px;
  color: #d5f8f3;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.partner-logo {
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: center;
  padding: 8px 7px;
  border: 0;
  background: transparent;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.survey {
  position: relative;
  scroll-margin-top: 68px;
  padding: 28px 18px 32px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, var(--green-50), #fff) border-box;
}

.section-heading__eyebrow {
  margin: 0 0 6px;
  color: var(--green-800);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading h2,
.comments-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.38rem;
  letter-spacing: -0.025em;
}

.section-heading > p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.survey__progress-wrap {
  margin: 22px 0 23px;
}

.survey__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #47615f;
  font-size: 0.75rem;
  font-weight: 700;
}

.survey__progress-meta span:last-child {
  color: var(--green-800);
}

.progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3efed;
}

.progress__bar {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-800), var(--green-600));
  transition: width 220ms ease;
}

.question-shell {
  min-height: 340px;
}

.question-shell.is-leaving .question-card {
  opacity: 0;
  transform: translateY(8px);
}

.question-card {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.question-card.is-entering {
  opacity: 0;
  transform: translateY(8px);
}

.question-card h3 {
  margin: 0 0 16px;
  font-size: 1.08rem;
  line-height: 1.42;
  letter-spacing: -0.012em;
}

.answers {
  display: grid;
  gap: 10px;
}

.answer-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1.5px solid #d8e4e2;
  border-radius: 12px;
  color: #1d3533;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 100ms ease;
}

.answer-card:hover,
.answer-card:focus-visible {
  border-color: var(--green-700);
  background: var(--green-50);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 140, 126, 0.12);
}

.answer-card:active {
  transform: scale(0.992);
}

.answer-card.is-selected {
  border-color: var(--green-700);
  background: var(--green-100);
  box-shadow: 0 8px 20px rgba(0, 107, 98, 0.08);
}

.answer-card:disabled {
  cursor: default;
}

.answer-card__radio {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border: 1.5px solid #b8c9c6;
  border-radius: 50%;
  color: #fff;
  background: #fff;
  transition: 180ms ease;
}

.answer-card.is-selected .answer-card__radio {
  border-color: var(--green-800);
  background: var(--green-800);
}

.answer-card__radio::after {
  width: 8px;
  height: 4px;
  margin-top: -2px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
  opacity: 0;
  transform: rotate(-45deg);
}

.answer-card.is-selected .answer-card__radio::after {
  opacity: 1;
}

.answer-card__text {
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.38;
}

.saving-status {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--green-900);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 0.84rem;
  font-weight: 750;
}

.saving-status:not([hidden]) {
  display: flex;
}

.saving-status__spinner {
  width: 17px;
  height: 17px;
  border: 2px solid #c9dfdc;
  border-top-color: var(--green-700);
  border-radius: 50%;
  animation: spin 650ms linear infinite;
}

.comments-section {
  padding: 28px 18px 8px;
  border-top: 8px solid #f1f5f4;
  background: #fff;
}

.comments-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.comments-section h2 span {
  color: #778684;
  font-size: 0.83rem;
  font-weight: 650;
}

.comments-demo-note {
  margin: 11px 0 5px;
  padding: 10px 11px;
  border-left: 3px solid #f0bd28;
  color: #6b5b28;
  background: #fff9e6;
  font-size: 0.73rem;
  line-height: 1.45;
}

.comment {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  padding: 17px 0;
  border-bottom: 1px solid #edf1f0;
}

.comment:last-child {
  border-bottom: 0;
}

.comment__avatar {
  width: 38px;
  height: 38px;
  border: 1px solid #e0e8e7;
  border-radius: 50%;
  object-fit: cover;
  background: #e8f2f0;
}

.comment__name {
  display: block;
  margin-bottom: 4px;
  color: #153633;
  font-size: 0.83rem;
  font-weight: 800;
}

.comment__text {
  margin: 0;
  color: #374d4b;
  font-size: 0.85rem;
  line-height: 1.48;
}

.comment__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: #7a8987;
  font-size: 0.7rem;
  font-weight: 650;
}

.comment__meta span:first-child {
  color: var(--green-800);
}

.comment__dot::before {
  content: "·";
}

.footer {
  padding: 24px 16px calc(76px + env(safe-area-inset-bottom));
  color: #71817f;
  background: #f4f7f6;
  text-align: center;
  font-size: 0.75rem;
}

.sticky-cta {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: 0;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
  pointer-events: none;
}

.button.sticky-cta__button {
  min-height: 50px;
  margin: 0;
  border: 1px solid #08a8ec;
  color: #fff;
  background: #08a8ec;
  box-shadow: 0 12px 30px rgba(8, 142, 207, 0.32);
  pointer-events: auto;
}

.sticky-cta__icon {
  flex: 0 0 auto;
  color: #fff;
  transform: rotate(0deg);
  transition: transform 180ms ease;
}

.sticky-cta__icon.is-up {
  transform: rotate(180deg);
}

.modal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 32, 29, 0.48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-backdrop.is-open .modal-card {
  opacity: 1;
  transform: translateY(0);
}

.modal-card {
  position: relative;
  width: min(100%, 398px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 25px 20px calc(21px + env(safe-area-inset-bottom));
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 200ms ease,
    transform 220ms ease;
}

.modal-card--compact {
  text-align: center;
}

.modal-card h2 {
  margin: 12px 0 8px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.modal-card p {
  margin: 0 0 10px;
  color: #526664;
  font-size: 0.87rem;
  line-height: 1.52;
}

.modal-card__notice-icon,
.modal-card__gift {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
}

.modal-card__notice-icon {
  color: #9c5f00;
  background: #fff2cc;
}

.modal-card__gift {
  color: #fff;
  background: var(--green-700);
  box-shadow: 0 9px 23px rgba(0, 140, 126, 0.22);
}

.modal-card__close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #55706d;
  background: #eef5f3;
  cursor: pointer;
}

.modal-card__close span {
  font-size: 1.55rem;
  line-height: 1;
}

.completion-copy {
  margin-bottom: 4px;
}

.completion-copy__lead {
  margin-bottom: 14px !important;
  color: #2f4744 !important;
  text-align: left;
}

.completion-demo {
  padding: 13px 14px;
  border: 1px solid #f0d990;
  border-radius: 12px;
  background: #fff9e8;
}

.completion-demo__label {
  display: inline-block;
  margin-bottom: 5px;
  color: #875b00;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.completion-demo p {
  margin: 0;
  color: #6b5a2c;
  font-size: 0.79rem;
  line-height: 1.45;
}

.completion-official {
  display: grid;
  gap: 10px;
}

.completion-step {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid #cfe8e3;
  border-radius: 12px;
  background: var(--green-50);
}

.completion-step__number {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green-800);
  font-size: 0.76rem;
  font-weight: 900;
}

.completion-step strong,
.completion-timing strong {
  display: block;
  margin-bottom: 2px;
  color: var(--green-950);
  font-size: 0.78rem;
}

.completion-step p {
  margin: 0;
  color: #536966;
  font-size: 0.75rem;
  line-height: 1.35;
}

.completion-reward {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
}

.completion-reward > div {
  display: grid;
  gap: 3px;
}

.completion-reward span {
  color: #9ce9df;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.completion-reward strong {
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.completion-reward small {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.67rem;
  line-height: 1.35;
  text-align: right;
}

.completion-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.completion-facts > div {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 7px;
  padding: 9px;
  border: 1px solid #dfe9e7;
  border-radius: 10px;
  color: #405754;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
}

.completion-facts__icon {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green-700);
  font-size: 0.65rem;
}

.completion-timing {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 10px;
  color: #795a00;
  background: #fff7dc;
}

.completion-timing svg {
  flex: 0 0 auto;
}

.completion-timing strong {
  color: #6c5100;
}

.completion-timing span {
  display: block;
  color: #755f1f;
  font-size: 0.7rem;
  line-height: 1.3;
}

.button {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  padding: 13px 16px;
  border: 0;
  border-radius: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    filter 180ms ease,
    transform 100ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  filter: brightness(0.98);
}
.button:active {
  transform: translateY(1px);
}
.button:focus-visible,
.modal-card__close:focus-visible {
  outline: 3px solid rgba(0, 140, 126, 0.3);
  outline-offset: 2px;
}

.button--secondary {
  color: #fff;
  background: var(--green-800);
}

.button--whatsapp {
  min-height: 56px;
  color: #fff;
  background: #128c5a;
  box-shadow: 0 10px 24px rgba(18, 140, 90, 0.24);
  font-size: 1rem;
}

.modal-card__age-note {
  margin: 11px 6px 0 !important;
  color: #71817f !important;
  font-size: 0.75rem !important;
  text-align: center;
}

body.is-modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 431px) {
  body {
    padding: 18px 0;
  }

  .page {
    border-radius: 18px;
  }

  .brand-header {
    top: 18px;
    border-radius: 18px 18px 0 0;
  }
}

@media (max-height: 820px) {
  .brand-header {
    min-height: 52px;
    padding-top: 9px;
    padding-bottom: 7px;
  }

  .brand-logo {
    height: 32px;
  }

  .campaign-strip {
    margin-top: 52px;
  }

  .survey {
    scroll-margin-top: 62px;
  }

  .sticky-cta {
    bottom: calc(8px + env(safe-area-inset-bottom));
  }

  .button.sticky-cta__button {
    min-height: 46px;
  }

  .footer {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 365px) {
  .hero,
  .survey,
  .comments-section {
    padding-right: 15px;
    padding-left: 15px;
  }

  .demo-pill {
    right: 8px;
    font-size: 0.56rem;
  }

  .brand-placeholder {
    transform: translateX(-18px);
  }

  .reward-card strong {
    font-size: 1.55rem;
  }

  .answer-card {
    padding: 12px;
  }
}

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