:root {
  --bg: #080914;
  --bg-soft: #0f1022;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.105);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.26);
  --text: #f7f7ff;
  --muted: rgba(247, 247, 255, 0.72);
  --quiet: rgba(247, 247, 255, 0.5);
  --violet: #7a35ff;
  --blue: #3658ff;
  --cyan: #33d6ff;
  --mint: #57f0b6;
  --amber: #ffb84d;
  --danger: #ff6578;
  --success: #57f0b6;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  color: var(--text);
  background:
    linear-gradient(145deg, #090a17 0%, #111126 46%, #211448 100%);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

main {
  max-width: 100%;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.52), transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(54, 88, 255, 0.14), transparent 42%),
    linear-gradient(300deg, transparent 44%, rgba(122, 53, 255, 0.2) 100%);
  pointer-events: none;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 28px;
  left: 50%;
  z-index: 20;
  width: min(1360px, calc(100% - 56px));
  min-height: 56px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0);
  background: rgba(8, 9, 20, 0);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0);
  backdrop-filter: blur(18px);
  will-change: background, border-color, box-shadow;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(8, 9, 20, 0.78);
  border-color: var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  text-transform: lowercase;
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 8px);
  grid-template-rows: repeat(3, 8px);
  gap: 3px;
  width: 30px;
  height: 30px;
}

.brand-mark span {
  border: 2px solid currentColor;
}

.brand-mark span:nth-child(1) {
  grid-row: 1 / 4;
}

.brand-mark span:nth-child(2) {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
  background: currentColor;
}

.brand-mark span:nth-child(3) {
  grid-column: 2 / 4;
  grid-row: 3;
  border-color: var(--mint);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-link {
  position: relative;
  padding: 10px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--mint);
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.lang-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
}

.lang-toggle {
  width: 48px;
  height: 40px;
  font-family: "Roboto Mono", monospace;
  font-weight: 700;
}

.lang-toggle-mobile {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 40px;
  padding: 10px;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1fr);
  grid-template-rows: 1fr auto;
  gap: 54px;
  align-items: center;
  min-height: 92vh;
  max-width: 100%;
  overflow-x: clip;
  padding: 148px min(7vw, 112px) 46px;
}

.hero-copy {
  min-width: 0;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  font-family: "Roboto Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: 5.5rem;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: #6845ff;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.72;
  font-family: "Roboto Mono", monospace;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 34px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: "Roboto Mono", monospace;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

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

.btn-primary {
  border-color: var(--violet);
  background: var(--violet);
  color: #fff;
}

.btn-primary:hover {
  background: #8b55ff;
}

.btn-secondary {
  border-color: var(--violet);
  color: var(--text);
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(122, 53, 255, 0.13);
}

.hero-visual {
  position: relative;
  isolation: isolate;
  width: min(100%, 720px);
  min-width: 0;
  max-width: 100%;
  min-height: clamp(380px, 34vw, 520px);
  margin-inline: auto;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 12% 2% 2% 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 35%, rgba(87, 240, 182, 0.22), transparent 34%),
    radial-gradient(circle at 72% 52%, rgba(122, 53, 255, 0.5), transparent 56%);
  filter: blur(42px);
  opacity: 0.9;
  transform: rotate(-7deg);
}

.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: 3%;
  left: 3%;
  height: 15%;
  border-radius: 50%;
  background: rgba(3, 4, 13, 0.72);
  filter: blur(24px);
  transform: perspective(220px) rotateX(62deg);
}

.device {
  position: absolute;
  color: #f7f5ff;
}

.desktop-device {
  top: 4%;
  left: 0;
  width: min(88%, 640px);
  aspect-ratio: 1.44;
  filter: drop-shadow(0 32px 50px rgba(2, 3, 12, 0.58));
}

