:root {
  --blue: #0066CC;
  --blue-deep: #003F86;
  --blue-night: #05264F;
  --blue-soft: #EAF5FF;
  --yellow: #FFD700;
  --yellow-hot: #FFB700;
  --ink: #08213E;
  --muted: #62748A;
  --white: #FFFFFF;
  --card: rgba(255,255,255,0.92);
  --shadow: 0 28px 80px rgba(0, 63, 134, 0.28);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--blue-night); }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 215, 0, 0.72) 0 9rem, transparent 17rem),
    radial-gradient(circle at 88% 18%, rgba(77, 180, 255, 0.56) 0 8rem, transparent 18rem),
    linear-gradient(135deg, #F7FCFF 0%, #DFF2FF 41%, #0066CC 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  opacity: 0.45;
  background-image:
    linear-gradient(120deg, transparent 0 48%, rgba(255,255,255,0.42) 49% 51%, transparent 52% 100%),
    radial-gradient(circle, rgba(255,255,255,0.38) 1px, transparent 1px);
  background-size: 140px 140px, 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body::after {
  background: linear-gradient(180deg, transparent 0%, rgba(5, 38, 79, 0.18) 100%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 44px 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.hero-copy { position: relative; }

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 102, 204, 0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.64);
  box-shadow: 0 12px 30px rgba(0, 102, 204, 0.12);
  color: var(--blue-deep);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  max-width: 740px;
  font-family: "Sora", "Outfit", sans-serif;
  font-size: clamp(3.15rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
  color: var(--blue-night);
  text-wrap: balance;
}

h1 span {
  display: inline-block;
  position: relative;
  color: var(--blue);
  text-shadow: 0 8px 0 rgba(255, 215, 0, 0.72);
}

h1 span::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -7%;
  bottom: -8%;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), rgba(255,255,255,0.2));
  z-index: -1;
  transform: rotate(-2deg);
}

.subheadline {
  max-width: 620px;
  margin: 26px 0 0;
  color: #244766;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  line-height: 1.36;
  font-weight: 600;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(620px, 100%);
  margin-top: 34px;
}

.trust-row div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 18px 45px rgba(0, 63, 134, 0.13);
  backdrop-filter: blur(14px);
}

.trust-row strong {
  display: block;
  color: var(--blue);
  font-size: 1.55rem;
  line-height: 1;
}

.trust-row small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.offer-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 4vw, 34px);
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(130%);
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 24px;
  border: 1px dashed rgba(0, 102, 204, 0.18);
  pointer-events: none;
}

.shine-strip {
  position: absolute;
  inset: -38% auto auto -40%;
  width: 92%;
  height: 38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.72), transparent);
  transform: rotate(-24deg);
  animation: gloss 5s ease-in-out infinite;
  z-index: -1;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.logo-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 19px;
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  color: var(--yellow);
  font-family: "Sora", sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(0, 102, 204, 0.3), inset 0 1px 0 rgba(255,255,255,0.32);
}

.card-header p,
.card-header h2 { margin: 0; }
.card-header p { color: var(--muted); font-weight: 800; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.04em; }
.card-header h2 { font-family: "Sora", sans-serif; color: var(--blue-night); font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -0.04em; }

.field-group { margin-bottom: 18px; }

label {
  display: block;
  margin: 0 0 8px 4px;
  color: #12375C;
  font-size: 0.94rem;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 58px;
  border: 2px solid rgba(0, 102, 204, 0.12);
  border-radius: var(--radius-md);
  padding: 0 17px;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  font: 700 1.02rem "Outfit", sans-serif;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

input::placeholder { color: #9AA9B8; font-weight: 600; }

input:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(0, 102, 204, 0.12), 0 12px 22px rgba(0, 102, 204, 0.09);
  transform: translateY(-1px);
}

.field-group.invalid input {
  border-color: #E5484D;
  box-shadow: 0 0 0 5px rgba(229, 72, 77, 0.1);
}

.error {
  display: block;
  min-height: 18px;
  margin: 6px 0 0 4px;
  color: #BF2428;
  font-size: 0.82rem;
  font-weight: 700;
}

.claim-button,
.modal-action {
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-hot));
  color: #062043;
  font: 900 1.04rem "Sora", sans-serif;
  letter-spacing: -0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 18px 34px rgba(255, 183, 0, 0.34), inset 0 1px 0 rgba(255,255,255,0.7);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.claim-button:hover,
