/* =========================================================
   MSGME.NG: Design tokens (friendly, clean, minimal)
   ========================================================= */
:root {
  --green: #25d366; /* WhatsApp green: primary actions */
  --green-hover: #1fc15b;
  --green-deep: #075e54; /* brand accent text */
  --green-tint: #e9f9ef; /* soft backgrounds, active states */
  --ink: #0f2a22; /* main text */
  --muted: #53665f; /* secondary text */
  --line: #e3ebe7; /* hairline borders */
  --white: #ffffff;

  --radius: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 34, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 42, 34, 0.08);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 72px;
  --container: 1160px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================================================
   Base
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

:focus-visible {
  outline: 3px solid var(--green-deep);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--green);
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    transform 0.2s var(--ease),
    box-shadow 0.2s;
}

.btn--primary {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(7, 94, 84, 0.25);
}
.btn--primary:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}
.btn--primary i {
  font-size: 0.8em;
  transition: transform 0.2s var(--ease);
}
.btn--primary:hover i {
  transform: translateX(3px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--green-tint);
}

/* =========================================================
   Navbar
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 1.05rem;
  color: var(--white);
  background: var(--green);
  border-radius: 11px;
  transition: transform 0.25s var(--ease);
}
.brand:hover .brand__mark {
  transform: rotate(-8deg) scale(1.05);
}
.brand__name {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}
.brand__tld {
  color: var(--green-deep);
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  display: block;
  padding: 0.5rem 0.9rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  border-radius: var(--radius-pill);
  transition:
    color 0.2s,
    background-color 0.2s;
}
.nav-link:hover {
  color: var(--ink);
  background: var(--green-tint);
}
.nav-link.is-active {
  color: var(--green-deep);
  background: var(--green-tint);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

/* Toggle (mobile) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  font-size: 1.15rem;
  background: var(--green-tint);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
}
.nav-toggle:hover {
  background: #d5f4e1;
}

/* Tablet and below: collapse into panel */
@media (max-width: 960px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: clamp(0.75rem, 3vw, 1.5rem);
    right: clamp(0.75rem, 3vw, 1.5rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 0.2s var(--ease),
      transform 0.2s var(--ease),
      visibility 0s 0.2s;
  }
  .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition:
      opacity 0.2s var(--ease),
      transform 0.2s var(--ease);
  }

  .nav-link {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius);
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    margin: 0.5rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }
  .nav-actions .btn {
    width: 100%;
    padding: 0.85rem 1rem;
  }
  .nav-actions .btn--ghost {
    border-color: var(--line);
  }
}

@media (max-width: 360px) {
  .brand__name {
    font-size: 1.15rem;
  }
}

/* Review-only placeholders (remove when real sections land) */
.placeholder {
  min-height: 70vh;
  display: grid;
  align-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}

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

/* =========================================================
   Shared helpers
   ========================================================= */
.btn--lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}
.btn--outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.btn--outline:hover {
  border-color: var(--green-deep);
  background: var(--green-tint);
}
.btn--outline i {
  color: var(--green-deep);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--green-tint);
  border-radius: var(--radius-pill);
}
.eyebrow i {
  color: #1da851;
  font-size: 1.05rem;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(
      60% 55% at 85% 35%,
      var(--green-tint) 0%,
      rgba(233, 249, 239, 0) 70%
    ),
    var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.mark {
  background: linear-gradient(transparent 62%, rgba(37, 211, 102, 0.45) 62%);
  padding-inline: 0.1em;
  margin-inline: -0.1em;
}

.hero__lead {
  max-width: 34rem;
  margin: 0 0 2rem;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}
.hero__points i {
  margin-right: 0.35rem;
  color: #1da851;
}

/* ---------- Visual ---------- */
.hero__visual {
  position: relative;
  display: grid;
  justify-items: center;
  padding-block: 1rem;
}

/* Phone */
.phone {
  position: relative;
  width: min(100%, 330px);
  padding: 10px;
  background: var(--ink);
  border-radius: 42px;
  box-shadow:
    0 30px 60px -20px rgba(7, 94, 84, 0.35),
    0 12px 24px -12px rgba(15, 42, 34, 0.3);
}
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 74px;
  height: 20px;
  background: var(--ink);
  border-radius: 12px;
  transform: translateX(-50%);
}

