:root {
  --bg: #050914;
  --bg-soft: #0f1830;
  --surface: rgba(14, 24, 48, 0.84);
  --text: #f5f8ff;
  --muted: #b7c1df;
  --brand: #6bd3ff;
  --brand-2: #5d86ff;
  --border: #26365f;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 8% -10%, #2648b5 0%, transparent 54%),
    radial-gradient(920px 520px at 100% 15%, #402f8f 0%, transparent 58%),
    linear-gradient(180deg, #04070f 0%, #060d1f 45%, #08122a 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

.orb-one {
  width: 300px;
  height: 300px;
  background: #4fd4ff;
  top: -90px;
  right: -80px;
}

.orb-two {
  width: 280px;
  height: 280px;
  background: #496aff;
  left: -120px;
  bottom: 8%;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  background: rgba(4, 8, 20, 0.65);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease;
}

nav a:hover {
  color: var(--text);
}

.hero {
  padding: 96px 0 44px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand);
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.04;
}

.intro {
  margin: 16px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats > div {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 14px;
}

.hero-stats strong {
  display: block;
  font-size: 1rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: .92rem;
}

.section {
  padding: 48px 0 22px;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.9rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card,
.project,
.contact-form {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 18px;
}

.card h3,
.project h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.contact p {
  margin-bottom: 12px;
}

.contact-form {
  display: grid;
  gap: 12px;
  max-width: 640px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #344777;
  background: #0a142d;
  color: #f6f8ff;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid #4f7bff;
  outline-offset: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #36539c;
  color: white;
  text-decoration: none;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
}

.btn.small {
  padding: 8px 12px;
  font-size: .9rem;
}

.btn.primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #061125;
}

.btn.ghost {
  border-color: #4b66b3;
  color: #d4ddff;
}

.site-footer {
  margin-top: 42px;
  border-top: 1px solid var(--border);
  padding: 20px 0 28px;
  color: var(--muted);
}

@media (max-width: 920px) {
  nav {
    display: none;
  }

  .hero-stats,
  .cards {
    grid-template-columns: 1fr;
  }
}
