.qev-page {
  --qev-canvas: #f4f2ee;
  --qev-ink: #1a1a1a;
  --qev-muted: #555;
  --qev-line: rgba(0, 0, 0, 0.07);
  --qev-accent: #54435f;
  --qev-yellow: #f2c200;
  --qev-blue: #1789d1;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow-x: clip;
}

.qev-page [hidden] {
  display: none !important;
}

.qev-hero {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #000;
}

.qev-hero-video {
  width: 100%;
  height: auto;
  display: block;
}

.qev-title {
  background: var(--qev-canvas);
  color: var(--qev-ink);
  text-align: center;
  padding: 72px 24px 24px;
}

.qev-title-logo {
  margin: 0 auto;
  width: min(360px, 70vw);
}

.qev-title-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.qev-spin {
  background: var(--qev-canvas);
  padding: 8px 24px 40px;
}

.qev-spin-stage {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #c9ccd1;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.qev-spin-stage.is-dragging {
  cursor: grabbing;
}

.qev-spin-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.qev-spin-floor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.qev-spin-track,
.qev-spin-tick,
.qev-spin-arc {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.qev-spin-track {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.5;
}

.qev-spin-track--inner {
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 1;
}

.qev-spin-tick {
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1;
}

.qev-spin-tick--major {
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 2;
}

.qev-spin-arc {
  stroke: var(--qev-accent);
  stroke-width: 4;
  stroke-linecap: round;
  opacity: 0.9;
}

.qev-spin-glow {
  opacity: 0.6;
  transition: opacity 0.5s ease;
}

.qev-spin-stage.is-moving .qev-spin-glow {
  opacity: 1;
}

.qev-spin-badge {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--qev-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: opacity 0.4s ease;
}

.qev-spin-stage.has-spun .qev-spin-badge {
  opacity: 0;
}

.qev-variants {
  background: var(--qev-canvas);
  padding: 8px 24px 24px;
}

.qev-variants-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.qev-variant {
  position: relative;
  overflow: hidden;
  padding: 36px 40px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.qev-variant::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--qev-accent);
}

.qev-variant:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 20px 40px rgba(0, 0, 0, 0.09);
}

.qev-variant-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--qev-ink);
}

.qev-variant-label {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
}

.qev-variant-price {
  margin-top: 4px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--qev-accent);
  font-variant-numeric: tabular-nums;
}

.qev-price-note {
  margin-top: 6px;
  font-size: 13px;
  color: #888;
}

.qev-features {
  background: var(--qev-canvas);
  padding: 56px 24px 40px;
}

.qev-feature-row {
  max-width: 1200px;
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}

.qev-feature-row--reverse .qev-feature-media {
  order: 2;
}

.qev-feature-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.qev-feature-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.qev-feature-row:hover .qev-feature-media img {
  transform: scale(1.03);
}

.qev-compare {
  background: #fff;
  padding: 104px 24px 112px;
}

.qev-compare-inner {
  max-width: 980px;
  margin: 0 auto;
}

.qev-compare-title {
  margin: 0 0 56px;
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--qev-ink);
}

.qev-compare-models,
.qev-compare-row,
.qev-compare-sticky {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
}

.qev-compare-model {
  text-align: center;
}

.qev-compare-name {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--qev-ink);
}

.qev-compare-price {
  margin-top: 10px;
  font-size: 17px;
  color: var(--qev-muted);
}

.qev-compare-price span {
  margin-right: 6px;
}

.qev-compare-cta {
  display: inline-block;
  margin-top: 22px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--qev-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.qev-compare-cta:hover {
  color: #fff;
  background: #2b2033;
  transform: translateY(-1px);
}

.qev-compare-sticky {
  position: sticky;
  top: 66px;
  z-index: 2;
  margin-top: 8px;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--qev-line);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--qev-ink);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.qev-compare-sticky.is-visible {
  opacity: 1;
  transform: none;
}

.qev-compare-group {
  margin-top: 64px;
}

