:root {
  --qex-blue: #4ba8dc;
  --qex-blue-dark: #2b77b1;
  --qex-pink: #f08f96;
  --qex-pink-dark: #d86e76;
  --qex-sand: #f8f6f8;
  --qex-ink: #243443;
  --qex-muted: #66717b;
  --qex-border: rgba(75, 168, 220, 0.14);
  --qex-shadow: 0 20px 50px rgba(36, 52, 67, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at top left, rgba(75, 168, 220, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(240, 143, 150, 0.26), transparent 24%),
    linear-gradient(180deg, #f8fcff 0%, #fff7f8 100%);
  color: var(--qex-ink);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 16px 80px;
}

.page-wrapper {
  width: 100%;
  max-width: 1280px;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(18px, 5vh, 54px);
}

.logo {
  width: min(260px, 70vw);
  height: auto;
}

.card {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px;
  box-shadow: var(--qex-shadow);
  padding: 28px 18px;
}

.back-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--qex-blue-dark);
  background: rgba(75, 168, 220, 0.1);
  transition: transform 0.2s ease, background 0.2s ease;
}

.back-btn:hover {
  transform: translateX(-3px);
  background: rgba(75, 168, 220, 0.18);
}

.card-title {
  font-size: clamp(1.7rem, 2.4vw, 2.7rem);
  text-align: center;
  margin-bottom: 8px;
}

.card-subtitle {
  text-align: center;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  color: var(--qex-muted);
  max-width: 760px;
  margin: 0 auto 30px;
}

.question-text {
  font-size: clamp(1.18rem, 2vw, 1.85rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}

.options-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.choice-btn {
  background: linear-gradient(135deg, var(--qex-blue) 0%, var(--qex-pink) 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px 18px;
  font-size: 1.02rem;
  cursor: pointer;
  width: 100%;
  max-width: 560px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 10px 24px rgba(75, 168, 220, 0.18);
}

.choice-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(75, 168, 220, 0.22);
}

.choice-btn.primary {
  max-width: 380px;
  margin-inline: auto;
}

.choice-btn.secondary {
  width: auto;
  min-width: 220px;
  background: linear-gradient(135deg, var(--qex-blue-dark) 0%, var(--qex-pink-dark) 100%);
}

.step-indicator {
  margin-top: 24px;
  text-align: center;
  color: var(--qex-muted);
  font-size: 0.95rem;
}

.result-wrap {
  display: grid;
  gap: 18px;
}

.hero-gradient {
  background:
    linear-gradient(135deg, rgba(75, 168, 220, 0.08) 0%, rgba(240, 143, 150, 0.12) 100%),
    #fff;
}

.result-hero,
.result-card,
.pricing-bubble {
  background: #fff;
  border: 1px solid var(--qex-border);
  border-radius: 24px;
  padding: 18px;
}

.result-product {
  display: grid;
  gap: 16px;
  align-items: center;
}

.result-product img {
  width: 100%;
  max-width: 440px;
  height: auto;
  margin-inline: auto;
  border-radius: 18px;
  background: #fff;
}

.eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--qex-blue-dark);
  margin-bottom: 8px;
}

.result-model h3,
.result-card h4,
.pricing-bubble h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.result-model p,
.result-card p,
.pricing-bubble p {
  color: #40515f;
  line-height: 1.5;
}

.result-grid {
  display: grid;
  gap: 16px;
}

.result-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--qex-ink);
  background: rgba(75, 168, 220, 0.08);
  border: 1px solid rgba(75, 168, 220, 0.16);
}

.badge.accent {
  background: rgba(240, 143, 150, 0.12);
  border-color: rgba(240, 143, 150, 0.22);
}

.result-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.result-list {
  padding-left: 18px;
  margin-top: 8px;
}

.result-list li + li {
  margin-top: 8px;
}

.spec-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(75, 168, 220, 0.12);
}

.spec-list li span {
  color: var(--qex-muted);
}

.small-text {
  margin-top: 14px;
}

.result-warning {
  margin-top: 18px;
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 244, 245, 0.95);
  border: 1px solid rgba(240, 143, 150, 0.25);
}

.result-warning-blocked {
  background: rgba(255, 243, 243, 0.96);
}

.wide-card {
  grid-column: 1 / -1;
}

.pricing-bubble {
  background: linear-gradient(135deg, rgba(75, 168, 220, 0.08) 0%, rgba(240, 143, 150, 0.12) 100%);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.98rem;
}

.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 10px;
  border-top: 1px solid rgba(36, 52, 67, 0.1);
}

.pricing-note {
  color: #40515f;
}

.compact-list {
  margin-top: 10px;
}

.contact-card .result-cta {
  justify-content: center;
}

.choice-btn:focus,
.back-btn:focus {
  outline: 2px solid rgba(75, 168, 220, 0.4);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .card {
    padding: 46px 48px;
  }

  .choice-btn {
    width: auto;
    min-width: 260px;
    padding: 18px 28px;
  }

  .options-container {
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .card {
    padding: 58px 70px;
  }

  .result-product {
    grid-template-columns: minmax(320px, 420px) 1fr;
    gap: 26px;
  }

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

@media (max-width: 480px) {
  .card {
    padding: 24px 14px;
    border-radius: 24px;
  }

  .card-title {
    padding-top: 30px;
  }

  .back-btn {
    top: 10px;
    left: 10px;
  }
}
