:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0b1727;
  --surface: rgba(15, 31, 49, 0.72);
  --surface-hover: rgba(20, 42, 65, 0.9);
  --line: rgba(174, 205, 232, 0.14);
  --text: #f4f7fb;
  --muted: #9aabbd;
  --cyan: #77d5ef;
  --amber: #efb461;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 40px), var(--max-width));
  height: 88px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(119, 213, 239, 0.45);
  border-radius: 10px;
  background: rgba(14, 34, 55, 0.66);
  color: var(--cyan);
  font-size: 0.86rem;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: #d2dce7;
  font-size: 0.9rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: white;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 11, 22, 0.94) 0%, rgba(4, 11, 22, 0.76) 32%, rgba(4, 11, 22, 0.12) 70%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding-top: 205px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #6de0bc;
  box-shadow: 0 0 0 5px rgba(109, 224, 188, 0.1);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.8rem, 8vw, 7.4rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.hero-copy {
  max-width: 530px;
  margin-bottom: 34px;
  color: #bcc9d7;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 18px;
  border: 1px solid rgba(119, 213, 239, 0.3);
  border-radius: 12px;
  background: rgba(14, 34, 55, 0.76);
  color: white;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.button:hover,
.button:focus-visible {
  border-color: var(--cyan);
  background: #112b44;
}

.section {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 275px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(119, 213, 239, 0.28);
  background: var(--surface-hover);
}

.service-card.featured {
  background: linear-gradient(145deg, rgba(20, 55, 77, 0.88), rgba(14, 29, 46, 0.8));
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 52px;
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--cyan);
  font-size: 1.25rem;
}

.status {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status.planned {
  background: rgba(239, 180, 97, 0.12);
  color: #f3c582;
}

.status.future {
  background: rgba(154, 171, 189, 0.1);
  color: #aebdcb;
}

.status.online {
  background: rgba(109, 224, 188, 0.12);
  color: #83e5c5;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.service-card p {
  max-width: 500px;
  margin-bottom: 28px;
  color: var(--muted);
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.service-domain {
  color: #75899d;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
}

.service-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(119, 213, 239, 0.32);
  border-radius: 10px;
  background: rgba(28, 73, 96, 0.42);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.service-button:hover,
.service-button:focus-visible {
  border-color: var(--cyan);
  background: rgba(35, 91, 119, 0.62);
}

.service-button.disabled {
  border-color: var(--line);
  background: rgba(154, 171, 189, 0.05);
  color: #718398;
  cursor: not-allowed;
}

.about {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 40px;
  border-top: 1px solid var(--line);
}

.about .eyebrow {
  padding-top: 10px;
}

.about > p:last-child {
  grid-column: 2;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}

footer {
  display: flex;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 30px 0 42px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #718398;
  font-size: 0.8rem;
}

@media (max-width: 760px) {
  .site-header {
    height: 72px;
  }

  nav {
    gap: 16px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 11, 22, 0.9), rgba(4, 11, 22, 0.34)),
      linear-gradient(0deg, var(--bg) 0%, transparent 35%);
  }

  .hero-content {
    padding-top: 180px;
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 5.5rem);
  }

  .section {
    padding: 78px 0;
  }

  .section-heading,
  .about {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .about > p:last-child {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .site-header,
  .hero-content,
  .section,
  footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  nav a:first-child {
    display: none;
  }

  .service-card {
    min-height: 250px;
    padding: 24px;
  }

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

  footer {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .service-card {
    transition: none;
  }
}