.qev-compare-group-title {
  margin: 0 0 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d2d2d7;
  font-size: 28px;
  font-weight: 800;
  color: var(--qev-ink);
}

.qev-compare-row {
  padding: 28px 0;
}

.qev-compare-row + .qev-compare-row {
  border-top: 1px solid var(--qev-line);
}

.qev-compare-cell {
  min-width: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.qev-compare-value {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--qev-ink);
}

.qev-compare-caption {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #86868b;
}

.qev-compare-cell.is-without .qev-compare-value {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.35em;
  font-size: 0;
}

.qev-compare-cell.is-without .qev-compare-value::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: #b0b0b5;
}

.qev-compare-note {
  margin: 56px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #86868b;
}

.qev-gallery {
  background: var(--qev-canvas);
  padding: 0 0 88px;
}

.qev-gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  scrollbar-width: none;
}

.qev-gallery-track::-webkit-scrollbar {
  display: none;
}

.qev-gallery-item {
  flex: 0 0 min(560px, 80vw);
  scroll-snap-align: center;
  border-radius: 14px;
  overflow: hidden;
}

.qev-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.qev-feature-number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--qev-accent);
  margin-bottom: 14px;
}

.qev-feature-title {
  margin: 0 0 28px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--qev-ink);
}

.qev-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.qev-feature-list li {
  position: relative;
  padding: 13px 0 13px 22px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--qev-muted);
  border-top: 1px solid var(--qev-line);
}

.qev-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 8px;
  height: 2px;
  background: var(--qev-accent);
}

.qev-feature-highlight {
  font-weight: 700;
  color: var(--qev-ink);
  background: linear-gradient(transparent 58%, rgba(242, 194, 0, 0.55) 58%);
}

.qev-ownership {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2b2033 0%, #54435f 55%, #7a6a82 100%);
  color: #fff;
  text-align: center;
  padding: 104px 24px 112px;
}

