:root {
  --pink: #d91f79;
  --pink-dark: #a90f58;
  --pink-soft: #fff0f6;
  --ink: #281d25;
  --muted: #81767e;
  --line: #eadfe5;
  --paper: #fff;
  --canvas: #fff9fb;
  --blue-soft: #edf8ff;
  --shadow: 0 18px 60px rgba(105, 23, 64, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: #f1e9ed;
  font-family: "Noto Sans Bengali", "Nirmala UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(217, 31, 121, .055) .8px, transparent .8px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(10px); opacity: .7; pointer-events: none; }
.ambient-one { width: 320px; height: 320px; top: -150px; right: -100px; background: #ffe0ed; }
.ambient-two { width: 240px; height: 240px; bottom: -100px; left: -90px; background: #f3dfff; }
.app-shell { width: 100%; max-width: 430px; min-height: 100vh; margin: 0 auto; padding: max(48px, env(safe-area-inset-top)) 12px max(32px, env(safe-area-inset-bottom)); background: linear-gradient(155deg, #fff 0%, var(--canvas) 42%, #fff4f8 100%); overflow: clip; }
.brand { display: flex; justify-content: center; align-items: center; gap: 12px; text-align: left; margin-bottom: 25px; }
.brand-mark { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 15px; color: var(--pink); background: linear-gradient(145deg, #fff, #ffeaf3); box-shadow: 0 10px 28px rgba(217,31,121,.15); transform: rotate(-3deg); }
.brand-mark svg { width: 38px; height: 38px; fill: #fff2f7; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow, .kicker { margin: 0 0 2px; color: var(--pink); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: none; }
.brand h1 { margin: 0; color: var(--pink-dark); font-size: clamp(23px, 7vw, 30px); line-height: 1.05; letter-spacing: -.02em; }
.brand h1 span { color: var(--pink); }
.subtitle { margin: 5px 0 0; color: var(--muted); font-size: 15px; }
.stepper { position: sticky; z-index: 8; top: 0; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 -2px 30px; padding: 9px 0 7px; border-radius: 0 0 18px 18px; background: rgba(255,249,251,.92); backdrop-filter: blur(14px); }
.progress-track { position: absolute; z-index: 0; top: 28px; left: 12.5%; right: 12.5%; height: 3px; background: #eadde4; overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--pink-dark), var(--pink)); transition: width .4s ease; }
.step-dot { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; color: #a99da5; background: transparent; font: inherit; cursor: default; }
.step-dot span { width: 39px; height: 39px; display: grid; place-items: center; border: 2px solid #e3d7de; border-radius: 50%; background: #fff; font-weight: 700; box-shadow: 0 3px 10px rgba(61,34,48,.04); transition: .3s; }
.step-dot small { max-width: 94px; font-size: 11px; line-height: 1.2; font-weight: 600; }
.step-dot.done, .step-dot.active { color: var(--pink-dark); cursor: pointer; }
.step-dot.done span { border-color: var(--pink); color: var(--pink); }
.step-dot.active span { border-color: var(--pink); color: #fff; background: linear-gradient(145deg, #e62b86, #bd1264); box-shadow: 0 8px 22px rgba(217,31,121,.28); transform: scale(1.08); }
.debug-notice { padding: 13px 15px; border: 1px solid #e8a75c; border-radius: 14px; color: #744514; background: #fff8e9; font-size: 13px; line-height: 1.55; }
.debug-notice[hidden] { display: none; }
.debug-success { margin: 20px 0; text-align: left; }
.privacy { text-align: center; }
.form-step { display: none; animation: stepIn .38s ease both; }
.form-step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.section-heading { display: flex; align-items: center; gap: 12px; margin: 0 5px 14px; }
.section-heading h2 { margin: 0; color: var(--pink-dark); font-size: 22px; line-height: 1.15; }
.section-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--pink); background: var(--pink-soft); }
.section-icon svg, .label svg, .card-title svg, .notice svg, .btn svg, .privacy svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card { padding: 22px 19px; margin-bottom: 16px; border: 1px solid rgba(234,223,229,.78); border-radius: 23px; background: rgba(255,255,255,.93); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.compact-card { padding-bottom: 20px; }
.field { display: block; margin-bottom: 24px; }
.field:last-child { margin-bottom: 0; }
.label { display: flex; align-items: center; gap: 8px; margin: 0 2px 9px; font-size: 17px; font-weight: 650; }
.label svg { width: 18px; color: #91868d; }
.label b { color: #df3d73; font-size: 15px; }
input, select { width: 100%; height: 58px; padding: 0 17px; border: 1.5px solid var(--line); border-radius: 15px; outline: none; color: var(--ink); background: #fff; font: 500 16px/1 "Noto Sans Bengali", "Nirmala UI", sans-serif; transition: border-color .2s, box-shadow .2s, background .2s; }
textarea { width: 100%; min-height: 110px; padding: 14px 17px; border: 1.5px solid var(--line); border-radius: 15px; outline: none; color: var(--ink); background: #fff; font: 500 16px/1.5 "Noto Sans Bengali", "Nirmala UI", sans-serif; resize: vertical; transition: border-color .2s, box-shadow .2s, background .2s; }
input::placeholder, textarea::placeholder { color: #b9afb5; font-weight: 400; }
select { appearance: none; padding-right: 46px; color: #746a70; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2381767e' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
select:valid { color: var(--ink); }
select:disabled { background-color: #faf8f9; cursor: not-allowed; }
input:focus, select:focus, textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(217,31,121,.09); }
.phone-input { display: flex; align-items: center; height: 58px; border: 1.5px solid var(--line); border-radius: 15px; background: #fff; transition: .2s; }
.phone-input:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(217,31,121,.09); }
.phone-input .country { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 14px; border-right: 1px solid var(--line); white-space: nowrap; }
.country-flag { width: 27px; height: 18px; flex: 0 0 auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.phone-input input { min-width: 0; height: 54px; border: 0; box-shadow: none; }
.phone-input input:focus { box-shadow: none; }
.helper { display: block; margin: 7px 2px 0; color: #998f95; font-size: 13px; }
.error { display: none; margin: 7px 2px 0; color: #c72058; font-size: 13px; }
.field.invalid .error, .gender-field.invalid .error, .consent.invalid + .error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field.invalid .phone-input { border-color: #e55d88; background-color: #fffafd; }
.field.invalid .select-trigger { border-color: #e55d88; background-color: #fffafd; }
.select-trigger { width: 100%; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 15px; color: #b9afb5; background: #fff; font: 500 16px "Noto Sans Bengali", "Nirmala UI", sans-serif; text-align: left; cursor: pointer; transition: .2s; }
.select-trigger:hover:not(:disabled), .select-trigger:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(217,31,121,.09); outline: none; }
.select-trigger.has-value { color: var(--ink); }
.select-trigger:disabled { color: #c3b9bf; background: #faf8f9; cursor: not-allowed; }
.select-trigger svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; }
fieldset { min-width: 0; padding: 0; border: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.choice-card { position: relative; min-height: 152px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1.5px solid var(--line); border-radius: 20px; cursor: pointer; transition: .25s; overflow: hidden; }
.choice-card:hover { border-color: #e9a0c2; transform: translateY(-2px); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card:has(input:checked) { border-color: var(--pink); background: linear-gradient(145deg, #fff, #fff1f7); box-shadow: 0 8px 24px rgba(217,31,121,.12); }
.choice-card .avatar { width: 63px; height: 63px; display: grid; place-items: center; border-radius: 50%; font-size: 39px; background: #fff0d8; }
.choice-card .girl { background: #f7e9ff; }
.choice-card strong { font-size: 19px; }
.choice-card i { position: absolute; top: 10px; right: 10px; display: none; padding: 2px 7px; border-radius: 12px; color: #fff; background: var(--pink); font-size: 10px; font-style: normal; }
.choice-card:has(input:checked) i { display: block; }
.card-title { display: flex; align-items: center; gap: 9px; margin-bottom: 19px; color: var(--pink-dark); }
.card-title h3 { margin: 0; font-size: 21px; }
.address-grid { display: grid; grid-template-columns: 1fr; }
.address-grid .full { grid-column: auto; }
.notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 14px; color: #2d718d; background: var(--blue-soft); }
.notice svg { flex: 0 0 auto; width: 19px; margin-top: 1px; }
.notice p { margin: 0; font-size: 14px; line-height: 1.45; }
.review-head { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.review-head span { font-size: 18px; font-weight: 700; }
.review-head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.review-head button { border: 0; color: var(--pink); background: none; font: 600 14px "Noto Sans Bengali", sans-serif; cursor: pointer; }
.review-card dl { margin: 0; }
.review-card dl div { display: grid; grid-template-columns: 44% 56%; gap: 10px; padding: 13px 0; border-bottom: 1px solid #f1e9ed; font-size: 14px; }
.review-card dt { color: #8d8288; }
.review-card dd { margin: 0; text-align: right; font-weight: 650; overflow-wrap: anywhere; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; color: #635960; font-size: 14px; line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--pink); }
.form-actions { position: sticky; z-index: 4; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; justify-content: stretch; gap: 12px; margin: 20px -5px 0; padding: 8px; border-radius: 22px; background: rgba(255,249,251,.88); backdrop-filter: blur(14px); }
.btn { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 0; border-radius: 18px; font: 700 17px "Noto Sans Bengali", sans-serif; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { flex: 1 1 0; min-width: 0; border: 1.5px solid transparent; color: #fff; background: linear-gradient(135deg, #e32983, #c71168); box-shadow: 0 14px 28px rgba(217,31,121,.24); }
.btn-primary:hover { box-shadow: 0 17px 32px rgba(217,31,121,.31); }
.btn-secondary { display: none; flex: 1 1 0; width: auto; min-width: 0; color: #645a60; border: 1.5px solid var(--line); background: rgba(255,255,255,.9); }
.btn-secondary svg { transform: rotate(180deg); }
.hidden { display: none !important; }
.privacy { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 16px 0 0; color: #a0949b; font-size: 12px; }
.privacy svg { width: 14px; height: 14px; }
.submit-error { min-height: 20px; margin: 12px 0 0; color: #c72058; font-size: 14px; line-height: 1.45; }
.success-view { display: none; position: relative; padding: 42px 20px 28px; border: 1px solid var(--line); border-radius: 26px; text-align: center; background: rgba(255,255,255,.95); box-shadow: var(--shadow); overflow: hidden; animation: stepIn .5s ease both; }
.success-view.active { display: block; }
.success-icon { width: 82px; height: 82px; display: grid; place-items: center; margin: 0 auto 19px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #eb3d91, #b90e5f); box-shadow: 0 12px 30px rgba(217,31,121,.28); }
.success-icon svg { width: 47px; height: 47px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.success-view h2 { max-width: 430px; margin: 3px auto 10px; color: var(--pink-dark); font-size: 29px; line-height: 1.2; }
.success-view > p:not(.kicker) { max-width: 430px; margin: 0 auto; color: var(--muted); line-height: 1.6; }
.status-card { margin: 28px 0 18px; border: 1px solid var(--line); border-radius: 22px; text-align: left; background: #fff; overflow: hidden; }
.status-block { display: flex; align-items: flex-start; gap: 13px; padding: 20px; }
.status-block + .status-block { border-top: 1px solid var(--line); }
.status-symbol { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: var(--pink); background: var(--pink-soft); font-size: 20px; font-weight: 700; }
.status-block h3 { margin: 0 0 5px; color: var(--pink-dark); font-size: 17px; }
.status-block p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.status-block p strong { color: var(--pink-dark); }
.reminder { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; padding: 16px; border-radius: 16px; text-align: left; background: var(--pink-soft); }
.reminder > span { font-size: 20px; }
.reminder strong { color: var(--pink-dark); }
.reminder p { margin: 4px 0 0; color: #765966; font-size: 13px; line-height: 1.5; }
.modal-open { overflow: hidden; }
.picker-modal { position: fixed; z-index: 50; inset: 0; display: none; place-items: center; padding: 24px; }
.picker-modal.open { display: grid; }
.picker-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(24,18,22,.64); cursor: default; animation: fadeIn .2s ease; }
.picker-dialog { position: relative; width: min(86vw, 500px); max-height: min(82vh, 720px); border-radius: 10px; background: #fbfafc; box-shadow: 0 25px 70px rgba(20,10,16,.32); overflow: hidden; animation: dialogIn .22s ease both; }
.picker-dialog h2 { margin: 0; padding: 22px 20px 17px; border-bottom: 1px solid #e6e3e7; font-size: 22px; font-weight: 500; }
.picker-options { max-height: calc(min(82vh, 720px) - 74px); overflow-y: auto; overscroll-behavior: contain; }
.picker-option { width: 100%; min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 20px; border: 0; border-bottom: 1px solid #e8e5e9; color: var(--ink); background: transparent; font: 500 18px "Noto Sans Bengali", sans-serif; text-align: left; cursor: pointer; }
.picker-option:hover, .picker-option:focus { background: #fff0f6; outline: none; }
.picker-option i { width: 24px; height: 24px; flex: 0 0 auto; border: 2px solid #55515a; border-radius: 50%; }
.picker-option.selected i { border: 7px solid #367796; }
.picker-empty { margin: 0; padding: 35px 20px; color: var(--muted); text-align: center; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.confetti i { position: absolute; width: 8px; height: 16px; border-radius: 4px; background: var(--pink); transform: rotate(20deg); }
.confetti i:nth-child(1) { top: 12%; left: 10%; }.confetti i:nth-child(2) { top: 24%; right: 9%; background: #ffc947; transform: rotate(60deg); }.confetti i:nth-child(3) { top: 8%; right: 24%; background: #7f65d9; transform: rotate(-35deg); }.confetti i:nth-child(4) { top: 35%; left: 6%; background: #4fbca1; transform: rotate(70deg); }.confetti i:nth-child(5) { bottom: 15%; right: 8%; background: #ee765d; }.confetti i:nth-child(6) { bottom: 7%; left: 16%; background: #ffc947; transform: rotate(-55deg); }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

@media (min-width: 431px) {
  .app-shell { box-shadow: 0 0 70px rgba(84, 39, 62, .14); }
}

@media (max-width: 380px) {
  .app-shell { padding-inline: 8px; }
  .brand { gap: 9px; }
  .brand h1 { font-size: 23px; }
  .brand-mark { width: 44px; height: 44px; }
  .step-dot small { font-size: 10px; }
  .choice-grid { gap: 9px; }
  .choice-card { min-height: 140px; }
  .btn { font-size: 15px; padding-inline: 13px; }
}

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