:root {
  --navy: #061b33;
  --navy2: #0b2d4b;
  --blue: #087cf0;
  --blue2: #0d91ff;
  --ink: #0a2344;
  --muted: #52677f;
  --line: #e4ebf2;
  --soft: #f5f9fd;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }
h1, h2, h3 { font-family: "Plus Jakarta Sans", "Inter", Arial, sans-serif; }

/* ---------- buttons ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  padding: 15px 28px;
  font: 700 15px/1 "Inter", Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(8, 124, 240, .28);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.cta:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 28px rgba(8, 124, 240, .36); }
.cta .arrow { font-size: 17px; line-height: 1; }
.cta--sm { padding: 13px 24px; font-size: 14px; }

/* ---------- header ---------- */
.site-header {
  height: 74px;
  background: #fff;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 #e8eef4;
}
.site-header nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 32px; width: auto; display: block; }
.navlinks { display: flex; gap: 34px; align-items: center; font-size: 14px; font-weight: 500; color: #28405e; }
.navlinks a:hover { color: var(--blue); }

/* ---------- hero ---------- */
.hero {
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #0a1a2c url("../images/hero-man.webp") right center / auto 100% no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 20, 38, .97) 0%, rgba(5, 25, 45, .9) 36%, rgba(5, 25, 45, .45) 58%, rgba(5, 25, 45, 0) 76%);
}
.hero-inner { padding: 72px 0 120px; position: relative; z-index: 2; max-width: 600px; }
.hero h1 { font-size: 52px; line-height: 1.07; margin: 0 0 20px; letter-spacing: -1.2px; font-weight: 800; }
.hero p { font-size: 19px; line-height: 1.5; margin: 0 0 30px; color: #e3eef8; max-width: 540px; }

/* ---------- registration card ---------- */
.form-wrap { position: relative; margin-top: -78px; z-index: 4; }
.reg-card {
  background: #fff;
  border: 1px solid #e2eaf2;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(8, 35, 64, .13);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.reg-card h2 { font-size: 31px; line-height: 1.12; margin: 0 0 14px; letter-spacing: -.5px; font-weight: 800; }
.reg-card__lead { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0 0 26px; }
.mini-benefits { display: flex; gap: 22px; font-size: 13px; font-weight: 600; color: #1d3656; line-height: 1.3; }
.mini-benefits li { display: flex; gap: 10px; align-items: center; list-style: none; }
.mini-benefits ul, ul.mini-benefits { margin: 0; padding: 0; }
.mini-benefits img { width: 42px; height: 42px; object-fit: contain; flex: none; }

/* ---------- features ---------- */
.features { padding: 44px 0 40px; margin-top: 44px; background: var(--soft); border-top: 1px solid #edf2f7; border-bottom: 1px solid #edf2f7; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.feature img { width: 56px; height: 56px; object-fit: contain; }
.feature h3 { font-size: 16px; margin: 4px 0 6px; font-weight: 700; }
.feature p { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0; }

/* ---------- video ---------- */
.video-section { padding: 72px 0 56px; }
.video-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.video {
  position: relative;
  background: #071d34;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(4, 27, 50, .2);
}
.video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #071d34; object-fit: cover; }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(4, 18, 34, .25), rgba(4, 18, 34, .6));
  transition: background .2s ease;
}
.video-play:hover { background: linear-gradient(180deg, rgba(4, 18, 34, .15), rgba(4, 18, 34, .5)); }
.video-play__btn {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}
.video-play:hover .video-play__btn { transform: scale(1.06); }
.video-play__btn svg { width: 28px; height: 28px; margin-left: 5px; }
.video-play img { height: 36px; width: auto; }
.video.is-playing .video-play { display: none; }

.kicker { height: 4px; width: 56px; background: var(--blue); border-radius: 4px; margin-bottom: 18px; }
.video-copy h2 { font-size: 34px; line-height: 1.14; margin: 0 0 16px; letter-spacing: -.5px; font-weight: 800; }
.video-copy p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 28px; }

/* ---------- steps ---------- */
.steps { padding: 20px 0 76px; text-align: center; }
.steps .kicker { margin: 0 auto 18px; }
.steps h2 { font-size: 36px; margin: 0 0 10px; letter-spacing: -.5px; font-weight: 800; }
.steps__lead { color: var(--muted); margin: 0 0 46px; font-size: 16px; }
.step-grid { display: grid; grid-template-columns: 1fr 28px 1fr 28px 1fr; gap: 24px; text-align: left; align-items: start; }
.step { position: relative; padding-left: 62px; }
.step__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(8, 124, 240, .3);
}
.step__icon { width: 60px; height: 60px; object-fit: contain; display: block; margin-bottom: 10px; }
.step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; max-width: 250px; }
.step-arrow { align-self: center; color: #9fb2c6; display: grid; place-items: center; margin-top: -30px; }
.step-arrow svg { width: 22px; height: 22px; }

/* ---------- final banner ---------- */
.final {
  position: relative;
  min-height: 300px;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 110%, #0c3a6b 0%, #06213f 45%, #041528 80%);
}
.final__globe {
  position: absolute;
  right: -40px;
  bottom: -2px;
  width: min(780px, 62%);
  height: auto;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.final .container { position: relative; z-index: 2; padding: 64px 0; }
.final h2 { font-size: 38px; line-height: 1.12; max-width: 540px; margin: 0 0 28px; letter-spacing: -.5px; font-weight: 800; }

/* ---------- footer (leadforger.pro/arai) ---------- */
footer.site-footer { padding: 40px 0 100px; background: #041528; border-top: 1px solid rgba(255, 255, 255, .08); color: #8094a4; font-size: 11px; line-height: 1.65; }
footer .footer-brand { display: inline-flex; align-items: center; margin-bottom: 18px; }
footer .footer-brand img { height: 34px; width: auto; max-width: 200px; object-fit: contain; }
footer .footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; color: #d0dbe3; font-weight: 700; }
footer .footer-links span { cursor: pointer; }
footer .footer-links span:hover { color: #fff; text-decoration: underline; }
footer p { margin: 0 0 10px; }
footer strong { color: #b7c6d3; }

/* ---------- info modals + cookie bar (arai) ---------- */
#contact-modal, #cookie-modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 4000; display: none; padding: 16px; overflow-y: auto; }
#contact-modal.open, #cookie-modal.open { display: block; }
.modal-content { position: relative; background: #fff; color: #111; border-radius: 14px; width: min(560px, 100%); margin: 5vh auto; padding: 24px; }
.modal-content > .close { position: absolute; right: 14px; top: 10px; font-size: 28px; cursor: pointer; line-height: 1; color: #333; }
.modal-content h2 { font-size: 22px; margin: 0 0 14px; color: #0b2033; }
.modal-content h3 { font-size: 15px; margin: 16px 0 8px; color: #0b2033; }
.modal-content p { font-size: 13px; line-height: 1.55; color: #333; margin: 0 0 10px; }

.cookie-policy { position: fixed; left: 0; right: 0; bottom: 0; background: #061827; border-top: 1px solid #244157; padding: 11px 16px; z-index: 99; font-size: 12px; color: #adbdc9; }
.cookie-policy p { margin: 0; text-align: center; }
.cookie-policy.is-hidden { display: none !important; }
.cookie-policy a { color: var(--blue2); cursor: pointer; text-decoration: underline; margin: 0 4px; }
.cookie-policy button { margin-left: 10px; background: linear-gradient(135deg, var(--blue), var(--blue2)); border: 0; border-radius: 6px; padding: 7px 13px; font-weight: 800; color: #fff; cursor: pointer; }

/* ---------- registration modal ---------- */
.reg-modal { position: fixed; inset: 0; background: rgba(2, 15, 29, .72); z-index: 3000; display: none; padding: 20px; overflow-y: auto; }
.reg-modal.open { display: block; }
.reg-modal__card { width: min(540px, 100%); margin: 6vh auto; background: #fff; border-radius: 20px; padding: 32px; position: relative; box-shadow: 0 25px 80px rgba(0, 0, 0, .35); }
.reg-modal__head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; padding-right: 28px; }
.reg-modal__head img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.reg-modal__head h2 { margin: 0 0 4px; font-size: 25px; letter-spacing: -.3px; font-weight: 800; }
.reg-modal__head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.reg-modal__close { position: absolute; right: 16px; top: 12px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: #5c7083; }
body.no-scroll { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .navlinks { gap: 22px; }
  .hero h1 { font-size: 44px; }
  .reg-card { gap: 32px; padding: 30px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .final__globe { width: 70%; opacity: .75; }
}
@media (max-width: 850px) {
  .navlinks a { display: none; }
  .hero { background-image: url("../images/hero-man-mobile.webp"); background-position: 70% center; background-size: cover; }
  .hero::before { background: linear-gradient(90deg, rgba(4, 20, 38, .95) 0%, rgba(5, 25, 45, .82) 60%, rgba(5, 25, 45, .55) 100%); }
  .hero-inner { padding: 56px 0 110px; max-width: 100%; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 17px; }
  .reg-card, .video-grid { grid-template-columns: 1fr; }
  .video-grid { gap: 32px; }
  .step-grid { grid-template-columns: 1fr; gap: 28px; }
  .step-arrow { display: none; }
  .step p { max-width: none; }
  .final h2 { font-size: 30px; }
  .final__globe { width: 100%; right: -30%; opacity: .45; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .site-header { height: 64px; }
  .brand img { height: 26px; }
  .site-header .cta { padding: 11px 16px; font-size: 13px; }
  .hero { min-height: 0; }
  .hero-inner { padding: 44px 0 100px; }
  .hero h1 { font-size: 31px; letter-spacing: -.6px; }
  .hero p { font-size: 16px; margin-bottom: 24px; }
  .form-wrap { margin-top: -64px; }
  .reg-card { padding: 24px 18px; border-radius: 16px; }
  .reg-card h2 { font-size: 25px; }
  .mini-benefits { flex-direction: column; gap: 10px; }
  .features { margin-top: 32px; padding: 32px 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 22px; }
  .video-section { padding: 48px 0 40px; }
  .video-copy h2, .steps h2 { font-size: 28px; }
  .final h2 { font-size: 26px; }
  .final .container { padding: 52px 0 150px; }
  .final__globe { width: 150%; right: -40%; opacity: .6; -webkit-mask-image: none; mask-image: none; }
  .reg-modal { padding: 12px; }
  .reg-modal__card { padding: 26px 18px; margin: 3vh auto; }
  .reg-modal__head h2 { font-size: 21px; }
  .cookie-policy button { margin: 6px 0 0 8px; }
}
