:root {
  --sheo-black: #000000;
  --sheo-dark: #111111;
  --sheo-dark-soft: #1A1A1A;
  --sheo-lime: #DBFF49;
  --sheo-white: #F8F6F5;
  --panel: rgba(17, 17, 17, 0.72);
  --panel-strong: rgba(17, 17, 17, 0.92);
  --text: #F8F6F5;
  --muted: rgba(248, 246, 245, 0.72);
  --line: rgba(219, 255, 73, 0.08);
  --active: rgba(219, 255, 73, 0.08);
  --accent: #DBFF49;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(219, 255, 73, 0.04);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background: linear-gradient(180deg, #111111 0%, #000000 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.sidebar-open {
  overflow: hidden;
  position: fixed;
  inset: 0;
  width: 100%;
  touch-action: none;
}

body.sidebar-open .navbar {
  pointer-events: auto;
}

.scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

.scene::before,
.scene::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -2%;
  opacity: 0.85;
  transform: translateZ(0);
}

.scene::before {
  height: 34vh;
  background:
    radial-gradient(140% 100% at 10% 110%, rgba(7, 31, 23, 0.72) 0 18%, transparent 19%),
    radial-gradient(120% 100% at 28% 114%, rgba(14, 58, 42, 0.78) 0 18%, transparent 19%),
    radial-gradient(130% 100% at 50% 118%, rgba(12, 44, 34, 0.84) 0 20%, transparent 21%),
    radial-gradient(128% 100% at 76% 116%, rgba(8, 31, 24, 0.86) 0 18%, transparent 19%),
    radial-gradient(135% 100% at 102% 114%, rgba(5, 18, 14, 0.78) 0 16%, transparent 17%);
}

.scene::after {
  height: 20vh;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8, 14, 20, 0.25) 35%, rgba(8, 14, 20, 0.58) 100%),
    radial-gradient(150% 100% at 15% 115%, rgba(60, 82, 96, 0.55) 0 18%, transparent 19%),
    radial-gradient(140% 100% at 45% 120%, rgba(40, 60, 74, 0.52) 0 19%, transparent 20%),
    radial-gradient(120% 100% at 76% 118%, rgba(28, 39, 51, 0.60) 0 18%, transparent 19%);
  mix-blend-mode: screen;
  opacity: 0.45;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 28px;
  padding-top: calc(18px + env(safe-area-inset-top));
}

.nav-shell {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 22px;
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
  transition: background .35s ease, border .35s ease, box-shadow .35s ease;
  transform: translateZ(0);
  will-change: background, border-color, box-shadow;
  contain: paint;
}

.nav-shell.sheo-nav-scrolled {
  background: #1A1A1A;
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.brand,
.navbar-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  border: 1px solid rgba(219, 255, 73, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  overflow: hidden;
}

.brand-mark:hover {
  transform: translateY(-2px);
  border-color: rgba(219, 255, 73, .25);
  box-shadow: 0 0 24px rgba(219, 255, 73, .12);
}

.brand-mark-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.menu a {
  font-family: 'Urbanist', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  color: var(--muted);
  padding: 11px 16px;
  border-radius: 10px;
  transition: color .25s ease, background .25s ease, transform .25s ease;
  white-space: nowrap;
  letter-spacing: 0;
  touch-action: manipulation;
}

.menu a:hover {
  color: var(--text);
  background: rgba(219, 255, 73, 0.08);
}

.menu a.active {
  color: var(--text);
  background: rgba(10, 24, 17, 0.72);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.right-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 18px;
  border-radius: 12px;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  white-space: nowrap;
  background: #DBFF49;
  color: #111111;
  border: none;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform, box-shadow;
  animation: hireUsGlowOptimized 2.8s infinite ease-in-out;
  touch-action: manipulation;
}

.contact-btn:hover {
  animation-play-state: paused;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(219, 255, 73, 0.5);
}

.contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  animation: shineSweep 3.5s infinite linear;
  pointer-events: none;
}

@keyframes hireUsGlowOptimized {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(219, 255, 73, 0);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 14px 4px rgba(219, 255, 73, 0.18);
    filter: brightness(1.03);
  }
}

