:root {
  --black: #050706;
  --dark: #0b120f;
  --green: #bfffe2;
  --green-strong: #7fffc8;
  --white: #f4fff9;
  --gray: #aebdb6;
  --line: rgba(191, 255, 226, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.8;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 22px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 7, 6, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green);
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.nav a {
  color: var(--gray);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--green);
}

.hero {
  min-height: 100vh;
  padding: 160px 7% 100px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(127, 255, 200, 0.22), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(191, 255, 226, 0.12), transparent 30%),
    linear-gradient(180deg, #07100c 0%, #050706 80%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  margin-top: 20px;
  inset: 12%;
  border: 1px solid var(--line);
  border-radius: 40px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 980px;
  z-index: 1;
}

.hero-label {
  margin-bottom: 26px;
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hero h1 {
  margin-bottom: 30px;
  font-size: clamp(54px, 9vw, 116px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero h1 {
  margin-bottom: 30px;
  font-size: clamp(42px, 8vw, 108px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto 42px;
  color: var(--gray);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

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

.btn.primary {
  background: var(--green);
  color: #07100c;
}

.btn.secondary {
  border: 1px solid var(--line);
  color: var(--green);
}

.section {
  padding: 110px 7%;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.center {
  text-align: center;
}

.section-heading span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.about {
  max-width: 1120px;
  margin: 0 auto;
}

.about p {
  max-width: 820px;
  color: var(--gray);
  font-size: 18px;
}

.services {
  background: var(--dark);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.service-card {
  min-height: 310px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(191, 255, 226, 0.08), rgba(255, 255, 255, 0.02));
}

.number {
  margin-bottom: 42px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 1.35;
}

.service-card p {
  color: var(--gray);
  font-size: 15px;
}

.company {
  max-width: 1120px;
  margin: 0 auto;
}

.company-list {
  border-top: 1px solid var(--line);
}

.company-list div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--green);
  font-weight: 700;
}

.company-list dd {
  color: var(--white);
}

.message {
  padding: 100px 7%;
  text-align: center;
  background: var(--green);
  color: #07100c;
}

.message p {
  font-size: clamp(42px, 8vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.contact {
  text-align: center;
}

.contact p {
  max-width: 680px;
  margin: 0 auto 26px;
  color: var(--gray);
}

.mail {
  color: var(--green);
  font-size: 22px;
  font-weight: 800;
}

.footer {
  padding: 36px 7%;
  text-align: center;
  border-top: 1px solid var(--line);
  color: #718079;
  font-size: 14px;
}

@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-list div {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 640px) {
  .header {
    padding: 18px 5%;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 140px 5% 80px;
  }

  .hero::before {
    inset: 7%;
    border-radius: 28px;
  }

  .section {
    padding: 80px 5%;
  }

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

  .company-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 130px 24px 80px;
  }

  .hero::before {
    inset: 12px;
    border-radius: 22px;
  }

  .hero-inner {
    width: 100%;
    max-width: 100%;
  }

  .hero-label {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 1.6;
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: 40px;
    line-height: 1.18;
    letter-spacing: -0.03em;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .hero-text {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-actions {
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }
}