:root {
  --ws-primary: #1d92bd;
  --ws-primary-dark: #116f96;
  --ws-primary-soft: #e1f5fc;
  --ws-ink: #172437;
  --ws-copy: #5d6b7c;
  --ws-border: #dbe7ee;
  --ws-surface: #ffffff;
  --ws-surface-soft: #f4fafd;
  --ws-success: #227a4e;
  --ws-success-soft: #e9f7ef;
  --ws-error: #c53939;
  --ws-shadow-lg: 0 28px 70px rgba(23, 36, 55, 0.14);
  --ws-shadow-md: 0 16px 40px rgba(23, 36, 55, 0.09);
}

html {
  scroll-behavior: smooth;
}

.ws-demo-page {
  overflow: hidden;
  color: var(--ws-ink);
}

.ws-demo-hero {
  padding: 165px 0 100px;
  background:
    radial-gradient(circle at 85% 20%, rgba(117, 201, 236, 0.32), transparent 32%),
    linear-gradient(135deg, #eefaff 0%, #dff4fc 52%, #f9fdff 100%);
}

.ws-demo-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 80px;
  align-items: center;
}

.ws-demo-hero__content {
  max-width: 720px;
}

.ws-demo-hero__eyebrow,
.ws-demo-section-eyebrow,
.ws-demo-introduction__eyebrow,
.ws-demo-form-box__eyebrow,
.ws-demo-success__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ws-primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ws-demo-hero__eyebrow::before,
.ws-demo-section-eyebrow::before,
.ws-demo-introduction__eyebrow::before,
.ws-demo-form-box__eyebrow::before,
.ws-demo-success__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--ws-primary);
}

.ws-demo-hero h1 {
  margin: 19px 0 0;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.ws-demo-hero__content > p {
  max-width: 660px;
  margin: 25px 0 0;
  color: var(--ws-copy);
  font-size: 19px;
  line-height: 1.75;
}

.ws-demo-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin-top: 32px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ws-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(29, 146, 189, 0.27);
  transition: 0.25s ease;
}

.ws-demo-hero__button:hover {
  background: var(--ws-primary-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
}

.ws-demo-hero__visual {
  display: flex;
  justify-content: center;
}

.ws-demo-hero-card {
  width: min(100%, 430px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--ws-shadow-lg);
  transform: rotate(3deg);
}

.ws-demo-hero-card__top {
  display: flex;
  gap: 7px;
  padding: 16px 18px;
  border-bottom: 1px solid #e6eff3;
}

.ws-demo-hero-card__top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cad6dc;
}

.ws-demo-hero-card__body {
  min-height: 290px;
  padding: 45px;
  background:
    radial-gradient(circle at 75% 25%, rgba(117, 201, 236, 0.28), transparent 28%),
    #f7fbfd;
}

.ws-demo-hero-card__play {
  display: grid;
  width: 75px;
  height: 75px;
  margin: 10px auto 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ws-primary);
  color: #fff;
  font-size: 23px;
  box-shadow: 0 16px 35px rgba(29, 146, 189, 0.3);
}

.ws-demo-hero-card__play i {
  margin-left: 4px;
}

.ws-demo-hero-card__lines {
  display: grid;
  gap: 14px;
}

.ws-demo-hero-card__lines span {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: #dce7ec;
}

.ws-demo-hero-card__lines span:nth-child(1) {
  width: 85%;
}

.ws-demo-hero-card__lines span:nth-child(2) {
  width: 100%;
}

.ws-demo-hero-card__lines span:nth-child(3) {
  width: 67%;
}

.ws-demo-gate {
  padding: 100px 0 120px;
  background: var(--ws-surface-soft);
  scroll-margin-top: 85px;
}

.ws-demo-gate__heading {
  max-width: 770px;
  margin-bottom: 45px;
}

.ws-demo-gate__heading h2,
.ws-demo-after__inner > div:first-child h2 {
  margin: 18px 0 0;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ws-demo-gate__heading p,
.ws-demo-after__inner > div:first-child > p {
  margin: 20px 0 0;
  color: var(--ws-copy);
  font-size: 18px;
  line-height: 1.75;
}

.ws-demo-gate__shell {
  overflow: hidden;
  padding: 42px;
  border: 1px solid var(--ws-border);
  border-radius: 32px;
  background:
    radial-gradient(circle at 15% 10%, rgba(117, 201, 236, 0.18), transparent 25%),
    linear-gradient(135deg, #edf9fe 0%, #e1f3fa 100%);
  box-shadow: var(--ws-shadow-lg);
}

.ws-demo-gated-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
  gap: 54px;
  align-items: start;
}

.ws-demo-introduction {
  min-width: 0;
  padding: 12px 0;
}

.ws-demo-introduction h2 {
  margin: 16px 0 0;
  color: var(--ws-ink);
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ws-demo-introduction h2 span {
  color: var(--ws-primary);
}

.ws-demo-introduction__lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--ws-copy);
  font-size: 17px;
  line-height: 1.75;
}

.ws-demo-introduction__benefits {
  display: grid;
  gap: 14px;
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
}

.ws-demo-introduction__benefits li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ws-ink);
  font-size: 15px;
  font-weight: 700;
}

.ws-demo-introduction__benefits i {
  color: var(--ws-primary);
  font-size: 17px;
}

.ws-demo-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: #dae8ee;
  box-shadow: var(--ws-shadow-md);
}

.ws-demo-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-demo-media__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(15, 29, 42, 0.38);
  color: #fff;
  text-align: center;
  backdrop-filter: blur(1.5px);
}