.qev-ownership::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(183, 171, 187, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(0, 0, 0, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.qev-ownership-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.qev-ownership .qev-feature-number {
  color: #d6cbdc;
}

.qev-ownership-title {
  margin: 0 0 64px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.qev-warranty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qev-warranty {
  padding: 8px 32px;
}

.qev-warranty + .qev-warranty {
  border-left: 1px solid rgba(214, 203, 220, 0.35);
}

.qev-warranty-figure {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 0.85;
  margin-bottom: 22px;
}

.qev-warranty-num {
  font-size: 168px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.qev-warranty-unit {
  margin: 14px 0 0 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.qev-warranty-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  background: #b7abbb;
  color: #2b2033;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.qev-warranty-detail {
  font-size: 18px;
  font-weight: 700;
}

.qev-warranty-note {
  margin-top: 2px;
  font-size: 14px;
  color: #d6cbdc;
}

.qev-page-note {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 24px 40px;
  text-align: center;
  font-size: 12px;
  color: #999;
}

.qev-brochure-btn {
  text-align: center;
  text-decoration: none;
  margin-top: 12px;
}

.qev-brochure-btn:hover {
  color: #fff;
}

.qev-result-btn {
  max-width: 300px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .qev-feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 64px;
  }

  .qev-feature-row--reverse .qev-feature-media {
    order: 0;
  }
}

@media (max-width: 768px) {
  .qev-title {
    padding: 48px 16px 16px;
  }

  .qev-title-logo {
    width: min(260px, 70vw);
  }

  .qev-variants {
    padding: 0 16px 16px;
  }

  .qev-variants-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .qev-variant {
    padding: 26px 24px;
  }

  .qev-variant-price {
    font-size: 34px;
  }

  .qev-features {
    padding: 32px 16px 16px;
  }

  .qev-gallery {
    padding-bottom: 56px;
  }

  .qev-compare {
    padding: 64px 16px 72px;
  }

  .qev-compare-title {
    font-size: 32px;
    margin-bottom: 36px;
  }

  .qev-compare-models,
  .qev-compare-row,
  .qev-compare-sticky {
    column-gap: 16px;
  }

  .qev-compare-name {
    font-size: 22px;
  }

  .qev-compare-price {
    font-size: 14px;
  }

  .qev-compare-price span {
    display: block;
    margin: 0 0 2px;
  }

  .qev-compare-cta {
    padding: 9px 14px;
    font-size: 12px;
  }

  .qev-compare-sticky {
    top: 56px;
    font-size: 13px;
  }

  .qev-compare-group-title {
    font-size: 22px;
  }

  .qev-compare-row {
    padding: 20px 0;
  }

  .qev-compare-value {
    font-size: 15px;
  }

  .qev-compare-caption {
    font-size: 11px;
  }

  .qev-spin {
    padding: 0 16px 24px;
  }

  .qev-spin-stage {
    border-radius: 12px;
  }

  .qev-feature-title {
    font-size: 21px;
  }

  .qev-feature-list li {
    font-size: 15px;
  }

  .qev-ownership {
    padding: 72px 16px 80px;
  }

  .qev-ownership-title {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .qev-warranty-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .qev-warranty + .qev-warranty {
    border-left: none;
    border-top: 1px solid rgba(214, 203, 220, 0.35);
    padding-top: 40px;
  }

  .qev-warranty-num {
    font-size: 120px;
  }

  .qev-warranty-unit {
    font-size: 24px;
    margin-top: 10px;
  }
}

.qev-body {
  background: var(--qev-canvas);
  position: relative;
}


/* COLOR SELECTOR */
.qev-color-section {
  padding: 60px 24px 40px;
  text-align: center;
  position: relative;
}

#qev-form-wrapper {
  scroll-margin-top: 96px;
}

.qev-variant-picker {
  margin-bottom: 40px;
  text-align: center;
}

.qev-variant-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.qev-variant-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 12px;
  border: 2px solid #d6d3ce;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.qev-variant-option:hover {
  border-color: #b7abbb;
}

.qev-variant-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.qev-variant-option-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--qev-ink);
}

.qev-variant-option-price {
  font-size: 14px;
  color: var(--qev-muted);
}

.qev-variant-option:has(input:checked) {
  border-color: var(--qev-accent);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: scale(1.03);
}

.qev-variant-option:has(input:checked) .qev-variant-option-price {
  color: var(--qev-accent);
  font-weight: 700;
}

.qev-variant-option:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(84, 67, 95, 0.25);
}

.qev-color-inner {
  width: min(1000px, calc(100vw - 32px));
  margin: 0 0 40px calc(50% - min(500px, 50vw - 16px));
  position: relative;
  z-index: 1;
}

.qev-color-heading {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px;
  text-align: center;
}

.qev-color-display {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  margin-bottom: 28px;
}

