:root {
  --blue: #275fe6;
  --blue-dark: #0a0f24;
  --gold: #ffb52e;
  --green: #2ecc71;
  --bg-light: #f7f8fc;
  --card-shadow: 0 25px 65px rgba(10, 15, 36, 0.17);
}

.content-stack {
  background: #fff;
  border-radius: 32px 32px 0 0;
  margin-top: -1rem;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section:last-child {
  margin-bottom: 0;
}

.section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  position: relative;
}

.section h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  margin-top: 0.5rem;
}

.section p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

#why-claim {
  max-width: 900px;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

#why-claim .section-content {
  background: #fff;
  box-shadow: var(--card-shadow);
}

#social-proof {
  max-width: 900px;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
  padding: clamp(2.25rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
}

#how-it-works {
  max-width: 900px;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

#guarantee,
#trust {
  max-width: 900px;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  background: var(--bg-light);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.section-highlight {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(10, 15, 36, 0.08);
}

.section-highlight ul {
  padding-left: 1.25rem;
  margin: 1rem 0;
  line-height: 1.5;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.dot-requirements {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  line-height: 1.6;
}

#social-proof .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(10, 15, 36, 0.07);
  min-height: 170px;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.6;
}

.testimonial-card span {
  display: block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--blue-dark);
}

.dot-proof {
  margin: 2rem 0 1rem;
  border-radius: 16px;
  height: 220px;
  border: 2px dashed rgba(39, 95, 230, 0.3);
  background: repeating-linear-gradient(135deg, rgba(39, 95, 230, 0.04), rgba(39, 95, 230, 0.04) 20px, rgba(39, 95, 230, 0.08) 20px, rgba(39, 95, 230, 0.08) 40px);
}

.logo-section {
  margin: 2.5rem 0 1.5rem;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 0 15px 40px rgba(10, 15, 36, 0.04);
}

.logo-heading {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-dark);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.airline-logo {
  max-width: 100px;
  height: auto;
  transition: all 0.3s ease;
}

.airline-logo:hover {
  transform: scale(1.05);
}

.dot-logo-wrapper {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(10, 15, 36, 0.1);
}

.dot-heading {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dot-logo {
  max-width: 200px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.stats-badge {
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue);
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(39, 95, 230, 0.05);
  border-radius: 12px;
}

#how-it-works .steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.step-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(10, 15, 36, 0.06);
  box-shadow: 0 15px 40px rgba(10, 15, 36, 0.04);
  border-top: 3px solid rgba(39, 95, 230, 0.45);
}

.step-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(39, 95, 230, 0.1);
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.reassurance {
  text-align: center;
  font-weight: 600;
  margin-top: 1.5rem;
}

#how-it-works .reassurance {
  color: #fff;
}

