* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0e1320;
  --surface: #151b2e;
  --text: #f4f6fb;
  --muted: #b9c0d4;
  --brand: #4dd0e1;
  --brand-dark: #2fa8b8;
  --accent: #ffd166;
  --border: #26304a;
  --shadow: 0 12px 32px rgba(8, 10, 20, 0.45);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

header {
  background: rgba(14, 19, 32, 0.9);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  background: var(--brand);
  color: #061017;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--text);
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  background: var(--surface);
  padding: 1rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.mobile-menu a {
  color: var(--muted);
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  color: var(--text);
}

.mobile-menu.is-open {
  display: flex;
}

main {
  padding: 2.5rem 0 3rem;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--surface);
  padding: 2rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.hero p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #061017;
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.section {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section h2 {
  font-size: 1.8rem;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.4rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.card p {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(77, 208, 225, 0.15);
  color: var(--brand);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial {
  background: #0f1628;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.testimonial span {
  color: var(--accent);
  font-weight: 600;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: #0b101c;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--text);
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  background: #0f1628;
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  display: none;
  z-index: 30;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 1.5rem;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  border-radius: 22px;
  padding: 1.8rem;
  border: 1px solid var(--border);
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cookie-options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}

.cookie-options input {
  accent-color: var(--brand);
}

@media (min-width: 860px) {
  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-content {
    flex: 1.1;
  }

  .hero-panel {
    flex: 0.9;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(33% - 0.8rem);
    min-width: 240px;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