.ws-demo-media__play {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 15px;
  place-items: center;
  border: 5px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background: rgba(29, 146, 189, 0.92);
  font-size: 22px;
}

.ws-demo-media__play i {
  margin-left: 4px;
}

.ws-demo-media__overlay strong {
  font-size: 18px;
}

.ws-demo-media__overlay small {
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.83;
}

.ws-demo-form-box {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ws-shadow-md);
}

.ws-demo-form-box h3 {
  margin: 15px 0 0;
  color: var(--ws-ink);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.ws-demo-form-box__intro {
  margin: 10px 0 25px;
  color: var(--ws-copy);
  font-size: 15px;
  line-height: 1.65;
}

.ws-demo-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ws-demo-field {
  margin-bottom: 17px;
}

.ws-demo-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ws-ink);
  font-size: 13px;
  font-weight: 700;
}

.ws-demo-field label span {
  color: var(--ws-primary);
}

.ws-demo-field input,
.ws-demo-field select {
  width: 100%;
  height: 47px;
  padding: 0 14px;
  border: 1px solid #cfdde4;
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: var(--ws-ink);
  font-size: 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ws-demo-field input:focus,
.ws-demo-field select:focus {
  border-color: var(--ws-primary);
  box-shadow: 0 0 0 4px rgba(29, 146, 189, 0.12);
}

.ws-demo-field__error {
  min-height: 17px;
  margin-top: 5px;
  color: var(--ws-error);
  font-size: 12px;
  line-height: 1.35;
}

.ws-demo-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin-top: 3px;
  border: 0;
  border-radius: 12px;
  background: var(--ws-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(29, 146, 189, 0.25);
  transition: 0.25s ease;
}

.ws-demo-form-submit:hover {
  background: var(--ws-primary-dark);
  transform: translateY(-2px);
}

.ws-demo-form-box__privacy {
  margin: 14px 0 0;
  color: #7b8996;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.ws-demo-player {
  overflow: hidden;
  width: 100%;
  border-radius: 22px;
  background: #101d29;
  box-shadow: var(--ws-shadow-md);
}

.ws-demo-success {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--ws-shadow-md);
}

.ws-demo-success__icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin-top: 22px;
  place-items: center;
  border-radius: 18px;
  background: var(--ws-success-soft);
  color: var(--ws-success);
  font-size: 27px;
}

.ws-demo-success h3 {
  margin: 20px 0 0;
  color: var(--ws-ink);
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.ws-demo-success__message {
  margin: 10px 0 0;
  color: var(--ws-copy);
  font-size: 16px;
  line-height: 1.65;
}

.ws-demo-success__tip {
  display: flex;
  gap: 13px;
  margin-top: 23px;
  padding: 18px;
  border: 1px solid #cfe8da;
  border-radius: 15px;
  background: var(--ws-success-soft);
  color: #2b6146;
}

.ws-demo-success__tip i {
  margin-top: 3px;
  color: var(--ws-success);
}

.ws-demo-success__tip p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.ws-demo-success__tip strong {
  display: block;
  margin-bottom: 3px;
  color: #1f543a;
}

.ws-demo-success__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 49px;
  margin-top: 22px;
  padding: 0 22px;
  border-radius: 11px;
  background: var(--ws-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.ws-demo-success__button:hover {
  background: var(--ws-primary-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.ws-demo-success__note {
  margin: 23px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--ws-border);
  color: #7b8996;
  font-size: 12px;
  line-height: 1.55;
}

.ws-demo-after {
  padding: 115px 0;
  background: #fff;
}

.ws-demo-after__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: center;
}

.ws-demo-after__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ws-demo-after__grid article {
  padding: 24px;
  border: 1px solid var(--ws-border);
  border-radius: 20px;
  background: var(--ws-surface-soft);
}

.ws-demo-after__grid i {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 14px;
  background: var(--ws-primary-soft);
  color: var(--ws-primary);
}

.ws-demo-after__grid h3 {
  margin: 17px 0 7px;
  color: var(--ws-ink);
  font-size: 18px;
  font-weight: 700;
}

.ws-demo-after__grid p {
  margin: 0;
  color: var(--ws-copy);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 991px) {
  .ws-demo-hero__inner,
  .ws-demo-after__inner {
    grid-template-columns: 1fr;
  }

  .ws-demo-hero__visual {
    justify-content: flex-start;
  }

  .ws-demo-gated-layout {
    grid-template-columns: 1fr;
  }

  .ws-demo-form-panel {
    max-width: 680px;
  }
}

@media (max-width: 767px) {
  .ws-demo-hero {
    padding: 125px 0 75px;
  }

  .ws-demo-hero h1 {
    font-size: 43px;
  }

  .ws-demo-gate,
  .ws-demo-after {
    padding: 75px 0;
  }

  .ws-demo-gate__shell {
    padding: 22px;
    border-radius: 24px;
  }

  .ws-demo-form-box,
  .ws-demo-success {
    padding: 25px;
  }

  .ws-demo-form-row,
  .ws-demo-after__grid {
    grid-template-columns: 1fr;
  }

  .ws-demo-media {
    border-radius: 19px;
  }
}

@media (max-width: 480px) {
  .ws-demo-gate__shell {
    padding: 15px;
  }

  .ws-demo-form-box,
  .ws-demo-success {
    padding: 21px;
    border-radius: 19px;
  }

  .ws-demo-introduction h2 {
    font-size: 34px;
  }

  .ws-demo-form-box h3,
  .ws-demo-success h3 {
    font-size: 27px;
  }
}
