:root {
  --background: #061019;
  --background-soft: #0a1722;
  --panel: #0b1a26;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f7fa;
  --muted: #9aa9b6;
  --accent: #7bdcff;
  --accent-dark: #3ab7e8;
  --green: #58e6ac;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.background-grid {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);

  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.glow {
  position: fixed;
  z-index: -3;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.glow-one {
  top: -180px;
  left: -140px;
  background: rgba(31, 154, 209, 0.17);
}

.glow-two {
  top: 340px;
  right: -180px;
  background: rgba(74, 204, 255, 0.11);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;

  border-bottom: 1px solid var(--border);
  background: rgba(6, 16, 25, 0.78);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;

  border-radius: 12px;

  color: #061019;
  background: linear-gradient(135deg, #ffffff, var(--accent));

  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;

  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: white;
}

.discord-button {
  padding: 11px 17px;
  border-radius: 10px;
  color: #061019 !important;
  background: var(--accent);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;

  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
}

.menu-button span {
  width: 19px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: white;
}

.hero {
  min-height: calc(100vh - 76px);
  padding: 100px 0;

  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 74px;
}

.badge {
  width: fit-content;
  margin-bottom: 24px;
  padding: 9px 14px;

  display: flex;
  align-items: center;
  gap: 10px;

  border: 1px solid rgba(123,220,255,.22);
  border-radius: 999px;

  color: #cdeffc;
  background: rgba(123,220,255,.06);

  font-size: 0.84rem;
  font-weight: 700;
}

.badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;

  background: var(--green);
  box-shadow: 0 0 14px rgba(88,230,172,.9);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 25px;

  font-size: clamp(3.3rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero h1 em {
  display: block;

  color: transparent;

  background: linear-gradient(
    90deg,
    #ffffff,
    #a9eaff 45%,
    #55c8f1
  );

  background-clip: text;
  -webkit-background-clip: text;

  font-style: normal;
}

.hero-copy > p {
  max-width: 680px;
  margin-bottom: 33px;

  color: var(--muted);

  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 34px;
}

.button {
  min-height: 52px;
  padding: 0 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid transparent;
  border-radius: 11px;

  font-weight: 800;

  transition: 0.2s ease;
}

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

.primary {
  color: #061019;
  background: var(--accent);
  box-shadow: 0 14px 34px rgba(58,183,232,.23);
}

.secondary {
  border-color: var(--border);
  background: rgba(255,255,255,.035);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

  color: #c2ced7;

  font-size: 0.88rem;
  font-weight: 700;
}

.trust-row span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--green);
}

.hero-card {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(13,31,45,.94),
      rgba(6,15,24,.95)
    );

  box-shadow: 0 34px 80px rgba(0,0,0,.42);
}

.terminal-top {
  min-height: 48px;
  padding: 0 18px;

  display: flex;
  align-items: center;

  border-bottom: 1px solid var(--border);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #364652;
}

.terminal-top small {
  margin-left: auto;
  color: #738594;
}

.terminal {
  padding: 28px;

  color: #b9c7d2;
  background: #07111a;

  font-family: Consolas, monospace;
  line-height: 1.9;
}

.terminal b {
  color: #d3a8ff;
}

.terminal i {
  color: var(--accent);
}

.terminal strong {
  color: var(--green);
}

.status {
  margin-top: 25px;
}

.status div {
  padding: 13px 0;

  display: flex;
  justify-content: space-between;
  gap: 18px;

  border-bottom: 1px solid rgba(255,255,255,.055);

  font-size: 0.84rem;
}

.status div:last-child {
  border-bottom: 0;
}

.status .blue {
  color: var(--accent);
}

.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  background: rgba(255,255,255,.018);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  margin-bottom: 7px;
}

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

.section {
  padding: 108px 0;
}

.dark-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  background: rgba(255,255,255,.018);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 47px;
}

.section-heading > span,
.about > div:first-child > span,
.contact > span {
  display: block;
  margin-bottom: 12px;

  color: var(--accent);

  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.about h2,
.contact h2 {
  margin-bottom: 17px;

  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-heading p,
.about p,
.contact p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 21px;
}

.card {
  padding: 30px;

  border: 1px solid var(--border);
  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(13,31,45,.75),
      rgba(8,20,30,.78)
    );

  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(123,220,255,.25);
}

.icon {
  width: 56px;
  height: 56px;
  margin-bottom: 23px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(123,220,255,.18);
  border-radius: 15px;

  color: var(--accent);
  background: rgba(123,220,255,.07);

  font-size: 0.76rem;
  font-weight: 900;
}

.card h3 {
  margin-bottom: 11px;
  font-size: 1.35rem;
}

.card > p {
  margin-bottom: 21px;

  color: var(--muted);
  line-height: 1.7;
}

.card ul {
  list-style: none;

  display: grid;
  gap: 9px;

  color: #c4d0d8;
  font-size: 0.9rem;
}

.card li::before {
  content: "—";
  margin-right: 8px;
  color: var(--accent);
}

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

.project {
  min-height: 215px;
  padding: 25px;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: rgba(11,26,38,.72);
}

.project > span {
  display: block;
  margin-bottom: 30px;

  color: var(--accent);

  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.project h3 {
  margin-bottom: 10px;
}

.project p {
  color: var(--muted);

  font-size: 0.9rem;
  line-height: 1.65;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 24px;
  border-top: 1px solid var(--border);
}

.step > strong {
  width: 38px;
  height: 38px;
  margin-bottom: 23px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: #061019;
  background: var(--accent);
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);

  font-size: 0.88rem;
  line-height: 1.65;
}

.about {
  padding: 48px;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;

  border: 1px solid var(--border);
  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      rgba(38,147,190,.1),
      rgba(10,25,37,.78)
    );
}

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

.contact {
  padding: 75px 35px;

  text-align: center;

  border: 1px solid rgba(123,220,255,.2);
  border-radius: 25px;

  background:
    radial-gradient(
      circle at top,
      rgba(58,183,232,.14),
      transparent 58%
    ),
    rgba(10,24,36,.82);
}

.contact h2,
.contact p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact p {
  margin-bottom: 29px;
}

footer {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  color: #7c8d9a;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .nav-links {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;

    padding: 18px;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 13px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: #091722;
  }

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

  .nav-links a {
    padding: 11px;
  }

  .discord-button {
    text-align: center;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 82px 0;
  }

  .stats-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .hero {
    padding: 65px 0;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .section {
    padding: 78px 0;
  }

  .service-grid,
  .project-grid,
  .stats-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .about {
    padding: 28px;
  }

  .contact {
    padding: 55px 22px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
