:root {
  --midnight: #0B1020;
  --navy: #111A35;
  --cvorah-blue: #355CFF;
  --violet: #8B5CF6;
  --aqua: #38BDF8;
  --ice: #F8FAFC;
  --soft: #CBD5E1;
  --muted: #94A3B8;
  --card: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top left, rgba(53, 92, 255, 0.32), transparent 30%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.25), transparent 32%),
    var(--midnight);
  color: var(--ice);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(11, 16, 32, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.logo {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cvorah-blue), var(--violet));
  box-shadow: 0 12px 30px rgba(53, 92, 255, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--soft);
  font-size: 15px;
}

.nav-links a:hover {
  color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cvorah-blue), var(--violet));
  color: white;
  box-shadow: 0 18px 38px rgba(53, 92, 255, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: white;
}

.hero {
  padding: 96px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: center;
}

.badge {
  display: inline-flex;
  padding: 8px 13px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  color: var(--soft);
  font-size: 14px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}

h1 span,
.gradient-text {
  background: linear-gradient(135deg, var(--aqua), var(--cvorah-blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--soft);
  font-size: 20px;
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.panel,
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
}

.panel {
  padding: 30px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

section {
  padding: 76px 0;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}

.section-text {
  color: var(--soft);
  max-width: 760px;
  font-size: 18px;
  margin-bottom: 34px;
}

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

.card {
  padding: 26px;
}

.card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

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

.score-circle {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  margin: 20px auto 28px;
  background: conic-gradient(var(--aqua) 0 82%, rgba(255, 255, 255, 0.12) 82% 100%);
  display: grid;
  place-items: center;
  position: relative;
}

.score-circle::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: var(--navy);
}

.score-circle strong {
  position: relative;
  z-index: 1;
  font-size: 44px;
}

.insight {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  color: var(--soft);
}

.insight strong {
  color: white;
}

.page-header {
  padding: 86px 0 36px;
  text-align: center;
}

.page-header p {
  color: var(--soft);
  font-size: 19px;
  max-width: 740px;
  margin: 0 auto;
}

.form {
  display: grid;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: white;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 850px) {

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

  .nav-links {
    display: none;
  }
}

/* Better responsive behavior */
img,
video {
  max-width: 100%;
  height: auto;
}

/* Tablets */
@media (max-width: 1024px) {
  .hero {
    padding: 76px 0 56px;
  }

  .hero-grid {
    gap: 36px;
  }

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

/* Mobile */
@media (max-width: 850px) {

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

  .nav-links {
    display: none;
  }

  .hero {
    padding: 64px 0 48px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 56px);
    line-height: 1;
  }

  .lead {
    font-size: 18px;
  }

  .panel {
    padding: 24px;
  }

  section {
    padding: 56px 0;
  }
}

/* Small phones */
@media (max-width: 520px) {
  .container {
    width: 90%;
  }

  .nav {
    padding: 14px 0;
  }

  .brand {
    font-size: 19px;
  }

  .logo {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    padding: 14px 18px;
  }

  .card {
    padding: 22px;
  }

  .panel {
    padding: 20px;
    border-radius: 22px;
  }

  .score-circle {
    width: 140px;
    height: 140px;
  }

  .score-circle strong {
    font-size: 36px;
  }

  .insight {
    flex-direction: column;
    gap: 4px;
  }

  .page-header {
    padding: 64px 0 28px;
  }

  .page-header p {
    font-size: 17px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
