:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #1b2430;
  --muted: #5f6d7a;
  --primary: #2056b3;
  --primary-dark: #173f84;
  --accent: #ffd24c;  
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box; 
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  color: #fff;
}

/* Use an <img> element for the hero background to preserve resolution */
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  opacity: 0.62;
  filter: saturate(0.95) contrast(0.98);
  transform: scale(1.08);
  transform-origin: center center;
  animation: heroZoomOut 10s ease-in-out infinite alternate;
  will-change: transform;
  backface-visibility: hidden;
}

.hero-image[loading="lazy"] {
  image-rendering: auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Dark overlay to increase text contrast over the image */
  background: linear-gradient(180deg, rgba(6,18,36,0.50) 0%, rgba(6,18,36,0.66) 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.04), transparent 15%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.02), transparent 12%);
  opacity: 1;
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; margin-top: 1.25rem; }
.btn-link {
  color: var(--primary-dark);
  text-decoration: underline;
  font-weight: 700;
}

.cards img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  background: #f6f8fb;
  border-radius: 8px;
  display: block;
  padding: 0.5rem;
}
.cards { display: grid; gap:1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap:1rem; }
.feature { background: var(--surface); padding:1rem; border-radius:12px; box-shadow:0 10px 30px rgba(17,44,92,0.06); }

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  list-style: none;
  padding: 0;
}
.steps li {
  background: var(--surface);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(17, 44, 92, 0.06);
}

@media (max-width: 880px) {
  .hero { min-height: 520px; }
  /* hide hero action buttons on smaller screens */
  .hero-actions > :not(.btn-highlight) { display: none; }
  .btn-highlight { justify-content: center; width: 100%; text-align: center;}
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  font-weight: 600;
  font-size: 1.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.02;
  text-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.hero p {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.8;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.btn-highlight {
  animation: buttonBlink 1.8s ease-in-out infinite;
  box-shadow: 0 18px 35px rgba(255, 222, 90, 0.45);
}

.btn-highlight:hover {
  animation: none;
  transform: translateY(-1px);
}

@keyframes buttonBlink {
  0%, 100% {
    background-color: #ffd24c;
    box-shadow: 0 18px 35px rgba(255, 222, 90, 0.45);
  }
  50% {
    background-color: #ffa571;
    box-shadow: 0 22px 45px rgba(255, 222, 90, 0.55);
  }
}

@keyframes heroGlow {
  from {
    opacity: 0.75;
    transform: scale(1);
  }

  to {
    opacity: 0.92;
    transform: scale(1.02);
  }
}

@keyframes heroZoomOut {
  from {
    background-size: 125%;
    transform: scale(1.08);
  }

  to {
    background-size: 110%;
    transform: scale(1);
  }
}

a.btn-primary {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 1.75rem;
  background: var(--accent);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #eef3fb;
}

h1, h2, h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

p {
  margin: 1rem 0 0;
  line-height: 1.75;
  color: var(--muted);
}

.card {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(17, 44, 92, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 45px rgba(17, 44, 92, 0.14);
}

.footer {
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--muted);
}

#copyright {
  flex: 1 1 100%;
  text-align: center;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0;
  }
}
