:root {
  --background: #07111f;
  --surface: #0d1b2a;
  --surface-light: #13263a;
  --text: #f7fafc;
  --muted: #a9b7c6;
  --accent: #f97316;
  --accent-dark: #c2410c;
  --line: rgba(255, 255, 255, 0.1);
  --max-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrapper {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.4rem;
  font-weight: 800;
}

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

.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navigation a {
  color: var(--muted);
  font-weight: 500;
}

.navigation a:hover {
  color: var(--text);
}

.navigation .nav-cta {
  color: var(--text);
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.7rem;
  cursor: pointer;
}

.hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at 85% 20%, rgba(249, 115, 22, 0.18), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.12), transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  max-width: 820px;
}

.hero-content > p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin-top: 26px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.hero-stats div {
  display: grid;
}

.hero-stats strong {
  font-size: 1.2rem;
}

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

.hero-card {
  background: rgba(13, 27, 42, 0.82);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(1.5deg);
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.hero-card pre {
  padding: 30px;
  overflow-x: auto;
  color: #c6f6d5;
  font-size: 0.92rem;
  line-height: 1.8;
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-heading p,
.about-grid p,
.contact-card p {
  color: var(--muted);
  margin-top: 16px;
}

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

.card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.14);
  color: var(--accent);
  font-weight: 800;
}

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

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

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}

.about-grid p + p {
  margin-top: 20px;
}

.contact-card {
  padding: 48px;
  background: linear-gradient(135deg, var(--surface-light), var(--surface));
  border: 1px solid var(--line);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 850px) {
  .menu-button {
    display: block;
  }

  .navigation {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
  }

  .navigation.open {
    display: flex;
  }

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

  .hero {
    padding-top: 80px;
  }

  .hero-card {
    transform: none;
  }

  .contact-card,
  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .hero,
  .section {
    padding: 72px 0;
  }

  .contact-card {
    padding: 30px;
  }
}
