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

:root {
  --bg: #11151c;
  --surface: rgba(148, 153, 234, 0.10);
  --surface-strong: rgba(148, 153, 234, 0.18);
  --text-primary: #f3f4ff;
  --text-secondary: #bfc3eb;
  --text-muted: #8d92b8;
  --accent: #9499ea;
  --accent-dark: #6d73d9;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.30);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(148, 153, 234, 0.14), transparent 35%),
    linear-gradient(135deg, #0d1118 0%, var(--bg) 100%);
  color: var(--text-primary);
  font-family: "Roboto", sans-serif;
  padding: 32px 56px 56px;
}

a {
  text-decoration: none;
}

button,
a {
  transition: 0.3s ease;
}

.header {
  max-width: 1280px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.brand span {
  color: var(--accent);
}

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

.nav-link {
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--text-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-primary);
  border-radius: 999px;
}

.hero {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 170px);
}

.hero-content {
  max-width: 620px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(3.8rem, 8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 42px;
}

.primary-button {
  width: 220px;
  height: 62px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 18px 35px rgba(109, 115, 217, 0.32);
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  cursor: pointer;
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 40px rgba(109, 115, 217, 0.4);
}

.secondary-link {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
}

.secondary-link:hover {
  color: var(--text-primary);
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-stats li {
  min-width: 200px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero-stats span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: min(100%, 520px);
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 36px;
  background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.18));
}

@media (max-width: 980px) {
  body {
    padding: 24px;
  }

  .header {
    margin-bottom: 32px;
  }

  .menu-toggle {
    display: inline-flex;
    z-index: 20;
  }

  .nav {
    position: absolute;
    top: 88px;
    right: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    width: min(260px, calc(100vw - 48px));
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(17, 21, 28, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
  }

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

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero-stats li {
    text-align: left;
  }
}

@media (max-width: 640px) {
  body {
    padding: 18px;
  }

  .brand {
    font-size: 1.7rem;
  }

  .hero {
    gap: 28px;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 4.2rem);
  }

  .hero-text {
    font-size: 1.08rem;
    line-height: 1.6;
  }

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

  .primary-button {
    width: 100%;
    max-width: 280px;
  }

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

  .hero-stats li {
    width: 100%;
    min-width: auto;
  }

  .visual-card {
    padding: 16px;
    border-radius: 28px;
  }
}