.monitor-shell {
  position: absolute;
  inset: 0 0 15%;
  padding: clamp(5px, 0.8vw, 9px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: clamp(14px, 2.1vw, 24px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(145deg, #24283c 0%, #090b14 45%, #181b2b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07),
    0 18px 50px rgba(0, 0, 0, 0.35);
}

.monitor-shell::after {
  content: "";
  position: absolute;
  inset: auto 5% 2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.monitor-camera {
  position: absolute;
  z-index: 3;
  top: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #05060b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 2px #3658ff;
  transform: translateX(-50%);
}

.monitor-display {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: clamp(9px, 1.4vw, 16px);
  background: #0c0d1c;
}

.browser-bar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: clamp(27px, 5.2vw, 38px);
  padding: 0 clamp(10px, 2vw, 16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 13, 29, 0.8);
  backdrop-filter: blur(14px);
}

.browser-controls {
  display: flex;
  gap: clamp(4px, 0.8vw, 7px);
}

.browser-controls span {
  width: clamp(5px, 0.9vw, 8px);
  height: clamp(5px, 0.9vw, 8px);
  border-radius: 50%;
}

.browser-controls span:nth-child(1) {
  background: var(--danger);
}

.browser-controls span:nth-child(2) {
  background: var(--amber);
}

.browser-controls span:nth-child(3) {
  background: var(--mint);
}

.browser-address {
  display: flex;
  width: 42%;
  height: 52%;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.48);
  font-family: "Roboto Mono", monospace;
  font-size: clamp(0.42rem, 0.75vw, 0.6rem);
}

.browser-address i,
.browser-signal {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(87, 240, 182, 0.85);
}

.browser-signal {
  flex: 0 0 auto;
}

.device-screen {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: calc(100% - clamp(27px, 5.2vw, 38px));
  overflow: hidden;
  padding: clamp(12px, 2.8vw, 26px);
  background:
    linear-gradient(135deg, rgba(122, 53, 255, 0.32), transparent 43%),
    radial-gradient(circle at 72% 44%, rgba(54, 88, 255, 0.23), transparent 34%),
    linear-gradient(315deg, rgba(87, 240, 182, 0.1), transparent 46%),
    #0d0e20;
  container-type: inline-size;
}

.device-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 38%, #000 78%, transparent);
}

.screen-nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Roboto Mono", monospace;
  font-size: clamp(0.5rem, 2.05cqi, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.screen-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 0.72fr);
  align-items: center;
}

.screen-hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.screen-hero p,
.screen-metrics span,
.mobile-screen span {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Roboto Mono", monospace;
  font-size: clamp(0.46rem, 2cqi, 0.72rem);
  font-weight: 800;
  text-transform: uppercase;
}

