*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --page-bg: #f0f2ff;
  --navy: #0e1c90;
  --dark: #12173f;
  --body: #31344d;
  --accent: #6070ff;
  --purple: #c422c6;
  --lavender: #b0b8ff;
  --white: #ffffff;
  --right-gradient: linear-gradient(145deg, #0e1c90, #1a2fa8, #2030be);
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
  --page-max-width: 1440px;
  --col-left-ratio: 0.48;
  --col-right-ratio: 0.52;
  --right-col-max-height: 720px;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.content-wrap {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ── Top nav ── */

.top-nav {
  width: 100%;
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid rgba(14, 28, 144, 0.06);
  flex-shrink: 0;
}

.top-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo__img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(96, 112, 255, 0.12);
  border: 1px solid rgba(96, 112, 255, 0.2);
  border-radius: 999px;
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

/* ── Main layout ── */

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.left-col {
  background: var(--page-bg);
  display: flex;
  align-items: center;
  padding: 48px 40px;
  width: 100%;
  overflow: hidden;
}

.left-col__inner {
  max-width: 560px;
  width: 100%;
}

.left-col__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.right-col {
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  background: var(--right-gradient);
  flex: 1;
  display: flex;
  align-items: center;
}

.right-col__stage {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  min-height: 480px;
}

/* ── Left column content ── */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow__rule {
  width: 8px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.headline {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.25;
  letter-spacing: -1px;
  color: var(--dark);
  max-width: 100%;
}

.headline__line {
  display: block;
}

.headline__line:first-child {
  white-space: nowrap;
}

.headline__line--gradient {
  background: linear-gradient(135deg, #6070ff, #c422c6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  margin: 0 0 32px;
  max-width: 380px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--body);
  opacity: 0.65;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: #122384;
  border: 1px solid rgba(14, 28, 144, 0.08);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(14, 28, 144, 0.08);
}

.feature:first-child .feature__icon {
  width: 56px;
  height: 56px;
}

.feature__icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.feature:first-child .feature__icon img {
  width: 56px;
  height: 56px;
}

.feature:last-child .feature__icon img {
  width: 40px;
  height: 40px;
}

/* ── Right column layers ── */

.right-col__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.right-col__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.right-col__glow--purple {
  top: -100px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(192, 34, 198, 0.45) 0%, rgba(192, 34, 198, 0.12) 45%, transparent 72%);
}

.right-col__glow--lavender {
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(176, 184, 255, 0.35) 0%, rgba(176, 184, 255, 0.1) 45%, transparent 72%);
}

.right-col__cloud {
  position: absolute;
  bottom: 8%;
  left: 4%;
  width: min(220px, 40%);
  height: auto;
  opacity: 0.14;
  pointer-events: none;
  z-index: 2;
  filter: brightness(0) invert(1);
}

.right-col__mark {
  position: absolute;
  pointer-events: none;
  filter: brightness(0) invert(1);
  z-index: 3;
}

.right-col__mark--large {
  top: -50px;
  right: -70px;
  width: 280px;
  height: 280px;
  opacity: 0.1;
  animation: spin 40s linear infinite;
}

.right-col__mark--center {
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  opacity: 0.12;
  animation: spin-center 18s linear infinite;
}

/* ── Floating cards ── */

.cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(14, 28, 144, 0.07);
  box-shadow: 0 16px 48px rgba(14, 28, 144, 0.12);
  padding: 16px 18px;
}

.card--top-right {
  top: 12%;
  right: 20%;
  width: auto;
  min-width: 200px;
}

.card--middle-left {
  top: 38%;
  left: 8%;
  width: 200px;
}

.card--middle-right {
  top: 48%;
  right: 10%;
  width: 220px;
}

.card--bottom-right {
  bottom: 5%;
  right: 15%;
}

.card--pill {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
  white-space: nowrap;
}

.card__pill-accent {
  color: var(--accent);
  font-weight: 600;
}

.card__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card__copy {
  min-width: 0;
}

.card__row .card__chip {
  margin-bottom: 0;
}

.card__copy .card__title {
  margin-bottom: 2px;
  white-space: nowrap;
}

.card__copy .card__sub {
  white-space: nowrap;
}

.card__chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  background: var(--page-bg);
  border-radius: 10px;
}

.card__chip img {
  width: 20px;
  height: 20px;
}

.card__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.card__label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
  opacity: 0.7;
}

.card__sub {
  margin: 0;
  font-size: 12px;
  color: var(--body);
  opacity: 0.78;
}

.card__sub--wrap {
  line-height: 1.5;
  opacity: 0.72;
}

.card__stat {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -1px;
  color: var(--dark);
}

.card__chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 48px;
}

.card__bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--accent);
}

.card__bar--1 {
  height: 35%;
  opacity: 0.35;
}
.card__bar--2 {
  height: 55%;
  opacity: 0.45;
}
.card__bar--3 {
  height: 70%;
  opacity: 0.55;
}
.card__bar--4 {
  height: 85%;
  opacity: 0.7;
}
.card__bar--5 {
  height: 60%;
  opacity: 0.5;
}
.card__bar--6 {
  height: 90%;
  opacity: 0.85;
}

.card__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.card__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.card__status-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

/* ── Bottom bar ── */

.bottom-bar {
  width: 100%;
  height: 48px;
  background: var(--white);
  border-top: 1px solid rgba(14, 28, 144, 0.07);
  flex-shrink: 0;
}

.bottom-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.bottom-bar__copy {
  margin: 0;
  font-size: 12px;
  color: var(--body);
  opacity: 0.55;
}

