:root {
  --bg: #030712;
  --border: rgba(255, 255, 255, 0.16);
  --text: #f8fbff;
  --muted: #a9b7cc;
  --blue: #2667ff;
  --blue-bright: #4f8cff;
  --cyan: #38d8ff;
  --success: #36e29a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 8%, rgba(38, 103, 255, 0.24), transparent 34%),
    radial-gradient(circle at 90% 4%, rgba(56, 216, 255, 0.13), transparent 30%),
    linear-gradient(180deg, #02050d 0%, var(--bg) 48%, #050915 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

button {
  border: 0;
  font: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 108px 0;
}

.glass {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border-radius: var(--radius);
  padding: 0 20px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), #0e46dd);
  box-shadow: 0 16px 38px rgba(38, 103, 255, 0.32);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.btn-secondary:hover {
  border-color: rgba(79, 140, 255, 0.7);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Sticky Header / Navbar */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(20px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.18rem;
  font-weight: 900;
}

.logo-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(38, 103, 255, 0.35);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--muted);
  font-weight: 800;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: white;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Results Hero */
.results-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding-top: 142px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(3, 7, 18, 0.62), rgba(3, 7, 18, 0.91)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=85") center/cover;
  opacity: 0.52;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 42px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-card {
  display: grid;
  min-height: 280px;
  place-items: center;
  border-radius: var(--radius);
  text-align: center;
}

.hero-card i {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 44px rgba(56, 216, 255, 0.38);
  font-size: 2rem;
}

.hero-card strong {
  display: block;
  font-size: 4rem;
  line-height: 1;
}

.hero-card span {
  color: var(--muted);
  font-weight: 900;
}

/* Proof Showcase */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  transform: translateY(-3px);
  color: white;
  border-color: rgba(56, 216, 255, 0.48);
  background: rgba(38, 103, 255, 0.2);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.proof-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.proof-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 140, 255, 0.58);
}

.proof-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.proof-body {
  padding: 22px;
}

.proof-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
}

.tag,
.date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.tag {
  color: var(--cyan);
  border: 1px solid rgba(56, 216, 255, 0.25);
  background: rgba(38, 103, 255, 0.12);
}

.date {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
}

.proof-card h3 {
  margin-bottom: 9px;
  font-size: 1.25rem;
}

.proof-card p {
  color: var(--muted);
}

.empty-state {
  display: none;
  max-width: 680px;
  margin: 32px auto 0;
  padding: 42px 28px;
  border-radius: var(--radius);
  text-align: center;
}

.empty-state.show {
  display: block;
}

.empty-state i {
  color: var(--cyan);
  font-size: 2.4rem;
}

.empty-state h3 {
  margin-top: 16px;
  font-size: 1.45rem;
}

.empty-state p {
  max-width: 440px;
  margin: 10px auto 22px;
  color: var(--muted);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 34px;
}

.footer h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer a:not(.logo) {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.footer a:hover {
  color: white;
}

.footer p {
  max-width: 380px;
  margin-top: 16px;
  color: var(--muted);
}

.copyright {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(3, 7, 18, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    display: grid;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 84px 0;
  }

  .navbar {
    min-height: 74px;
  }

  .nav-menu {
    top: 74px;
    left: 14px;
    right: 14px;
  }

  .results-hero {
    padding-top: 120px;
  }

  .proof-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 220px;
  }
}