.screen-hero strong {
  display: block;
  margin-top: clamp(4px, 1.4cqi, 10px);
  font-size: clamp(2.15rem, 12.5cqi, 4.65rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-shadow: 0 0 36px rgba(122, 53, 255, 0.44);
}

.screen-art {
  position: relative;
  width: min(100%, 154px);
  aspect-ratio: 1;
  justify-self: center;
}

.screen-art-core,
.screen-art-orbit {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.screen-art-core {
  width: 44%;
  height: 44%;
  background:
    radial-gradient(circle at 36% 30%, #ffffff, rgba(87, 240, 182, 0.9) 12%, #6845ff 48%, #17152f 74%);
  box-shadow:
    0 0 26px rgba(87, 240, 182, 0.48),
    0 0 54px rgba(104, 69, 255, 0.64);
}

.screen-art-orbit {
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.screen-art-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 11px var(--mint);
}

.screen-art-orbit-one {
  width: 76%;
  height: 76%;
}

.screen-art-orbit-two {
  width: 100%;
  height: 46%;
  transform: translate(-50%, -50%) rotate(-28deg);
}

.screen-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(6px, 1.8cqi, 12px);
}

.screen-metrics div {
  min-width: 0;
  min-height: clamp(54px, 13cqi, 84px);
  padding: clamp(8px, 2.4cqi, 15px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: clamp(7px, 1.5cqi, 12px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(8px);
}

.screen-metrics strong,
.mobile-screen strong {
  display: block;
  margin-top: clamp(4px, 1cqi, 8px);
  color: var(--text);
  font-family: "Roboto Mono", monospace;
  font-size: clamp(0.95rem, 4.7cqi, 1.75rem);
  line-height: 1;
}

.desktop-neck {
  position: absolute;
  z-index: -1;
  bottom: 3%;
  left: 50%;
  width: 14%;
  height: 21%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(90deg, #0a0c13, #34384a 48%, #10121d);
  clip-path: polygon(27% 0, 73% 0, 86% 100%, 14% 100%);
  transform: translateX(-50%);
}

.desktop-stand {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 38%;
  height: 5.5%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50% 50% 22% 22% / 74% 74% 24% 24%;
  background: linear-gradient(180deg, #3b3e4d, #0b0d15 70%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translateX(-50%) perspective(200px) rotateX(58deg);
}

.mobile-device {
  right: 1%;
  bottom: 3%;
  z-index: 5;
  width: clamp(120px, 25%, 182px);
  aspect-ratio: 0.505;
  padding: clamp(4px, 0.75vw, 7px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: clamp(22px, 3.4vw, 35px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 18%),
    linear-gradient(145deg, #303548, #080910 42%, #24283a);
  box-shadow:
    0 34px 48px rgba(2, 3, 12, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16);
  transform: rotate(2deg);
}

.mobile-device::before,
.mobile-device::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 2px;
  border-radius: 4px 0 0 4px;
  background: #45495a;
}

.mobile-device::before {
  top: 22%;
  height: 14%;
}

.mobile-device::after {
  top: 41%;
  height: 8%;
}

.mobile-screen {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: clamp(18px, 2.9vw, 28px);
  background:
    radial-gradient(circle at 74% 34%, rgba(87, 240, 182, 0.28), transparent 26%),
    linear-gradient(160deg, rgba(122, 53, 255, 0.82), rgba(54, 88, 255, 0.42) 46%, #101126 82%);
  container-type: inline-size;
}

.mobile-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 24%),
    radial-gradient(circle at 22% 84%, rgba(122, 53, 255, 0.52), transparent 27%);
}

.mobile-status {
  position: absolute;
  z-index: 3;
  top: 3.5%;
  right: 9%;
  left: 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Roboto Mono", monospace;
  font-size: clamp(0.35rem, 5.2cqi, 0.55rem);
  font-weight: 800;
}

.mobile-status i {
  width: 15%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #fff 70%, rgba(255, 255, 255, 0.2) 70%);
}

.mobile-island {
  position: absolute;
  z-index: 4;
  top: 2.8%;
  left: 50%;
  width: 32%;
  height: 5.8%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #020308;
  transform: translateX(-50%);
}

.mobile-island span {
  position: absolute;
  top: 50%;
  right: 12%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #151b3d;
  box-shadow: inset 0 0 2px #3658ff;
  transform: translateY(-50%);
}

.mobile-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 22% 11% 14%;
}

.mobile-content > strong {
  font-size: clamp(1.05rem, 19cqi, 2.15rem);
  letter-spacing: -0.06em;
}

.mobile-visual {
  position: relative;
  width: 74%;
  aspect-ratio: 1;
  margin: 8% auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.mobile-visual::before,
.mobile-visual::after,
.mobile-visual i {
  content: "";
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.mobile-visual::before {
  width: 68%;
  height: 68%;
  border: 1px solid rgba(87, 240, 182, 0.54);
}

.mobile-visual::after {
  width: 32%;
  height: 32%;
  background: radial-gradient(circle at 34% 26%, #fff, var(--mint) 18%, var(--violet) 62%);
  box-shadow: 0 0 18px rgba(87, 240, 182, 0.54), 0 0 28px rgba(122, 53, 255, 0.7);
}

.mobile-visual i {
  width: 110%;
  height: 42%;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.mobile-kicker {
  color: var(--mint);
}

.mobile-home {
  position: absolute;
  z-index: 3;
  bottom: 2.6%;
  left: 50%;
  width: 34%;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.82);
  transform: translateX(-50%);
}

.client-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: center;
  width: min(980px, 100%);
  min-width: 0;
  max-width: 100%;
  margin: 18px auto 0;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 18px;
}

.client-logo img {
  display: block;
  width: auto;
  max-width: 142px;
  max-height: 38px;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.78;
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.client-logo:hover img {
  opacity: 1;
  filter: grayscale(1) brightness(0) invert(1) drop-shadow(0 0 14px rgba(87, 240, 182, 0.35));
  transform: translateY(-1px);
}

.client-logo:nth-child(4) img {
  max-height: 44px;
}

.logo-symbol {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 28px;
}

.logo-symbol.square {
  border: 7px solid rgba(255, 255, 255, 0.86);
  border-right-color: transparent;
}

.logo-symbol.dots::before,
.logo-symbol.dots::after,
.logo-symbol.rings::before,
.logo-symbol.rings::after,
.logo-symbol.bars::before,
.logo-symbol.bars::after {
  content: "";
  position: absolute;
}

.logo-symbol.dots::before,
.logo-symbol.dots::after {
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
}

.logo-symbol.dots::before {
  left: 2px;
}

.logo-symbol.dots::after {
  right: 2px;
}

.logo-symbol.rings::before,
.logo-symbol.rings::after {
  top: 3px;
  width: 18px;
  height: 18px;
  border: 4px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
}

.logo-symbol.rings::before {
  left: 0;
}

.logo-symbol.rings::after {
  right: 0;
}

.logo-symbol.bars {
  border-left: 8px solid rgba(255, 255, 255, 0.86);
}

.logo-symbol.bars::before,
.logo-symbol.bars::after {
  left: 12px;
  width: 22px;
  height: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.logo-symbol.bars::before {
  top: 2px;
}

.logo-symbol.bars::after {
  bottom: 2px;
}

.section {
  width: min(1180px, calc(100% - 48px));
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
  padding: 112px 0;
}

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

.section-heading h2 {
  margin-bottom: 16px;
  font-size: 3.15rem;
  line-height: 1.07;
  font-weight: 900;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.service-grid,
.project-grid,
.blog-grid {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.blog-card,
.contact-panel,
.audit-panel,
.included-list,
.price-main {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

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

.service-index {
  display: block;
  margin-bottom: 58px;
  color: var(--mint);
  font-family: "Roboto Mono", monospace;
  font-weight: 800;
}

.service-card h3,
.contact-panel h3,
.audit-panel h3,
.included-list h3 {
  margin-bottom: 14px;
  font-size: 1.38rem;
  line-height: 1.18;
}

.service-card p,
.project-copy p,
.blog-card p,
.included-list p,
.price-main p {
  color: var(--muted);
  line-height: 1.65;
}

.project-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: 8px;
  background: #0c0d1d;
  box-shadow: var(--shadow);
}

.project-card:first-child {
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.84;
  transition: transform 300ms ease, opacity 300ms ease;
}

.project-card:hover img {
  transform: scale(1.04);
  opacity: 0.96;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 5, 12, 0.96), rgba(4, 5, 12, 0.18) 64%, transparent);
}

.project-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
}

.project-copy span,
.blog-meta {
  display: block;
  margin-bottom: 12px;
  color: var(--mint);
  font-family: "Roboto Mono", monospace;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-copy h3 {
  margin-bottom: 12px;
  font-size: 1.62rem;
}

.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.blog-card {
  overflow: hidden;
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.blog-card img,
.blog-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(140deg, rgba(54, 88, 255, 0.42), rgba(87, 240, 182, 0.18));
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.blog-card-body .btn {
  margin-top: auto;
}

.post-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 16px;
}

.metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(87, 240, 182, 0.22);
  border-radius: 8px;
  background: rgba(87, 240, 182, 0.055);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.metric-value {
  color: var(--text);
  font-family: "Roboto Mono", monospace;
}

.like-button {
  font: inherit;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

button.like-button {
  cursor: pointer;
}

.like-button:hover,
.like-button.active {
  border-color: rgba(87, 240, 182, 0.72);
  background: rgba(87, 240, 182, 0.14);
  color: var(--text);
}

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

.like-button:disabled {
  cursor: wait;
  opacity: 0.74;
}

.blog-card h3 {
  margin-bottom: 12px;
  line-height: 1.22;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 22px;
}

.blog-section .section-actions {
  margin-top: 42px;
}

.blog-tag {
  padding: 5px 9px;
  border: 1px solid rgba(87, 240, 182, 0.35);
  border-radius: 6px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 700;
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.price-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px;
}

.price-main > span {
  color: var(--mint);
  font-family: "Roboto Mono", monospace;
  font-weight: 800;
  text-transform: uppercase;
}

.price-main strong {
  display: block;
  margin: 24px 0 18px;
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
}

.price-main .btn {
  margin-top: auto;
}

.included-list {
  padding: 38px;
}

.included-list ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0;
  margin: 26px 0;
  list-style: none;
}

.included-list li {
  position: relative;
  min-height: 62px;
  padding: 18px 18px 18px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
}

.included-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 25px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.contact-panel,
.audit-panel {
  padding: 34px;
}

form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.consent-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
}

.consent-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--mint);
  cursor: pointer;
}

.consent-field a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-field a:hover {
  color: var(--text);
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.contact-link-inner {
  display: grid;
  grid-template-columns: 30px minmax(0, 96px);
  gap: 12px;
  align-items: center;
  justify-content: start;
}

.contact-links svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease, stroke 180ms ease;
}

.contact-links .filled-icon {
  fill: var(--mint);
  stroke: none;
  color: var(--mint);
  transition: transform 180ms ease, fill 180ms ease;
}

.contact-links a:hover svg {
  stroke: var(--text);
  transform: translateY(-2px);
}

.contact-links a:hover .filled-icon {
  fill: var(--text);
}

.contact-links span {
  color: var(--text);
  font-family: "Roboto Mono", monospace;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  padding: 15px 16px;
  transition: border-color 160ms ease, background 160ms ease;
}

textarea {
  resize: vertical;
}

select option {
  background: #101122;
  color: #fff;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--mint);
  background: rgba(255, 255, 255, 0.1);
}

.step-indicators {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 24px 0;
}

.step-dot {
  height: 5px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
}

.step-dot.active {
  background: var(--mint);
}

.audit-step {
  display: none;
}

.audit-step.active {
  display: grid;
  gap: 18px;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(1180px, calc(100% - 48px));
  min-width: 0;
  max-width: 100%;
  margin: 56px auto 0;
  padding: 44px 0 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--mint);
  font-weight: 800;
}

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

.blog-main {
  max-width: 100%;
  overflow-x: hidden;
  padding-top: 132px;
}

.blog-hero-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 44px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 40px;
  max-width: calc(100% - 48px);
  min-width: 0;
}

.blog-hero-page h1 {
  max-width: 100%;
  font-size: clamp(3rem, 6vw, 4.45rem);
  line-height: 1.06;
  overflow-wrap: anywhere;
  word-break: normal;
}

.blog-hero-page .hero-lead {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.blog-console {
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(8, 9, 20, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console-dots {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.console-dots span:nth-child(1) {
  background: var(--danger);
}

.console-dots span:nth-child(2) {
  background: var(--amber);
}

.console-dots span:nth-child(3) {
  background: var(--mint);
}

.blog-console pre {
  margin: 0;
  padding: 28px;
  max-width: 100%;
  overflow-x: hidden;
  color: rgba(247, 247, 255, 0.84);
  font-family: "Roboto Mono", monospace;
  font-size: 0.98rem;
  line-height: 1.8;
}

.blog-list-section {
  max-width: 100%;
  padding-top: 58px;
}

.blog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
  min-width: 0;
}

.tag-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.tag-rail button,
.blog-tags button {
  border: 1px solid rgba(87, 240, 182, 0.34);
  border-radius: 6px;
  background: rgba(87, 240, 182, 0.06);
  color: var(--mint);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 10px;
}

.tag-rail button.active {
  background: var(--mint);
  color: #07120e;
}

.article-view {
  width: min(900px, 100%);
  max-width: 900px;
  min-width: 0;
  margin: 34px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 34px;
}

.article-head {
  margin-top: 30px;
  margin-bottom: 26px;
}

.article-head .post-metrics {
  margin-top: 20px;
  margin-bottom: 0;
}

.article-head h1,
.article-head h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.article-head p,
.article-content {
  color: var(--muted);
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.article-media {
  margin: 26px 0;
  overflow: hidden;
  border-radius: 8px;
}

.article-media img,
.article-media video {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-content h1,
.article-content h2,
.article-content h3 {
  color: var(--text);
}

.article-content a {
  color: var(--mint);
  font-weight: 800;
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content blockquote,
.post-content pre,
.post-content figure,
.post-content table {
  margin: 0 0 1.25rem;
}

.post-content ul,
.post-content ol {
  padding-left: 1.25rem;
}

.post-content img,
.post-content video,
.post-content iframe {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.post-content iframe {
  aspect-ratio: 16 / 9;
}

.post-content blockquote {
  padding: 16px 18px;
  border-left: 4px solid var(--mint);
  border-radius: 8px;
  background: rgba(87, 240, 182, 0.08);
  color: var(--text);
}

.post-content pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 18px;
  border: 1px solid rgba(87, 240, 182, 0.24);
  border-radius: 8px;
  background: rgba(4, 6, 16, 0.88);
  color: rgba(247, 247, 255, 0.88);
}

.comments-panel {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.comments-head,
.comment-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.comments-head h2,
.comments-head h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.comment-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.comment-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.comment-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.comment-card time,
.comment-empty,
.comment-status {
  color: var(--muted);
}

.comment-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
  white-space: pre-wrap;
}

.comment-form {
  display: grid;
  gap: 14px;
}

.comment-website {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.comment-fields {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 12px;
}

.comment-fields textarea {
  min-height: 112px;
}

.comment-status {
  margin: 0;
  font-size: 0.9rem;
}

.comment-status.error {
  color: #ff9c9c;
}

.admin-page[data-admin-auth="pending"] main,
.admin-page[data-admin-auth="pending"] .admin-main {
  visibility: hidden;
}

.admin-page .glass {
  position: fixed;
  top: 28px;
  left: 50%;
  z-index: 20;
  width: min(1360px, calc(100% - 56px));
  min-height: 56px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 8px;
  background: rgba(8, 9, 20, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.admin-page .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.admin-page nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-page nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease;
}

.admin-page nav a:hover,
.admin-page nav a.active {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.admin-page .controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.admin-page .switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
}

.admin-page main {
  width: min(1360px, calc(100% - 56px));
  min-width: 0;
  margin: 0 auto;
  padding: 132px 0 72px;
}

.admin-kicker {
  margin: 0 0 14px;
  color: var(--mint);
  font-family: "Roboto Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

.admin-nav {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  gap: 10px;
  min-height: 100vh;
  padding: 24px 16px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(8, 9, 20, 0.74);
  backdrop-filter: blur(18px);
}

.admin-nav-link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 900;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.admin-nav-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  border-color: rgba(87, 240, 182, 0.34);
  background: rgba(87, 240, 182, 0.08);
  color: var(--text);
}

.admin-page .admin-workspace {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 24px;
}

.admin-page .admin-workspace .notice {
  margin-bottom: 18px;
}

.admin-page .admin-workspace .admin-layout > aside {
  top: 24px;
}

.admin-page main > h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.admin-page main > p:not(.admin-kicker) {
  max-width: 720px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.admin-main {
  width: min(1360px, calc(100% - 56px));
  min-width: 0;
  margin: 0 auto;
  padding: 132px 0 72px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  gap: 32px;
  align-items: stretch;
  margin-bottom: 28px;
}

.admin-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.admin-hero h1 span {
  color: var(--mint);
}

.admin-console {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(8, 9, 20, 0.72);
  box-shadow: var(--shadow);
}

.admin-console pre {
  margin: 0;
  padding: 26px;
  color: rgba(247, 247, 255, 0.84);
  font-family: "Roboto Mono", monospace;
  font-size: 0.95rem;
  line-height: 1.8;
}

.notice {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(87, 240, 182, 0.28);
  border-radius: 8px;
  background: rgba(87, 240, 182, 0.075);
  color: var(--text);
  line-height: 1.55;
}

.notice.error {
  border-color: rgba(255, 101, 120, 0.45);
  background: rgba(255, 101, 120, 0.09);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
}

.admin-panel,
.admin-post-row,
.preview-frame,
.language-grid > div,
.language-panel,
.blog-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.admin-panel {
  min-width: 0;
  padding: 26px;
}

.admin-grid,
.language-grid,
.media-grid {
  display: grid;
  gap: 16px;
  min-width: 0;
}

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

.language-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.language-grid > div,
.language-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.media-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.field.full {
  grid-column: 1 / -1;
}

.field {
  min-width: 0;
}

.field label {
  margin-bottom: 8px;
}

.editor {
  width: 100%;
  min-height: 340px;
  max-height: 72vh;
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.editor:focus {
  border-color: var(--mint);
  background: rgba(255, 255, 255, 0.1);
}

.editor:empty::before {
  content: attr(data-placeholder);
  color: var(--quiet);
}

.editor img,
.editor video,
.editor iframe {
  max-width: 100%;
  border-radius: 8px;
}

.editor pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 14px;
  border-radius: 8px;
  background: rgba(4, 6, 16, 0.88);
  color: rgba(247, 247, 255, 0.88);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.toolbar-btn,
.ghost-btn,
.danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.toolbar-btn:hover,
.ghost-btn:hover {
  border-color: rgba(87, 240, 182, 0.54);
  background: rgba(87, 240, 182, 0.09);
  transform: translateY(-1px);
}

.danger-btn {
  border-color: rgba(255, 101, 120, 0.38);
  color: #ffb8c1;
}

.danger-btn:hover {
  background: rgba(255, 101, 120, 0.11);
}

.danger-btn:disabled,
.btn:disabled,
.ghost-btn:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.admin-page .admin-layout > aside,
.admin-sidebar {
  position: sticky;
  top: 112px;
}

.admin-sidebar-head {
  margin-bottom: 16px;
}

.admin-sidebar h2 {
  margin: 0;
  font-size: 1.8rem;
}

.admin-post-list {
  display: grid;
  gap: 12px;
}

.admin-post-row {
  padding: 16px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.admin-post-row:hover {
  border-color: rgba(87, 240, 182, 0.48);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.admin-post-row h3 {
  margin: 9px 0 7px;
  font-size: 1rem;
  line-height: 1.35;
}

.post-meta {
  margin: 0;
  color: var(--muted);
  font-family: "Roboto Mono", monospace;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.status-pill {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(87, 240, 182, 0.32);
  border-radius: 8px;
  background: rgba(87, 240, 182, 0.08);
  color: var(--mint);
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill.draft {
  border-color: rgba(255, 184, 77, 0.34);
  background: rgba(255, 184, 77, 0.08);
  color: var(--amber);
}

.preview-frame {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(87, 240, 182, 0.09), rgba(255, 255, 255, 0.04)),
    var(--panel);
}

.preview-frame h3,
.preview-frame p {
  margin: 0;
}

.preview-frame p {
  color: var(--muted);
  line-height: 1.65;
}

.hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hashtag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(87, 240, 182, 0.34);
  border-radius: 6px;
  background: rgba(87, 240, 182, 0.06);
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
}

.blog-empty {
  padding: 16px;
}

.blog-empty p {
  margin: 0;
  color: var(--muted);
}

.not-found-main {
  display: grid;
  min-height: 100vh;
  min-width: 0;
  place-items: center;
  padding: 32px;
}

.not-found-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
  width: min(1120px, 100%);
  min-width: 0;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(8, 9, 20, 0.72);
  box-shadow: var(--shadow);
}

.not-found-brand {
  grid-column: 1 / -1;
  width: max-content;
  color: var(--text);
}

.not-found-copy {
  min-width: 0;
}

.not-found-copy h1 {
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 8vw, 6.2rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.not-found-copy h1 span {
  color: var(--mint);
}

.not-found-visual {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 360px;
  align-items: center;
}

.not-found-visual::before {
  content: "";
  position: absolute;
  inset: 16px 0 44px 42px;
  border: 1px solid rgba(87, 240, 182, 0.2);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(54, 88, 255, 0.22), rgba(122, 53, 255, 0.24));
  transform: rotate(-4deg);
}

.not-found-code {
  position: relative;
  z-index: 1;
  color: rgba(247, 247, 255, 0.96);
  font-family: "Roboto Mono", monospace;
  font-size: clamp(5.5rem, 16vw, 11rem);
  font-weight: 900;
  line-height: 0.9;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

.not-found-console {
  position: relative;
  z-index: 2;
  width: min(360px, 92%);
  margin: -18px 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 9, 20, 0.88);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.not-found-console pre {
  margin: 0;
  padding: 22px;
  color: rgba(247, 247, 255, 0.82);
  font-family: "Roboto Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.75;
  white-space: pre-wrap;
}

.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 50;
  display: grid;
  gap: 12px;
  width: min(360px, calc(100% - 48px));
}

.toast {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--success);
  border-radius: 8px;
  background: rgba(8, 9, 20, 0.92);
  color: var(--text);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32);
  animation: toast-in 220ms ease forwards;
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.hide {
  animation: toast-out 180ms ease forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 132px;
  }

  .hero-visual {
    min-height: clamp(360px, 70vw, 500px);
  }

  .desktop-device {
    width: min(88%, 640px);
  }

  .client-strip {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    overflow-x: auto;
    scrollbar-width: none;
  }

  .client-strip::-webkit-scrollbar {
    display: none;
  }

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

  .project-grid,
  .price-layout,
  .contact-grid,
  .blog-hero-page,
  .not-found-panel,
  .admin-hero,
  .admin-layout,
  .language-grid {
    grid-template-columns: 1fr;
  }

  .admin-page .admin-layout > aside,
  .admin-sidebar {
    position: static;
  }

  .project-card:first-child {
    grid-row: auto;
  }
}

@media (max-width: 1100px) {
  .site-header {
    top: 14px;
    width: calc(100% - 28px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: min(280px, calc(100vw - 28px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 9, 20, 0.95);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link {
    padding: 13px 10px;
  }

  .lang-toggle-desktop {
    display: none;
  }

  .lang-toggle-mobile {
    display: inline-flex;
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
    border-color: rgba(87, 240, 182, 0.42);
    background: rgba(87, 240, 182, 0.08);
    box-shadow: none;
    align-items: center;
    justify-content: center;
  }

  .hero,
  .section {
    width: auto;
    padding-left: 22px;
    padding-right: 22px;
  }

  h1 {
    font-size: 3.35rem;
  }

  .section-heading h2 {
    font-size: 2.3rem;
  }

  .hero-visual {
    min-height: clamp(360px, 70vw, 500px);
  }

  .desktop-device {
    left: 0;
    width: min(88%, 640px);
    transform: none;
  }

  .mobile-device {
    display: block;
    width: clamp(120px, 25%, 182px);
  }

  .service-grid,
  .blog-grid,
  .included-list ul,
  .blog-toolbar {
    grid-template-columns: 1fr;
  }

  .blog-hero-page h1 {
    font-size: clamp(2.35rem, 8vw, 3.1rem);
  }

  .blog-console pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 560px) {
  .brand-name {
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    gap: 34px;
    padding-top: 116px;
    padding-bottom: 28px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .blog-main {
    padding-top: 104px;
  }

  .admin-page .glass {
    top: 14px;
    width: calc(100% - 28px);
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .admin-page .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .admin-page .controls {
    grid-column: 2;
    grid-row: 1;
  }

  .admin-page nav {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
  }

  .admin-page nav ul {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .admin-page nav ul::-webkit-scrollbar {
    display: none;
  }

  .admin-page nav a {
    white-space: nowrap;
  }

  .admin-page main {
    width: calc(100% - 28px);
    padding-top: 126px;
    padding-bottom: 48px;
  }

  .not-found-main {
    padding: 22px;
  }

  .not-found-panel {
    gap: 30px;
    padding: 26px;
  }

  .not-found-visual {
    min-height: 260px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    position: sticky;
    z-index: 10;
    display: flex;
    min-height: auto;
    overflow-x: auto;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }

  .admin-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-nav-link {
    flex: 0 0 auto;
    min-height: 44px;
    white-space: nowrap;
  }

  .admin-page .admin-workspace {
    width: auto;
    padding: 14px;
  }

  .admin-main {
    width: calc(100% - 28px);
    padding-top: 104px;
    padding-bottom: 48px;
  }

  .admin-page main > h1 {
    font-size: 2.3rem;
    line-height: 1.12;
  }

  .admin-hero {
    gap: 22px;
    margin-bottom: 20px;
  }

  .admin-hero h1 {
    font-size: 2.3rem;
    line-height: 1.12;
  }

  .admin-console pre {
    padding: 20px;
    font-size: 0.82rem;
  }

  .admin-panel,
  .language-grid > div,
  .language-panel {
    padding: 20px;
  }

  .admin-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-btn,
  .ghost-btn,
  .danger-btn {
    width: 100%;
  }

  .editor {
    min-height: 260px;
  }

  .blog-hero-page {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    gap: 28px;
    padding-top: 36px;
  }

  .blog-hero-page h1 {
    font-size: 2.1rem;
    line-height: 1.14;
  }

  .blog-console pre {
    padding: 20px;
    font-size: 0.82rem;
  }

  .article-view {
    padding: 22px;
  }

  .post-metrics {
    gap: 6px;
  }

  .metric {
    min-height: 32px;
    padding: 7px 9px;
    font-size: 0.72rem;
  }

  .comments-head,
  .comment-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .comment-fields {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.6rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
  }

  .not-found-main {
    padding: 14px;
  }

  .not-found-panel {
    padding: 22px;
  }

  .not-found-copy h1 {
    font-size: 2.9rem;
  }

  .not-found-visual {
    min-height: 220px;
  }

  .not-found-console {
    width: 100%;
    margin-top: 0;
  }

  .hero-visual {
    min-height: clamp(270px, 78vw, 340px);
  }

  .desktop-device {
    left: 0;
    width: 94%;
    transform: none;
  }

  .mobile-device {
    display: block;
    right: 0;
    bottom: 4%;
    width: clamp(92px, 28%, 120px);
  }

  .screen-nav span:last-child {
    display: none;
  }

  .device-screen {
    padding: clamp(9px, 3.5vw, 16px);
  }

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

  .screen-metrics div {
    min-height: 48px;
  }

  .client-strip {
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 16px;
  }

  .client-logo {
    justify-content: flex-start;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 350px;
  }

  .price-main,
  .included-list,
  .contact-panel,
  .audit-panel {
    padding: 24px;
  }

  .price-main strong {
    font-size: 3.1rem;
  }
}

@media (max-width: 920px) and (orientation: landscape) {
  .hero {
    gap: 28px;
    padding-top: 108px;
    padding-bottom: 20px;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2 {
    margin-bottom: 10px;
  }

  .blog-intro,
  .blog-actions {
    margin-top: 20px;
  }

  .hero-visual {
    min-height: clamp(290px, 52vw, 360px);
  }

  .desktop-device {
    left: 1%;
    width: min(84%, 560px);
    transform: none;
  }

  .mobile-device {
    display: block;
    right: 6px;
    bottom: 3%;
    width: clamp(102px, 22%, 136px);
  }

  .project-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .project-card:first-child {
    grid-row: span 2;
  }

  .project-card {
    min-height: 320px;
  }
}