.bottom-bar__email {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.bottom-bar__email:hover {
  text-decoration: underline;
}

/* ── Animations ── */

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-center {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.anim-fade-left {
  animation: fadeInLeft 0.6s ease forwards;
  opacity: 0;
}

.anim-fade-up {
  animation: fadeInUp 0.65s ease forwards;
  opacity: 0;
}

.anim-delay-1 {
  animation-delay: 0.1s;
}
.anim-delay-2 {
  animation-delay: 0.2s;
}
.anim-delay-3 {
  animation-delay: 0.32s;
}

.card {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards, float 5.5s ease-in-out infinite;
}

.card--top-right {
  animation: fadeIn 0.6s ease forwards, float 5.5s ease-in-out 0.6s infinite;
}

.card--middle-left {
  animation: fadeIn 0.6s ease 0.15s forwards, float 5.5s ease-in-out 1.6s infinite;
}

.card--middle-right {
  animation: fadeIn 0.6s ease 0.3s forwards, float 6s ease-in-out 2.6s infinite;
}

.card--bottom-right {
  animation: fadeIn 0.6s ease 0.45s forwards, float 5s ease-in-out 2.1s infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .anim-fade-left,
  .anim-fade-up,
  .card {
    opacity: 1;
  }
}

/* ── Desktop layout ── */

@media (min-width: 1024px) {
  .content-wrap {
    padding-left: 40px;
    padding-right: 40px;
  }

  .main {
    flex-direction: row;
  }

  .left-col {
    flex: 0 0 calc(var(--col-left-ratio) * 100%);
    padding: 80px 72px 80px 48px;
  }

  .left-col__inner {
    margin-left: max(0px, calc((100vw - var(--page-max-width)) / 2));
    margin-right: auto;
    max-width: min(560px, calc(var(--page-max-width) * var(--col-left-ratio) - 120px));
  }

  .right-col {
    flex: 0 0 calc(var(--col-right-ratio) * 100%);
    align-self: stretch;
  }

  .right-col__stage {
    max-width: calc(var(--page-max-width) * var(--col-right-ratio));
    max-height: var(--right-col-max-height);
    height: var(--right-col-max-height);
    margin-right: max(0px, calc((100vw - var(--page-max-width)) / 2));
    margin-left: auto;
  }

  .cards {
    position: absolute;
    inset: 0;
  }
}

/* ── Tablet: side-by-side copy + bullets ── */

@media (min-width: 768px) and (max-width: 1023px) {
  .left-col {
    padding: 56px 40px;
  }

  .right-col__stage {
    max-height: none;
    height: auto;
  }

  .left-col__inner {
    max-width: 100%;
  }

  .left-col__body {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px 48px;
    align-items: center;
  }

  .subtitle {
    margin-bottom: 0;
    max-width: none;
  }

  .right-col {
    min-height: 520px;
    padding: 48px 32px;
  }

  .right-col__stage {
    max-width: 560px;
    margin: 0 auto;
    min-height: 440px;
  }

  .cards {
    position: relative;
    inset: unset;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 14px;
    margin-top: 20px;
    min-height: 0;
  }

  .card {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: auto;
    animation: fadeIn 0.6s ease forwards;
  }

  .card--middle-left {
    grid-column: 1;
    grid-row: 1 / span 2;
    animation-delay: 0.15s;
  }

  .card--top-right {
    grid-column: 2;
    grid-row: 1;
  }

  .card--middle-right {
    grid-column: 2;
    grid-row: 2;
    animation-delay: 0.3s;
  }

  .card--bottom-right {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
    animation-delay: 0.45s;
  }

  .right-col__mark--large {
    width: 220px;
    top: unset;
    bottom: -30px;
    right: -30px;
  }

  .right-col__mark--center {
    width: 60px;
  }

  .right-col__cloud {
    width: 180px;
    bottom: 6%;
    left: 2%;
  }
}

/* ── Mobile ── */

@media (max-width: 767px) {
  .content-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .right-col__stage {
    max-height: none;
    height: auto;
  }

  .top-nav {
    height: 56px;
  }

  .logo__img {
    height: 28px;
  }

  .headline {
    font-size: clamp(32px, 8.5vw, 44px);
    letter-spacing: -0.5px;
  }

  .left-col {
    padding: 40px 24px;
  }

  .right-col {
    min-height: 520px;
    padding: 36px 20px 44px;
  }

  .right-col__stage {
    max-width: 400px;
    margin: 0 auto;
    min-height: 420px;
  }

  .cards {
    position: relative;
    inset: unset;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    margin-top: 16px;
  }

  .card {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: auto;
    padding: 14px;
    animation: fadeIn 0.6s ease forwards;
  }

  .card--middle-left {
    grid-column: 1;
    grid-row: 1 / span 2;
    animation-delay: 0.15s;
  }

  .card--top-right {
    grid-column: 2;
    grid-row: 1;
  }

  .card--middle-right {
    grid-column: 2;
    grid-row: 2;
    animation-delay: 0.3s;
  }

  .card--bottom-right {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
    animation-delay: 0.45s;
  }

  .card__stat {
    font-size: 24px;
  }

  .card--pill {
    font-size: 11px;
    padding: 8px 14px;
  }

  .right-col__mark--large {
    width: 180px;
    top: unset;
    bottom: -24px;
    right: -24px;
  }

  .right-col__mark--center {
    width: 52px;
  }

  .right-col__cloud {
    width: 140px;
    bottom: 4%;
    left: 0;
    opacity: 0.12;
  }
}
