:root {
  --bg: #030b14;
  --cyan: #5affff;
  --cyan-soft: #5ee6e0;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .72);
  --nav-bg: #0b1722;
  --font: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

.container { width: min(1360px, 100% - 48px); margin-inline: auto; }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 70px; padding: 0 40px;
  border-radius: 999px; border: 0; cursor: pointer;
  background: var(--cyan); color: #04202b;
  font-weight: 500; font-size: 22px;
  box-shadow: 0 10px 34px rgba(90, 255, 255, .22);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 14px 40px rgba(90, 255, 255, .35); }
.btn--hero { width: min(600px, 100%); height: 68px; font-size: 24px; }
.btn--block { width: 100%; }
.btn--wide { width: 100%; }
.btn--glow { margin-top: 56px; height: 70px; box-shadow: 0 0 40px rgba(90, 255, 255, .45); }
.btn--sm { height: 56px; padding: 0 38px; font-size: 20px; margin-top: 20px; }

.glow-line {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, rgba(90, 255, 255, .6), transparent);
}
.glow-line--page { width: min(1000px, 100% - 48px); margin: 0 auto; opacity: .55; }

/* ---------- nav (as webinar.maflam.com) ---------- */
header { position: fixed; top: 0; right: 0; left: 0; z-index: 100; padding: 1.5rem 2rem; transition: .3s; }
header.scrolled { background: rgba(3, 11, 17, .9); backdrop-filter: blur(12px); padding: 1rem 2rem; box-shadow: 0 8px 30px rgba(0, 0, 0, .4); }
.header-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { opacity: .8; transition: opacity .2s; font-size: .95rem; font-weight: 400; }
.nav-links a:hover { opacity: 1; color: var(--cyan); }
.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.btn-login { padding: .6rem 1.5rem; border: 1px solid var(--cyan); border-radius: 999px; color: var(--cyan); font-size: .9rem; font-weight: 400; transition: .2s; background: none; cursor: pointer; }
.btn-login:hover { background: var(--cyan); color: var(--bg); }
.menu-toggle { display: none; background: none; border: 0; color: var(--cyan); font-size: 1.8rem; cursor: pointer; }
/* ---------- hero ---------- */
.hero { position: relative; padding-top: 210px; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0 0 auto 0; height: 1290px; z-index: -1;
  background:
    linear-gradient(180deg, rgba(3,11,20,.15) 0%, rgba(3,11,20,.2) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(3,11,20,.0) 50%, rgba(3,11,20,.35) 100%),
    url("assets/hero.jpg") center top / cover no-repeat;
}
.hero__text { text-align: center; }
.hero__lead { font-size: clamp(20px, 2vw, 30px); font-weight: 300; }
.hero__lead2 { font-size: clamp(22px, 2.4vw, 38px); font-weight: 300; margin-top: 2px; }
.hero__lead2 strong { font-weight: 800; }
.hero__title { color: var(--cyan); font-weight: 700; font-size: clamp(40px, 5.4vw, 104px); line-height: 1.25; margin-top: 34px; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.hero__sub { font-size: clamp(20px, 2.2vw, 36px); font-weight: 300; margin-top: 34px; }
.hero .btn--hero { margin-top: 62px; }

.webcard {
  position: relative; width: min(1524px, 100% - 48px); margin: 162px auto 0;
  padding: 56px 24px 56px; border-radius: 54px; text-align: center; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5,16,26,.72), rgba(5,16,26,.55)),
    url("assets/gradient.jpg") center / cover;
  border: 1px solid rgba(255,255,255,.05);
}
.webcard__title { font-size: clamp(40px, 3.6vw, 70px); font-weight: 500; line-height: 1.2; }
.webcard__host { font-size: 28px; color: var(--muted); margin-top: 10px; }
.webcard .glow-line { width: min(780px, 80%); margin: 56px auto 40px; opacity: .7; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips--center { margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px;
  border: 1px solid rgba(90, 255, 255, .85); border-radius: 999px; color: var(--cyan); font-weight: 400; font-size: 18px; white-space: nowrap;
}
.chip--wide { min-width: 230px; justify-content: center; }
.webcard .chips { margin-bottom: 38px; }
.webcard .btn--block { width: min(772px, 100%); }
.gift { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--cyan); margin-top: 26px; font-weight: 400; font-size: 18px; }

/* ---------- anchors ---------- */
.anchors { display: flex; justify-content: center; gap: 58px; flex-wrap: wrap; margin-top: 100px; font-size: 22px; color: var(--cyan); font-weight: 300; }
.anchors a { display: inline-flex; gap: 10px; transition: opacity .2s; }
.anchors a:hover { opacity: .75; }
.anchors i { font-style: normal; }
.glow-line--page { margin-top: 70px !important; }

