:root {
  --color-bg-deep: #021735;
  --color-bg-main: #03254f;
  --color-bg-soft: #063872;
  --color-card: #0a3566;
  --color-card-soft: #0f417c;
  --color-border-soft: rgba(12, 75, 140, 0.8);

  --color-text-main: #f4f7ff;
  --color-text-soft: #c4d0f5;

  --color-accent-green: #3dff7a;
  --color-accent-orange: #ff8c32;
  --color-accent-orange-soft: #ffb15a;

  --shadow-soft: 0 18px 32px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 14px 22px rgba(0, 10, 40, 0.65);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text-main);
  background:
    radial-gradient(circle at 10% 0%, #06458d 0, transparent 45%),
    radial-gradient(circle at 90% 100%, #0f4aa5 0, transparent 45%),
    linear-gradient(180deg, var(--color-bg-deep), #020b23);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* LAYOUT */

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(
      to bottom,
      rgba(2, 15, 40, 0.94),
      rgba(2, 15, 40, 0.86)
    );
  border-bottom: 1px solid rgba(82, 114, 184, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 0 0 2px rgba(7, 224, 118, 0.4);
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: var(--color-text-main);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-soft);
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(
    90deg,
    var(--color-accent-green),
    var(--color-accent-orange-soft)
  );
  transition: transform 150ms ease-out;
}

.nav-link:hover {
  color: var(--color-text-main);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* HERO */

.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background: radial-gradient(
      circle at 50% 0%,
      rgba(10, 93, 184, 0.4),
      transparent 60%
    ),
    linear-gradient(180deg, var(--color-bg-main), #020d26);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-logo-card {
  width: 220px;
  height: 220px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 20%, #1256c6, #031632 70%),
    linear-gradient(145deg, #041c41, #071f4a);
  box-shadow:
    0 0 0 1px rgba(68, 123, 210, 0.6),
    var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.hero-logo-img {
  width: 72%;
  height: auto;
}

.hero-title {
  font-size: clamp(2rem, 2.5vw + 1.6rem, 2.5rem);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  margin: 0;
  max-width: 620px;
  color: var(--color-text-soft);
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.hero-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background-image: linear-gradient(
    135deg,
    var(--color-accent-orange),
    var(--color-accent-orange-soft)
  );
  color: #20120a;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 120ms ease-out, box-shadow 120ms ease-out;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 26px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.14);
}

/* SECTIONS */

.section {
  padding: 2.75rem 0;
}

.section-intro {
  background: radial-gradient(circle at 0 0, #0c4a89 0, transparent 50%),
    linear-gradient(180deg, #031737, #020b1e);
}

.lead {
  margin: 0;
  max-width: 720px;
  color: var(--color-text-soft);
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-inline: auto;
}

/* FEATURES */

.section-features {
  background: linear-gradient(180deg, #020b1e, #020712);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: radial-gradient(circle at 0 0, #093d7a 0, transparent 60%),
    linear-gradient(145deg, var(--color-card), var(--color-card-soft));
  border-radius: 22px;
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(30, 78, 142, 0.8);
  min-height: 140px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  background: radial-gradient(circle at 30% 20%, #35ff94, #069c4e);
  color: #02161f;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.6);
}

.feature-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.feature-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

/* NEWS */

.section-news {
  background: linear-gradient(180deg, #020712, #02040a);
}

.section-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

.news-list li::before {
  content: "• ";
  color: var(--color-accent-green);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(43, 72, 126, 0.7);
  background: #01030a;
  padding: 1rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

.footer-separator {
  margin-inline: 0.4rem;
  opacity: 0.7;
}

.footer-links a {
  color: var(--color-accent-green);
}

.footer-links a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .header-inner {
    padding-inline: 0.2rem;
  }

  .main-nav {
    gap: 1rem;
    font-size: 0.8rem;
  }

  .hero-logo-card {
    width: 190px;
    height: 190px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .main-nav {
    gap: 0.75rem;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-logo-card {
    width: 170px;
    height: 170px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.2rem 1.1rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Debug chip uit beeld houden (mocht hij later terugkomen) */

#device-chip,
.device-chip {
  display: none !important;
}
