:root {
  --bg: #0a1020;
  --bg-soft: #101a34;
  --card: rgba(20, 30, 56, 0.7);
  --text: #e6ecff;
  --muted: #a8b3d8;
  --primary: #3e8bff;
  --primary-hover: #2f75df;
  --border: rgba(135, 160, 230, 0.25);
  --ok: #59d18a;
  --shadow: 0 12px 35px rgba(4, 8, 20, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, #1b2f63, transparent), var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.background-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 145, 215, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 145, 215, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 75%);
  z-index: -1;
}

.header {
  position: sticky;
  top: 10px;
  margin-top: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  background: rgba(8, 16, 32, 0.82);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 30;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #4f8fff, #2460cd);
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

.hero {
  padding: 80px 0 36px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 8px;
  color: #7fb2ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.1;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 36px);
}

h3, h4 {
  margin: 0 0 10px;
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

.hero-text {
  max-width: 70ch;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 165px;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(84, 121, 202, 0.15);
}

.hero-card,
.card,
.stat,
.about-layout,
.footer-grid,
.contact-form {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 20px;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(135, 160, 230, 0.17);
  color: var(--muted);
}

.hero-card li:last-child {
  border-bottom: 0;
}

.ok {
  color: var(--ok);
}

.section {
  padding: 44px 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 22px;
}

.card p {
  margin: 0;
}

.about-layout {
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 20px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  padding: 12px 14px;
  border: 1px solid rgba(133, 164, 239, 0.18);
  border-radius: 10px;
  background: rgba(28, 43, 77, 0.45);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  padding: 24px;
  text-align: center;
}

.stat-value {
  margin: 0 0 6px;
  color: #8cb9ff;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
}

.stat-label {
  margin: 0;
}

.footer {
  padding: 46px 0 40px;
}

.footer-grid {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.contact-form {
  padding: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
}

.contact-form input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(8, 16, 33, 0.8);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}

.contact-form input:focus {
  border-color: #6fa6ff;
}

.form-message {
  min-height: 20px;
  margin-top: 10px;
  font-size: 14px;
  color: #8ec2ff;
}

@media (max-width: 980px) {
  .hero,
  .about-layout,
  .cards,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .header {
    top: 8px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(10, 17, 35, 0.98);
  }

  .nav.open {
    display: flex;
  }

  .logo-text {
    font-size: 14px;
  }
}