.chat {
  display: flex;
  flex-direction: column;
  height: 560px;
  overflow: hidden;
  background: #ece5dd;
  border-radius: 32px;
}

.chat__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 2.4rem 0.9rem 0.75rem;
  color: var(--white);
  background: var(--green-deep);
}
.chat__back,
.chat__icon {
  font-size: 0.9rem;
  opacity: 0.9;
}
.chat__avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green-deep);
  background: var(--green-tint);
  border-radius: 50%;
}
.chat__who {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.chat__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat__verified {
  margin-left: 0.2rem;
  font-size: 0.72rem;
  color: #7cf0a8;
}
.chat__status {
  margin: 0;
  font-size: 0.72rem;
  opacity: 0.8;
}

.chat__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  gap: 0.45rem;
  padding: 0.9rem 0.75rem;
  overflow: hidden;
  background-image: radial-gradient(
    rgba(7, 94, 84, 0.07) 1.2px,
    transparent 1.2px
  );
  background-size: 18px 18px;
}
.chat__day {
  align-self: center;
  margin: 0 0 0.25rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-pill);
}

/* Messages */
.msg {
  position: relative;
  max-width: 86%;
  padding: 0.5rem 0.65rem 0.35rem;
  font-size: 0.82rem;
  line-height: 1.4;
  border-radius: 10px;
  box-shadow: 0 1px 1px rgba(15, 42, 34, 0.12);
}
.msg p {
  margin: 0;
}
.msg--in {
  align-self: flex-start;
  background: var(--white);
  border-top-left-radius: 2px;
}
.msg--out {
  align-self: flex-end;
  background: #d9fdd3;
  border-top-right-radius: 2px;
}
.msg__detail {
  margin-top: 0.25rem !important;
  color: var(--muted);
}
.msg__time {
  display: block;
  margin-top: 0.15rem;
  text-align: right;
  font-size: 0.64rem;
  color: #7a8b84;
}
.msg--out .msg__time i {
  margin-left: 0.15rem;
  color: #34b7f1;
}

.msg__buttons {
  display: grid;
  gap: 1px;
  margin: 0.35rem -0.65rem -0.35rem;
  border-top: 1px solid var(--line);
}
.msg__buttons span {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0a7cbf;
  background: var(--white);
}
.msg__buttons span:last-child {
  border-radius: 0 0 10px 10px;
}
.msg__buttons span + span {
  border-top: 1px solid var(--line);
}
.msg__buttons i {
  margin-right: 0.35rem;
  font-size: 0.75rem;
}

/* Typing indicator */
.msg--typing {
  display: flex;
  gap: 4px;
  padding: 0.7rem 0.8rem;
}
.msg--typing[hidden] {
  display: none;
}
.dot {
  width: 7px;
  height: 7px;
  background: #9aa9a2;
  border-radius: 50%;
}

.chat__input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem 0.9rem;
  background: transparent;
}
.chat__field {
  flex: 1;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  color: #8a9a93;
  background: var(--white);
  border-radius: var(--radius-pill);
}
.chat__send {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--green-deep);
  border-radius: 50%;
  font-size: 0.9rem;
}

/* With JS: messages start hidden and are revealed in sequence */
.js .msg:not(.msg--typing) {
  display: none;
}
.js .msg.is-visible {
  display: block;
  animation: msg-in 0.35s var(--ease) both;
}
.js .msg--typing:not([hidden]) {
  animation: msg-in 0.25s var(--ease) both;
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Floating cards */
.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem 0.65rem 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.float-card p {
  margin: 0;
  line-height: 1.25;
}
.float-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--green-deep);
  background: var(--green-tint);
  border-radius: 12px;
}
.float-card__icon--blue {
  color: #0a7cbf;
  background: #e5f4fc;
}
.float-card__label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}
.float-card__value {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.float-card__value--sm {
  font-size: 0.88rem;
  letter-spacing: 0;
}

.float-card--otp {
  top: 12%;
  left: -2%;
}
.float-card--sent {
  bottom: 14%;
  right: -2%;
}

@media (prefers-reduced-motion: no-preference) {
  .float-card--otp {
    animation: float 6s ease-in-out infinite;
  }
  .float-card--sent {
    animation: float 7s ease-in-out -2s infinite;
  }
  .dot {
    animation: blink 1.2s infinite;
  }
  .dot:nth-child(2) {
    animation-delay: 0.2s;
  }
  .dot:nth-child(3) {
    animation-delay: 0.4s;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.35;
  }
  30% {
    opacity: 1;
  }
}

/* ---------- Hero responsive ---------- */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__copy {
    text-align: center;
  }
  .hero__lead {
    margin-inline: auto;
  }
  .hero__actions,
  .hero__points {
    justify-content: center;
  }
  .float-card--otp {
    left: max(0px, calc(50% - 260px));
  }
  .float-card--sent {
    right: max(0px, calc(50% - 260px));
  }
}

