@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;600;700;800&family=Red+Hat+Text:wght@400;600&display=swap');

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

body {
  font-family: 'Red Hat Display', sans-serif;
  background: #fff;
  color: #181c1e;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 64px 16px;
}

.nav-links { display: flex; align-items: center; gap: 24px; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: 'Red Hat Text', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
}
.nav-link:hover .nav-link-text { text-decoration: underline; }
.nav-link svg { flex-shrink: 0; }

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  background: #1324CC;
  background-image: linear-gradient(180deg, rgba(19,36,204,1) 0%, rgba(29,54,209,1) 50%, rgba(45,84,213,1) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 64px 64px 96px;
  width: 100%;
}

.hero-text { flex: 1; max-width: 560px; }

.hero-heading {
  font-weight: 600;
  font-size: 48px;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 24px;
  width: 100%;
  text-align: left;
}

.hero-description {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #f8f8f8;
  opacity: 0.9;
  margin-bottom: 40px;
  width: 100%;
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px 32px;
  width: 100%;
  justify-content: flex-start;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d3dffb;
  color: #0f2658;
  font-family: 'Red Hat Text', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: #b8ccf8; }
.btn-primary .arrow { display: inline-block; transform: rotate(90deg); width: 16px; height: 16px; }

.btn-secondary {
  color: #fff;
  font-family: 'Red Hat Text', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  text-decoration: none;
  transition: text-decoration 0.1s;
}
.btn-secondary:hover { text-decoration: underline; }

.hero-image-col {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.hero-img-desktop { width: 1920px; height: auto; object-fit: contain; }
.hero-img-mobile { display: none; width: 100%; height: auto; object-fit: contain; }

/* ── WHAT DOES THIS MEAN ── */
.features {
  background: #fff;
  padding: 50px 32px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.features-heading {
  font-weight: 600;
  font-size: 64px;
  line-height: 1.2;
  color: #2969f2;
  text-align: center;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 48px;
  row-gap: 32px;
  width: 100%;
  text-align: center;
}

.feature-item { opacity: 0.9; }
.feature-title { font-weight: 800; font-size: 20px; line-height: 32px; color: #181c1e; }
.feature-body  { font-weight: 400; font-size: 20px; line-height: 32px; color: #181c1e; }

/* ── PROMO VIDEO ── */
.promo {
  background: #fff;
  padding: 48px 32px;
}

.promo-inner { max-width: 1200px; margin: 0 auto; }

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.video-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: filter 0.2s;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  transition: transform 0.2s;
}

.video-wrapper:hover .play-btn { transform: scale(1.1); }

.play-btn svg { margin-left: 4px; }

.video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none;
}

.video-wrapper.playing .video-thumbnail,
.video-wrapper.playing .video-play { display: none; }
.video-wrapper.playing .video-iframe { display: block; }

/* ── FOOTER ── */
footer {
  position: relative;
  overflow: hidden;
  background: #000;
  background-image: linear-gradient(260deg, rgb(3,12,51) 4.7%, rgb(0,0,0) 89.2%);
}

.footer-swirl {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-swirl svg {
  position: absolute;
  right: -400px;
  bottom: 0;
  width: 600px;
  height: auto;
  opacity: 0.75;
  transform: rotate(-144.82deg);
  transform-origin: center;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 64px;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-heading { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-heading h2 { font-weight: 700; font-size: 48px; line-height: 1.25; color: #fff; }
.footer-heading p  { font-weight: 400; font-size: 20px; line-height: 24px; color: #fff; }

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  height: 184px;
  flex: 1;
  min-width: 260px;
  max-width: 340px;
  backdrop-filter: blur(7px);
  background-image: linear-gradient(24deg, rgba(36,108,246,0.14) 35.7%, rgba(167,193,249,0.22) 134.6%);
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
}
.contact-card:hover { opacity: 0.9; }

.contact-card-icon {
  position: absolute;
  right: -48px;
  top: -48px;
  width: 240px;
  height: 240px;
  opacity: 0.08;
}
.contact-card-icon svg { width: 100%; height: 100%; }

.contact-card h3 {
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 36px;
  color: #fff;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

/* ── COPYRIGHT ── */
.copyright {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 64px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.copyright p, .copyright-links {
  font-family: 'Red Hat Text', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #fff;
}

.copyright p { white-space: nowrap; }

.copyright-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
}

.copyright-links a { color: #fff; text-decoration: none; }
.copyright-links a:hover { text-decoration: underline; }
.copyright-links .sep { opacity: 0.4; }

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
  .nav { padding: 20px 32px 12px; }

  .hero-content {
    flex-direction: column;
    padding: 40px 32px 60px;
    gap: 32px;
  }

  .hero-heading { text-align: center; font-size: 36px; }
  .hero-description { text-align: center; font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: center; justify-content: center; }
  .hero-image-col { justify-content: center; }

  .features-heading { font-size: 40px; }
  .features-grid { grid-template-columns: 1fr; }

  .footer-inner { padding: 60px 32px; }
  .copyright { padding: 20px 32px 24px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 599px) {
  .hero-img-desktop { display: none; }
  .hero-img-mobile { display: block; }
  .nav { padding: 16px 24px 10px; }
  .features { padding: 40px 24px; }
  .promo { padding: 32px 24px; }
  .features-heading { font-size: 32px; }
}
