.demo-main {
  padding-top: 1px;
}

.demo-hero {
  min-height: min(820px, 92svh);
  padding: clamp(8.5rem, 16vh, 11rem) 0 clamp(4.5rem, 9vh, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.demo-hero-copy {
  max-width: 820px;
}

.demo-eyebrow {
  margin: 0;
  color: rgba(214, 201, 244, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.demo-hero h1 {
  max-width: 830px;
  margin: 1.15rem 0 0;
  font-size: clamp(3.1rem, 6.7vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.demo-hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--x-blue), var(--x-violet), var(--x-pink));
  -webkit-background-clip: text;
  background-clip: text;
}

.demo-intro {
  max-width: 690px;
  margin: 1.7rem 0 0;
  color: rgba(211, 202, 235, 0.94);
  font-size: clamp(1.06rem, 1.45vw, 1.3rem);
  font-weight: 300;
  line-height: 1.65;
}

.demo-hero-cta {
  margin-top: 2rem;
}

.demo-hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid rgba(210, 190, 255, 0.3);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 6%, rgba(255, 75, 216, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(69, 49, 128, 0.42), rgba(14, 10, 36, 0.72));
  box-shadow: 0 28px 70px rgba(5, 3, 22, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
  transition: border-color 280ms ease, box-shadow 280ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .demo-hero-card:hover {
    border-color: rgba(181, 151, 255, 0.58);
    box-shadow: 0 28px 70px rgba(5, 3, 22, 0.46), 0 0 34px rgba(105, 92, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
}

.demo-card-label {
  margin: 0;
  color: rgba(224, 214, 247, 0.76);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.demo-card-time {
  position: relative;
  isolation: isolate;
  margin-top: 1.2rem;
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.demo-card-time::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 72%;
  height: 120%;
  left: -4%;
  top: -10%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(92, 132, 255, 0.28) 0%, rgba(185, 78, 255, 0.2) 42%, transparent 72%);
  filter: blur(20px);
  opacity: 0.58;
  animation: demoTimeGlow 6s ease-in-out infinite alternate;
}

.demo-card-time strong {
  color: transparent;
  background: linear-gradient(90deg, #8fc8ff, #d783ff);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(3.6rem, 7vw, 5.6rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}

.demo-card-time span {
  color: rgba(237, 231, 250, 0.92);
  font-size: 1.05rem;
  font-weight: 400;
}

.demo-card-list {
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  list-style: none;
}

.demo-card-list li {
  position: relative;
  padding-left: 1.65rem;
  color: rgba(229, 222, 246, 0.92);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.45;
}

.demo-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ok);
  font-weight: 700;
  transform-origin: center;
  animation: demoCheckPulse 4.8s ease-in-out infinite;
}

.demo-card-list li:nth-child(2)::before,
.demo-checklist li:nth-child(2)::before { animation-delay: 0.35s; }
.demo-card-list li:nth-child(3)::before,
.demo-checklist li:nth-child(3)::before { animation-delay: 0.7s; }
.demo-card-list li:nth-child(4)::before,
.demo-checklist li:nth-child(4)::before { animation-delay: 1.05s; }
.demo-checklist li:nth-child(5)::before { animation-delay: 1.4s; }
.demo-checklist li:nth-child(6)::before { animation-delay: 1.75s; }
.demo-checklist li:nth-child(7)::before { animation-delay: 2.1s; }
.demo-checklist li:nth-child(8)::before { animation-delay: 2.45s; }

@keyframes demoTimeGlow {
  0% {
    transform: translate3d(-4%, 2%, 0) scale(0.94);
    opacity: 0.42;
  }
  100% {
    transform: translate3d(12%, -3%, 0) scale(1.08);
    opacity: 0.72;
  }
}

@keyframes demoCheckPulse {
  0%, 18%, 100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(90, 232, 159, 0);
  }
  7% {
    transform: scale(1.18);
    text-shadow: 0 0 14px rgba(90, 232, 159, 0.72);
  }
}

.demo-details {
  padding: clamp(4rem, 9vh, 7rem) 0 0;
}

.demo-section-head {
  max-width: 790px;
  margin: 0 auto;
  text-align: center;
}

.demo-section-head h2,
.demo-checklist-copy h2,
.demo-form-intro h2 {
  margin: 0.9rem 0 0;
  color: #f4efff;
  font-size: clamp(2.2rem, 4.4vw, 4.3rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}

.demo-section-head > p:last-child,
.demo-checklist-copy > p:last-child,
.demo-form-intro > p {
  margin: 1.25rem 0 0;
  color: rgba(206, 197, 230, 0.9);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 300;
  line-height: 1.65;
}

.demo-info-grid {
  margin-top: clamp(2.4rem, 6vh, 4.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.demo-info-card {
  min-height: 260px;
  padding: 1.6rem;
  border: 1px solid rgba(211, 192, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(68, 50, 124, 0.24), rgba(15, 11, 39, 0.52));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.demo-info-number {
  color: rgba(145, 185, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  transition: color 260ms ease, text-shadow 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .demo-info-card:hover {
    transform: translateY(-6px) scale(1.012);
    border-color: rgba(177, 151, 255, 0.46);
    background: linear-gradient(145deg, rgba(82, 58, 153, 0.32), rgba(18, 13, 47, 0.6));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 42px rgba(48, 25, 112, 0.24), 0 0 28px rgba(115, 87, 255, 0.1);
  }

  .demo-info-card:hover .demo-info-number {
    color: #9fc5ff;
    text-shadow: 0 0 18px rgba(106, 154, 255, 0.48);
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-hero-card,
  .demo-info-card,
  .demo-info-number {
    transition: none;
  }

  .demo-info-card:hover {
    transform: none;
  }

  .demo-card-time::before,
  .demo-card-list li::before,
  .demo-checklist li::before {
    animation: none !important;
  }
}

.demo-info-card h3 {
  margin: 3.2rem 0 0;
  color: #f2ecff;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 400;
  line-height: 1.2;
}

.demo-info-card p {
  margin: 0.9rem 0 0;
  color: rgba(205, 196, 229, 0.9);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
}

.demo-checklist-panel {
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  padding: clamp(2rem, 5vw, 4rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.demo-checklist {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
}

.demo-checklist li {
  position: relative;
  min-height: 54px;
  padding: 0.85rem 1rem 0.85rem 3rem;
  display: flex;
  align-items: center;
  border: 1px solid rgba(208, 191, 249, 0.2);
  border-radius: 14px;
  color: rgba(240, 234, 252, 0.94);
  background: rgba(19, 14, 47, 0.5);
  font-size: 0.98rem;
  font-weight: 400;
}

.demo-checklist li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: var(--ok);
  font-weight: 700;
  transform-origin: center;
  animation: demoCheckPulse 4.8s ease-in-out infinite;
}

.demo-form-section {
  margin: clamp(3.5rem, 7vh, 5.5rem) auto 0;
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(2.4rem, 7vw, 6rem);
  border: 1px solid rgba(209, 190, 255, 0.28);
  border-radius: clamp(26px, 3vw, 38px);
  background:
    radial-gradient(circle at 4% 6%, rgba(74, 163, 255, 0.16), transparent 32%),
    radial-gradient(circle at 96% 94%, rgba(255, 75, 216, 0.13), transparent 32%),
    linear-gradient(145deg, rgba(61, 45, 115, 0.32), rgba(13, 9, 34, 0.72));
  box-shadow: 0 30px 80px rgba(5, 3, 22, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.demo-form-intro {
  position: sticky;
  top: 7.5rem;
}

.demo-form-note {
  margin-top: 2rem;
  padding: 1.25rem;
  display: grid;
  gap: 0.45rem;
  border-left: 2px solid rgba(123, 131, 255, 0.8);
  background: rgba(21, 15, 50, 0.42);
}

.demo-product-context {
  width: fit-content;
  margin: 1.35rem 0 0;
  padding: 0.68rem 0.85rem;
  border: 1px solid rgba(90, 232, 188, 0.24);
  border-radius: 13px;
  color: rgba(219, 241, 234, 0.86);
  background: rgba(90, 232, 188, 0.055);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.demo-product-context[hidden] {
  display: none;
}

.demo-product-context span {
  color: rgba(190, 207, 202, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-product-context strong {
  color: #a5f2dc;
  font-size: 0.88rem;
}

.demo-form-note strong {
  color: #f2ecff;
  font-size: 0.95rem;
  font-weight: 500;
}

.demo-form-note span {
  color: rgba(205, 196, 229, 0.88);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.55;
}

.demo-form-wrap {
  min-width: 0;
}

.demo-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 1.2rem;
}

.demo-form[hidden] {
  display: none !important;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 0 0 1.6rem;
  grid-column: 1 / -1;
  border: 0;
  border-bottom: 1px solid rgba(209, 190, 252, 0.15);
}

.form-section legend {
  width: 100%;
  margin: 0;
  padding: 0 0 1rem;
  color: #f4efff;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.form-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.form-field {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  color: rgba(238, 232, 251, 0.94);
  font-size: 0.92rem;
  font-weight: 500;
}

.form-field label span {
  color: rgba(184, 174, 210, 0.76);
  font-weight: 300;
}

.form-field label .required-mark,
.required-mark {
  color: #cda1ff;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(209, 190, 252, 0.22);
  border-radius: 13px;
  outline: 0;
  color: #f5f0ff;
  background: rgba(10, 7, 28, 0.62);
  font: inherit;
  font-size: 1rem;
  font-weight: 300;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-field input {
  height: 52px;
  min-height: 52px;
  padding: 0 0.95rem;
}

.form-field select {
  min-height: 52px;
  padding: 0 2.75rem 0 0.85rem;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%23ddd5ef' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  color-scheme: dark;
}

.form-field select option {
  color: #f5f0ff;
  background: #15102f;
}

.form-field textarea {
  min-height: 138px;
  padding: 0.9rem 0.95rem;
  resize: vertical;
  line-height: 1.55;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(128, 148, 255, 0.82);
  background: rgba(14, 10, 36, 0.78);
  box-shadow: 0 0 0 4px rgba(100, 104, 255, 0.14);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(168, 158, 194, 0.72);
}

.form-field input[type="date"] {
  color-scheme: dark;
}

.form-hint {
  margin-top: -0.08rem;
  color: rgba(168, 158, 194, 0.78);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.4;
}

.form-section-question {
  margin: 0 0 0.9rem;
  color: rgba(225, 217, 244, 0.92);
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-section-question span {
  color: rgba(174, 164, 201, 0.82);
  font-weight: 300;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.interest-option {
  min-width: 0;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(209, 190, 252, 0.17);
  border-radius: 12px;
  color: rgba(235, 229, 249, 0.94);
  background: rgba(10, 7, 28, 0.4);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.interest-option:hover,
.interest-option:focus-within {
  border-color: rgba(128, 148, 255, 0.58);
  background: rgba(21, 15, 50, 0.62);
}

.interest-option input,
.gdpr-consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  accent-color: #9f59ff;
  cursor: pointer;
}

.gdpr-section {
  padding-bottom: 1.2rem;
}

.gdpr-consent {
  min-height: 52px;
  padding: 0.8rem 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid rgba(209, 190, 252, 0.2);
  border-radius: 13px;
  color: rgba(235, 229, 249, 0.94);
  background: rgba(10, 7, 28, 0.46);
  font-size: 0.91rem;
  line-height: 1.5;
  cursor: pointer;
}

.gdpr-consent input {
  margin-top: 0.08rem;
}

.demo-privacy {
  margin: 0.8rem 0 0;
  color: rgba(179, 169, 205, 0.82);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.55;
}

.demo-privacy a {
  color: rgba(220, 208, 252, 0.96);
}

.form-submit {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.demo-submit {
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: inherit;
}

.demo-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-submit-note {
  max-width: 220px;
  color: rgba(177, 167, 202, 0.82);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.4;
}

.form-error {
  flex-basis: 100%;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 107, 137, 0.34);
  border-radius: 12px;
  color: #ffdce4;
  background: rgba(90, 18, 39, 0.34);
  font-size: 0.86rem;
  line-height: 1.5;
}

.form-error[hidden] {
  display: none;
}

.demo-confirmation {
  min-height: 440px;
  padding: clamp(2rem, 5vw, 4rem);
  place-content: center;
  justify-items: start;
  border: 1px solid rgba(90, 232, 159, 0.24);
  border-radius: 24px;
  background: rgba(10, 28, 29, 0.35);
}

.demo-confirmation:not([hidden]) {
  display: grid;
}

.confirmation-check {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(90, 232, 159, 0.36);
  border-radius: 50%;
  color: var(--ok);
  background: rgba(90, 232, 159, 0.08);
  font-size: 1.5rem;
  font-weight: 700;
}

.demo-confirmation h3 {
  margin: 1.5rem 0 0;
  color: #f2fff8;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
}

.demo-confirmation p {
  max-width: 580px;
  margin: 0.9rem 0 0;
  color: rgba(215, 239, 228, 0.88);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
}

.demo-confirmation a {
  margin-top: 1.6rem;
  color: #d9c9ff;
  font-weight: 500;
}

@media (max-width: 980px) {
  .demo-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .demo-hero-card {
    max-width: 620px;
  }

  .demo-info-grid {
    grid-template-columns: 1fr;
  }

  .demo-info-card {
    min-height: 0;
  }

  .demo-info-card h3 {
    margin-top: 1.8rem;
  }

  .demo-checklist-panel,
  .demo-form-section {
    grid-template-columns: 1fr;
  }

  .demo-checklist-panel {
    gap: 2rem;
  }

  .demo-form-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .demo-hero {
    padding-top: 7.6rem;
  }

  .demo-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .demo-checklist {
    grid-template-columns: 1fr;
  }

  .demo-form-section {
    padding: 1.5rem;
  }

  .demo-form {
    grid-template-columns: 1fr;
  }

  .form-section-grid,
  .interest-grid {
    grid-template-columns: 1fr;
  }

  .form-field-wide,
  .form-section-grid .form-field-wide {
    grid-column: auto;
  }

  .form-submit {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-submit {
    width: 100%;
  }
}
