:root {
  --dark: #06111c;
  --dark-soft: #102333;
  --accent: #28a9e0;
  --accent-light: #d8f3ff;
  --white: #ffffff;
  --bg: #f4f8fb;
  --text: #162431;
  --muted: #6b7b88;
  --line: #dce7ee;
  --shadow: 0 24px 70px rgba(6, 17, 28, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 54px;
  background: rgba(6, 17, 28, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  height: 58px;
  display: flex;
  align-items: center;
}

.brand img {
  max-height: 58px;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.menu-button {
  display: none;
  border: none;
  background: var(--accent);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 26px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 860px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  padding: 160px 7vw 90px;
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(0px) scale(1.03);
  transition:
    opacity 1.5s ease,
    transform 0.08s linear;
  will-change: opacity, transform;
}

.hero-image.active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 17, 28, 0.88) 0%,
      rgba(6, 17, 28, 0.62) 45%,
      rgba(6, 17, 28, 0.22) 100%
    ),
    linear-gradient(0deg, rgba(6, 17, 28, 0.72) 0%, transparent 42%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 850px;
  color: var(--white);
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(40, 169, 224, 0.18);
  color: #9ee6ff;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: -2.6px;
  margin-bottom: 30px;
}

.hero-content p:not(.eyebrow) {
  max-width: 680px;
  font-size: 24px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.24s ease;
}

.btn.primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 14px 35px rgba(40, 169, 224, 0.35);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn:hover {
  transform: translateY(-4px);
}

.intro-card {
  position: relative;
  z-index: 5;
  max-width: 1120px;
  margin: -95px auto 0;
  padding: 58px 64px;
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.intro-card p {
  font-size: 25px;
  line-height: 1.65;
  color: var(--muted);
}

.feature-grid {
  max-width: 1220px;
  margin: 80px auto 110px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 40px;
  box-shadow: 0 12px 34px rgba(6, 17, 28, 0.07);
  transition: 0.24s ease;
}

.feature-grid article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.feature-grid span {
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
}

.feature-grid h2 {
  margin: 18px 0 14px;
  font-size: 30px;
}

.feature-grid p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 70px 7vw;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand img {
  max-width: 170px;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 22px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 28px;
  max-width: 680px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-nav a:hover {
  color: var(--white);
}

.content-page {
  padding-top: 0px;
}

.subpage-content {
  max-width: 1120px;
  margin: -50px auto 100px;
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 64px;
  position: relative;
  z-index: 5;
}

.subpage-content h2 {
  font-size: 34px;
  margin: 34px 0 14px;
}

.subpage-content p {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.subpage-content ul {
  margin: 0 0 28px 28px;
  padding: 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.7;
}

.subpage-content li {
  margin-bottom: 10px;
  padding-left: 6px;
}

.subpage-content li::marker {
  color: var(--muted);
}

.subpage-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  padding: 150px 7vw 70px;
  color: var(--white);
  background: var(--dark);
}

.subpage-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.subpage-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    90deg,
    rgba(6, 17, 28, 0.82) 0%,
    rgba(6, 17, 28, 0.55) 45%,
    rgba(6, 17, 28, 0.25) 100%
  );
}

.subpage-hero-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1120px;

  text-align: left;
}

.subpage-hero-content .eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;

  background: rgba(40, 169, 224, 0.18);
  color: #9ee6ff;

  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  font-weight: 800;
}

.subpage-hero-content h1 {
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -2px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .topbar {
    height: 82px;
    padding: 0 22px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    left: 0;
    width: 100%;
    background: rgba(6, 17, 28, 0.96);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px 22px 26px;
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav a {
    width: 100%;
    padding: 16px 0;
  }

  .hero {
    min-height: 760px;
    padding: 140px 24px 70px;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 20px;
  }

  .intro-card {
    margin: -70px 18px 0;
    padding: 36px 26px;
  }

  .intro-card p {
    font-size: 20px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .footer {
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .subpage-content {
    margin: -40px 18px 70px;
    padding: 36px 26px;
  }

  .subpage-content p {
    font-size: 19px;
  }
  .subpage-content ul {
    font-size: 19px;
  }

  .subpage-hero {
    min-height: 300px;
    padding: 120px 24px 50px;

    justify-content: center;
  }

  .subpage-overlay {
    background: linear-gradient(
      180deg,
      rgba(6, 17, 28, 0.82) 0%,
      rgba(6, 17, 28, 0.55) 100%
    );
  }

  .subpage-hero-content {
    text-align: center;
  }

  .subpage-hero-content .eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .subpage-hero-content h1 {
    font-size: clamp(34px, 8vw, 52px);
    line-height: 1.05;
    letter-spacing: -1px;
  }
}