/* ---------- headings ---------- */
.h2 { font-weight: 500; font-size: clamp(34px, 3.2vw, 62px); line-height: 1.3; text-align: center; }
.h2--lg { font-size: clamp(34px, 3.4vw, 64px); }
.h2--xl { font-size: clamp(40px, 3.8vw, 72px); }

/* ---------- idea ---------- */
.idea { margin-top: 150px; text-align: center; }
.idea__sub { font-size: clamp(20px, 1.9vw, 32px); color: var(--cyan-soft); margin-top: 22px; }
.idea__panel {
  margin: 56px auto 0; width: min(1395px, 100%); padding: 56px 72px; border-radius: 80px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: linear-gradient(180deg, rgba(59,88,90,.9), rgba(53,80,84,.9));
}
.qcard {
  min-height: 170px; padding: 20px; border-radius: 10px; display: grid; place-items: center;
  font-size: 22px; font-weight: 400; line-height: 1.5; text-align: center;
  background: #5b7478;
}
.qcard--2 { background: radial-gradient(circle at 85% 90%, #58b7ab, transparent 60%), #4a7a7c; }
.qcard--3 { background: linear-gradient(135deg, #3b4a78, #532171); }
.qcard--4 { background: linear-gradient(135deg, #3b6e80, #6a3d78); }

/* ---------- journey / film ---------- */
.journey { position: relative; margin-top: 130px; padding-top: 120px; isolation: isolate; }
.journey__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(3,11,20,.72) 14%, rgba(3,11,20,.72) 88%, var(--bg) 100%),
    url("assets/waves.jpg") center / cover no-repeat;
}
.journey__head { text-align: center; }
.journey__sub { max-width: 700px; margin: 26px auto 0; color: var(--muted); font-size: 24px; line-height: 1.75; }

.film { container-type: inline-size; margin-top: 150px; }
.film__stage { --u: calc(100cqw / 1920); position: relative; width: 100%; height: calc(1400 * var(--u)); }
.film__ribbon { position: absolute; left: calc(462 * var(--u)); top: calc(-215 * var(--u)); height: calc(1500 * var(--u)); width: auto; max-width: none; filter: brightness(.78) saturate(.9) drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.fl { position: absolute; inset: 0; pointer-events: none; font-size: calc(32 * var(--u)); }
.fl::before { /* connector line */
  content: ""; position: absolute; top: calc(var(--y) * var(--u)); left: calc(var(--lx) * var(--u)); width: calc(var(--lw) * var(--u)); height: 1px; background: rgba(255,255,255,.55);
}
.fl::after { /* dot */
  content: ""; position: absolute; top: calc(var(--y) * var(--u) - 7px); left: calc(var(--x) * var(--u) - 14px); width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.6);
}
.fl__ic { position: absolute; left: calc(var(--ix) * var(--u)); top: calc(var(--iy) * var(--u)); width: calc(56 * var(--u)); height: calc(56 * var(--u)); transform: translate(-50%, -50%); fill: #fff; stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; }
.fl__t { position: absolute; top: calc(var(--y) * var(--u)); left: calc(var(--x) * var(--u) - 14px - 14px); transform: translate(-100%, -50%); text-align: right; line-height: 1.5; font-weight: 400; white-space: nowrap; }
/* labels sitting on the right side of their dot read towards the right */
.fl:nth-of-type(2) .fl__t, .fl:nth-of-type(3) .fl__t, .fl:nth-of-type(6) .fl__t { left: calc(var(--x) * var(--u) + 14px); transform: translate(0, -50%); text-align: right; }
.fl:nth-of-type(2) .fl__t { transform: translate(0, -50%); }
.fl--two .fl__t { transform: translate(0, -28%); }

/* ---------- steps ---------- */
.expect { margin-top: 90px; }
.steps { position: relative; margin-top: 56px; }
.steps::before { content: ""; z-index: 2; position: absolute; top: 60px; bottom: 60px; right: 60px; width: 1px; background: rgba(90,255,255,.55); }
.step { position: relative; padding: 48px 110px 54px 80px; background: linear-gradient(180deg, rgba(5,16,27,.9), rgba(8,40,62,.9)); }
.step--a { background: linear-gradient(90deg, #0c3b5a 0%, #0c3b5a 55%, #0a2f4a 100%); }
.step::after { content: ""; z-index: 3; position: absolute; top: 56px; right: 54px; width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.step__no { font-size: 20px; font-weight: 400; }
.step__t { color: var(--cyan); font-size: clamp(28px, 2.6vw, 44px); font-weight: 500; line-height: 1.4; margin-top: 12px; }
.step__b { font-weight: 700; font-size: 22px; margin-top: 12px; }
.step__p { color: var(--muted); font-size: 21px; line-height: 1.9; margin-top: 14px; max-width: 800px; }
.step:not(.step--a) .step__p { margin-top: 12px; }

/* ---------- for you ---------- */
.foryou { margin-top: 130px; }
.fgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.fcard {
  display: flex; align-items: center; gap: 36px; min-height: 154px; padding: 24px 52px 24px 40px;
  border: 1px solid rgba(90,255,255,.25);
  background: linear-gradient(180deg, #05535b 0%, #07303b 55%, #061b28 100%);
  font-size: 24px; font-weight: 400; line-height: 1.75;
}
.fcard__ic { width: 56px; height: 56px; flex: none; fill: none; stroke: #5fd9c8; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fcard .soft { font-weight: 300; color: var(--muted); }

/* ---------- CTA gradient ---------- */
.cta { margin-top: 160px; }
.cta__card {
  border-radius: 64px 64px 64px 64px; padding: 90px 40px 80px; text-align: center;
  background:
    radial-gradient(ellipse at 22% 98%, #2d9a9a 0%, transparent 38%),
    linear-gradient(100deg, #1a7080 0%, #073358 34%, #4a1156 58%, #6a0a55 100%);
}
.cta__lead { font-weight: 500; font-size: 24px; }
.cta__title { color: var(--cyan); font-size: clamp(34px, 3.2vw, 58px); font-weight: 700; margin-top: 18px; line-height: 1.3; }
.cta__txt { font-size: 28px; font-weight: 300; margin-top: 22px; line-height: 1.5; color: rgba(255,255,255,.85); }
.cta__book { font-weight: 700; font-size: 25px; margin-top: 32px; }
.infos { display: flex; justify-content: center; gap: 16px; margin: 20px auto 24px; max-width: 880px; flex-wrap: wrap; }
.info {
  flex: 1 1 200px; min-width: 190px; height: 162px; border-radius: 28px; border: 1px solid rgba(90,255,255,.7);
  display: grid; align-content: center; justify-items: center; gap: 4px; font-size: 22px; background: rgba(5,20,40,.25);
}
.info .ic { color: var(--cyan); width: 28px; height: 28px; }
.info b { font-weight: 500; }
.info span { font-weight: 300; color: var(--muted); font-size: 20px; }
.cta__card .btn--wide { width: min(880px, 100%); height: 70px; }
.cta__note { color: var(--cyan); font-weight: 400; font-size: 21px; margin-top: 30px; }

/* ---------- host ---------- */
.host { margin-top: 180px; }
.host__card {
  width: min(1300px, 100%); margin-inline: auto; display: flex; gap: 56px; align-items: center; justify-content: space-between;
  padding: 72px 76px; border-radius: 28px; border: 1px solid rgba(90,255,255,.3);
  background: linear-gradient(180deg, rgba(5,20,28,.8), rgba(4,14,22,.8));
}
.host__photo { margin: 0; flex: none; width: 406px; align-self: flex-start; border-radius: 8px; overflow: hidden; border: 1px solid rgba(90,255,255,.2); }
.host__photo img { width: 100%; height: auto; aspect-ratio: 406 / 525; object-fit: cover; object-position: 50% 30%; }
.host__body { flex: 1; font-size: 18px; line-height: 1.75; color: rgba(255,255,255,.88); }
.host__body p + p { margin-top: 24px; }
.host__title { font-size: 32px; font-weight: 700; color: #fff; }
.host__body .host__role { color: var(--cyan); font-weight: 500; font-size: 18px; margin-top: 28px; }
.host__body .btn--sm { color: #04202b; }

/* ---------- final / form ---------- */
.final { position: relative; margin-top: 130px; padding: 250px 0 120px; isolation: isolate; }
.final__bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(3,11,20,.2) 25%, rgba(3,11,20,.35) 80%, var(--bg) 100%), url("assets/lines.jpg") center / cover no-repeat;
}
.glass {
  text-align: center; padding: 120px 40px 80px; border-radius: 60px;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(160,160,160,.55), transparent 28%),
    linear-gradient(95deg, rgba(150,95,110,.75) 0%, rgba(30,150,145,.75) 55%, rgba(25,125,125,.75) 100%);
  backdrop-filter: blur(12px);
}
.glass__title { font-size: clamp(34px, 3.4vw, 64px); font-weight: 500; line-height: 1.3; }
.glass__txt { font-size: 25px; color: rgba(255,255,255,.85); margin-top: 12px; }
.glass__hl { color: var(--cyan); font-weight: 700; font-size: 34px; margin-top: 32px; }
.glass__web { font-size: 24px; margin-top: 32px; }
.glass__web b { font-weight: 800; }
.glass .btn--full { width: min(916px, 100%); margin-top: 22px; }

.regwrap { position: relative; display: flex; flex-direction: row-reverse; align-items: flex-start; justify-content: space-between; margin-top: 80px; gap: 40px; }
.form {
  width: min(720px, 100%); padding: 48px 48px 48px; border-radius: 60px 60px 60px 60px; border: 1.5px solid rgba(90,255,255,.85);
  background: linear-gradient(180deg, rgba(14,40,46,.8), rgba(10,28,34,.8));
  display: flex; flex-direction: column;
}
.form label { font-weight: 500; font-size: 20px; margin: 22px 0 14px; }
.form label:first-child { margin-top: 28px; }
.form input, .form textarea {
  width: 100%; height: 68px; padding: 0 24px; border-radius: 26px; border: 1px solid rgba(90,255,255,.55);
  background: rgba(30,70,72,.35); outline: 0; font-size: 20px; font-weight: 300; transition: border-color .2s, box-shadow .2s;
}
.form textarea { height: 130px; padding: 20px 24px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.5); }
.form input:focus, .form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(90,255,255,.2); }
.form input.invalid { border-color: #ff7b8a; }
.form .btn { margin-top: 24px; }
.form__msg { min-height: 24px; margin-top: 12px; text-align: center; color: var(--cyan); font-weight: 400; }
.regwrap__text { text-align: right; padding-top: 0; width: 400px; }
.reg__h { color: var(--cyan); font-weight: 200; font-size: 64px; line-height: 1.2; }
.reg__t { font-weight: 500; font-size: 40px; line-height: 1.5; margin-top: 10px; }
.reg__s { color: var(--muted); font-size: 21px; margin-top: 22px; }
.diamond { position: absolute; width: 50px; height: 50px; background: linear-gradient(135deg, #5ad9d9, #1a5a68); transform: rotate(45deg); border-radius: 4px; opacity: .85; }
.diamond--a { left: -110px; bottom: 140px; }
.diamond--b { left: 770px; top: -40px; width: 64px; height: 64px; }

/* ---------- footer (as webinar.maflam.com) ---------- */
footer { position: relative; padding: 6rem 2rem 3rem; margin-top: 4rem; overflow: hidden; }
.footer-bg { position: absolute; inset: 0; z-index: 0; }
.footer-bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center top; }
.footer-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, #000000b3 25%, #000000ab 70%, var(--bg) 100%); }
footer .container { position: relative; z-index: 1; max-width: 1400px; }
.footer-big { text-align: center; font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; margin-bottom: 4rem; line-height: 1.2; }
.footer-big span { color: var(--cyan); }
.footer-big .sub { display: block; color: #fff; font-weight: 700; font-size: 51px; margin: 19px 0; }
.footer-divider { height: 1px; background: rgba(255, 255, 255, .1); margin: 2rem 0; }
.footer-row { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; transition: .2s; color: var(--cyan); }
.socials a:hover { background: rgba(90, 255, 234, .2); border-color: rgba(90, 255, 234, .5); }
.footer-logo img { height: 52px; width: auto; }
.copyright { text-align: center; color: rgba(255, 255, 255, .6); font-weight: 400; }
/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .nav-links, .nav-actions .btn-login { display: none; }
  .menu-toggle { display: block; }
  .header-inner { justify-content: space-between; }
  header.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; inset-inline: 0; padding: 20px 24px; background: rgba(3,11,17,.97); gap: 16px; }
}
@media (max-width: 1000px) {
  .idea__panel { grid-template-columns: repeat(2, 1fr); padding: 28px; border-radius: 40px; }
  .fgrid { grid-template-columns: 1fr; }
  .host__card { flex-direction: column-reverse; padding: 36px 24px; }
  .host__photo { width: min(406px, 100%); align-self: center; }
  .regwrap { flex-direction: column-reverse; align-items: stretch; }
  .regwrap__text { width: auto; }
  .diamond { display: none; }
  .step { padding: 40px 64px 40px 24px; }
  .steps::before { right: 28px; }
  .step::after { right: 22px; }
}
@media (max-width: 640px) {
  header { padding: 1rem; }
  .footer-big .sub { font-size: 27px; }
  .hero { padding-top: 110px; }
  .webcard { margin-top: 90px; padding: 48px 16px 40px; border-radius: 32px; }
  .chip { font-size: 15px; padding: 0 14px; white-space: normal; height: auto; min-height: 40px; }
  .btn { font-size: 18px; height: 60px; }
  .idea__panel { grid-template-columns: 1fr; }
  .anchors { gap: 22px; font-size: 18px; }
  .film__stage { height: calc(1400 * var(--u)); }
  .fl { font-size: calc(40 * var(--u)); }
  .info { flex-basis: 45%; min-width: 0; }
  .cta__card, .glass { padding: 56px 20px; border-radius: 36px; }
  .form { padding: 24px; border-radius: 36px; }
}

header, footer { font-family: "Almarai", var(--font); }