.guarantee-card {
  background: #fffdf6;
  border: 1px solid rgba(255, 181, 46, 0.4);
  box-shadow: 0 25px 60px rgba(255, 181, 46, 0.2);
  border-radius: 22px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  border-top: 4px solid var(--gold);
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.trust-list li {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(10, 15, 36, 0.05);
}

.inline-logo {
  display: inline-block;
  height: 1.2em;
  width: auto;
  vertical-align: middle;
  margin: 0 0.25rem;
}

.final-cta {
  background: var(--blue-dark);
  color: #fff;
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.final-cta .cta {
  margin-top: 1rem;
  background: #fff;
  color: var(--blue-dark);
}

.final-cta .microcopy {
  font-size: 0.95rem;
  opacity: 0.9;
}

@media (max-width: 640px) {
  .content-stack {
    border-radius: 24px 24px 0 0;
    padding: 2.25rem 1.25rem 3rem;
  }

  .section {
    margin-bottom: 2.5rem;
  }

  .section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .section-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .section-highlight,
  .testimonial-card,
  .step-card,
  .trust-list li {
    padding: 1.25rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .testimonial-card {
    min-height: auto;
  }

  .logo-section {
    margin: 2rem 0 1rem;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0;
  }

  .airline-logo {
    max-width: 80px;
  }

  .dot-logo-wrapper {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .dot-logo {
    max-width: 150px;
  }

  .stats-badge {
    font-size: 1rem;
    padding: 0.875rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-card h3 {
    font-size: 1.1rem;
  }

  .guarantee-card {
    padding: 1.5rem;
  }

  .guarantee-card h2 {
    font-size: 1.35rem;
  }

  .trust-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .final-cta {
    padding: 2rem 1.5rem;
  }

  .final-cta h2 {
    font-size: 1.5rem;
  }

  .final-cta .cta {
    width: 100%;
    padding: 1rem 1.5rem;
  }

  .dot-proof {
    height: 180px;
  }
}

* {
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #2563eb;
  color: var(--blue-dark);
  overflow-x: hidden;
}

body.modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  left: 0;
  right: 0;
}

.gradient-bg {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  padding: 2rem 1.5rem 1rem;
  text-align: center;
  color: #fff;
}

.hero .logo {
  background: white;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  margin: 0 auto 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: inline-block;
}

.hero .logo img {
  display: block;
  max-width: 450px;
  width: 100%;
  height: auto;
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero .subhead {
  font-size: 1.125rem;
  opacity: 0.9;
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.trust-banner {
  margin: 1.5rem auto;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.cta {
  background: linear-gradient(120deg, #ffb52e, #ff9c2e);
  color: #0b0e19;
  border: none;
  border-radius: 999px;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3);
}

.wizard-section {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  overflow-y: auto;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease-out;
  -webkit-overflow-scrolling: touch;
}

.wizard-section.active {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.wizard-card {
  width: min(100%, 640px);
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  display: none;
  position: relative;
  margin: auto;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  overflow-x: hidden;
}

.wizard-content,
#wizardContent form {
  width: 100%;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-card.active {
  display: block;
}

.close-wizard {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: #666;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  transition: color 0.2s ease;
  z-index: 10;
}

.close-wizard:hover {
  color: #000;
}

/* Mobile optimization */
@media (max-width: 640px) {
  .wizard-section {
    align-items: flex-start;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top) + 0.5rem) max(0.75rem, env(safe-area-inset-right) + 0.5rem) max(1rem, env(safe-area-inset-bottom) + 0.5rem) max(0.75rem, env(safe-area-inset-left) + 0.5rem);
  }
  
  .wizard-card {
    border-radius: 16px;
    padding: 1.25rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    width: min(100%, 480px);
    transform: translate3d(0, 0, 0);
  }

  #wizardContent form input,
  #wizardContent form select,
  #wizardContent form textarea {
    font-size: 0.95rem;
    padding: 0.85rem 0.9rem;
  }

  #wizardContent form input[type="date"] {
    max-width: 280px;
    width: 100%;
  }

  #wizardContent form {
    gap: 1rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions button {
    width: 100%;
  }
}

@supports (padding: max(0px)) {
  .wizard-section {
    padding-top: max(1.5rem, env(safe-area-inset-top) + 1rem);
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom) + 1rem);
    padding-left: max(1rem, env(safe-area-inset-left) + 0.75rem);
    padding-right: max(1rem, env(safe-area-inset-right) + 0.75rem);
  }
}

.wizard-header {
  margin-bottom: 1.75rem;
}

#wizardHeading {
  margin: 0.35rem 0 0;
  font-size: 1.75rem;
}

#wizardContent form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

label {
  font-weight: 600;
  color: var(--blue-dark);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 2px solid #e5e7eb;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="date"] {
  font-size: 0.95rem;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(39, 95, 230, 0.15);
}

.helper {
  font-size: 0.9rem;
  color: #6b7280;
}

.error {
  color: #e11d48;
  font-size: 0.9rem;
  margin-top: -0.5rem;
}

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.actions button {
  border-radius: 16px;
  border: none;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.actions .primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 25px rgba(39, 95, 230, 0.35);
}

.actions .secondary {
  background: transparent;
  color: var(--blue);
}

.micro-trust {
  font-size: 0.85rem;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(39, 95, 230, 0.1);
  color: var(--blue);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid rgba(39, 95, 230, 0.2);
  border-top-color: var(--blue);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.eligibility {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eligibility-intro {
  text-align: left;
}

.eligibility-intro .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.4rem;
}

.eligibility-intro h3 {
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
}

.summary-box {
  background: var(--bg-light);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.summary-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.06em;
}

.summary-value {
  font-weight: 700;
  color: var(--blue-dark);
}

.trust-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-stack li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(10, 15, 36, 0.05);
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-weight: 600;
}

.trust-stack li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.eligibility-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
}

.pay-btn {
  width: 100%;
  padding: 1.1rem;
  border-radius: 18px;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(120deg, #ffb52e, #ff962e);
  color: #0e0e10;
  cursor: pointer;
  box-shadow: 0 18px 35px rgba(255, 151, 46, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pay-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 480px) {
  .summary-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .summary-value {
    font-size: 1rem;
  }
}

@media (min-width: 640px) {
  .eligibility {
    text-align: left;
  }

  .trust-stack {
    flex-direction: row;
  }

  .trust-stack li {
    width: fit-content;
  }

  .eligibility-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .eligibility-actions .helper {
    margin: 0;
  }
}

.footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  padding: 2rem 1rem 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer-links span {
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 640px) {
  .wizard-card {
    padding: 1.5rem;
  }

  .actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .actions .secondary {
    text-align: center;
  }
}
