:root {
  --bg: #0b1020;
  --card: #0f172a;
  --muted: #9aa1b2;
  --ink: #e5e7eb;
  --accent: #6ee7b7;
  --cta: #16a34a;
  --ring: rgba(110, 231, 183, .35)
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased
}

a {
  color: var(--accent);
  text-decoration: none
}

.wrap {
  max-width: 980px;
  margin: 40px auto;
  padding: 0 20px
}

.hero {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  justify-items: center;
  text-align: center
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 auto;
  white-space: nowrap;
  background: rgba(110, 231, 183, .12);
  border: 1px solid var(--ring);
  color: #d1fae5;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px
}

.title {
  margin: 6px 0 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1
}

.subtitle {
  margin: 4px 0 0;
  color: var(--muted)
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  overflow: hidden
}

.video-shell {
  position: relative;
  background: #000;
  border-radius: 14px;
  margin: 14px;
  overflow: hidden
}

.video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06)
}

.aspect {
  aspect-ratio: 16/9
}

video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000
}

.controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .65))
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s
}

.btn-ghost {
  background: rgba(255, 255, 255, .18);
  color: #fff
}

.btn-ghost[aria-pressed="true"] {
  background: rgba(255, 255, 255, .28)
}

.btn-cta {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  border: 0
}

.btn-cta[disabled] {
  background: linear-gradient(135deg, #334155, #334155);
  opacity: .6;
  cursor: not-allowed;
  box-shadow: none;
  filter: saturate(.4)
}

.progress {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .25);
  position: relative;
  overflow: hidden
}

.bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #fff
}

.meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #e5e7eb;
  font-size: 12px;
  margin-left: 4px
}

.foot {
  display: none
}

.step {
  display: none
}

.step.active {
  display: block
}

.form {
  padding: 20px;
  display: grid;
  gap: 12px;
  border-top: 1px dashed rgba(255, 255, 255, .08);
  background: transparent
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.field {
  display: grid;
  gap: 6px
}

label {
  font-size: 12px;
  color: #b6bdc9
}

input,
button,
textarea {
  font-family: inherit
}

input,
textarea {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  outline: none
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--ring)
}

.submit {
  justify-self: center;
  margin-top: 18px;
  width: min(360px, 100%)
}

.hidden {
  display: none !important
}

/* Light anti-copy UX (not bulletproof) */
body {
  -webkit-user-select: none;
  user-select: none
}

/* But allow selecting/typing normally in form fields */
input,
textarea,
select {
  -webkit-user-select: text;
  user-select: text
}

img,
video {
  -webkit-touch-callout: none
}

/* Mobile tweaks */
.wrap {
  padding-left: calc(20px + env(safe-area-inset-left));
  padding-right: calc(20px + env(safe-area-inset-right))
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

@media (max-width:640px) {

  html,
  body {
    overflow-x: hidden
  }

  .wrap {
    max-width: 100%;
    margin: 20px auto;
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: hidden
  }

  .hero {
    text-align: center;
    justify-items: center
  }

  .title,
  .subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center
  }

  .badge {
    display: block;
    white-space: normal;
    line-height: 1.3;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%
  }

  .card {
    margin-left: 0;
    margin-right: 0;
    border-radius: 12px;
    max-width: 100%
  }

  .video-shell {
    margin: 10px 0;
    border-radius: 12px;
    width: 100%
  }

  video {
    width: 100%;
    height: auto;
    display: block
  }

  .controls,
  .progress {
    max-width: 100%
  }

  .controls {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px
  }

  .progress {
    height: 10px
  }

  .meta {
    font-size: 11px
  }

  .row {
    grid-template-columns: 1fr
  }

  .btn {
    padding: 10px 14px
  }

  .submit {
    width: 100%;
    margin-top: 16px
  }
}

.alert {
  margin: 10px 14px;
  background: #fee2e2;
  color: #7f1d1d;
  border: 1px solid #fecaca;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  display: none
}

.alert.show {
  display: block
}

.cta-row {
  display: flex;
  justify-content: center;
  padding: 8px 16px 18px
}

.cta-big {
  font-size: clamp(16px, 2.2vw, 22px);
  padding: 16px 28px;
  border-radius: 14px;
  letter-spacing: .3px
}

@media (max-width:640px) {
  .cta-row {
    padding: 6px 12px 14px
  }

  .cta-big {
    width: 100%
  }
}

/* Simple footer */
.site-footer {
  margin: 18px 0 10px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: 12px;
  text-align: center
}

.site-footer a {
  color: var(--ink);
  opacity: .8;
  text-decoration: underline
}

.site-footer a:hover {
  opacity: 1
}

.footer-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px
}

.footer-disclaimer {
  opacity: .85;
  cursor: pointer
}

.footer-copyright {
  margin-top: 6px;
  opacity: .7
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .55);
  z-index: 50
}

.modal.hidden {
  display: none
}

.modal-card {
  width: min(680px, 92vw);
  max-height: 80vh;
  overflow: auto;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 18px;
  color: var(--ink);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5)
}

.modal-card h3 {
  margin: 0 0 8px;
  font-size: 18px
}

.modal-card p {
  margin: 8px 0;
  color: var(--muted)
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer
}

/* intl-tel-input tweaks */
.intl-tel-input,
.iti {
  width: 100% !important;
  display: block
}

.field .intl-tel-input,
.field .iti {
  width: 100% !important
}

.iti input {
  width: 100%
}

.iti--separate-dial-code .iti__selected-dial-code {
  color: #fff
}

.iti__country-list {
  background: var(--card);
  color: var(--ink)
}

.iti__country-list .iti__divider {
  border-color: rgba(255, 255, 255, .12)
}