.modal-action:hover { transform: translateY(-2px); filter: saturate(1.08); box-shadow: 0 24px 44px rgba(255, 183, 0, 0.42); }
.claim-button:active,
.modal-action:active { transform: translateY(0) scale(0.99); }
.claim-button[disabled] { cursor: wait; opacity: 0.75; transform: none; }

.privacy-note {
  margin: 16px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  text-align: center;
  color: var(--blue-deep);
  font-weight: 800;
}

.wash-orbit {
  position: absolute;
  width: min(500px, 54vw);
  aspect-ratio: 1;
  left: -12%;
  top: -18%;
  border: 2px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
}

.wash-orbit span {
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 0 22px rgba(255,255,255,0.6);
}

.wash-orbit span:nth-child(1) { width: 72px; height: 26px; right: 12%; top: 18%; transform: rotate(-18deg); }
.wash-orbit span:nth-child(2) { width: 44px; height: 44px; left: 8%; bottom: 22%; background: rgba(255,215,0,0.72); }
.wash-orbit span:nth-child(3) { width: 90px; height: 32px; right: 20%; bottom: 10%; transform: rotate(24deg); }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 38, 79, 0.58);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.modal-backdrop.is-open { opacity: 1; visibility: visible; }

.modal-card {
  position: relative;
  width: min(480px, 100%);
  padding: 34px 28px 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 215, 0, 0.2), transparent 34%),
    #fff;
  text-align: center;
  box-shadow: 0 38px 90px rgba(0,0,0,0.28);
  transform: translateY(18px) scale(0.96);
  transition: transform 260ms cubic-bezier(.2,.9,.2,1.25);
}

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

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-night);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.modal-icon { font-size: 3.8rem; filter: drop-shadow(0 12px 16px rgba(255,183,0,0.35)); }
.modal-card h2 { margin: 12px 0 10px; font-family: "Sora", sans-serif; font-size: clamp(1.8rem, 8vw, 2.45rem); letter-spacing: -0.06em; color: var(--blue); }
.modal-card p { margin: 0 auto 10px; max-width: 360px; color: #294B6C; font-size: 1.08rem; line-height: 1.45; font-weight: 650; }
.modal-code-note { color: var(--blue-night) !important; font-weight: 900 !important; }
.modal-action { margin-top: 14px; }

#fallbackConfetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 30;
}

.reveal { animation: riseIn 700ms cubic-bezier(.2,.9,.2,1) both; }
.reveal-delay { animation-delay: 140ms; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gloss {
  0%, 45% { transform: translateX(-10%) rotate(-24deg); opacity: 0; }
  60% { opacity: 0.8; }
  100% { transform: translateX(220%) rotate(-24deg); opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(18px,14px,0) rotate(6deg); }
}

@media (max-width: 860px) {
  .page-shell { width: min(100% - 24px, 620px); align-items: start; padding: 26px 0; }
  .hero { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { text-align: center; }
  .eyebrow { margin-inline: auto; }
  .subheadline { margin-inline: auto; }
  .trust-row { margin-inline: auto; }
  .wash-orbit { width: 420px; left: -210px; top: -140px; opacity: 0.7; }
}

@media (max-width: 520px) {
  .page-shell { width: min(100% - 18px, 440px); padding: 18px 0; }
  h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .subheadline { font-size: 1.12rem; }
  .trust-row { grid-template-columns: 1fr; gap: 10px; }
  .trust-row div { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; }
  .trust-row small { margin-top: 0; }
  .offer-card { border-radius: 26px; padding: 22px 18px; }
  .card-header { align-items: flex-start; }
  input { min-height: 56px; }
}

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