@keyframes shineSweep {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(219, 255, 73, 0.08);
  border-radius: 14px;
  background: rgba(219, 255, 73, 0.08);
  color: #DBFF49;
  cursor: pointer;
  font-size: 18px;
  transition: background .25s ease, transform .25s ease;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  touch-action: manipulation;
}

.menu-btn:hover {
  background: rgba(219, 255, 73, 0.10);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  z-index: 1500;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 330px;
  max-width: 85vw;
  height: 100dvh;
  z-index: 2000;
  transform: translateX(-105%) translateZ(0);
  will-change: transform;
  transition: transform .38s cubic-bezier(.25, .46, .45, .94);
  background: rgba(17, 17, 17, 0.88);
  border-right: 1px solid rgba(219, 255, 73, 0.08);
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  contain: paint;
}

.sidebar.active {
  transform: translateX(0) translateZ(0);
}

.sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 26%);
  pointer-events: none;
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 22px 18px;
  padding-top: calc(22px + env(safe-area-inset-top));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 76px;
  position: relative;
  z-index: 1;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.96);
}

.close-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
  font-size: 16px;
  flex-shrink: 0;
  touch-action: manipulation;
}

.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 18px 12px 12px;
  position: relative;
  z-index: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.sidebar-nav li {
  margin: 7px 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--muted);
  min-height: 46px;
  padding: 0 15px;
  border-radius: 10px;
  transition: transform .22s ease, background .22s ease, color .22s ease;
  font-size: 15px;
  font-weight: 400;
  touch-action: manipulation;
}

.sidebar-nav a:hover {
  background: rgba(219, 255, 73, 0.08);
  color: var(--text);
}

.sidebar-nav a.active {
  background: rgba(10, 24, 17, 0.72);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 20px rgba(0, 0, 0, 0.14);
}

.sidebar-nav i {
  width: 18px;
  text-align: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
}

.sidebar-hire-wrap {
  padding: 16px 18px 10px;
}

.sidebar-hire-btn {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 14px;
  background: linear-gradient(180deg, #DBFF49 0%, #CBEF3C 100%);
  color: #111111;
  font-family: 'Urbanist', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(219, 255, 73, .35);
  box-shadow: 0 8px 22px rgba(219, 255, 73, .12);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
  transform: translateZ(0);
  touch-action: manipulation;
}

.sidebar-hire-btn i,
.sidebar-hire-btn span {
  color: #111111;
  position: relative;
  z-index: 2;
}

.sidebar-hire-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: sidebarHireShine 4.5s infinite linear;
}

.sidebar-hire-btn:hover {
  background: #111111;
  border-color: #DBFF49;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(219, 255, 73, .25);
}

@keyframes sidebarHireShine {
  0% { left: -140%; }
  20% { left: 160%; }
  100% { left: 160%; }
}

.sidebar-hire-btn:hover i,
.sidebar-hire-btn:hover span {
  color: #ffffff;
}

.sidebar-footer {
  padding: 16px 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.socials a {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform .22s ease, background .22s ease, color .22s ease;
  font-size: 18px;
  touch-action: manipulation;
}

.socials a:hover,
.socials a:active {
  transform: translateY(-3px);
  background: rgba(219, 255, 73, 0.10);
  color: #DBFF49;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 20px 40px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 74px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 300;
}

.hero p {
  margin: 0 auto;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .navbar {
    padding: 14px;
    padding-top: calc(14px + env(safe-area-inset-top));
  }

  .nav-shell {
    padding: 14px 16px;
  }

  .menu,
  .contact-btn {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 520px) {
  .sidebar {
    width: 300px;
    max-width: 88vw;
  }

  .hero {
    padding-top: 110px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-mark-img {
    width: 46px;
    height: 46px;
  }

  .nav-shell {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .sidebar-hire-wrap {
    padding: 14px 16px 8px;
  }

  .sidebar-hire-btn {
    height: 48px;
    font-size: 14px;
    border-radius: 12px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .brand-mark:hover,
  .contact-btn:hover,
  .sidebar-hire-btn:hover,
  .socials a:hover,
  .menu a:hover,
  .sidebar-nav a:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}