:root {
  color-scheme: dark;
  --bg: #05070c;
  --surface: #101724;
  --surface-2: #151f2f;
  --muted: #8fa0b8;
  --text: #f4f8ff;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #24d9ff;
  --blue: #2f7cff;
  --green: #6df2a6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(5, 7, 12, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(36, 217, 255, 0.22);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: #d6e2f4;
  font-size: 0.95rem;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cyan);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(18px, 5vw, 72px) 92px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.04) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.88) 0%, rgba(5, 7, 12, 0.55) 46%, rgba(5, 7, 12, 0.2) 100%),
    linear-gradient(0deg, #05070c 0%, rgba(5, 7, 12, 0.62) 28%, rgba(5, 7, 12, 0.14) 74%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 650px;
  color: #d9e5f7;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #001018;
  box-shadow: 0 16px 42px rgba(36, 217, 255, 0.24);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.scroll-cue {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  bottom: 30px;
  width: 28px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
  transform: translateX(-50%);
  animation: scroll-dot 1.6s infinite;
}

@keyframes scroll-dot {
  0%, 100% { opacity: 0.35; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 12px); }
}

.section {
  padding: clamp(74px, 9vw, 120px) clamp(18px, 5vw, 72px);
  background: var(--bg);
}

.section-dark {
  background: #080c13;
}

.section-muted {
  background: #0c121c;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.section-heading p:not(.eyebrow),
.copy-block p,
.contact-layout > div p,
.note-box p,
.timeline p {
  color: var(--muted);
}

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

.service-card,
.bot-panel,
.note-box,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 260px;
  padding: 28px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: rgba(36, 217, 255, 0.12);
  color: var(--cyan);
  font-weight: 900;
}

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

.split-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.copy-block {
  max-width: 640px;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #dce8f8;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(109, 242, 166, 0.48);
}

.bot-panel {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(36, 217, 255, 0.2), transparent 34%),
    linear-gradient(180deg, #111a29, #0a0f17);
}

.panel-topline,
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panel-topline {
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: #dbe8f8;
}

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

.status-row {
  min-height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.status-row span {
  color: var(--muted);
}

.terminal {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  color: var(--cyan);
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 0.9rem;
}

.hosting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 34px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 24px;
}

.timeline article {
  position: relative;
  min-height: 118px;
  padding-left: 38px;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: -24px;
  width: 1px;
  background: var(--line);
}

.timeline article:last-child::before {
  display: none;
}

.timeline span {
  position: absolute;
  left: 0;
  top: 4px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(36, 217, 255, 0.6);
}

.note-box {
  padding: 28px;
  position: sticky;
  top: 104px;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(36, 217, 255, 0.08), transparent 38%),
    var(--bg);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: #d8e4f4;
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(36, 217, 255, 0.62);
  outline-offset: 2px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #05070c;
  color: var(--muted);
}

.site-footer a {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-page {
  padding-top: 72px;
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.legal-content h2 {
  margin-top: 36px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--cyan);
}

.legal-list {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--muted);
}

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

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 12, 19, 0.96);
  }

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

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 128px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, #05070c 0%, rgba(5, 7, 12, 0.7) 44%, rgba(5, 7, 12, 0.18) 100%),
      linear-gradient(90deg, rgba(5, 7, 12, 0.62), rgba(5, 7, 12, 0.18));
  }

  .service-grid,
  .split-layout,
  .hosting-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .note-box {
    position: static;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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