@media (max-width: 560px) {
  .hero__actions .btn {
    width: 100%;
  }
  .chat {
    height: 520px;
  }
  .float-card {
    padding: 0.5rem 0.8rem 0.5rem 0.55rem;
  }
  .float-card--otp {
    top: 3%;
    left: 0;
  }
  .float-card--sent {
    bottom: 6%;
    right: 0;
  }
}

/* =========================================================
   Shared section layout
   ========================================================= */
.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.section__head {
  max-width: 40rem;
  margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}
.section__title {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section__lead {
  margin: 0;
  font-size: 1.08rem;
  color: var(--muted);
}

/* /* Scroll reveal (only active when JS is running) */
*/
/* .js [data-reveal] { */
/*   opacity: 0; */
/*   transform: translateY(18px); */
/*   transition: */
/*     opacity 0.6s var(--ease), */
/*     transform 0.6s var(--ease); */
/*   transition-delay: calc(var(--i, 0) * 90ms); */
/* } */
/* .js [data-reveal].is-in { */
/*   opacity: 1; */
/*   transform: none; */
/* } */

/* =========================================================
   Features
   ========================================================= */
.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.feature {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--ease);
}
.feature:hover {
  border-color: #bde9ce;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature h3 {
  margin: 0.4rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
  color: var(--green-deep);
  background: var(--green-tint);
  border-radius: 14px;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.feature:hover .feature__icon {
  color: var(--ink);
  background: var(--green);
}

/* Large cards: text + preview */
.feature--lg {
  grid-column: span 3;
  background: linear-gradient(180deg, var(--white) 40%, var(--green-tint) 100%);
}
.feature--lg .feature__preview {
  margin-top: auto;
  padding: 1.25rem;
  background: #ece5dd;
  background-image: radial-gradient(
    rgba(7, 94, 84, 0.07) 1.2px,
    transparent 1.2px
  );
  background-size: 18px 18px;
  border-radius: 16px;
}
.feature--lg .feature__text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.feature__preview--flat {
  margin-top: auto;
  padding-top: 0.75rem;
  display: grid;
  gap: 0.4rem;
}

/* Mini bubbles */
.bubble {
  position: relative;
  max-width: 88%;
  padding: 0.55rem 0.75rem 0.4rem;
  font-size: 0.88rem;
  line-height: 1.4;
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(15, 42, 34, 0.1);
}
.bubble p {
  margin: 0;
  color: var(--ink);
  font-size: inherit;
}
.bubble--in {
  background: var(--white);
  border-top-left-radius: 3px;
}
.bubble--out {
  background: #d9fdd3;
  border-top-right-radius: 3px;
  justify-self: end;
}
.bubble--sm {
  font-size: 0.82rem;
  padding-block: 0.4rem;
}
.bubble .bubble__muted {
  color: var(--muted);
  font-size: 0.8rem;
}
.bubble__time {
  display: block;
  text-align: right;
  font-size: 0.66rem;
  color: #7a8b84;
}
.otp {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

/* Button chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chips span {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0a7cbf;
  background: #f2fafe;
  border: 1px solid #cfe9f7;
  border-radius: var(--radius-pill);
}

/* Delivery status list */
.status {
  margin-top: auto;
  padding: 0.75rem;
  display: grid;
  gap: 0.35rem;
  background: var(--green-tint);
  border-radius: 14px;
}
.status li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted);
}
.status b {
  color: var(--ink);
}
.status i {
  margin-right: 0.35rem;
}
.status .is-read i {
  color: #34b7f1;
}