.qev-color-car {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.qev-color-car.active {
  opacity: 1;
  transform: scale(1);
}

.qev-color-thumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 14px 0;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.qev-color-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  opacity: 0.6;
  transform: scale(0.92);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.qev-color-thumb:hover {
  opacity: 0.9;
}

.qev-color-thumb img {
  width: 120px;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.qev-color-thumb:hover img {
  transform: scale(1.08);
}

.qev-color-thumb.active {
  opacity: 1;
  transform: scale(1.22);
  border-color: var(--qev-accent);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.qev-color-name {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.3px;
}

.qev-color-thumb.active .qev-color-name {
  color: var(--qev-accent);
}

.qev-color-disclaimer {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: 12px;
  color: #999;
  margin: 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .qev-color-section {
    padding: 40px 16px 24px;
  }

  .qev-color-thumb img {
    width: 58px;
  }

  .qev-color-thumbs {
    gap: 10px;
    padding: 8px 0;
  }

  .qev-color-thumb.active {
    transform: scale(1.12);
  }

  .qev-color-thumb {
    padding: 6px 8px;
  }

  .qev-color-name {
    font-size: 10px;
  }
}

.qev-cta-section,
.qev-form-section,
.qev-color-section {
  position: relative;
}

/* GET IN THE Q SECTION */
.qev-cta-section {
  padding: 60px 24px 40px;
  text-align: center;
}

.qev-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.qev-cta-heading {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 24px;
  letter-spacing: -0.3px;
}


/* FORM SECTION */
.qev-form-section {
  padding: 20px 24px 80px;
}

.qev-form-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.qev-form-group {
  margin-bottom: 28px;
}

.qev-label {
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.qev-required {
  color: #e53935;
}

.qev-input,
.qev-select {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: #333;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.qev-input::placeholder {
  color: #aaa;
}

.qev-input:focus,
.qev-select:focus {
  border-color: var(--qev-accent);
  box-shadow: 0 0 0 3px rgba(84, 67, 95, 0.16);
  background: rgba(255, 255, 255, 0.95);
}

.qev-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

.qev-errors {
  background: #fce4ec;
  color: #c62828;
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}

.qev-form-footer {
  margin-top: 16px;
}

.qev-disclaimer {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 24px;
}

.qev-submit-btn {
  display: block;
  width: 100%;
  padding: 16px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  background: #1a1a1a;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.qev-submit-btn:hover {
  background: #333;
  transform: translateY(-1px);
}

.qev-submit-btn:active {
  transform: translateY(0);
}

/* HERO ENTRANCE */
.anim-hero {
  animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.anim-hero .qev-hero-video {
  animation: heroZoom 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroReveal {
  0% { opacity: 0; clip-path: inset(0 0 100% 0); }
  100% { opacity: 1; clip-path: inset(0 0 0% 0); }
}

@keyframes heroZoom {
  0% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ACCENT DIVIDER LINE */
.qev-accent-line {
  width: 60px;
  height: 3px;
  background: var(--qev-accent);
  margin: 0 auto 28px;
  border-radius: 2px;
}

/* SCROLL ENTRANCE ANIMATIONS */
.anim-el {
  will-change: opacity, transform;
}

/* fade-up */
.anim-el[data-anim="fade-up"] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-el[data-anim="fade-up"].visible {
  opacity: 1;
  transform: translateY(0);
}

/* slide-left */
.anim-el[data-anim="slide-left"] {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-el[data-anim="slide-left"].visible {
  opacity: 1;
  transform: translateX(0);
}

/* slide-right */
.anim-el[data-anim="slide-right"] {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-el[data-anim="slide-right"].visible {
  opacity: 1;
  transform: translateX(0);
}

/* scale-x (accent line) */
.anim-el[data-anim="scale-x"] {
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-el[data-anim="scale-x"].visible {
  transform: scaleX(1);
}

/* FORM DISABLED / LOADING STATE */
.qev-form-disabled {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* BUTTON LOADING STATE */
.qev-btn-text,
.qev-btn-loading {
  pointer-events: none;
}

.qev-btn-loading {
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.qev-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: qevSpin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes qevSpin {
  to { transform: rotate(360deg); }
}

/* INLINE RESULT STATES */
.qev-result {
  text-align: center;
  padding: 60px 20px;
  opacity: 0;
  transform: translateY(30px);
}

.qev-result--animate {
  animation: qevResultIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.qev-result-icon {
  font-size: 64px;
  margin-bottom: 16px;
  animation: qevIconPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.qev-result-icon--success { color: #2e7d32; }
.qev-result-icon--failure { color: #c62828; }

@keyframes qevIconPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.qev-result-heading {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 12px;
}

.qev-result-copy {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 32px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .qev-cta-section {
    padding: 48px 20px 32px;
  }

  .qev-cta-heading {
    font-size: 30px;
  }


  .qev-form-section {
    padding: 16px 20px 60px;
  }

  .thankyou-page-container {
    padding: 60px 24px;
  }

  .message-thankyou h1 {
    font-size: 28px;
  }
}
