/* MEGALIKT TECHNOLOGY — infrastructure landing */

:root {
  --bg: #0b0f17;
  --panel: #141b27;
  --text: #f4f8ff;
  --muted: #96a7bd;
  --line: rgba(244, 248, 255, 0.12);
  --blue: #4d7cff;
  --cyan: #51e3ff;
  --violet: #8b6cff;
  --font: "Manrope", system-ui, sans-serif;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 8%, rgba(77, 124, 255, 0.22), transparent 28%),
    radial-gradient(circle at 86% 0, rgba(81, 227, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #0b0f17, #06080d);
  font-family: var(--font);
  line-height: 1.65;
}

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

.header {
  position: sticky;
  top: 16px;
  z-index: 30;
  width: min(1180px, calc(100% - 28px));
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(20, 27, 39, 0.78);
  backdrop-filter: blur(18px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  position: relative;
  width: 50px;
  height: 50px;
  border: 2px solid var(--cyan);
  border-radius: 16px;
}

.logo-mark i {
  position: absolute;
  display: block;
  background: var(--cyan);
}

.logo-mark i:nth-child(1) {
  width: 24px;
  height: 4px;
  left: 11px;
  top: 13px;
}

.logo-mark i:nth-child(2) {
  width: 4px;
  height: 24px;
  left: 21px;
  top: 11px;
}

.logo-mark i:nth-child(3) {
  width: 12px;
  height: 12px;
  right: 7px;
  bottom: 7px;
  border-radius: 50%;
  background: var(--violet);
}

.logo b {
  display: block;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.logo small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-weight: 800;
}

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

.language,
.menu {
  min-width: 52px;
  height: 44px;
  color: var(--text);
  background: #0b0f17;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.menu {
  display: none;
  width: 50px;
}

.menu span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

main,
footer {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 38px;
  align-items: center;
  padding: 86px 0 74px;
}

.tag {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7.2vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.3vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-copy p,
.profile p,
.areas p,
.steps p,
.contact p {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 900;
  border: 0;
  cursor: pointer;
}

.primary {
  color: #071019;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 30px rgba(81, 227, 255, 0.2);
}

.secondary {
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--cyan);
}

.core-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transform: rotate(2deg);
}

.core {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 42px;
  border: 1px solid rgba(81, 227, 255, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(81, 227, 255, 0.18), transparent 62%);
}

.core span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(81, 227, 255, 0.8);
}

.core span:nth-child(1) {
  top: 18%;
  left: 48%;
}

.core span:nth-child(2) {
  right: 20%;
  bottom: 24%;
  background: var(--violet);
}

.core span:nth-child(3) {
  left: 20%;
  bottom: 30%;
  background: var(--blue);
}

.core-card strong {
  font-size: 2rem;
}

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

.profile {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  padding: 86px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 86px 0;
}

.areas article {
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.areas article:nth-child(2) {
  background: linear-gradient(135deg, rgba(77, 124, 255, 0.24), rgba(139, 108, 255, 0.14));
}

.areas span {
  display: inline-flex;
  margin-bottom: 76px;
  color: var(--cyan);
  font-weight: 900;
}

.approach {
  padding: 86px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.steps div {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.steps b {
  display: block;
  margin-bottom: 52px;
  color: var(--cyan);
  font-size: 1.2rem;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 0.85fr 1fr;
  gap: 18px;
  padding: 86px 0;
}

address,
form {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  font-style: normal;
}

address p {
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

address span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

input,
textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 14px;
  color: var(--text);
  background: #0b0f17;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
}

form .button {
  width: 100%;
}

footer {
  padding: 28px 0 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
  }

  .nav.is-open {
    display: flex;
  }

  .menu {
    display: block;
  }

  .hero,
  .profile,
  .contact {
    grid-template-columns: 1fr;
  }

  .areas,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .core-card {
    transform: none;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 2.8rem;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .areas,
  .steps {
    grid-template-columns: 1fr;
  }
}