/* Wide developer strip */
.feature--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  background: var(--green-tint);
  border-color: transparent;
}
.feature--wide .feature__icon {
  background: var(--white);
  flex-shrink: 0;
}
.feature__wide-text {
  flex: 1;
}
.feature__wide-text h3 {
  margin-top: 0;
}

/* Features responsive */
@media (max-width: 960px) {
  .feature,
  .feature--lg {
    grid-column: span 3;
  }
  .features > .feature:nth-child(5) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .features {
    gap: 1rem;
  }
  .feature,
  .feature--lg,
  .features > .feature:nth-child(5) {
    grid-column: 1 / -1;
  }
  .feature {
    padding: 1.4rem;
  }
  .feature--wide {
    flex-direction: column;
    align-items: flex-start;
  }
  .feature--wide .btn {
    width: 100%;
  }
}

/* =========================================================
   How it works
   ========================================================= */
.section--tint {
  background: #f6fbf8;
  border-block: 1px solid var(--line);
}

.how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

/* Steps */
.steps {
  display: grid;
  gap: 0.5rem;
  position: relative;
}

.step {
  display: flex;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.25rem;
  text-align: left;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 20px;
  cursor: pointer;
  transition:
    background-color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.step:hover {
  background: rgba(255, 255, 255, 0.7);
}
.step.is-active {
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.step__num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-weight: 800;
  color: var(--green-deep);
  background: var(--green-tint);
  border-radius: 50%;
  transition:
    background-color 0.25s,
    color 0.25s,
    transform 0.25s var(--ease);
}
.step.is-active .step__num {
  color: var(--ink);
  background: var(--green);
  transform: scale(1.08);
}

.step__body {
  display: grid;
  gap: 0.2rem;
}
.step__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.step__desc {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Demo window */
.demo {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  min-height: 430px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 50px -24px rgba(7, 94, 84, 0.3);
  overflow: hidden;
}
.demo__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1rem;
  background: #f6fbf8;
  border-bottom: 1px solid var(--line);
}
.demo__bar span {
  width: 10px;
  height: 10px;
  background: #d3ddd8;
  border-radius: 50%;
}
.demo__bar p {
  margin: 0 auto;
  padding: 0.15rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.demo__panel {
  padding: 1.75rem;
}
.demo__panel:not([hidden]) {
  animation: panel-in 0.4s var(--ease) both;
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.demo__panel h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.demo__sub {
  margin: 0.2rem 0 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Panel 1 */
.field {
  margin-bottom: 0.9rem;
}
.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.field__input {
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
}
.demo__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.8rem;
  font-weight: 700;
  background: var(--green);
  border-radius: var(--radius-pill);
}

/* Panel 2 */
.connect {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.qr-wrap {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  padding: 10px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 16px;
}
.qr-wrap svg {
  display: block;
  width: 100%;
  height: 100%;
}
.connect__steps {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.connect__steps strong {
  color: var(--ink);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
}
.pill--wait {
  color: #8a6100;
  background: #fff4d6;
}
.pill--live {
  color: var(--green-deep);
  background: var(--green-tint);
}
.pill--live i {
  font-size: 0.45rem;
  color: #1da851;
}

/* Panel 3 */
.templates {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.templates li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1.5px solid var(--line);
  border-radius: 12px;
}
.templates i {
  width: 1.4em;
  margin-right: 0.4rem;
  color: var(--green-deep);
}
.switch {
  position: relative;
  width: 40px;
  height: 22px;
  background: #d3ddd8;
  border-radius: var(--radius-pill);
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
}
.switch.is-on {
  background: var(--green);
}
.switch.is-on::after {
  left: 21px;
}
.demo .bubble {
  max-width: 100%;
  background: #ece5dd;
  padding: 0.7rem 0.9rem;
}

/* Panel 4 */
.feed {
  display: grid;
  gap: 0.6rem;
}
.feed li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
}
.feed__ic {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--green-deep);
  background: var(--green-tint);
  border-radius: 10px;
}
.feed div {
  flex: 1;
  min-width: 0;
  display: grid;
  line-height: 1.3;
}
.feed b {
  font-size: 0.9rem;
}
.feed div span {
  font-size: 0.8rem;
  color: var(--muted);
}
.feed em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0a7cbf;
  white-space: nowrap;
}

/* How it works responsive */
@media (max-width: 960px) {
  .how {
    grid-template-columns: 1fr;
  }
  .demo {
    position: static;
    min-height: 0;
  }
}
@media (max-width: 520px) {
  .demo__panel {
    padding: 1.25rem;
  }
  .connect {
    flex-direction: column;
    align-items: flex-start;
  }
  .feed em {
    display: none;
  }
}

/* =========================================================
   Use cases
   ========================================================= */
.usecases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.usecase {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--ease);
}
.usecase:hover {
  border-color: #bde9ce;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.usecase__top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.usecase__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
  color: var(--ink);
  background: var(--green);
  border-radius: 50%;
  transition: transform 0.3s var(--ease);
}
.usecase:hover .usecase__icon {
  transform: rotate(-10deg) scale(1.08);
}

.usecase__tag {
  margin: 0;
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--green-deep);
  background: var(--green-tint);
  border-radius: var(--radius-pill);
}

