:root {
  --green: #006b3f;
  --deep-green: #003b25;
  --red: #cf102d;
  --ink: #132019;
  --muted: #637068;
  --soft: #f4f8f1;
  --line: #dbe5d8;
  --pink: #e2136e;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Arial, "Noto Sans Bengali", sans-serif;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  padding-bottom: 82px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 248, 241, 0.98)),
    radial-gradient(circle at 14% 0%, rgba(255, 200, 61, 0.42), transparent 28%),
    var(--soft);
}

.hero {
  padding: 22px 18px 8px;
}

.hero-copy,
.form-heading,
.final-message,
.payment-confirm-box {
  display: grid;
}

.hero-copy {
  gap: 10px;
}

.brand-pill {
  width: fit-content;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 12px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  color: var(--deep-green);
  font-size: clamp(34px, 10vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 34rem;
  color: #33443a;
  font-size: 16px;
  line-height: 1.65;
}

.help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  min-height: 58px;
  border-radius: 8px;
  background: var(--red);
  color: white;
  font-size: 17px;
  font-weight: 900;
  padding: 10px 18px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(207, 16, 45, 0.24);
}

.form-band {
  display: grid;
  gap: 14px;
  padding: 10px 14px 18px;
}

.lead-form {
  display: grid;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0, 59, 37, 0.12);
}

.form-heading {
  gap: 3px;
}

.form-heading span {
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.form-heading h2 {
  color: var(--deep-green);
  font-size: 25px;
}

label {
  display: grid;
  gap: 7px;
  color: #26352c;
  font-size: 14px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #c9d8ca;
  border-radius: 8px;
  background: #fbfdf9;
  color: var(--ink);
  outline: none;
  padding: 0 14px;
}

select {
  cursor: pointer;
}

input:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 107, 63, 0.15);
}

.required-mark {
  color: var(--red);
}

.phone-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
}

.form-error {
  border-radius: 8px;
  background: #ffe9ed;
  color: #a50c23;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
}

.submit-button,
.whatsapp-button,
.payment-link,
.done-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}

.submit-button {
  margin-top: 4px;
  background: var(--red);
  color: white;
  box-shadow: 0 12px 26px rgba(207, 16, 45, 0.24);
}

.service-charge {
  margin-top: -4px;
  color: var(--green);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.payment-done-area {
  display: grid;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.done-button {
  background: var(--green);
  color: white;
  padding: 0 18px;
}

.loading-button .button-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: spin 700ms linear infinite;
}

.loading-button.is-loading {
  cursor: wait;
  opacity: 0.82;
}

.loading-button.is-loading .button-spinner {
  display: inline-block;
}

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

.payment-confirm-box {
  gap: 12px;
  border: 1px solid #b7dcc6;
  border-radius: 8px;
  background: #f4fff8;
  padding: 14px;
}

.final-message {
  justify-items: center;
  gap: 10px;
  border: 1px solid #9fd8b2;
  border-radius: 8px;
  background: #effcf4;
  color: var(--deep-green);
  padding: 16px;
  text-align: center;
}

.check-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 4px solid #16a34a;
  border-radius: 999px;
  color: #16a34a;
  font-size: 32px;
  font-weight: 900;
}

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

.trust-grid div {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 12px 6px;
  text-align: center;
  color: var(--green);
}

.trust-grid .icon {
  font-size: 26px;
}

.trust-grid span:last-child {
  color: #26352c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.status-preview {
  display: grid;
  gap: 16px;
  padding: 8px 14px 22px;
}

.status-copy {
  display: grid;
  gap: 6px;
  text-align: center;
}

.status-copy span {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.status-copy h2 {
  color: var(--deep-green);
  font-size: 24px;
  line-height: 1.18;
}

.hero-visual {
  position: relative;
  min-height: 250px;
}

.flag-card {
  position: absolute;
  right: 2px;
  top: 4px;
  min-width: 122px;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-size: 20px;
  font-weight: 800;
  padding: 13px 15px;
  text-align: center;
  box-shadow: 0 16px 38px rgba(0, 59, 37, 0.2);
}

.phone-mockup {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: grid;
  width: min(78vw, 278px);
  min-height: 198px;
  transform: translateX(-50%);
  border: 8px solid #17211c;
  border-radius: 28px;
  background: white;
  padding: 14px;
  gap: 8px;
  color: var(--green);
  box-shadow: 0 18px 44px rgba(19, 32, 25, 0.28);
}

.phone-header {
  color: #1c1f1d;
  font-size: 17px;
  font-weight: 800;
}

.doc-icon {
  font-size: 42px;
  line-height: 1;
}

.phone-mockup strong {
  font-size: 20px;
}

.phone-mockup > span {
  color: var(--muted);
  font-size: 13px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 7px;
  color: #1d2a22;
  font-size: 13px;
}

.support-band {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--deep-green);
  color: white;
  padding: 16px 14px 18px;
}

.support-copy {
  display: flex;
  align-items: center;
  gap: 10px;
}

.support-copy span {
  display: block;
  color: #c8ecd9;
  font-size: 12px;
}

.support-copy strong {
  display: block;
  font-size: 16px;
}

.headset {
  color: white !important;
  font-size: 24px !important;
}

.whatsapp-button {
  flex: 0 0 auto;
  min-height: 44px;
  background: #16a34a;
  color: white;
  padding: 0 13px;
}

.payment-sheet {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 16px;
  pointer-events: none;
  visibility: hidden;
}

.payment-sheet-open {
  pointer-events: auto;
  visibility: visible;
}

.payment-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 16, 10, 0.74);
}

.payment-sheet-panel {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 13px;
  width: min(calc(100% - 28px), 390px);
  border: 2px solid var(--pink);
  border-radius: 8px;
  background: white;
  padding: 28px 20px 20px;
  text-align: center;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.payment-sheet-panel h3 {
  color: var(--deep-green);
  font-size: 28px;
}

.payment-sheet-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: 0;
  background: transparent;
  color: #526059;
  cursor: pointer;
  font-size: 22px;
}

.payment-link {
  width: 100%;
  background: var(--pink);
  color: white;
  padding: 0 18px;
}

@media (min-width: 760px) {
  .page-shell {
    padding-bottom: 92px;
  }

  .hero,
  .form-band,
  .status-preview,
  .support-band {
    width: min(1080px, 100%);
    margin: 0 auto;
  }

  .hero {
    padding: 44px 28px 12px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .form-band {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
    padding: 12px 28px 22px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid div {
    min-height: 78px;
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
    padding: 14px;
  }

  .trust-grid span:last-child {
    font-size: 15px;
  }

  .status-preview {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    padding: 10px 28px 34px;
  }

  .status-copy {
    text-align: left;
  }

  .status-copy h2 {
    font-size: 32px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .phone-mockup {
    width: 310px;
    min-height: 245px;
  }

  .support-band {
    border-radius: 8px 8px 0 0;
    padding-inline: 28px;
  }
}
