:root {
  --bg: #0f111f;
  --bg-alt: #151a2f;
  --surface: #1f2645;
  --surface-alt: #212d5c;
  --text: #f6f7fb;
  --text-muted: #c5c7d8;
  --accent: #37f0ff;
  --accent-strong: #f6b73c;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 22px;
  --shadow-soft: 0 20px 60px rgba(4, 13, 33, 0.35);
  --shadow-card: 0 14px 40px rgba(6, 16, 38, 0.45);
  --gradient: linear-gradient(135deg, #1c5bff 0%, #29ffda 50%, #ffe358 100%);
  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(circle at top, #1a1e39, #090b16 70%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  padding: 100px 5vw 70px;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(6, 9, 20, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5vw;
  gap: 24px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-cta {
  text-align: center;
}

.burger {
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.burger span {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--text);
  display: block;
  border-radius: 999px;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: inherit;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

.burger[aria-expanded="true"] span {
  background: transparent;
}

.burger[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.cta {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  background: var(--gradient);
  color: #070b1c;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(55, 240, 255, 0.35);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 40px;
  padding: 60px clamp(20px, 3vw, 40px);
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(62, 84, 241, 0.45), rgba(19, 172, 255, 0.2), rgba(255, 209, 80, 0.18));
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  margin: 16px 0;
  line-height: 1.15;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-alt {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: border 0.2s ease, color 0.2s ease, backdrop-filter 0.2s ease;
}

.btn-alt:hover {
  border-color: var(--accent);
  color: var(--accent);
  backdrop-filter: blur(4px);
}

.hero-visual {
  position: relative;
  z-index: 1;
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(10, 11, 31, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 16px;
}

.section {
  margin-top: 80px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin: 0;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 540px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(13, 16, 34, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 60px rgba(15, 37, 82, 0.45);
}

.card h3 {
  margin-top: 0;
  font-family: var(--font-display);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.stat {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.stat span {
  display: block;
  font-size: 2rem;
  font-family: var(--font-display);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.testimonial {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(11, 13, 27, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial footer {
  margin-top: 20px;
  font-weight: 600;
}

.faq details {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq details + details {
  margin-top: 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
}

footer {
  background: #050713;
  padding: 60px 5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-grid h4 {
  font-family: var(--font-display);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  color: var(--text-muted);
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: 360px;
  background: rgba(8, 10, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: none;
  z-index: 120;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner button {
  margin-top: 16px;
  width: 100%;
}

.menu-open {
  overflow: hidden;
}

.updates-list,
.legal-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.update-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(14, 15, 31, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.update-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form button {
  grid-column: 1 / -1;
}

.legal-section h2 {
  font-size: 1.4rem;
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.legal-section p,
.legal-section li {
  color: var(--text-muted);
}

.legal-section ul {
  padding-left: 18px;
}

@media (max-width: 1080px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 900px) {
  .burger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 5vw;
    right: 5vw;
    flex-direction: column;
    background: rgba(5, 7, 19, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
  }

  .nav-cta {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 40px 24px;
  }

  main {
    padding-top: 130px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-grid,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

