/* ==========================================================================
   VIREKA — /landingpage
   Figma: SECTION "Landing Page" > FRAME "Landing page" (259:5051), 1512 x 9917
   ========================================================================== */

/* ---------------- 1. Hero (Figma 320:31762) ---------------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding-top: 150px;
  padding-bottom: 230px;
  min-height: 972px;
  display: flex;
  flex-direction: column;
}
/* Layered dark ellipses — Figma "Round" group: linear #05001c -> #0b173f -> #0b0914 */
.hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -60%;
  width: 2079px;
  max-width: 190vw;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(18, 45, 86, .70) 0%,
    rgba(11, 23, 63, .45) 52%,
    rgba(5, 0, 28, 0) 100%);
  z-index: -3;
  pointer-events: none;
}
/* Figma applies SATURATION blend to this tile sheet, so it tints without lightening. */
.hero__grid {
  position: absolute;
  inset: 95px 0 auto 0;
  width: 100%;
  mix-blend-mode: saturation;
  opacity: .35;
  z-index: -2;
  pointer-events: none;
}
/* Bottom glow — Figma linear #5677ed00 -> #5677ed -> #11e1d8 */
.hero__glow {
  position: absolute;
  left: 0; right: 0; bottom: -40px;
  height: 300px;
  background: linear-gradient(180deg,
    rgba(86,119,237,0) 0%,
    rgba(86,119,237,.35) 55%,
    rgba(17,225,216,.55) 100%);
  filter: blur(28px);
  z-index: -2;
  pointer-events: none;
}
/* White horizon ellipse at the base of the hero */
.hero__horizon {
  position: absolute;
  left: 50%;
  bottom: -110px;
  width: min(1000px, 78vw);
  height: 220px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.95) 0%, rgba(214,232,255,.55) 45%, rgba(214,232,255,0) 75%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  text-align: center;
  padding-top: 120px;
  flex: 1;
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  /* Figma uses a transparent->#405bbf ramp; lifted here so the label stays legible. */
  background: linear-gradient(90deg, #405bbf 0%, #8ba6ff 55%, #405bbf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 18px;
}
.hero__title {
  max-width: 904px;
  margin: 0 auto;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.0;
  font-weight: 500;
}
.hero__sub {
  max-width: 562px;
  margin: 26px auto 0;
  font-size: 18px;
  line-height: 24px;
  color: var(--grey-400);
}
.hero__actions {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero__character {
  position: absolute;
  left: max(-90px, -6vw);
  bottom: -10px;
  z-index: 2;
  width: min(660px, 46vw);
  pointer-events: none;
}

/* Floating glass badges */
.badge {
  position: absolute;
  z-index: 3;
  width: 384px;
  max-width: 40vw;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
  text-align: left;
}
.badge__title { font-size: 18px; line-height: 24px; font-weight: 500; margin: 0; }
.badge__text { font-size: 14px; line-height: 19px; font-weight: 300; color: rgba(255,255,255,.75); margin: 6px 0 0; }
.badge__icon { width: 40px; height: 40px; flex: none; margin-left: auto; color: var(--blue-400); }
.badge--left { left: max(20px, calc(50% - 616px)); top: 190px; }
.badge--right { right: max(20px, calc(50% - 616px)); top: 678px; }

/* ---------------- 2. Problem (Figma 322:6388) ---------------- */
.problem { padding: 100px 0 0; background: var(--white); }
.problem__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.problem__head .h2 { max-width: 715px; }
.problem__head .lede { max-width: 715px; margin-top: 20px; }

/* The arch cards sit on top of, and overhang, the black stage. */
.problem__canvas { position: relative; margin-top: 230px; }
.problem__stage {
  position: relative;
  background: var(--black);
  border-radius: 200px;
  padding: 300px 40px 56px;
  overflow: hidden;
}
.problem__stage-mark {
  position: absolute;
  right: -60px;
  top: -40px;
  width: 520px;
  opacity: .06;
  pointer-events: none;
}
.arch-row {
  position: absolute;
  top: -190px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1010px, calc(100% - 120px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}
.arch {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border-radius: 170px 170px 20px 20px;
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(6, 5, 11, .18);
}
.arch img { width: 190px; margin: 0 auto 18px; }
.arch__title {
  font-size: 14px;
  line-height: 19px;
  font-weight: 500;
  color: var(--navy-900);
  margin: 0 0 12px;
}
.arch__note {
  font-size: 14px;
  line-height: 19px;
  font-weight: 500;
  color: var(--blue-500);
  background: #e8eefc;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0;
}
.arch:first-child .arch__note { color: var(--blue-600); }

.problem__caption {
  position: relative;
  max-width: 770px;
  margin: 40px auto 0;
  text-align: center;
  font-family: var(--font-alt);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: var(--white);
}

/* ---------------- 3. Why VIREKA (Figma 262:2032) ---------------- */
/* Figma crops the arches at the section edge, so the row is clipped here too. */
.why {
  padding: 110px 0 0;
  text-align: center;
  background: var(--white);
  overflow: hidden;
  max-height: 900px;
}
.why .h2 { margin-top: 14px; }
.why__lede { max-width: 661px; margin: 24px auto 0; }

.pillars {
  display: grid;
  grid-template-columns: .8fr 1.35fr .8fr;
  align-items: end;
  gap: 20px;
  max-width: 1090px;
  margin: 64px auto 0;
}
.pillar {
  border-radius: 50% 50% 0 0 / 32% 32% 0 0;
  padding: 44px 28px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -1px 0 rgba(0,0,0,.06), 0 24px 60px rgba(6,5,11,.10);
}
.pillar--a { background: linear-gradient(180deg, #ffffff 0%, #eef1f8 100%); height: 310px; }
.pillar--b { background: linear-gradient(180deg, #2b6bf0 0%, #6ea6ff 55%, #eef4ff 100%); height: 405px; }
.pillar--c {
  background: linear-gradient(180deg, #2f4ff0 0%, #3f78ff 60%, #2438d8 100%);
  height: 470px;
  padding: 0;
}
.pillar--c img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }

.pillar__badge {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #1b2233 0%, #06050b 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 40px;
}
.pillar--b .pillar__badge {
  width: 150px; height: 150px;
  font-family: var(--font-display);
  font-size: 56px;
}
.pillar__title { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 43px; margin: 0 0 10px; }
.pillar__text { font-size: 16px; line-height: 22px; font-weight: 500; margin: 0; max-width: 420px; margin-inline: auto; }

/* ---------------- 4. Transformation timeline (Figma 327:6190) ---------------- */
.journey { padding: 120px 0; background: var(--white); }
/* Figma lays this out as: character | intro copy | timeline */
.journey__grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}
.journey__visual { position: relative; padding-top: 120px; }
.journey__visual img { width: 100%; }
.journey__visual::before {
  content: '';
  position: absolute;
  left: -220px; top: 60px;
  width: 480px; height: 420px;
  border-radius: 0 240px 240px 0;
  background: linear-gradient(135deg, #eef2ff 0%, rgba(238,242,255,0) 75%);
  z-index: -1;
}
.journey__intro { padding-top: 190px; }
.journey__intro .h2 { max-width: 500px; margin-top: 12px; }
.journey__intro .lede { max-width: 420px; margin-top: 20px; }

.steps { list-style: none; margin: 0; padding: 0 0 0 72px; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  left: 27px; top: 12px; bottom: 12px;
  width: 1px;
  background: #e3e6ee;
}
.step { position: relative; padding-bottom: 56px; }
.step:last-child { padding-bottom: 0; }
.step__icon {
  position: absolute;
  left: -72px; top: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #eef2fd;
  display: grid;
  place-items: center;
  color: var(--blue-600);
}
.step__icon svg { width: 24px; height: 24px; }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 43px; margin: 0 0 8px; color: var(--ink); }
.step p { font-size: 18px; line-height: 24px; font-weight: 500; color: var(--grey-600); margin: 0; max-width: 430px; }

/* ---------------- 5. Features (Figma 335:6396) ---------------- */
.features {
  background: var(--black);
  color: var(--white);
  border-radius: 64px;
  margin: 0 24px;
  padding: 96px 0 80px;
  overflow: hidden;
}
.features .h2 { max-width: 840px; margin-top: 16px; color: var(--white); }
.features__eyebrow { color: var(--blue-400); }

.feature-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feature {
  background: #0e0e12;
  border-radius: 28px;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
}
.feature h3 { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 43px; margin: 0 0 12px; }
.feature p { font-size: 16px; line-height: 22px; color: rgba(255,255,255,.6); margin: 0; max-width: 320px; }
.feature-art {
  background: radial-gradient(circle at 50% 50%, #10203f 0%, #07070c 70%);
  border-radius: 28px;
  display: grid;
  place-items: center;
  padding: 24px;
  min-height: 300px;
  position: relative;
}
.feature-art img { width: min(300px, 80%); }
.feature-art__tag {
  position: absolute;
  top: 32px; right: 32px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.75);
}
.feature-art__tag b { color: var(--white); font-weight: 600; }

/* ---------------- 6. How it works (Figma 259:5384) ---------------- */
.howto { padding: 110px 0; background: var(--white); }
.howto .h2 { margin-top: 12px; }
.howto .lede { max-width: 560px; margin-top: 20px; }

.flow { margin-top: 72px; position: relative; }
.flow__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.flow__row--2 { margin-top: 72px; grid-template-columns: repeat(3, 1fr); }
.flow__row--2 .flow__item:nth-child(1) { grid-column: 2; }
.flow__row--2 .flow__item:nth-child(2) { grid-column: 3; }

.flow__item { position: relative; padding-top: 76px; }
.flow__num {
  position: absolute;
  top: 0; left: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue-400);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  box-shadow: 0 0 0 10px #eaf0ff;
}
.flow__item h3 { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 43px; margin: 0 0 10px; max-width: 260px; }
.flow__item p { font-size: 16px; line-height: 22px; color: var(--grey-500); margin: 0; max-width: 240px; }
.flow__track {
  position: absolute;
  left: 28px; right: 28px; top: 28px;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0b1436 0%, #26449c 60%, #7f9dff 100%);
  z-index: -1;
}
.flow__row--2 .flow__track {
  left: calc(33.33% + 28px);
  background: linear-gradient(90deg, #8fa9ff 0%, #b9c9ff 100%);
}

/* ---------------- 7. Not a registration platform (Figma 343:5777) ---------------- */
.notplatform { padding: 40px 0 120px; background: var(--white); }
.notplatform__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.notplatform__visual {
  border-radius: 220px 220px 24px 24px;
  overflow: hidden;
  width: 100%;
  max-width: 468px;
  aspect-ratio: 468 / 693;
  object-fit: cover;
  object-position: 42% 50%;
  background: var(--ink);
}
.notplatform .h2 { max-width: 520px; margin-top: 14px; }
.notplatform .lede { max-width: 480px; margin: 22px 0 34px; }

/* ---------------- 8. FAQ (Figma 351:9025) ---------------- */
.faq {
  background: var(--black);
  color: var(--white);
  border-radius: 64px;
  margin: 0 24px;
  padding: 90px 0;
  text-align: center;
}
.faq .h2 { margin: 14px auto 0; max-width: 713px; }
.faq__list {
  margin: 44px auto 0;
  max-width: 1145px;
  display: grid;
  gap: 12px;
  text-align: left;
}
.faq__item {
  background: #131317;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.05);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: 0;
  padding: 26px 28px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: var(--white);
}
.faq__chev {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  display: grid;
  place-items: center;
  transition: transform .25s ease;
}
.faq__chev svg { width: 16px; height: 16px; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a {
  padding: 0 28px 26px;
  font-size: 16px;
  line-height: 22px;
  color: rgba(255,255,255,.65);
  margin: 0;
  max-width: 1021px;
}
.faq__more { margin-top: 36px; }

/* ---------------- 9. Closing CTA (Figma 343:6539) ---------------- */
.cta { padding: 90px 0 40px; background: var(--white); overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cta .h2 { max-width: 500px; }
.cta .lede { max-width: 463px; margin: 28px 0 34px; }
.cta__visual { position: relative; justify-self: end; }
.cta__visual img { width: min(560px, 100%); }
.cta__chip {
  position: absolute;
  left: 6%;
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cta__chip-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(90deg, rgba(64,91,191,0) 0%, #405bbf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #7d92e0;
}
.cta__chip-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 65px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #dfe6fb;
  border-radius: 18px;
  padding: 6px 26px;
  box-shadow: 0 12px 30px rgba(86,119,237,.14);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .journey__grid { grid-template-columns: 220px 1fr; gap: 40px; }
  .journey__grid .steps { grid-column: 1 / -1; padding-left: 72px; }
  .journey__visual { padding-top: 40px; }
  .journey__intro { padding-top: 40px; }
  .notplatform__grid,
  .cta__grid { grid-template-columns: 1fr; gap: 48px; }
  .cta__visual { justify-self: center; }
  .badge { display: none; }
  .hero__inner { padding-top: 60px; }
  .flow__row, .flow__row--2 { grid-template-columns: 1fr; gap: 44px; }
  .flow__row--2 .flow__item:nth-child(1),
  .flow__row--2 .flow__item:nth-child(2) { grid-column: auto; }
  .flow__track { display: none; }
}
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; padding: 40px 32px; }
  .feature-art { min-height: 240px; order: -1; }
  .pillars { grid-template-columns: 1fr; }
  .pillar--a, .pillar--b, .pillar--c { height: auto; min-height: 320px; }
  .arch-row { grid-template-columns: 1fr; margin-top: -140px; gap: 28px; }
  .problem__stage { border-radius: 80px; padding: 80px 24px 32px; }
  .features, .faq { margin: 0 12px; border-radius: 36px; }
  .hero__character { width: 78vw; margin-left: -10vw; }
  .problem__head { flex-direction: column; }
  .steps { padding-left: 60px; }
  .step__icon { left: -60px; width: 46px; height: 46px; }
}
