*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #0b0f1a;
  --bg-soft: #121828;
  --card: #171e30;
  --text: #e7ecf5;
  --muted: #b7c0d6;
  --accent: #6dd6ff;
  --accent-strong: #3bbcf4;
  --border: #26324d;
  --success: #8be28b;
  --shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: 92%;
  max-width: 1140px;
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--accent);
  color: #05131f;
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 20;
}

.skip-link:focus {
  left: 16px;
}

header {
  background: rgba(11, 15, 26, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--accent);
}

.menu-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-nav {
  position: fixed;
  top: 64px;
  right: 16px;
  left: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: flex;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  background: transparent;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--card);
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.primary-button {
  background: var(--accent);
  color: #05131f;
}

.primary-button:hover,
.primary-button:focus {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.secondary-button {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.ghost-button {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.hero {
  padding: 64px 0 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0;
}

.hero p {
  color: var(--muted);
  margin: 0;
}

.section {
  padding: 48px 0;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 1.8rem;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(109, 214, 255, 0.15);
  color: var(--accent);
  font-size: 0.85rem;
}

.testimonial {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  color: var(--muted);
}

.testimonial span {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-weight: 600;
}

.cta {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.footer small {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
  z-index: 30;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 40;
}

.cookie-modal.is-open {
  display: flex;
}

.cookie-panel {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 12px;
}

.cookie-toggle button {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
}

.cookie-toggle button[aria-pressed="true"] {
  background: var(--success);
  color: #0a1a0a;
  border-color: var(--success);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-links {
    flex-direction: row;
    align-items: center;
  }

  .hero {
    padding: 88px 0 64px;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-text,
  .hero-actions {
    flex: 1;
  }

  .hero-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(33% - 16px);
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cookie-actions {
    flex-direction: row;
  }
}
