/* WhatsApp Store page. Every rule is scoped under .wa-store so it does not
   collide with the global rules in styles.css (body, h1, a, img, footer). */

.wa-store {
  --wa-navy: #050b1f;
  --wa-green: #1fb673;
  --wa-green-d: #0f8a55;
  --wa-mint: #edf7f1;
  --wa-paper: #f7f9f8;
  --wa-ink: #1e2633;
  --wa-muted: #5b6573;
  --wa-line: #dce3e0;
  --wa-wrap: 1120px;

  width: 100%;
  text-align: start;
  font-family: "Heebo", "Arial", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--wa-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* Reset the global styles.css rules that would leak into this page */
.wa-store a {
  color: inherit;
  font-size: inherit;
}

.wa-store h1,
.wa-store h2,
.wa-store h3 {
  margin: 0;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  animation: none;
}

.wa-store img {
  max-width: none;
  border-radius: 0;
}

.wa-store :focus-visible {
  outline: 3px solid var(--wa-green);
  outline-offset: 3px;
  border-radius: 4px;
}

.wa-wrap {
  max-width: var(--wa-wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.wa-store .wa-btn {
  display: inline-block;
  font:
    700 18px/1 "Heebo",
    sans-serif;
  padding: 18px 30px;
  border-radius: 999px;
  background: var(--wa-green);
  color: var(--wa-navy);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.wa-store .wa-btn:hover {
  background: #2fd08a;
  transform: translateY(-2px);
}

.wa-store .wa-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.wa-store .wa-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Top bar */
.wa-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
}

.wa-nav .wa-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}

.wa-store .wa-logo img {
  display: block;
  height: 44px;
  width: auto;
}

.wa-store .wa-nav-link {
  color: #cfd8ea;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.wa-store .wa-nav-link:hover {
  color: #fff;
}

/* Hero */
.wa-hero {
  background: var(--wa-navy);
  color: #fff;
  padding: 150px 0 110px;
  position: relative;
  overflow: hidden;
}

.wa-hero::before,
.wa-hero::after {
  content: "";
  position: absolute;
  border: 2px solid #0f1b40;
  border-radius: 50%;
  pointer-events: none;
}

.wa-hero::before {
  width: 760px;
  height: 760px;
  left: -260px;
  top: -300px;
}

.wa-hero::after {
  width: 520px;
  height: 520px;
  left: -140px;
  top: -180px;
}

.wa-hero .wa-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.wa-store .wa-hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.wa-store .wa-hero h1 span {
  display: block;
  color: var(--wa-green);
  -webkit-text-fill-color: var(--wa-green);
}

.wa-hero .wa-lead {
  margin: 26px 0 38px;
  font-size: 21px;
  color: #b9c4de;
  max-width: 34ch;
  font-weight: 300;
}

.wa-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* iPhone image */
.wa-device {
    margin: 0;
    display: flex;
    justify-content: center;
}

.wa-store .wa-device-img {
  display: block;
  width: min(340px, 100%);
  height: auto;
  border-radius: 48px;
}

/* Sections */
.wa-store section {
  padding: 96px 0;
}

.wa-store h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.3px;
  max-width: 20ch;
  color: inherit;
}

.wa-sub {
  color: var(--wa-muted);
  margin-top: 14px;
  max-width: 48ch;
}

/* How it works */
.wa-how {
  background: var(--wa-paper);
}

.wa-steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: wa-step;
}

.wa-steps li {
  padding: 0 26px;
  border-inline-start: 2px solid var(--wa-line);
  counter-increment: wa-step;
}

.wa-steps li:first-child {
  border-inline-start-color: var(--wa-green);
}

.wa-steps li::before {
  content: counter(wa-step);
  display: block;
  font-weight: 800;
  font-size: 54px;
  line-height: 1;
  color: var(--wa-green);
  margin-bottom: 16px;
}

.wa-store .wa-steps h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.wa-steps p {
  color: var(--wa-muted);
  font-size: 16px;
}

.wa-note {
  margin-top: 52px;
  background: var(--wa-mint);
  border: 1px solid #cfe6d8;
  border-radius: 14px;
  padding: 22px 28px;
  max-width: 760px;
}

.wa-note b {
  color: var(--wa-green-d);
}

/* Benefits */
.wa-rows {
  width: fit-content;
  max-width: 100%;
  margin-top: 48px;
  border-top: 1px solid var(--wa-line);
}

.wa-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--wa-line);
}

.wa-store .wa-row h3 {
  font-size: 23px;
  line-height: 1.25;
}

.wa-row p {
  color: var(--wa-muted);
}

/* What is in the document */
.wa-store .wa-doc {
  background: var(--wa-navy);
  color: #fff;
}

.wa-doc .wa-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.wa-store .wa-doc h2 {
  max-width: 14ch;
}

.wa-doc .wa-sub {
  color: #b9c4de;
}

.wa-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wa-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 17px 0;
  border-bottom: 1px solid #1e2e63;
  font-size: 19px;
}

.wa-list li:first-child {
  border-top: 1px solid #1e2e63;
}

.wa-list li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wa-green);
  transform: translateY(-2px);
}

/* Contact call to action (replaces the lead form) */
.wa-get {
  background: var(--wa-mint);
}

.wa-get .wa-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.wa-form {
    background: #fff;
    border: 1px solid #CFE6D8;
    border-radius: 20px;
    padding: 34px;
    display: grid;
    gap: 18px;
    position: relative;
}

.wa-form label {
    display: grid;
    gap: 7px;
    font-weight: 500;
    font-size: 16px;
}

.wa-form input[type="text"],
.wa-form input[type="tel"],
.wa-form input[type="email"] {
    font: inherit;
    padding: 15px 16px;
    border: 1.5px solid var(--wa-line);
    border-radius: 12px;
    background: #fff;
    color: var(--wa-ink);
    width: 100%;
}

.wa-form input[type="tel"] {
    direction: ltr;
    text-align: right;
}

.wa-form input:focus {
    outline: none;
    border-color: var(--wa-green);
    box-shadow: 0 0 0 4px rgba(31, 182, 115, .18);
}

.wa-form input.is-invalid {
    border-color: #e74c3c;
}

.wa-req {
    color: #e74c3c;
}

/* Honeypot: off-screen, hidden from people and screen readers */
.wa-form .wa-hp {
    position: absolute;
    right: -5000px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.wa-form .wa-check {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 400;
    font-size: 15px;
}

.wa-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--wa-green);
    flex: none;
}

.wa-store .wa-check a {
    color: var(--wa-green-d);
    text-decoration: underline;
}

.wa-form .wa-btn {
    width: 100%;
    text-align: center;
}

.wa-form .wa-btn:disabled {
    opacity: .6;
    cursor: wait;
    transform: none;
}

.wa-msg {
    display: none;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    text-align: center;
}

.wa-msg.is-ok {
    display: block;
    background: var(--wa-mint);
    color: var(--wa-green-d);
    border: 1px solid #CFE6D8;
}

.wa-msg.is-error {
    display: block;
    background: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c2bd;
}

.wa-fine {
    font-size: 14px;
    color: var(--wa-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .wa-hero {
    padding: 120px 0 80px;
  }

  .wa-hero .wa-wrap,
  .wa-doc .wa-wrap,
  .wa-get .wa-wrap {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .wa-steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 44px;
  }

  .wa-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wa-store section {
    padding: 72px 0;
  }
}

@media (max-width: 520px) {
  .wa-steps {
    grid-template-columns: 1fr;
  }

  .wa-actions .wa-btn {
    width: 100%;
    text-align: center;
  }

  .wa-form {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-store * {
    transition: none !important;
  }
}
