:root {
  color-scheme: dark;
  --bg: #050609;
  --panel: rgba(5, 8, 13, 0.78);
  --panel-strong: rgba(9, 14, 22, 0.92);
  --ink: #f7fbff;
  --muted: #9aa9b8;
  --line: rgba(150, 255, 245, 0.2);
  --cyan: #29f4ff;
  --green: #8bff62;
  --magenta: #ff3edb;
  --amber: #ffc857;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

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

.shell {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.98) 0, rgba(5, 6, 9, 0.54) 46%, rgba(5, 6, 9, 0.18) 100%),
    url("assets/cycloni-cyberpunk.png") center / cover no-repeat fixed;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 26px 16px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(41, 244, 255, 0.09), rgba(255, 62, 219, 0.04) 42%, rgba(5, 8, 13, 0.9)),
    var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: 18px 0 60px rgba(0, 0, 0, 0.26);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 2px 8px 28px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(41, 244, 255, 0.55);
  border-radius: 6px;
  background: rgba(41, 244, 255, 0.08);
  color: var(--cyan);
  font-weight: 900;
  text-shadow: 0 0 18px rgba(41, 244, 255, 0.75);
  box-shadow: 0 0 28px rgba(41, 244, 255, 0.13);
}

.brand strong,
.service-link strong {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small,
.service-link small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-nav {
  display: grid;
  gap: 9px;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 10px;
  border: 1px solid rgba(41, 244, 255, 0.16);
  border-radius: 8px;
  background: rgba(5, 8, 13, 0.44);
  color: var(--muted);
}

.service-link.active,
.service-link:hover {
  border-color: rgba(41, 244, 255, 0.62);
  background: linear-gradient(90deg, rgba(41, 244, 255, 0.16), rgba(255, 62, 219, 0.09));
  color: var(--ink);
  box-shadow: 0 0 36px rgba(41, 244, 255, 0.12);
}

.service-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(139, 255, 98, 0.4);
  border-radius: 6px;
  background: rgba(139, 255, 98, 0.08);
  color: var(--green);
}

.service-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sidebar-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 18px 10px 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 18px rgba(255, 200, 87, 0.8);
}

.main {
  min-width: 0;
  overflow-x: hidden;
}

.hero {
  position: relative;
  display: grid;
  align-content: end;
  width: 100%;
  min-height: 100vh;
  padding: 56px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(5, 6, 9, 0.08), rgba(5, 6, 9, 0.8)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
}

.hero::after {
  background:
    linear-gradient(115deg, rgba(41, 244, 255, 0.0) 0 43%, rgba(41, 244, 255, 0.18) 44%, transparent 45%),
    linear-gradient(128deg, transparent 0 63%, rgba(255, 62, 219, 0.22) 64%, transparent 65%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  padding-bottom: 116px;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.66);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.5rem, 10vw, 9.2rem);
  line-height: 0.85;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.intro {
  width: 100%;
  max-width: 660px;
  margin-bottom: 30px;
  color: #dbe6f1;
  font-size: 1.18rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

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

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(41, 244, 255, 0.62);
  border-radius: 7px;
  background: rgba(41, 244, 255, 0.1);
  color: var(--cyan);
  font-weight: 900;
  box-shadow: 0 0 34px rgba(41, 244, 255, 0.18);
}

.primary-action:hover {
  background: var(--cyan);
  color: #041014;
}

.service-strip {
  position: absolute;
  right: 44px;
  bottom: 44px;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 88px);
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 62, 219, 0.42);
  border-radius: 8px;
  background: rgba(5, 8, 13, 0.68);
  color: var(--muted);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.service-strip span {
  color: var(--magenta);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-strip strong {
  color: var(--ink);
  font-size: 1rem;
}

.service-strip em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 920px) {
  .shell {
    grid-template-columns: 1fr;
    background-position: center top;
  }

  .sidebar {
    position: static;
    min-height: auto;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand {
    padding-bottom: 12px;
  }

  .sidebar-foot {
    display: none;
  }

  .hero {
    max-width: 100vw;
    min-height: calc(100vh - 147px);
    padding: 32px 18px;
  }

  .hero-copy {
    max-width: calc(100vw - 36px);
    padding-bottom: 128px;
  }

  .intro {
    max-width: calc(100vw - 36px);
  }

  .service-strip {
    right: 18px;
    bottom: 24px;
    left: 18px;
    grid-template-columns: 1fr;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .service-link {
    min-height: 60px;
  }

  h1 {
    font-size: clamp(2.45rem, 11.8vw, 3rem);
    line-height: 0.95;
  }

  .intro {
    font-size: 1rem;
    max-width: 30ch;
  }

  .hero-copy {
    padding-bottom: 154px;
  }
}