.usecase h3 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.usecase__text {
  margin: 0 0 1.4rem;
  color: var(--muted);
}

/* Chat preview */
.usecase__chat {
  display: grid;
  gap: 0.45rem;
  align-content: end;
  margin-bottom: 1.4rem;
  padding: 1.1rem;
  min-height: 210px;
  background: #ece5dd;
  background-image: radial-gradient(
    rgba(7, 94, 84, 0.07) 1.2px,
    transparent 1.2px
  );
  background-size: 18px 18px;
  border-radius: 18px;
}
.usecase__chat .bubble {
  max-width: 90%;
}
.usecase__chat .bubble--in {
  justify-self: start;
}

/* Tappable buttons inside a bubble */
.bubble__actions {
  display: grid;
  margin: 0.45rem -0.75rem -0.4rem;
  border-top: 1px solid var(--line);
}
.bubble__actions span {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0a7cbf;
}
.bubble__actions span + span {
  border-top: 1px solid var(--line);
}

/* Benefits */
.usecase__list {
  display: grid;
  gap: 0.4rem;
  margin-top: auto;
  font-size: 0.93rem;
  font-weight: 500;
}
.usecase__list i {
  margin-right: 0.5rem;
  color: #1da851;
}

@media (max-width: 860px) {
  .usecases {
    grid-template-columns: 1fr;
  }
  .usecase__chat {
    min-height: 0;
  }
}

/* =========================================================
   CTA
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cta-section {
  padding-top: 0;
}

.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  color: var(--white);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(37, 211, 102, 0.35),
      transparent 45%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(37, 211, 102, 0.18),
      transparent 40%
    ),
    var(--green-deep);
  border-radius: 36px;
}
/* subtle dot texture */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.09) 1.2px,
    transparent 1.2px
  );
  background-size: 22px 22px;
  pointer-events: none;
}
.cta > * {
  position: relative;
}

.eyebrow--dark {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}
.eyebrow--dark i {
  color: #7cf0a8;
}

.cta__title {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.cta__lead {
  max-width: 34rem;
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Form */
.cta__form {
  display: flex;
  gap: 0.5rem;
  max-width: 34rem;
  padding: 0.4rem;
  background: var(--white);
  border-radius: var(--radius-pill);
  transition: box-shadow 0.2s;
}
.cta__form:focus-within {
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.55);
}
.cta__form.is-invalid {
  box-shadow: 0 0 0 4px rgba(255, 138, 128, 0.8);
}

.cta__input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 1rem;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}
.cta__input::placeholder {
  color: #8a9a93;
}
.cta__form .btn {
  flex-shrink: 0;
}

.cta__msg {
  min-height: 1.6em;
  margin: 0.75rem 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffc9c4;
}
.cta__msg.is-success {
  color: #7cf0a8;
}

.cta__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}
.cta__points i {
  margin-right: 0.4rem;
  color: #7cf0a8;
}

/* Decorative chat */
.cta__visual {
  display: grid;
  gap: 0.7rem;
  padding-right: 1rem;
}
.cta__bubble {
  max-width: 270px;
  padding: 0.65rem 0.9rem 0.45rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.35);
}
.cta__bubble p {
  margin: 0;
}
.cta__bubble span {
  display: block;
  text-align: right;
  font-size: 0.68rem;
  color: #7a8b84;
}
.cta__bubble--in {
  justify-self: start;
  background: var(--white);
  border-top-left-radius: 4px;
}
.cta__bubble--out {
  justify-self: end;
  background: #d9fdd3;
  border-top-right-radius: 4px;
}
.cta__bubble--out i {
  color: #34b7f1;
}

