:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --muted: #a8a8a8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ffffff;
  --glow: rgba(255, 255, 255, 0.2);
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 10% -5%, #1b1b1b 0%, transparent 40%),
    radial-gradient(circle at 95% 10%, #151515 0%, transparent 35%),
    linear-gradient(180deg, #090909 0%, #040404 60%, #000000 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
}

body::before {
  width: 300px;
  height: 300px;
  top: -120px;
  right: -80px;
  background: #2b2b2b;
}

body::after {
  width: 320px;
  height: 320px;
  bottom: -150px;
  left: -120px;
  background: #151515;
}

.container {
  width: min(var(--maxw), 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
  text-decoration: none;
  font-family: "Orbitron", "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.23);
  position: relative;
  padding-bottom: 0.12rem;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.16rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.58),
    rgba(255, 255, 255, 0.08)
  );
  transform: scaleX(0.38);
  transform-origin: left;
  transition: transform 220ms ease, opacity 220ms ease;
  opacity: 0.75;
}

.brand:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.brand span {
  color: #d8d8d8;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  transition: 220ms ease;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  border-color: var(--line);
  background: var(--panel);
}

main {
  padding: 5.5rem 0 4.5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero p {
  color: var(--muted);
  max-width: 55ch;
}

.kicker {
  color: #cfcfcf;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  display: inline-block;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  transition: 220ms ease;
}

.btn.primary {
  background: var(--accent);
  color: #050505;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 6px 28px var(--glow);
}

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

.stat-grid {
  display: grid;
  gap: 0.8rem;
}

.stat {
  border-radius: 16px;
  padding: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
}

.section {
  margin-top: 2.4rem;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service h3,
.about h3,
.contact h3 {
  margin-top: 0;
  font-size: 1.12rem;
}

.service p,
.about p,
.contact p {
  margin-bottom: 0;
  color: var(--muted);
}

.list {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.input {
  width: 100%;
  background: #0b0b0b;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

textarea.input {
  min-height: 130px;
  resize: vertical;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 2rem 0 2.6rem;
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal.delay-1 {
  animation-delay: 0.12s;
}

.reveal.delay-2 {
  animation-delay: 0.25s;
}

.reveal.delay-3 {
  animation-delay: 0.38s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.8rem 0;
  }

  main {
    padding-top: 3.2rem;
  }
}
