.quote-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 72% 41%, #17226a 0, transparent 25%), #030914;
}

.quote-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  pointer-events: none;
}

.quote-glow-one { top: 135px; left: -150px; width: 330px; height: 350px; background: #6630cf; opacity: .34; }
.quote-glow-two { right: -120px; bottom: -130px; width: 430px; height: 430px; background: #1363c4; opacity: .29; }

.quote-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .83fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 50px 6vw 85px;
}

.quote-copy h1 {
  margin: 12px 0 22px;
  font: 700 clamp(48px, 5vw, 76px)/.98 Manrope, sans-serif;
  letter-spacing: -4px;
}

.quote-copy h1 span {
  background: linear-gradient(105deg, #c35aff, #388fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.quote-lead { max-width: 440px; color: #c0c7d8; font-size: 16px; line-height: 1.65; }
.quote-points { display: grid; gap: 12px; margin-top: 34px; color: #dce1ef; font-size: 13px; }
.quote-points span::first-letter { color: #a65aff; }

.quote-form {
  padding: 32px;
  border: 1px solid rgba(124, 142, 201, .3);
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(18, 30, 61, .94), rgba(8, 18, 39, .94));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .27);
}

.form-heading { display: flex; gap: 15px; align-items: center; margin-bottom: 26px; }
.form-number { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #7869e1; border-radius: 50%; color: #a88bff; font-size: 12px; }
.form-heading h2 { margin: 0 0 3px; font: 700 18px Manrope, sans-serif; }
.form-heading p { margin: 0; color: #aeb8cc; font-size: 11px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-grid label { display: grid; gap: 8px; color: #d9deec; font-size: 11px; font-weight: 600; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(131, 148, 197, .27); border-radius: 8px; outline: none; color: #f7f8ff; font: 12px Inter, sans-serif; background: rgba(4, 11, 28, .56); transition: border-color .2s, box-shadow .2s; }
.form-grid select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9a8fff 50%), linear-gradient(135deg, #9a8fff 50%, transparent 50%); background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: #8b6df2; box-shadow: 0 0 0 3px rgba(139, 109, 242, .13); }
.form-button { margin-top: 24px; }
.form-note { margin: 15px 0 0; color: #8f9ab2; font-size: 9px; line-height: 1.5; }

.form-progress { height: 4px; margin-bottom: 12px; overflow: hidden; border-radius: 999px; background: rgba(145, 159, 206, .18); }
.form-progress span { display: block; width: 25%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ae5dff, #338eff); transition: width .3s ease; }
.form-status { margin: 0 0 24px; color: #93a0bc; font-size: 10px; }
.form-status b { color: #b28cff; }
.form-step { display: none; min-width: 0; padding: 0; margin: 0; border: 0; }
.form-step.is-active { display: block; animation: step-in .28s ease both; }
.form-step legend { display: flex; gap: 15px; align-items: center; width: 100%; padding: 0; margin: 0 0 24px; }
.form-step legend > span:last-child { display: grid; gap: 4px; }
.form-step legend strong { font: 700 18px Manrope, sans-serif; }
.form-step legend small { color: #aeb8cc; font-size: 11px; line-height: 1.45; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.choice-card { position: relative; display: grid; gap: 4px; min-height: 110px; padding: 15px; cursor: pointer; border: 1px solid rgba(131, 148, 197, .25); border-radius: 10px; background: rgba(4, 11, 28, .42); transition: border-color .2s, background .2s, transform .2s; }
.choice-card:hover { transform: translateY(-2px); border-color: #7775d6; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card:has(input:checked) { border-color: #9b75ff; background: rgba(104, 70, 194, .18); box-shadow: 0 0 0 3px rgba(139, 109, 242, .11); }
.choice-icon { display: grid; width: 27px; height: 27px; place-items: center; margin-bottom: 4px; border-radius: 7px; color: #b58cff; background: rgba(139, 100, 241, .16); font-size: 15px; }
.choice-card b { color: #f1f3fb; font-size: 12px; }
.choice-card small { color: #aab4c9; font-size: 9px; line-height: 1.4; }
.option-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option-list label, .inline-question label, .consent { display: flex; gap: 9px; align-items: center; padding: 12px; cursor: pointer; border: 1px solid rgba(131, 148, 197, .22); border-radius: 8px; color: #d9deec; font-size: 11px; background: rgba(4, 11, 28, .36); }
.option-list input, .inline-question input, .consent input { accent-color: #9a72ff; }
.inline-question { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 19px; margin-top: 19px; border-top: 1px solid rgba(131, 148, 197, .17); }
.inline-question p { width: 100%; margin: 0 0 2px; color: #f0f2fa; font-size: 12px; font-weight: 600; }
.inline-question label { padding: 9px 11px; }
.consent { margin-top: 18px; padding: 0; border: 0; background: transparent; align-items: flex-start; color: #aeb8cc; font-size: 10px; line-height: 1.5; }
.consent input { margin-top: 1px; }
.form-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }
.button-back { display: none; border: 1px solid #5552ad; background: transparent; box-shadow: none; }
.form-submit { display: none; }
.form-actions .button:last-child { margin-left: auto; }
.quote-form.is-step-two .button-back, .quote-form.is-step-three .button-back, .quote-form.is-step-four .button-back { display: inline-flex; }
.quote-form.is-step-four [data-next] { display: none; }
.quote-form.is-step-four .form-submit { display: inline-flex; }
@keyframes step-in { from { opacity: 0; transform: translateX(9px); } to { opacity: 1; transform: none; } }

@media (max-width: 850px) {
  .quote-hero { grid-template-columns: 1fr; gap: 35px; min-height: auto; padding: 50px 0 65px; }
  .quote-copy h1 { font-size: 56px; }
}

@media (max-width: 520px) {
  .quote-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .choice-grid, .option-list { grid-template-columns: 1fr; }
  .quote-copy h1 { font-size: 46px; letter-spacing: -3px; }
}



.quote-result[hidden] {
    display: none !important;
}

.quote-result {
    width: 100%;
    max-width: 570px;
    margin: 40px auto;
    padding: 48px 36px;
    text-align: center;
    background: linear-gradient(145deg, #101b38, #091225);
    border: 1px solid rgba(130, 150, 220, 0.3);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
    animation: quoteResultIn 0.35s ease both;
}

.quote-result-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border: 1px solid rgba(255, 100, 120, 0.45);
    border-radius: 50%;
    background: rgba(255, 70, 100, 0.1);
    color: #ff7188;
    font-size: 34px;
    font-weight: 800;
}

.quote-result .section-kicker {
    margin-bottom: 12px;
    color: #ff8295;
}

.quote-result h2 {
    margin-bottom: 14px;
    color: #f7f8ff;
    font-size: clamp(26px, 4vw, 36px);
}

.quote-result > p:not(.section-kicker) {
    max-width: 410px;
    margin: 0 auto 28px;
    color: #aeb9d2;
    line-height: 1.8;
}

.quote-result .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    text-decoration: none;
    border-radius: 999px;
    background: linear-gradient(100deg, #a855f7, #3b82f6);
    color: #fff;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-result .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(100, 90, 255, 0.25);
}

@keyframes quoteResultIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .quote-result {
        padding: 36px 22px;
    }
}


.quote-hero > .quote-result {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 650px;
    padding: 48px 32px;
    text-align: center;
    border-radius: 24px;
}

.quote-result .quote-result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 32px;
}

.quote-result-success .quote-result-icon {
    border-color: rgba(74, 222, 128, 0.45);
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
}

.quote-result-success .section-kicker {
    color: #4ade80;
}

.quote-result-error .quote-result-icon {
    border-color: rgba(248, 113, 113, 0.45);
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
}

.quote-result-error .section-kicker {
    color: #f87171;
}

.quote-result h2 {
    margin: 12px 0 16px;
}

.quote-result p:not(.section-kicker) {
    margin-bottom: 28px;
    line-height: 1.7;
}

.quote-result .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 6px;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 600px) {
    .quote-hero > .quote-result {
        padding: 32px 20px;
    }

    .quote-result .button {
        width: 100%;
        margin: 6px 0;
    }
}