@media (prefers-reduced-motion: no-preference) {
  .cta__bubble {
    animation: float 7s ease-in-out infinite;
  }
  .cta__bubble:nth-child(2) {
    animation-delay: -2s;
  }
  .cta__bubble:nth-child(3) {
    animation-delay: -4s;
  }
}

@media (max-width: 900px) {
  .cta {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }
  .cta__visual {
    display: none;
  }
}
@media (max-width: 520px) {
  .cta__form {
    flex-direction: column;
    padding: 0.5rem;
    border-radius: 24px;
  }
  .cta__input {
    padding: 0.8rem 1rem;
  }
  .cta__form .btn {
    width: 100%;
  }
  .cta__msg {
    margin-left: 0.25rem;
  }
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.75rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--ease);
}
a.contact-card:hover {
  border-color: #bde9ce;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
  color: var(--green-deep);
  background: var(--green-tint);
  border-radius: 14px;
  transition:
    background-color 0.25s,
    color 0.25s;
}
a.contact-card:hover .contact-card__icon {
  color: var(--ink);
  background: var(--green);
}

.contact-card__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.contact-card__value {
  font-size: 1.15rem;
  font-weight: 700;
  font-style: normal;
  line-height: 1.35;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.contact-card__note {
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-card__go {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  transition:
    transform 0.25s var(--ease),
    color 0.25s;
}
a.contact-card:hover .contact-card__go {
  color: var(--green-deep);
  transform: translate(3px, -3px);
}

/* Featured WhatsApp card */
.contact-card--featured {
  color: var(--white);
  background: var(--green-deep);
  border-color: var(--green-deep);
}
.contact-card--featured .contact-card__icon {
  color: var(--ink);
  background: var(--green);
}
.contact-card--featured .contact-card__label,
.contact-card--featured .contact-card__note,
.contact-card--featured .contact-card__go {
  color: rgba(255, 255, 255, 0.78);
}
a.contact-card--featured:hover {
  border-color: var(--green-deep);
  box-shadow: 0 16px 32px -12px rgba(7, 94, 84, 0.5);
}
a.contact-card--featured:hover .contact-card__go {
  color: var(--white);
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-card {
    padding: 1.4rem;
  }
  .contact-card__go {
    top: 1.4rem;
    right: 1.4rem;
  }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr) 1.5fr;
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
}

/* Brand on dark */
.brand--light .brand__name {
  color: var(--white);
}
.brand--light .brand__tld {
  color: var(--green);
}
.brand--light .brand__mark {
  color: var(--ink);
}

.footer__about {
  max-width: 20rem;
  margin: 1.1rem 0 1.4rem;
  font-size: 0.95rem;
}

.socials {
  display: flex;
  gap: 0.5rem;
}
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.2s var(--ease);
}
.socials a:hover {
  color: var(--ink);
  background: var(--green);
  transform: translateY(-2px);
}

/* Columns */
.footer__col h3 {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.footer__col ul {
  display: grid;
  gap: 0.65rem;
}
.footer__col a,
.footer__col span {
  font-size: 0.95rem;
}
.footer__col a {
  transition: color 0.2s;
}
.footer__col a:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__col--contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.footer__col--contact i {
  width: 1.1em;
  margin-top: 0.3em;
  font-size: 0.85rem;
  text-align: center;
  color: var(--green);
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__bottom p {
  margin: 0;
}
.footer__legal {
  flex: 1;
  min-width: 240px;
  color: rgba(255, 255, 255, 0.5);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  font-weight: 600;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.to-top:hover {
  color: var(--ink);
  background: var(--green);
  border-color: var(--green);
}
.to-top i {
  transition: transform 0.2s var(--ease);
}
.to-top:hover i {
  transform: translateY(-2px);
}

.footer :focus-visible {
  outline-color: var(--green);
}

@media (max-width: 1000px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__col--contact {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__col--contact {
    grid-column: 1 / -1;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.5fr;
  gap: 2.5rem 3rem;
  padding-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
