:root {
  color-scheme: dark;
  --bg: #172154;
  --bg-deep: #0f1740;
  --panel: rgba(33, 43, 102, 0.76);
  --panel-strong: rgba(40, 50, 118, 0.9);
  --text: #f5f7ff;
  --muted: #aab3d8;
  --blue: #33d6ff;
  --violet: #8f5cff;
  --pink: #ff4fd8;
  --green: #43ffb6;
  --yellow: #ffdf70;
  --border: rgba(255, 255, 255, 0.13);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --max-width: 1220px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  background: rgba(51, 214, 255, 0.35);
  color: #fff;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 14% 18%, rgba(163, 132, 255, 0.30), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(91, 224, 255, 0.24), transparent 26%),
    radial-gradient(circle at 54% 88%, rgba(255, 155, 232, 0.16), transparent 30%),
    linear-gradient(116deg, transparent 8%, rgba(255,255,255,0.08) 28%, rgba(121, 219, 255, 0.16) 40%, rgba(245,255,255,0.14) 49%, rgba(144, 108, 255, 0.15) 60%, transparent 80%),
    radial-gradient(ellipse at 50% 110%, rgba(106, 145, 255, 0.12), transparent 48%),
    linear-gradient(180deg, #223271 0%, #182559 35%, #121c49 62%, #0c1335 100%);
}

.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.95) 0 1px, transparent 1.8px),
    radial-gradient(circle at 26% 78%, rgba(255,255,255,0.78) 0 1px, transparent 1.8px),
    radial-gradient(circle at 48% 32%, rgba(255,255,255,0.9) 0 1.2px, transparent 2px),
    radial-gradient(circle at 74% 22%, rgba(255,255,255,0.78) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 68%, rgba(255,255,255,0.88) 0 1.2px, transparent 2px),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 180px 180px, 220px 220px, 260px 260px, 210px 210px, 240px 240px, 64px 64px, 64px 64px;
  opacity: 0.98;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.98), rgba(0,0,0,0.82), rgba(0,0,0,0.62) 75%, transparent 98%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: -28%;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,0.12), rgba(118,233,255,0.10) 18%, rgba(151,122,255,0.08) 32%, transparent 56%),
    conic-gradient(from 100deg, transparent, rgba(51, 214, 255, 0.07), transparent, rgba(255, 79, 216, 0.05), transparent);
  filter: blur(1.2px);
  opacity: 0.8;
  animation: rotateGlow 40s linear infinite;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  inset: auto;
  z-index: -3;
  opacity: 0;
}

body::before {
  left: -12vw;
  top: -10vh;
  width: 88vw;
  height: 42vh;
  background:
    linear-gradient(110deg, rgba(67,255,182,0) 0%, rgba(67,255,182,0.20) 22%, rgba(51,214,255,0.24) 38%, rgba(186,146,255,0.18) 52%, rgba(67,255,182,0) 74%),
    radial-gradient(ellipse at 30% 40%, rgba(67,255,182,0.18), transparent 55%);
  filter: blur(42px) saturate(128%);
  transform: rotate(-10deg);
  mix-blend-mode: screen;
  animation: auroraDrift 18s ease-in-out infinite, auroraPulse 15s ease-in-out infinite;
}

body::after {
  right: -8vw;
  top: 4vh;
  width: 72vw;
  height: 32vh;
  background:
    linear-gradient(120deg, rgba(51,214,255,0) 0%, rgba(51,214,255,0.15) 24%, rgba(157,115,255,0.16) 40%, rgba(67,255,182,0.12) 58%, rgba(51,214,255,0) 78%),
    radial-gradient(ellipse at 70% 28%, rgba(173,144,255,0.16), transparent 52%);
  filter: blur(56px) saturate(120%);
  transform: rotate(7deg);
  mix-blend-mode: screen;
  animation: auroraDriftAlt 23s ease-in-out infinite, auroraPulseAlt 19s ease-in-out infinite;
}

@keyframes auroraDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-10deg) scaleX(1); }
  25% { transform: translate3d(4vw, 2vh, 0) rotate(-8deg) scaleX(1.04); }
  50% { transform: translate3d(10vw, 4vh, 0) rotate(-5deg) scaleX(1.1); }
  75% { transform: translate3d(5vw, 1vh, 0) rotate(-9deg) scaleX(1.03); }
}

@keyframes auroraDriftAlt {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(7deg) scaleX(1); }
  30% { transform: translate3d(-7vw, 3vh, 0) rotate(9deg) scaleX(1.08); }
  60% { transform: translate3d(-3vw, 5vh, 0) rotate(6deg) scaleX(1.05); }
}

@keyframes auroraPulse {
  0%, 10%, 22%, 100% { opacity: 0.02; }
  14% { opacity: 0.11; }
  18% { opacity: 0.17; }
  56% { opacity: 0.05; }
  68% { opacity: 0.14; }
  74% { opacity: 0.08; }
}

@keyframes auroraPulseAlt {
  0%, 18%, 30%, 100% { opacity: 0.01; }
  23% { opacity: 0.09; }
  26% { opacity: 0.15; }
  62% { opacity: 0.04; }
  70% { opacity: 0.12; }
  76% { opacity: 0.06; }
}

@keyframes rotateGlow {
  to { transform: rotate(360deg); }
}

.particles {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(51,214,255,0.05));
  opacity: 0.55;
  box-shadow: 0 0 22px rgba(51, 214, 255, 0.55);
  animation: floatParticle var(--duration) linear infinite;
  animation-delay: var(--delay);
}

@keyframes floatParticle {
  0% { transform: translate3d(0, 110vh, 0) scale(0.6); }
  100% { transform: translate3d(var(--move), -12vh, 0) scale(1); }
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 260px;
  height: 260px;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 214, 255, 0.16), rgba(143, 92, 255, 0.08), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled {
  background: rgba(14, 20, 54, 0.72);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.site-header.hidden { transform: translateY(0); }

.navbar {
  width: min(100% - 32px, var(--max-width));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #041023;
  background: linear-gradient(135deg, var(--blue), var(--violet), var(--pink));
  box-shadow: 0 0 28px rgba(51, 214, 255, 0.35);
  animation: logoPulse 3s ease-in-out infinite;
}

.logo-text { font-size: 1.35rem; }

@keyframes logoPulse {
  50% {
    transform: translateY(-2px) rotate(-2deg);
    box-shadow: 0 0 44px rgba(255, 79, 216, 0.42);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

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

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main { width: 100%; }

.section {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
  padding: 88px 0;
}

.section-head {
  max-width: 740px;
  margin: 0 auto 42px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.055em;
}

h1 { font-size: clamp(2.65rem, 7vw, 6.7rem); }
h2 { font-size: clamp(2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  color: #061027;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 16px 48px rgba(51, 214, 255, 0.22);
}

.btn-primary:hover { box-shadow: 0 18px 58px rgba(67, 255, 182, 0.3); }

.btn-ghost {
  border: 1px solid var(--border);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.messenger-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.messenger-row.centered { justify-content: center; }

.messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 18px 10px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.messenger:hover {
  transform: translateY(-3px) scale(1.03);
  background: rgba(255, 255, 255, 0.12);
}

.messenger.max:hover { border-color: var(--violet); box-shadow: 0 0 30px rgba(143, 92, 255, 0.26); }
.messenger.whatsapp:hover { border-color: var(--green); box-shadow: 0 0 30px rgba(67, 255, 182, 0.22); }
.messenger.telegram:hover { border-color: var(--blue); box-shadow: 0 0 30px rgba(51, 214, 255, 0.22); }

.messenger-logo,
.contact-logo {
  --logo-size: 28px;
  position: relative;
  flex: 0 0 var(--logo-size);
  width: var(--logo-size);
  height: var(--logo-size);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: inset 0 0 12px rgba(255,255,255,0.18), 0 0 22px rgba(51,214,255,0.18);
}

.logo-max {
  border-radius: 32%;
  background: linear-gradient(135deg, #7764ff, var(--blue) 48%, var(--pink));
}

.logo-max::before {
  content: "MAX";
  color: #fff;
  font-size: calc(var(--logo-size) * 0.27);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 1;
}

.logo-whatsapp {
  background: linear-gradient(135deg, #10c766, var(--green));
}

.logo-whatsapp::before {
  content: "";
  width: calc(var(--logo-size) * 0.54);
  height: calc(var(--logo-size) * 0.54);
  border: max(2px, calc(var(--logo-size) * 0.07)) solid #fff;
  border-radius: 50%;
}

.logo-whatsapp::after {
  content: "";
  position: absolute;
  left: 45%;
  top: 44%;
  width: calc(var(--logo-size) * 0.18);
  height: calc(var(--logo-size) * 0.34);
  border-left: max(2px, calc(var(--logo-size) * 0.075)) solid #fff;
  border-bottom: max(2px, calc(var(--logo-size) * 0.075)) solid #fff;
  border-radius: 0 0 0 7px;
  transform: translate(-50%, -50%) rotate(-38deg);
}

.logo-telegram {
  background: linear-gradient(135deg, #22a9ff, var(--blue));
}

.logo-telegram::before {
  content: "";
  position: absolute;
  left: 22%;
  top: 28%;
  width: 60%;
  height: 48%;
  background: #fff;
  clip-path: polygon(0 43%, 100% 0, 74% 100%, 48% 64%, 30% 80%);
}

.logo-telegram::after {
  content: "";
  position: absolute;
  left: 47%;
  top: 52%;
  width: 25%;
  height: 2px;
  background: rgba(34,169,255,0.88);
  transform: rotate(-38deg);
  border-radius: 999px;
}

.hero {
  width: min(100% - 32px, var(--max-width));
  min-height: 100vh;
  margin-inline: auto;
  padding: calc(var(--header-height) + 70px) 0 90px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
}

.hero-content p {
  max-width: 680px;
  margin-top: 24px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.neon-browser {
  width: min(100%, 560px);
  min-height: 410px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)),
    rgba(12, 16, 45, 0.9);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.42),
    0 0 70px rgba(51, 214, 255, 0.18);
  transform-style: preserve-3d;
  animation: visualFloat 6s ease-in-out infinite;
}

@keyframes visualFloat {
  50% { transform: translateY(-16px) rotateX(3deg) rotateY(-3deg); }
}

.browser-top {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.browser-top span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 18px rgba(255, 79, 216, 0.55);
}

.browser-top span:nth-child(2) { background: var(--yellow); }
.browser-top span:nth-child(3) { background: var(--green); }

.browser-body {
  position: relative;
  height: 352px;
  padding: 28px;
}

.chart-line {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 76px;
  height: 140px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, transparent 44%, rgba(51, 214, 255, 0.8) 45%, rgba(255,79,216,0.85) 52%, transparent 53%),
    linear-gradient(to top, rgba(51, 214, 255, 0.16), transparent);
  clip-path: polygon(0 75%, 18% 54%, 33% 62%, 48% 30%, 66% 42%, 82% 12%, 100% 28%, 100% 100%, 0 100%);
  filter: drop-shadow(0 0 22px rgba(51, 214, 255, 0.4));
}

.ui-card {
  position: absolute;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.card-a { left: 30px; top: 28px; width: 170px; height: 92px; }
.card-b { right: 32px; top: 42px; width: 210px; height: 126px; }
.card-c { left: 46%; bottom: 30px; width: 168px; height: 76px; }

.ui-card::before,
.ui-card::after {
  content: "";
  position: absolute;
  left: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.ui-card::before { top: 20px; width: 62%; height: 10px; }
.ui-card::after { top: 44px; width: 42%; height: 8px; opacity: 0.65; }

.orbit {
  position: absolute;
  border: 1px solid rgba(51, 214, 255, 0.35);
  border-radius: 50%;
  animation: spin 9s linear infinite;
}

.orbit::before {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 18px var(--blue);
}

.orbit-one { width: 230px; height: 230px; right: -62px; bottom: -78px; }
.orbit-one::before { top: 18px; left: 46px; }
.orbit-two { width: 150px; height: 150px; left: -44px; top: 120px; animation-duration: 12s; animation-direction: reverse; }
.orbit-two::before { right: 22px; bottom: 18px; background: var(--pink); box-shadow: 0 0 18px var(--pink); }

@keyframes spin { to { transform: rotate(360deg); } }

.inner-hero {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
  padding: calc(var(--header-height) + 98px) 0 64px;
}

.inner-hero-content { max-width: 920px; }
.inner-hero p { max-width: 720px; margin-top: 20px; font-size: 1.18rem; }

.cards-grid,
.portfolio-grid,
.articles-grid,
.testimonials-grid,
.info-grid,
.stats-grid {
  display: grid;
  gap: 22px;
}

.cards-grid.four { grid-template-columns: repeat(4, 1fr); }
.cards-grid.five { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.stats-grid { grid-template-columns: repeat(4, 1fr); }

.stat-card,
.service-card,
.project-card,
.article-card,
.testimonial-card,
.info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stat-card::before,
.service-card::before,
.project-card::before,
.article-card::before,
.testimonial-card::before,
.info-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(51,214,255,0.55), rgba(143,92,255,0.45), rgba(255,79,216,0.45));
  transition: opacity 0.28s ease;
}

.stat-card:hover::before,
.service-card:hover::before,
.project-card:hover::before,
.article-card:hover::before,
.testimonial-card:hover::before,
.info-card:hover::before { opacity: 1; }

.stat-card {
  min-height: 148px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card strong {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--green), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card span { color: var(--muted); font-weight: 700; }

.service-card {
  min-height: 310px;
  padding: 28px;
  transition: transform 0.28s ease, background 0.28s ease;
}

.service-card:hover { transform: translateY(-10px); background: rgba(24, 27, 74, 0.98); }
.service-card h3 { margin-top: 22px; }
.service-card p { margin-top: 14px; }
.service-card a { display: inline-flex; margin-top: 20px; color: var(--blue); font-weight: 850; }
.service-icon { width: 74px; height: 74px; }

.css-icon {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(51,214,255,0.28), rgba(143,92,255,0.24));
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 0 30px rgba(255,255,255,0.08), 0 0 28px rgba(51,214,255,0.14);
}

.code-icon::before,
.code-icon::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  top: 26px;
  border-top: 4px solid var(--blue);
  border-left: 4px solid var(--blue);
}

.code-icon::before { left: 18px; transform: rotate(-45deg); }
.code-icon::after { right: 18px; transform: rotate(135deg); }

.direct-icon::before {
  content: "";
  position: absolute;
  inset: 17px;
  border: 4px solid var(--pink);
  border-radius: 50%;
}

.direct-icon::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 13px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.seo-icon::before {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 17px;
  width: 38px;
  height: 38px;
  border: 4px solid var(--blue);
  border-radius: 50%;
}

.seo-icon::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 22px;
  height: 4px;
  border-radius: 99px;
  background: var(--blue);
  transform: rotate(45deg);
}

.support-icon::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 14px;
  width: 30px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  clip-path: polygon(50% 0, 100% 18%, 90% 75%, 50% 100%, 10% 75%, 0 18%);
}

.support-icon::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 32px;
  width: 16px;
  height: 8px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}

.banner-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 18px;
  width: 44px;
  height: 32px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.45)) 9px 9px / 20px 5px no-repeat,
    linear-gradient(90deg, var(--pink), var(--violet), var(--blue));
  box-shadow: 0 0 22px rgba(255,79,216,0.34);
  transform: rotate(-7deg);
}

.banner-icon::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 18px var(--yellow);
}

.process-section { position: relative; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline-item {
  position: relative;
  padding: 28px;
  min-height: 250px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.timeline-item span {
  display: inline-flex;
  margin-bottom: 34px;
  font-size: 3.2rem;
  font-weight: 950;
  line-height: 1;
  color: rgba(255,255,255,0.08);
}

.timeline-item h3 { margin-bottom: 12px; }

.timeline-item::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51,214,255,0.24), transparent 70%);
  transition: transform 0.3s ease;
}

.timeline-item:hover::after { transform: scale(1.6); }

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

.project-card { transition: transform 0.3s ease; }
.project-card:hover { transform: translateY(-12px); }

.project-visual {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(51,214,255,0.2), rgba(143,92,255,0.18));
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

.project-body { padding: 26px; }

.project-body span,
.article-body time,
.testimonial-card span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.project-body h2 {
  margin: 10px 0 12px;
  font-size: 1.75rem;
}

.mock-window,
.mock-product,
.mock-lines,
.medical-cross,
.building-shape,
.book-shape,
.chip-shape,
.plate-shape,
.leaf-shape,
.pulse-ring,
.grid-glow,
.star-cluster,
.signal-lines {
  position: absolute;
  z-index: 2;
}

.mock-window {
  left: 34px;
  top: 38px;
  width: 58%;
  height: 132px;
  border-radius: 22px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
}

.mock-window::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 74%;
  height: 11px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 16px var(--blue);
}

.mock-window::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 48px;
  width: 48%;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--violet), transparent);
}

.mock-product {
  right: 42px;
  bottom: 42px;
  width: 98px;
  height: 98px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 0 34px rgba(67,255,182,0.28);
}

.mock-lines {
  right: 34px;
  top: 42px;
  width: 120px;
  height: 80px;
  background:
    linear-gradient(var(--pink), var(--pink)) 0 0 / 88px 10px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 0 28px / 116px 8px no-repeat,
    linear-gradient(rgba(255,255,255,0.45), rgba(255,255,255,0.45)) 0 54px / 70px 8px no-repeat;
  border-radius: 18px;
}

.pulse-ring {
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(67,255,182,0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulseRing 2.7s ease-in-out infinite;
}

@keyframes pulseRing {
  50% {
    transform: translate(-50%, -50%) scale(1.14);
    opacity: 0.55;
  }
}

.medical-cross {
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
}

.medical-cross::before,
.medical-cross::after {
  content: "";
  position: absolute;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 0 24px rgba(67,255,182,0.28);
}

.medical-cross::before { left: 26px; top: 0; width: 24px; height: 76px; }
.medical-cross::after { left: 0; top: 26px; width: 76px; height: 24px; }

.building-shape {
  left: 50%;
  bottom: 36px;
  width: 160px;
  height: 170px;
  transform: translateX(-50%);
  background:
    linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)) 24px 32px / 22px 22px no-repeat,
    linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)) 68px 32px / 22px 22px no-repeat,
    linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)) 112px 32px / 22px 22px no-repeat,
    linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)) 24px 78px / 22px 22px no-repeat,
    linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)) 68px 78px / 22px 22px no-repeat,
    linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)) 112px 78px / 22px 22px no-repeat,
    linear-gradient(135deg, rgba(51,214,255,0.65), rgba(143,92,255,0.65));
  border-radius: 28px 28px 6px 6px;
}

.grid-glow {
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(51,214,255,0.22), transparent 44%);
}

.book-shape {
  left: 50%;
  top: 50%;
  width: 170px;
  height: 110px;
  transform: translate(-50%, -50%) skewY(-5deg);
  border-radius: 16px;
  background: linear-gradient(90deg, var(--violet) 48%, var(--pink) 49%);
  box-shadow: 0 0 36px rgba(255,79,216,0.3);
}

.book-shape::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: rgba(255,255,255,0.45);
}

.star-cluster::before,
.star-cluster::after {
  content: "✦";
  position: absolute;
  color: var(--yellow);
  font-size: 38px;
  text-shadow: 0 0 20px var(--yellow);
}

.star-cluster::before { left: 54px; top: 42px; }
.star-cluster::after { right: 64px; bottom: 48px; font-size: 28px; }

.chip-shape {
  left: 50%;
  top: 50%;
  width: 128px;
  height: 128px;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  background: linear-gradient(135deg, #151b52, #1f2d86);
  border: 2px solid rgba(51,214,255,0.7);
  box-shadow: 0 0 40px rgba(51,214,255,0.3);
}

.chip-shape::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.signal-lines {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, transparent 45%, rgba(51,214,255,0.18), transparent 55%),
    linear-gradient(0deg, transparent 45%, rgba(255,79,216,0.15), transparent 55%);
  animation: signalMove 3s linear infinite;
}

@keyframes signalMove { 50% { transform: translateY(-10px); } }

.plate-shape {
  left: 50%;
  top: 50%;
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0 42%, var(--green) 43% 48%, rgba(255,255,255,0.08) 49%);
  box-shadow: 0 0 34px rgba(67,255,182,0.22);
}

.leaf-shape {
  left: 55%;
  top: 37%;
  width: 72px;
  height: 42px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, var(--green), var(--blue));
  transform: rotate(-25deg);
}

.articles-grid { grid-template-columns: repeat(3, 1fr); }
.article-card { transition: transform 0.28s ease; }
.article-card:hover { transform: translateY(-10px); }

.article-cover {
  position: relative;
  height: 210px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.article-cover::before {
  content: "";
  position: absolute;
  inset: -30%;
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  transform: rotate(12deg);
  animation: coverGrid 9s linear infinite;
}

@keyframes coverGrid { to { transform: rotate(12deg) translateY(56px); } }

.article-cover span {
  position: relative;
  z-index: 2;
  font-size: 3.5rem;
  font-weight: 950;
  letter-spacing: -0.08em;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 0 30px rgba(255,255,255,0.22);
}

.cover-gradient-one { background: linear-gradient(135deg, #1d45ff, #33d6ff); }
.cover-gradient-two { background: linear-gradient(135deg, #622cff, #ff4fd8); }
.cover-gradient-three { background: linear-gradient(135deg, #0b2b64, #43ffb6); }
.cover-gradient-four { background: linear-gradient(135deg, #3e176e, #33d6ff); }
.cover-gradient-five { background: linear-gradient(135deg, #172267, #ffdf70); }
.cover-gradient-six { background: linear-gradient(135deg, #0f102f, #ff4fd8); }

.article-body { padding: 26px; }
.article-body h2 { margin: 12px 0; font-size: 1.55rem; }
.article-body a { display: inline-flex; margin-top: 18px; color: var(--blue); font-weight: 900; }

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

.testimonial-card {
  padding: 30px;
  transition: transform 0.28s ease;
}

.testimonial-card:hover { transform: translateY(-10px) rotate(-1deg); }
.testimonial-card p { margin: 22px 0; font-size: 1.03rem; }
.testimonial-card h2 { margin-bottom: 6px; font-size: 1.4rem; }

.avatar {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  position: relative;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 0 30px rgba(51,214,255,0.22);
}

.avatar::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.86);
}

.avatar::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 12px;
  width: 48px;
  height: 24px;
  border-radius: 50% 50% 16px 16px;
  background: rgba(255,255,255,0.78);
}

.avatar-two { background: linear-gradient(135deg, var(--pink), var(--violet)); }
.avatar-three { background: linear-gradient(135deg, var(--green), var(--blue)); }
.avatar-four { background: linear-gradient(135deg, var(--yellow), var(--pink)); }
.avatar-five { background: linear-gradient(135deg, #5170ff, #43ffb6); }
.avatar-six { background: linear-gradient(135deg, #ff4fd8, #33d6ff); }

.service-detail { padding-top: 64px; padding-bottom: 64px; }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 36px;
  align-items: center;
  min-height: 460px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255,255,255,0.045);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.detail-layout.reverse { grid-template-columns: 0.88fr 1fr; }
.detail-layout.reverse .detail-copy { order: 2; }
.detail-layout.reverse .detail-art { order: 1; }
.detail-copy p { margin: 22px 0; font-size: 1.08rem; }

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #dfe5ff;
  font-weight: 650;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #071020;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-size: 0.84rem;
  font-weight: 950;
}

.detail-art {
  min-height: 350px;
  display: grid;
  place-items: center;
  position: relative;
}

.detail-art::before {
  content: "";
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51,214,255,0.16), transparent 65%);
}

.css-laptop,
.ad-radar,
.seo-planet,
.support-shield,
.banner-board {
  position: relative;
  width: 290px;
  height: 250px;
  z-index: 1;
}

.laptop-screen {
  position: absolute;
  left: 25px;
  top: 25px;
  width: 240px;
  height: 150px;
  border: 2px solid rgba(51,214,255,0.8);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(51,214,255,0.06));
  box-shadow: 0 0 40px rgba(51,214,255,0.25);
}

.laptop-screen span {
  position: absolute;
  left: 28px;
  height: 12px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.laptop-screen span:nth-child(1) { top: 35px; width: 150px; }
.laptop-screen span:nth-child(2) { top: 68px; width: 95px; background: linear-gradient(90deg, var(--pink), transparent); }
.laptop-screen span:nth-child(3) { top: 101px; width: 175px; background: linear-gradient(90deg, var(--green), transparent); }

.laptop-base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 35px;
  height: 24px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.16);
}

.ad-radar {
  border-radius: 50%;
  border: 1px solid rgba(51,214,255,0.22);
}

.radar-circle {
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 2px solid rgba(67,255,182,0.42);
  box-shadow: inset 0 0 28px rgba(67,255,182,0.1);
}

.radar-circle::before {
  content: "";
  position: absolute;
  inset: 45px;
  border-radius: 50%;
  border: 2px solid rgba(51,214,255,0.28);
}

.radar-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 3px;
  transform-origin: left;
  background: linear-gradient(90deg, var(--green), transparent);
  animation: spin 3s linear infinite;
}

.radar-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.dot-one { left: 72px; top: 86px; }
.dot-two { right: 65px; top: 125px; background: var(--blue); }
.dot-three { left: 143px; bottom: 62px; background: var(--pink); }


.banner-board {
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.18);
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.26), transparent 18%),
    linear-gradient(135deg, rgba(255,79,216,0.42), rgba(143,92,255,0.34), rgba(51,214,255,0.28));
  box-shadow: 0 0 46px rgba(255,79,216,0.22), inset 0 0 36px rgba(255,255,255,0.09);
  overflow: hidden;
  animation: visualFloat 6s ease-in-out infinite;
}

.banner-board::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.18);
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}

.banner-badge,
.banner-title-line,
.banner-sub-line,
.banner-button,
.banner-spark {
  position: absolute;
  z-index: 2;
}

.banner-badge {
  left: 32px;
  top: 34px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #061027;
  font-size: 1.35rem;
  font-weight: 950;
  background: linear-gradient(135deg, var(--yellow), var(--green));
  box-shadow: 0 0 28px rgba(255,223,112,0.28);
}

.banner-title-line {
  left: 32px;
  right: 32px;
  top: 125px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.12));
}

.banner-sub-line {
  left: 32px;
  width: 58%;
  top: 160px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.48);
}

.banner-button {
  left: 32px;
  bottom: 34px;
  width: 118px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 0 24px rgba(51,214,255,0.28);
}

.banner-spark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px #fff;
  animation: pulseDot 2s ease-in-out infinite;
}

.spark-one { right: 42px; top: 46px; }
.spark-two { right: 78px; bottom: 76px; background: var(--blue); animation-delay: 0.45s; }
.spark-three { right: 34px; bottom: 120px; background: var(--pink); animation-delay: 0.9s; }

.planet-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--blue) 18%, var(--violet) 62%, #160a3d);
  box-shadow: 0 0 45px rgba(143,92,255,0.4);
}

.planet-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 2px solid rgba(51,214,255,0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
}

.ring-a { width: 220px; height: 92px; }
.ring-b { width: 260px; height: 122px; animation: spin 9s linear infinite; }

.keyword-bubble {
  position: absolute;
  display: grid;
  place-items: center;
  width: 64px;
  height: 42px;
  border-radius: 999px;
  font-weight: 950;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
}

.bubble-a { left: 18px; top: 46px; }
.bubble-b { right: 12px; bottom: 50px; }

.shield-core {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 150px;
  height: 190px;
  transform: translateX(-50%);
  clip-path: polygon(50% 0, 100% 18%, 88% 76%, 50% 100%, 12% 76%, 0 18%);
  background: linear-gradient(135deg, var(--blue), var(--violet), var(--pink));
  box-shadow: 0 0 45px rgba(143,92,255,0.38);
}

.shield-check {
  position: absolute;
  left: 104px;
  top: 103px;
  width: 72px;
  height: 36px;
  border-left: 9px solid #fff;
  border-bottom: 9px solid #fff;
  transform: rotate(-45deg);
  border-radius: 4px;
}

.shield-spark {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px var(--green);
  animation: pulseDot 1.8s ease-in-out infinite;
}

.spark-a { left: 35px; top: 45px; }
.spark-b { right: 36px; bottom: 52px; background: var(--blue); animation-delay: 0.6s; }

@keyframes pulseDot {
  50% { transform: scale(1.7); opacity: 0.55; }
}

.contact-hero {
  width: min(100% - 32px, var(--max-width));
  min-height: 100vh;
  margin-inline: auto;
  padding: calc(var(--header-height) + 90px) 0 72px;
  display: grid;
  align-items: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.contact-copy p {
  max-width: 690px;
  margin-top: 22px;
  font-size: 1.18rem;
}

.contact-buttons {
  display: grid;
  gap: 16px;
  max-width: 560px;
  margin-top: 34px;
}

.contact-messenger {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,0.065);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.contact-messenger::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(51,214,255,0.12), rgba(255,79,216,0.1));
  transition: opacity 0.25s ease;
}

.contact-messenger:hover {
  transform: translateX(10px);
  border-color: rgba(51,214,255,0.48);
}

.contact-messenger:hover::before { opacity: 1; }

.contact-logo {
  --logo-size: 56px;
  position: relative;
  z-index: 1;
  grid-row: span 2;
  border-radius: 18px;
}

.contact-messenger strong,
.contact-messenger small {
  position: relative;
  z-index: 1;
}

.contact-messenger strong { font-size: 1.18rem; }
.contact-messenger small { color: var(--muted); }

.holo-card {
  position: relative;
  width: min(100%, 460px);
  min-height: 560px;
  padding: 36px;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.035)),
    rgba(16, 20, 56, 0.85);
  box-shadow: var(--shadow), 0 0 70px rgba(143,92,255,0.2);
  overflow: hidden;
  animation: visualFloat 6s ease-in-out infinite;
}

.holo-card::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 120deg, transparent, rgba(51,214,255,0.15), transparent, rgba(255,79,216,0.14), transparent);
  animation: rotateGlow 12s linear infinite;
}

.holo-logo,
.holo-line,
.holo-grid,
.holo-status {
  position: relative;
  z-index: 1;
}

.holo-logo {
  font-size: 3.4rem;
  font-weight: 950;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, var(--blue), #fff, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.holo-line {
  width: 62%;
  height: 12px;
  margin-top: 22px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.holo-line.long {
  width: 86%;
  margin-top: 44px;
}

.holo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 54px;
}

.holo-grid span {
  height: 104px;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
}

.holo-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 38px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(67,255,182,0.09);
  color: var(--green);
  font-weight: 850;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.info-grid { grid-template-columns: repeat(3, 1fr); }
.info-card { padding: 28px; }
.info-card span { display: inline-flex; font-size: 2.2rem; margin-bottom: 16px; }
.info-card h2 { font-size: 1.6rem; margin-bottom: 10px; }

.cta-section { padding-top: 62px; }

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 70px);
  text-align: center;
  border-radius: 42px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 20% 20%, rgba(51,214,255,0.2), transparent 38%),
    radial-gradient(circle at 80% 10%, rgba(255,79,216,0.18), transparent 34%),
    rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
}

.cta-card::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -70px;
  height: 160px;
  border-radius: 50%;
  background: rgba(51,214,255,0.13);
  filter: blur(30px);
}

.cta-card p {
  max-width: 680px;
  margin: 18px auto 0;
  font-size: 1.12rem;
}

.site-footer {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
  padding: 36px 0 48px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 950;
  background: linear-gradient(135deg, rgba(51,214,255,0.28), rgba(143,92,255,0.24));
  box-shadow: 0 16px 45px rgba(0,0,0,0.28);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover { box-shadow: 0 0 34px rgba(51,214,255,0.28); }

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 1100px) {
  .cards-grid.four,
  .stats-grid,
  .timeline { grid-template-columns: repeat(2, 1fr); }

  .portfolio-grid,
  .articles-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .hero,
  .contact-layout { grid-template-columns: 1fr; }

  .hero-visual { min-height: 450px; }

  .detail-layout,
  .detail-layout.reverse { grid-template-columns: 1fr; }

  .detail-layout.reverse .detail-copy,
  .detail-layout.reverse .detail-art { order: initial; }
}

@media (max-width: 860px) {
  :root { --header-height: 74px; }

  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: calc(var(--header-height) - 2px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(6, 8, 30, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    justify-content: center;
    padding: 13px 16px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 58px);
  }

  .inner-hero { padding-top: calc(var(--header-height) + 64px); }
  .hero-visual { min-height: 380px; }
  .neon-browser { min-height: 350px; }
  .browser-body { height: 292px; }
  .section { padding: 68px 0; }
  .info-grid { grid-template-columns: 1fr; }

  .contact-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 64px);
  }
}

@media (max-width: 680px) {
  .section,
  .hero,
  .inner-hero,
  .contact-hero,
  .site-footer { width: min(100% - 22px, var(--max-width)); }

  .cards-grid.four,
  .stats-grid,
  .timeline,
  .portfolio-grid,
  .articles-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

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

  .btn,
  .messenger { width: 100%; }

  .messenger-row.centered .messenger { width: 100%; }

  .hero-visual { min-height: 330px; }
  .neon-browser { border-radius: 26px; min-height: 310px; }
  .browser-body { height: 252px; padding: 20px; }
  .card-b { width: 150px; height: 110px; }
  .card-c { display: none; }
  .project-visual { height: 230px; }
  .detail-layout { padding: 22px; }
  .detail-art { min-height: 270px; }

  .css-laptop,
  .ad-radar,
  .seo-planet,
  .support-shield,
  .banner-board { transform: scale(0.82); }

  .contact-messenger {
    grid-template-columns: 48px 1fr;
    padding: 16px;
  }

  .contact-logo {
    --logo-size: 48px;
  }

  .holo-card {
    min-height: 430px;
    padding: 26px;
    border-radius: 30px;
  }

  .holo-logo { font-size: 2.7rem; }
  .holo-grid span { height: 78px; }

  .scroll-top {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 420px) {
  h1 { font-size: clamp(2.35rem, 13vw, 3.3rem); }
  .logo-text { display: none; }

  .stat-card,
  .service-card,
  .project-body,
  .article-body,
  .testimonial-card,
  .info-card { padding: 22px; }

  .project-visual { height: 205px; }
  .mock-lines { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* === SRseo refinements: adaptive typography, messenger images, filters, aurora background === */
:root {
  --max-width: 1280px;
}

.comets { display: none !important; }

h1 { font-size: clamp(2.35rem, 4.6vw, 4.85rem); }
h2 { font-size: clamp(1.85rem, 3.1vw, 3.25rem); }
h3 { font-size: clamp(1.18rem, 1.55vw, 1.45rem); }

.hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: clamp(30px, 4vw, 70px);
  padding-top: calc(var(--header-height) + 58px);
}

.hero-content {
  max-width: 615px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  max-width: 610px;
  font-size: clamp(2.45rem, 4.35vw, 4.65rem);
}

.hero-content p {
  max-width: 585px;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.hero-visual { min-height: 520px; }
.neon-browser { width: min(100%, 535px); }

.messenger-logo {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(51, 214, 255, 0.22);
  background: transparent;
}

.contact-logo {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 17px;
  box-shadow: 0 0 24px rgba(51, 214, 255, 0.24);
}

.cards-grid.five {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}

.cards-grid.five .service-card { grid-column: span 2; }
.cards-grid.five .service-card:nth-child(4) { grid-column: 2 / span 2; }
.cards-grid.five .service-card:nth-child(5) { grid-column: 4 / span 2; }

.timeline-item span {
  transition: color 0.28s ease, text-shadow 0.28s ease, transform 0.28s ease, opacity 0.28s ease;
}

.timeline-item:hover span {
  color: #fff;
  opacity: 1;
  text-shadow: 0 0 18px rgba(51,214,255,0.85), 0 0 42px rgba(255,79,216,0.55);
  transform: translateY(-4px) scale(1.04);
}

.scroll-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0;
  line-height: 1;
}

.scroll-top::before {
  content: "";
  width: 15px;
  height: 15px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  border-radius: 2px;
  transform: rotate(45deg) translate(2px, 2px);
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 30px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.22);
}

.filter-btn {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: #fff;
  border-color: rgba(51,214,255,0.55);
  background: linear-gradient(135deg, rgba(51,214,255,0.22), rgba(143,92,255,0.18));
  box-shadow: 0 0 26px rgba(51,214,255,0.18);
  transform: translateY(-2px);
}

.project-card.is-hidden {
  display: none;
}

body[data-page="services"].service-animations-ready .service-detail .detail-layout {
  opacity: 0;
  transition: opacity 0.82s ease, transform 0.82s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
  will-change: transform, opacity;
}

body[data-page="services"].service-animations-ready .service-detail:nth-of-type(odd) .detail-layout {
  transform: translateX(-130px) rotate(-2deg) scale(0.96);
}

body[data-page="services"].service-animations-ready .service-detail:nth-of-type(even) .detail-layout {
  transform: translateX(130px) rotate(2deg) scale(0.96);
}

body[data-page="services"].service-animations-ready .service-detail.fly-visible .detail-layout {
  opacity: 1;
  transform: translateX(0) rotate(0) scale(1);
}

body[data-page="services"].service-animations-ready .service-detail.fly-visible .detail-layout:hover {
  box-shadow: 0 30px 90px rgba(0,0,0,0.32), 0 0 55px rgba(51,214,255,0.12);
}

@media (min-width: 1600px) {
  h1 { font-size: clamp(2.35rem, 3.9vw, 4.85rem); }
  .hero-content h1 { font-size: clamp(2.45rem, 3.65vw, 4.55rem); }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-content { max-width: 820px; }
  .hero-content h1 { max-width: 780px; }
  .cards-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-grid.five .service-card,
  .cards-grid.five .service-card:nth-child(4),
  .cards-grid.five .service-card:nth-child(5) { grid-column: auto; }
}

@media (max-width: 860px) {
  h1 { font-size: clamp(2.25rem, 8vw, 3.7rem); }
  h2 { font-size: clamp(1.75rem, 6vw, 2.8rem); }
  .hero-content h1 { font-size: clamp(2.3rem, 8.5vw, 3.7rem); }
  .contact-logo { width: 52px; height: 52px; }
  body[data-page="services"].service-animations-ready .service-detail:nth-of-type(odd) .detail-layout,
  body[data-page="services"].service-animations-ready .service-detail:nth-of-type(even) .detail-layout {
    transform: translateY(58px) scale(0.97);
  }
  body[data-page="services"].service-animations-ready .service-detail.fly-visible .detail-layout {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 680px) {
  .cards-grid.five { grid-template-columns: 1fr; }
  .portfolio-filter { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 14px; }
  .filter-btn { flex: 0 0 auto; }
  .contact-messenger { grid-template-columns: 48px 1fr; }
  .contact-logo { width: 48px; height: 48px; border-radius: 15px; }
}

@media (max-width: 420px) {
  h1 { font-size: clamp(2.15rem, 11vw, 3.05rem); }
  .hero-content h1 { font-size: clamp(2.18rem, 11vw, 3.05rem); }
}

/* ===== Matrix theme overrides ===== */
:root {
  --bg: #000000;
  --bg-deep: #030603;
  --panel: rgba(0, 0, 0, 0.88);
  --panel-strong: rgba(0, 0, 0, 0.94);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --blue: #00ff66;
  --violet: #46ff8c;
  --pink: #ffffff;
  --green: #00ff66;
  --yellow: #b8ffc9;
  --border: rgba(0, 255, 102, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.74), 0 0 34px rgba(0, 255, 102, 0.08);
}

body {
  color: var(--text);
  background: #000;
  text-shadow: 0 0 6px rgba(0, 255, 102, 0.14);
}

::selection {
  background: rgba(0, 255, 102, 0.36);
  color: #fff;
}

.page-bg {
  background:
    radial-gradient(circle at 50% 15%, rgba(0, 255, 102, 0.10), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(0, 255, 102, 0.09), transparent 32%),
    linear-gradient(180deg, #000 0%, #010401 42%, #000 100%);
}

.page-bg::before {
  background-image:
    linear-gradient(rgba(0, 255, 102, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 102, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
  background-size: 42px 42px, 42px 42px, 100% 100%;
  opacity: 1;
  mask-image: none;
}

.page-bg::after {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 6px),
    radial-gradient(ellipse at center, transparent 0%, transparent 48%, rgba(0,0,0,0.78) 100%);
  filter: none;
  opacity: 0.72;
  animation: matrixScan 7s linear infinite;
}

@keyframes matrixScan {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 42px, 0 0; }
}

body::before,
body::after {
  z-index: -3;
  opacity: 0.7;
  mix-blend-mode: screen;
}

body::before {
  background: radial-gradient(ellipse at 30% 45%, rgba(0, 255, 102, 0.18), transparent 62%);
  animation: auroraDrift 20s ease-in-out infinite, matrixPulse 9s ease-in-out infinite;
}

body::after {
  background: radial-gradient(ellipse at 70% 45%, rgba(0, 255, 102, 0.12), transparent 60%);
  animation: auroraDriftAlt 25s ease-in-out infinite, matrixPulse 11s ease-in-out infinite;
}

@keyframes matrixPulse {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.48; }
}

.particles {
  z-index: -2;
  opacity: 0.92;
  mix-blend-mode: screen;
  filter: saturate(1.4);
}

.particles::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88) 0 2%, transparent 14% 86%, rgba(0,0,0,0.88) 98% 100%),
    linear-gradient(180deg, rgba(0,0,0,0.65), transparent 20%, transparent 72%, rgba(0,0,0,0.9));
  pointer-events: none;
}

.particle.matrix-column,
.particle {
  position: absolute;
  top: -70vh;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  opacity: var(--matrix-opacity, 0.65);
  box-shadow: none;
  color: #00ff66;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.12em;
  white-space: pre;
  text-align: center;
  text-shadow:
    0 0 6px rgba(0, 255, 102, 0.95),
    0 0 18px rgba(0, 255, 102, 0.44);
  animation: matrixRain var(--duration) linear infinite;
  animation-delay: var(--delay);
}

@keyframes matrixRain {
  0% { transform: translate3d(0, -30vh, 0); }
  100% { transform: translate3d(0, 190vh, 0); }
}

.cursor-glow {
  background: radial-gradient(circle, rgba(0, 255, 102, 0.22), rgba(0, 255, 102, 0.07), transparent 70%);
}

.site-header.scrolled,
.nav-links.open {
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid rgba(0, 255, 102, 0.24);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.62), 0 0 28px rgba(0, 255, 102, 0.07);
}

.logo-mark,
.btn-primary,
.check-list li::before,
.banner-badge,
.banner-button {
  color: #000;
  background: linear-gradient(135deg, #ffffff, #00ff66 42%, #00b84a);
  box-shadow: 0 0 26px rgba(0, 255, 102, 0.32), inset 0 0 16px rgba(255,255,255,0.18);
}

.logo-text,
.eyebrow,
.service-card a,
.article-body a,
.project-body span,
.article-body time,
.testimonial-card span,
.holo-status,
.filter-btn.active {
  color: #00ff66;
}

.nav-links a::after,
.eyebrow::before,
.ui-card::before,
.ui-card::after,
.laptop-screen span,
.holo-line,
.radar-line {
  background: linear-gradient(90deg, #ffffff, #00ff66, transparent);
}

.nav-links a:hover,
.nav-links a.active,
.btn-ghost:hover,
.messenger:hover,
.filter-btn:hover {
  color: #fff;
  background: rgba(0, 255, 102, 0.10);
}

.btn-ghost,
.messenger,
.nav-toggle,
.filter-btn,
.contact-messenger,
.keyword-bubble {
  background: rgba(0, 0, 0, 0.76);
  border-color: rgba(0, 255, 102, 0.26);
}

.btn-primary:hover,
.messenger:hover,
.contact-messenger:hover,
.filter-btn.active,
.scroll-top:hover {
  box-shadow: 0 0 34px rgba(0, 255, 102, 0.28);
  border-color: rgba(0, 255, 102, 0.62);
}

.hero-content,
.inner-hero-content,
.section-head,
.contact-copy {
  position: relative;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(0, 255, 102, 0.20);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0, 255, 102, 0.055), rgba(0, 0, 0, 0.18)),
    rgba(0, 0, 0, 0.82);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.54), inset 0 0 35px rgba(0, 255, 102, 0.035);
  backdrop-filter: blur(12px);
}

.hero-content::before,
.inner-hero-content::before,
.section-head::before,
.contact-copy::before,
.stat-card::after,
.service-card::after,
.project-card::after,
.article-card::after,
.testimonial-card::after,
.info-card::after,
.detail-layout::after,
.cta-card::before,
.holo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 7px),
    linear-gradient(90deg, transparent, rgba(0,255,102,0.06), transparent);
  opacity: 0.45;
}

.stat-card,
.service-card,
.project-card,
.article-card,
.testimonial-card,
.info-card,
.timeline-item,
.detail-layout,
.cta-card,
.holo-card,
.neon-browser {
  background:
    linear-gradient(135deg, rgba(0, 255, 102, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.9);
  border-color: rgba(0, 255, 102, 0.25);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stat-card::before,
.service-card::before,
.project-card::before,
.article-card::before,
.testimonial-card::before,
.info-card::before {
  background: linear-gradient(135deg, rgba(0,255,102,0.58), rgba(255,255,255,0.32), rgba(0,255,102,0.42));
}

.service-card:hover,
.article-card:hover,
.testimonial-card:hover,
.project-card:hover,
.detail-layout:hover,
.contact-messenger:hover {
  background: rgba(0, 0, 0, 0.96);
}

h1, h2, h3, .logo, .stat-card strong, .holo-logo {
  text-shadow:
    0 0 10px rgba(0, 255, 102, 0.28),
    0 0 26px rgba(0, 255, 102, 0.12);
}

p,
.stat-card span,
.contact-messenger small,
.check-list li {
  color: rgba(255, 255, 255, 0.78);
}

.stat-card strong,
.holo-logo {
  background: linear-gradient(135deg, #ffffff, #00ff66 45%, #8affad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.neon-browser,
.holo-card,
.banner-board {
  animation: matrixFloat 6s ease-in-out infinite;
}

@keyframes matrixFloat {
  50% { transform: translateY(-12px); }
}

.browser-top,
.laptop-base {
  background: rgba(0, 255, 102, 0.05);
  border-color: rgba(0, 255, 102, 0.22);
}

.browser-top span {
  background: #00ff66;
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.7);
}

.browser-top span:nth-child(2) { background: #ffffff; }
.browser-top span:nth-child(3) { background: #00b84a; }

.chart-line,
.project-visual,
.article-cover,
.cover-gradient-one,
.cover-gradient-two,
.cover-gradient-three,
.cover-gradient-four,
.cover-gradient-five,
.cover-gradient-six {
  background:
    linear-gradient(rgba(0,255,102,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,102,0.12) 1px, transparent 1px),
    linear-gradient(135deg, rgba(0, 255, 102, 0.18), rgba(0, 0, 0, 0.95));
  background-size: 24px 24px, 24px 24px, auto;
}

.project-visual::after,
.article-cover::before,
.banner-board::before,
.holo-grid span {
  border-color: rgba(0,255,102,0.22);
  background-image:
    linear-gradient(rgba(0,255,102,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,102,0.12) 1px, transparent 1px);
}

.css-icon,
.avatar,
.avatar-two,
.avatar-three,
.avatar-four,
.avatar-five,
.avatar-six,
.mock-product,
.medical-cross::before,
.medical-cross::after,
.book-shape,
.chip-shape::before,
.plate-shape,
.leaf-shape,
.support-icon::before,
.planet-core,
.shield-core {
  background: linear-gradient(135deg, #ffffff, #00ff66 48%, #003f18);
  border-color: rgba(0, 255, 102, 0.36);
  box-shadow: 0 0 32px rgba(0, 255, 102, 0.24);
}

.code-icon::before,
.code-icon::after,
.seo-icon::before,
.laptop-screen,
.radar-circle,
.chip-shape,
.orbit,
.pulse-ring,
.planet-ring {
  border-color: rgba(0, 255, 102, 0.78);
}

.direct-icon::before {
  border-color: #ffffff;
}

.banner-icon::before,
.mock-lines,
.signal-lines,
.grid-glow,
.detail-art::before,
.timeline-item::after,
.cta-card::after,
.holo-card::before {
  background: radial-gradient(circle, rgba(0, 255, 102, 0.18), transparent 70%);
}

.scroll-top {
  background: rgba(0, 0, 0, 0.88);
  border-color: rgba(0, 255, 102, 0.35);
  color: #00ff66;
}

.site-footer {
  background: rgba(0,0,0,0.55);
  border-color: rgba(0, 255, 102, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .particle.matrix-column,
  .page-bg::after,
  body::before,
  body::after {
    animation: none !important;
  }
}

/* Keep Matrix effects behind readable content */
.hero-content,
.inner-hero-content,
.section-head,
.contact-copy,
.stat-card,
.service-card,
.project-card,
.article-card,
.testimonial-card,
.info-card,
.timeline-item,
.detail-layout,
.cta-card,
.holo-card,
.neon-browser,
.contact-messenger {
  isolation: isolate;
}

.hero-content > *,
.inner-hero-content > *,
.section-head > *,
.contact-copy > *,
.stat-card > *,
.service-card > *,
.project-card > *,
.article-card > *,
.testimonial-card > *,
.info-card > *,
.timeline-item > *,
.detail-layout > *,
.cta-card > *,
.holo-card > *,
.neon-browser > *,
.contact-messenger > * {
  position: relative;
  z-index: 1;
}

.hero-content::before,
.inner-hero-content::before,
.section-head::before,
.contact-copy::before,
.stat-card::after,
.service-card::after,
.project-card::after,
.article-card::after,
.testimonial-card::after,
.info-card::after,
.detail-layout::after,
.cta-card::before,
.holo-card::after {
  z-index: 0;
  opacity: 0.24;
}

/* Extra monochrome Matrix polish for fallback CSS icons */
.logo-max,
.logo-whatsapp,
.logo-telegram {
  background: linear-gradient(135deg, #000000, #00ff66);
  border: 1px solid rgba(0, 255, 102, 0.45);
}

.logo-telegram::after {
  background: rgba(0, 0, 0, 0.88);
}

.chip-shape,
.mock-window,
.ui-card,
.holo-grid span,
.keyword-bubble {
  background: rgba(0, 0, 0, 0.72);
}

.mock-window::before,
.mock-window::after,
.mock-lines,
.banner-title-line,
.banner-sub-line {
  background: linear-gradient(90deg, #00ff66, rgba(255,255,255,0.7), transparent);
}

/* ===== Service banner images inserted into the Matrix site ===== */
.service-card-media {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% + 4px);
  height: 138px;
  margin: -10px -2px 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 102, 0.28);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.72);
  box-shadow:
    inset 0 0 30px rgba(0, 255, 102, 0.05),
    0 16px 38px rgba(0, 0, 0, 0.38),
    0 0 26px rgba(0, 255, 102, 0.08);
  isolation: isolate;
}

.service-card-media::before,
.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.service-card-media::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 7px),
    linear-gradient(90deg, rgba(0,0,0,0.58), transparent 30%, transparent 70%, rgba(0,0,0,0.62));
  opacity: 0.42;
  mix-blend-mode: screen;
}

.service-card-media::after {
  background: radial-gradient(circle at 20% 20%, rgba(0,255,102,0.15), transparent 38%);
  opacity: 0.76;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  filter: saturate(1.08) contrast(1.08) brightness(0.9);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.service-card:hover .service-card-media img,
.service-card-media:focus-visible img {
  transform: scale(1.07);
  filter: saturate(1.18) contrast(1.12) brightness(1);
}

.service-card-media:focus-visible {
  outline: 2px solid rgba(0, 255, 102, 0.85);
  outline-offset: 4px;
}

.service-card .service-icon {
  box-shadow: 0 0 26px rgba(0, 255, 102, 0.2), inset 0 0 18px rgba(255,255,255,0.1);
}

.service-banner-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 610px);
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 102, 0.34);
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.82);
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.62),
    0 0 54px rgba(0, 255, 102, 0.14),
    inset 0 0 32px rgba(0, 255, 102, 0.05);
  isolation: isolate;
  transform: perspective(1000px) rotateY(-4deg) rotateX(1.5deg);
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.detail-layout.reverse .service-banner-frame {
  transform: perspective(1000px) rotateY(4deg) rotateX(1.5deg);
}

.detail-layout:hover .service-banner-frame {
  border-color: rgba(0, 255, 102, 0.62);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.7),
    0 0 72px rgba(0, 255, 102, 0.2),
    inset 0 0 36px rgba(0, 255, 102, 0.08);
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-6px);
}

.service-banner-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08) brightness(0.92);
  transform: scale(1.012);
}

.service-banner-frame::before,
.service-banner-frame::after,
.service-banner-shine {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.service-banner-frame::before {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 22% 18%, rgba(0, 255, 102, 0.14), transparent 38%),
    linear-gradient(90deg, rgba(0,0,0,0.42), transparent 22%, transparent 78%, rgba(0,0,0,0.52));
  opacity: 0.46;
  mix-blend-mode: screen;
}

.service-banner-frame::after {
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.38);
}

.service-banner-shine {
  z-index: 4;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,0.14) 48%, transparent 56% 100%);
  transform: translateX(-120%);
  animation: bannerShine 8s ease-in-out infinite;
}

@keyframes bannerShine {
  0%, 54%, 100% { transform: translateX(-120%); opacity: 0; }
  64% { opacity: 0.9; }
  76% { transform: translateX(120%); opacity: 0; }
}

.detail-art:has(.service-banner-frame)::before {
  width: 105%;
  aspect-ratio: 16 / 10;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 255, 102, 0.18), transparent 62%),
    linear-gradient(135deg, rgba(0, 255, 102, 0.05), transparent);
  filter: blur(8px);
}

@media (max-width: 980px) {
  .service-card-media { height: 150px; }

  .service-banner-frame,
  .detail-layout.reverse .service-banner-frame,
  .detail-layout:hover .service-banner-frame {
    transform: none;
  }
}

@media (max-width: 560px) {
  .service-card-media {
    height: 126px;
    margin-bottom: 18px;
    border-radius: 18px;
  }

  .service-banner-frame {
    border-radius: 22px;
  }
}


/* ===== Homepage service cards without heavy banner previews + pricing ===== */
.services-overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.home-service-card {
  min-height: 410px;
  display: flex;
  flex-direction: column;
}

.home-service-card h3 {
  margin-top: 18px;
}

.home-service-card > a {
  margin-top: auto;
}

.service-code-panel {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  margin: -4px 0 22px;
  padding: 18px;
  display: grid;
  align-content: end;
  gap: 4px;
  border: 1px solid rgba(0, 255, 102, 0.30);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(0, 255, 102, 0.13), rgba(0,0,0,0.08) 42%, rgba(0,0,0,0.72)),
    rgba(0, 0, 0, 0.78);
  box-shadow:
    inset 0 0 34px rgba(0, 255, 102, 0.06),
    0 16px 42px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(0, 255, 102, 0.08);
  isolation: isolate;
}

.service-code-panel::before {
  content: "01001010 10110100\A 001101 010101 1110\A deploy(); run();\A status: online";
  position: absolute;
  inset: 10px 14px;
  z-index: -1;
  white-space: pre;
  color: rgba(0, 255, 102, 0.22);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  transform: rotate(-4deg) scale(1.05);
}

.service-code-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 84% 22%, rgba(0,255,102,0.22), transparent 30%);
  opacity: 0.56;
  pointer-events: none;
}

.service-code-panel .terminal-label {
  width: max-content;
  padding: 5px 9px;
  border: 1px solid rgba(0, 255, 102, 0.34);
  border-radius: 999px;
  color: #00ff66;
  background: rgba(0,0,0,0.52);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-code-panel strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.05;
  text-shadow: 0 0 22px rgba(0,255,102,0.28);
}

.service-code-panel small {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.72);
  font-weight: 750;
}

.service-mini-prices {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 18px 0 20px;
}

.service-mini-prices li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 255, 102, 0.16);
  border-radius: 14px;
  background: rgba(0,0,0,0.30);
  color: rgba(255,255,255,0.74);
  font-size: 0.9rem;
}

.service-mini-prices strong {
  color: #00ff66;
  white-space: nowrap;
  font-size: 0.88rem;
}

.bot-icon::before,
.bot-icon::after {
  content: "";
  position: absolute;
}

.bot-icon::before {
  left: 18px;
  right: 18px;
  top: 23px;
  height: 30px;
  border: 4px solid #00ff66;
  border-radius: 13px;
  box-shadow: 0 0 18px rgba(0,255,102,0.28);
}

.bot-icon::after {
  left: 27px;
  top: 34px;
  width: 20px;
  height: 7px;
  border-left: 6px solid #fff;
  border-right: 6px solid #fff;
  box-shadow: 18px 0 0 -1px #fff;
}

.pricing-section {
  position: relative;
}

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

.price-card,
.detail-price-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 102, 0.22);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(0,255,102,0.09), rgba(0,0,0,0.18) 42%, rgba(0,0,0,0.68)),
    rgba(0,0,0,0.58);
  box-shadow:
    inset 0 0 32px rgba(0,255,102,0.04),
    0 22px 60px rgba(0,0,0,0.36);
  backdrop-filter: blur(16px);
}

.price-card {
  padding: 26px;
  min-height: 100%;
}

.price-card::before,
.detail-price-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 18% 8%, rgba(0,255,102,0.18), transparent 34%);
  opacity: 0.48;
}

.price-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.price-card-head span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,255,102,0.42);
  border-radius: 15px;
  color: #00ff66;
  background: rgba(0,0,0,0.48);
  font-weight: 950;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.price-card-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.price-list,
.detail-price-box ul {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  gap: 10px;
}

.price-list li,
.detail-price-box li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 13px;
  border: 1px solid rgba(0,255,102,0.15);
  border-radius: 16px;
  background: rgba(0,0,0,0.34);
}

.price-list li span,
.detail-price-box b {
  color: rgba(255,255,255,0.78);
  font-weight: 720;
}

.price-list li strong,
.detail-price-box strong {
  color: #00ff66;
  white-space: nowrap;
  font-size: 0.94rem;
}

.price-note {
  width: min(100%, 760px);
  margin: 22px auto 0;
  color: var(--muted);
  text-align: center;
  font-weight: 650;
}

.detail-price-box {
  margin-top: 24px;
  padding: 20px;
}

.detail-price-box > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 14px;
  color: #00ff66;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

@media (max-width: 1100px) {
  .services-overview-grid,
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .services-overview-grid,
  .pricing-grid { grid-template-columns: 1fr; }

  .home-service-card { min-height: auto; }

  .price-list li,
  .detail-price-box li,
  .service-mini-prices li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}


/* ===== Real portfolio screenshots ===== */
.project-card.portfolio-work-card {
  min-height: auto;
}

.project-visual.project-screenshot {
  height: 285px;
  background: #020403;
  border-bottom: 1px solid rgba(0, 255, 102, 0.22);
}

.project-visual.project-screenshot img,
.home-work-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.86) contrast(1.06) brightness(0.88);
  transition: transform 0.55s ease, filter 0.35s ease;
}

.project-card:hover .project-visual.project-screenshot img,
.home-work-card:hover .home-work-shot img {
  transform: scale(1.045);
  filter: saturate(0.95) contrast(1.12) brightness(0.96);
}

.project-visual.project-screenshot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.34)),
    radial-gradient(circle at 18% 0%, rgba(0,255,102,0.18), transparent 38%);
}

.project-visual.project-screenshot::after {
  inset: 12px;
  z-index: 3;
  border-radius: 18px;
  border-color: rgba(0, 255, 102, 0.24);
  background-image: none;
  background: linear-gradient(90deg, transparent, rgba(0,255,102,0.08), transparent);
  opacity: 0.42;
}

.work-scanline {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0 92%, rgba(0, 255, 102, 0.14) 92% 95%, transparent 95% 100%);
  background-size: 100% 12px;
  mix-blend-mode: screen;
  opacity: 0.26;
}

.portfolio-work-card .project-body p {
  min-height: 76px;
}

.home-works-section {
  position: relative;
}

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

.home-work-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 102, 0.24);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0,255,102,0.07), rgba(255,255,255,0.025)), rgba(0,0,0,0.9);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.home-work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 255, 102, 0.58);
  box-shadow: 0 26px 80px rgba(0,0,0,0.72), 0 0 36px rgba(0,255,102,0.16);
}

.home-work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 7px),
    linear-gradient(90deg, transparent, rgba(0,255,102,0.06), transparent);
  opacity: 0.22;
}

.home-work-shot {
  height: 190px;
  overflow: hidden;
  background: #020403;
  border-bottom: 1px solid rgba(0, 255, 102, 0.2);
}

.home-work-copy {
  position: relative;
  z-index: 3;
  padding: 18px;
}

.home-work-copy span {
  display: inline-flex;
  color: #00ff66;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-work-copy h3 {
  margin-top: 9px;
  font-size: 1.06rem;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 1100px) {
  .home-works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .project-visual.project-screenshot { height: 225px; }
  .home-works-grid { grid-template-columns: 1fr; }
  .home-work-shot { height: 220px; }
}


/* ===== Home hero redesign: wider text block with embedded effect panel ===== */
body[data-page="home"] .hero {
  display: block;
  min-height: auto;
  padding-top: calc(var(--header-height) + 56px);
}

body[data-page="home"] .hero-shell {
  position: relative;
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(0, 255, 102, 0.24);
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 18, 7, 0.72) 47%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(135deg, rgba(255,255,255,0.03), rgba(0,255,102,0.04));
  box-shadow:
    0 24px 90px rgba(0, 0, 0, 0.72),
    0 0 42px rgba(0, 255, 102, 0.10),
    inset 0 0 36px rgba(0, 255, 102, 0.05);
  overflow: hidden;
  isolation: isolate;
}

body[data-page="home"] .hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.04) 0 1px, transparent 1px 7px),
    linear-gradient(90deg, rgba(0,255,102,0.04) 1px, transparent 1px),
    linear-gradient(90deg, transparent 0%, rgba(0,255,102,0.09) 48%, transparent 78%);
  background-size: auto, 26px 26px, auto;
  opacity: 0.48;
  pointer-events: none;
  z-index: 0;
}

body[data-page="home"] .hero-shell::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: calc(50% - 1px);
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 255, 102, 0.18), transparent);
  opacity: 0.55;
  pointer-events: none;
}

body[data-page="home"] .hero-shell > * {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .hero-content {
  max-width: 760px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page="home"] .hero-content::before {
  display: none;
}

body[data-page="home"] .hero-title {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: clamp(3.05rem, 4.65vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

body[data-page="home"] .hero-title span {
  display: block;
}

body[data-page="home"] .hero-title span + span {
  margin-top: 10px;
}

body[data-page="home"] .hero-title span:nth-child(2) {
  color: #f4fff7;
  text-shadow: 0 0 14px rgba(0, 255, 102, 0.16), 0 0 34px rgba(255,255,255,0.08);
}

body[data-page="home"] .hero-content p {
  max-width: 640px;
  margin-top: 26px;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.7;
}

body[data-page="home"] .hero-actions {
  margin-top: 32px;
}

body[data-page="home"] .messenger-row {
  margin-top: 24px;
}

body[data-page="home"] .hero-visual {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 6px 10px;
}

body[data-page="home"] .hero-browser-embed {
  width: min(100%, 480px);
  min-height: 350px;
  transform: translateY(14px);
}

body[data-page="home"] .hero-visual-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 255, 102, 0.26);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.82);
  color: #baffcf;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow: 0 0 24px rgba(0, 255, 102, 0.10);
  white-space: nowrap;
}

body[data-page="home"] .hero-visual-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 12px rgba(0,255,102,0.88);
}

body[data-page="home"] .badge-top {
  top: 4px;
  left: 18px;
}

body[data-page="home"] .badge-bottom {
  right: 10px;
  bottom: 6px;
}

@media (max-width: 1180px) {
  body[data-page="home"] .hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="home"] .hero-shell::after {
    display: none;
  }

  body[data-page="home"] .hero-content {
    max-width: 100%;
  }

  body[data-page="home"] .hero-title {
    max-width: 880px;
  }

  body[data-page="home"] .hero-visual {
    min-height: 420px;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .hero-shell {
    width: min(100% - 18px, 1320px);
    padding: 24px 18px;
    border-radius: 28px;
  }

  body[data-page="home"] .hero-title {
    font-size: clamp(2.35rem, 10vw, 3.7rem);
    line-height: 1;
  }

  body[data-page="home"] .hero-title span + span {
    margin-top: 8px;
  }

  body[data-page="home"] .hero-visual {
    min-height: 320px;
    padding: 10px 0 0;
  }

  body[data-page="home"] .hero-browser-embed {
    width: 100%;
    min-height: 300px;
    transform: none;
  }

  body[data-page="home"] .hero-visual-badge {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 8px 12px;
  }

  body[data-page="home"] .badge-top {
    top: -4px;
    left: 4px;
  }

  body[data-page="home"] .badge-bottom {
    right: 2px;
    bottom: -2px;
  }
}


/* ===== Hero redesign: larger text block with embedded effect panel ===== */
.hero-home {
  display: block;
  min-height: auto;
}

.hero-home .hero-panel {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 84vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.9fr);
  gap: clamp(28px, 3.8vw, 58px);
  align-items: center;
  padding: clamp(28px, 4.2vw, 46px);
  border: 1px solid rgba(0, 255, 102, 0.22);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 255, 102, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.9);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.72),
    inset 0 0 45px rgba(0, 255, 102, 0.045),
    0 0 30px rgba(0, 255, 102, 0.05);
  isolation: isolate;
}

.hero-home .hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 10px),
    linear-gradient(90deg, rgba(0,255,102,0.04) 0 1px, transparent 1px 14px),
    linear-gradient(90deg, transparent, rgba(0,255,102,0.06), transparent 68%);
  opacity: 0.28;
  pointer-events: none;
}

.hero-home .hero-panel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(48%, 52%, 56%);
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(0,255,102,0.18), transparent);
  pointer-events: none;
}

.hero-home .hero-content {
  max-width: none;
  padding: clamp(4px, 0.8vw, 10px) clamp(0px, 0.2vw, 2px) clamp(4px, 0.8vw, 10px) 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-home .hero-content::before {
  display: none;
}

.hero-home .eyebrow {
  margin-bottom: 16px;
  color: #8affad;
  letter-spacing: 0.18em;
}

.hero-home .hero-title {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3.05rem, 5.2vw, 6.1rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero-home .hero-title span {
  display: block;
}

.hero-home .hero-title .accent {
  color: #ffffff;
  text-shadow:
    0 0 16px rgba(255,255,255,0.2),
    0 0 28px rgba(0,255,102,0.12);
}

.hero-home .hero-content p {
  max-width: 760px;
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.72;
}

.hero-home .hero-actions {
  margin-top: 30px;
}

.hero-home .messenger-row {
  margin-top: 24px;
}

.hero-home .hero-visual {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-shell {
  position: relative;
  width: 100%;
  max-width: 530px;
  padding: 18px;
}

.hero-visual-shell::before,
.hero-visual-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.95;
}

.hero-visual-shell::before {
  width: 210px;
  height: 210px;
  top: 10%;
  right: 2%;
  background: radial-gradient(circle, rgba(0,255,102,0.22), transparent 68%);
}

.hero-visual-shell::after {
  width: 150px;
  height: 150px;
  left: 3%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
}

.hero-home .hero-browser-large {
  width: 100%;
  min-height: 440px;
  position: relative;
}

.hero-home .browser-body {
  height: 382px;
  padding: 28px;
}

.hero-home .browser-grid {
  position: absolute;
  inset: 28px;
  border-radius: 26px;
  background:
    linear-gradient(rgba(0,255,102,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,102,0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.32;
}

.hero-home .hero-wave {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 36px;
  height: 88px;
  border-radius: 24px;
  background: linear-gradient(to top, rgba(0,255,102,0.2), transparent 72%);
  clip-path: polygon(0 76%, 15% 68%, 29% 74%, 42% 52%, 56% 60%, 72% 44%, 84% 57%, 100% 38%, 100% 100%, 0 100%);
  filter: drop-shadow(0 0 18px rgba(0,255,102,0.28));
}

.hero-home .hero-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,255,102,0.28);
  background: rgba(0, 0, 0, 0.72);
  color: #d9ffe7;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(0,255,102,0.12);
}

.hero-home .badge-top {
  top: 26px;
  right: 28px;
}

.hero-home .badge-bottom {
  left: 34px;
  bottom: 108px;
}

.hero-home .card-a { left: 30px; top: 48px; width: 156px; height: 84px; }
.hero-home .card-b { right: 38px; top: 92px; width: 172px; height: 94px; }
.hero-home .card-c { right: 62px; bottom: 48px; left: auto; width: 172px; height: 74px; }
.hero-home .orbit-one { width: 190px; height: 190px; right: -36px; bottom: -42px; }
.hero-home .orbit-two { width: 122px; height: 122px; left: -28px; top: 144px; }
.hero-home .chart-line {
  left: 48px;
  right: 48px;
  bottom: 82px;
  height: 154px;
}

@media (max-width: 1180px) {
  .hero-home .hero-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-home .hero-panel::after {
    display: none;
  }

  .hero-home .hero-content {
    max-width: 100%;
  }

  .hero-home .hero-title {
    max-width: 100%;
  }

  .hero-home .hero-content p {
    max-width: 100%;
  }

  .hero-home .hero-visual {
    min-height: 430px;
  }
}

@media (max-width: 860px) {
  .hero-home .hero-panel {
    padding: 24px;
    border-radius: 28px;
  }

  .hero-home .hero-title {
    font-size: clamp(2.4rem, 8vw, 4.05rem);
    line-height: 0.98;
  }

  .hero-home .hero-browser-large {
    min-height: 390px;
  }

  .hero-home .browser-body {
    height: 330px;
    padding: 22px;
  }

  .hero-home .badge-bottom {
    bottom: 92px;
  }
}

@media (max-width: 560px) {
  .hero-home .hero-panel {
    gap: 18px;
    padding: 20px;
  }

  .hero-home .hero-title {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }

  .hero-home .hero-content p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-visual-shell {
    padding: 6px;
  }

  .hero-home .hero-browser-large {
    min-height: 330px;
    border-radius: 26px;
  }

  .hero-home .browser-top {
    height: 48px;
    padding: 0 16px;
  }

  .hero-home .browser-body {
    height: 282px;
    padding: 18px;
  }

  .hero-home .hero-badge {
    font-size: 0.74rem;
    padding: 8px 12px;
  }

  .hero-home .badge-top { right: 18px; top: 18px; }
  .hero-home .badge-bottom { left: 18px; bottom: 74px; }
}

/* ===== Final homepage upgrade: large readable hero + embedded Matrix effects ===== */
body[data-page="home"] .hero-shell {
  grid-template-columns: minmax(0, 1.32fr) minmax(420px, 0.88fr);
  min-height: min(720px, calc(100vh - var(--header-height) - 60px));
  align-items: stretch;
}

body[data-page="home"] .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

body[data-page="home"] .hero-title {
  max-width: 860px;
  text-wrap: balance;
  font-size: clamp(3.15rem, 5.15vw, 6.15rem);
  line-height: 0.94;
}

body[data-page="home"] .hero-title span {
  max-width: 100%;
}

body[data-page="home"] .hero-title span:nth-child(1) {
  color: #ffffff;
}

body[data-page="home"] .hero-title span:nth-child(2) {
  color: #00ff66;
  text-shadow: 0 0 18px rgba(0,255,102,0.32), 0 0 42px rgba(0,255,102,0.14);
}

body[data-page="home"] .hero-title span:nth-child(3) {
  color: #f7fff9;
}

body[data-page="home"] .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

body[data-page="home"] .hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 255, 102, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.44);
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: inset 0 0 18px rgba(0,255,102,0.03);
}

body[data-page="home"] .hero-visual {
  position: relative;
  min-width: 0;
  min-height: auto;
  padding: clamp(22px, 3vw, 38px) 0;
}

body[data-page="home"] .hero-browser-embed {
  position: relative;
  width: min(100%, 560px);
  min-height: 435px;
  border-radius: 32px;
  transform: translateY(0);
}

.hero-system-body {
  height: 375px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(0,255,102,0.18), transparent 26%),
    linear-gradient(rgba(0,255,102,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,102,0.08) 1px, transparent 1px),
    rgba(0, 10, 4, 0.88);
  background-size: auto, 30px 30px, 30px 30px, auto;
}

.hero-system-body::before {
  content: "0101 1100 0011 0110 1010\A deploy / seo / ads / support\A lead-flow active\A conversion: growing";
  position: absolute;
  inset: 16px 18px;
  white-space: pre;
  color: rgba(0, 255, 102, 0.16);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.75;
  letter-spacing: 0.11em;
  z-index: 0;
}

.hero-system-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 8px),
    linear-gradient(120deg, transparent 20%, rgba(0,255,102,0.13) 48%, transparent 72%);
  opacity: 0.34;
  pointer-events: none;
}

.hero-terminal,
.hero-dashboard-card,
.hero-wave,
.hero-module-grid {
  position: absolute;
  z-index: 2;
}

.hero-terminal {
  left: 28px;
  top: 30px;
  display: grid;
  gap: 9px;
  width: min(60%, 290px);
  padding: 18px;
  border: 1px solid rgba(0,255,102,0.22);
  border-radius: 20px;
  background: rgba(0,0,0,0.55);
  box-shadow: 0 0 30px rgba(0,255,102,0.08);
}

.hero-terminal span {
  color: #baffcf;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.hero-dashboard-card {
  border: 1px solid rgba(0,255,102,0.22);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.62);
  box-shadow: 0 18px 44px rgba(0,0,0,0.34), inset 0 0 24px rgba(0,255,102,0.04);
  backdrop-filter: blur(8px);
}

.hero-dashboard-card small {
  display: block;
  color: rgba(255,255,255,0.62);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-dashboard-card strong {
  display: block;
  margin-top: 8px;
  color: #00ff66;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  line-height: 1;
  text-shadow: 0 0 26px rgba(0,255,102,0.28);
}

.hero-dashboard-main {
  left: 36px;
  bottom: 34px;
  width: 230px;
  padding: 20px;
}

.hero-dashboard-main i {
  display: block;
  height: 8px;
  width: 100%;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00ff66, rgba(0,255,102,0.12));
  box-shadow: 0 0 18px rgba(0,255,102,0.22);
}

.hero-dashboard-side {
  right: 30px;
  top: 58px;
  width: 180px;
  padding: 18px;
}

.hero-wave {
  right: -26px;
  bottom: 82px;
  width: 360px;
  height: 160px;
  border-radius: 28px;
  background:
    linear-gradient(to top, rgba(0,255,102,0.15), transparent),
    linear-gradient(135deg, transparent 43%, rgba(0,255,102,0.82) 44%, rgba(255,255,255,0.42) 48%, transparent 49%);
  clip-path: polygon(0 68%, 15% 56%, 32% 61%, 47% 34%, 63% 47%, 79% 19%, 100% 30%, 100% 100%, 0 100%);
  filter: drop-shadow(0 0 26px rgba(0,255,102,0.28));
  opacity: 0.85;
}

.hero-module-grid {
  right: 28px;
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(70px, 1fr));
  gap: 10px;
}

.hero-module-grid span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(0,255,102,0.22);
  border-radius: 14px;
  background: rgba(0,0,0,0.62);
  color: #fff;
  font-weight: 950;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  box-shadow: inset 0 0 18px rgba(0,255,102,0.03);
}

body[data-page="home"] .hero-shell .orbit-one {
  width: 250px;
  height: 250px;
  right: -78px;
  bottom: -88px;
}

body[data-page="home"] .hero-shell .orbit-two {
  width: 145px;
  height: 145px;
  left: -38px;
  top: 150px;
}

body[data-page="home"] .stats-section {
  margin-top: -36px;
  padding-top: 0;
}

body[data-page="home"] .stats-grid {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  padding: 14px;
  border: 1px solid rgba(0,255,102,0.16);
  border-radius: 28px;
  background: rgba(0,0,0,0.42);
  backdrop-filter: blur(14px);
}

body[data-page="home"] .stat-card {
  min-height: 126px;
  padding: 22px;
  border-radius: 20px;
}

body[data-page="home"] .service-code-panel {
  min-height: 112px;
}

body[data-page="home"] .home-service-card {
  min-height: 390px;
}

@media (max-width: 1180px) {
  body[data-page="home"] .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  body[data-page="home"] .hero-title {
    max-width: 980px;
    font-size: clamp(3rem, 7vw, 5.45rem);
  }

  body[data-page="home"] .hero-visual {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .hero-title {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  body[data-page="home"] .hero-title span {
    display: inline;
  }

  body[data-page="home"] .hero-title span::after {
    content: " ";
  }

  body[data-page="home"] .hero-browser-embed {
    min-height: 340px;
  }

  .hero-system-body {
    height: 282px;
    padding: 18px;
  }

  .hero-terminal {
    left: 18px;
    top: 22px;
    width: calc(100% - 36px);
    padding: 14px;
  }

  .hero-dashboard-side {
    display: none;
  }

  .hero-dashboard-main {
    left: 18px;
    bottom: 22px;
    width: 190px;
    padding: 16px;
  }

  .hero-wave {
    right: -80px;
    bottom: 66px;
    width: 320px;
    height: 134px;
  }

  .hero-module-grid {
    right: 16px;
    bottom: 18px;
    grid-template-columns: repeat(2, 58px);
  }

  .hero-module-grid span {
    min-height: 38px;
    font-size: 0.68rem;
  }

  body[data-page="home"] .stats-section {
    margin-top: -18px;
  }
}

@media (max-width: 520px) {
  body[data-page="home"] .hero-shell {
    padding: 22px 16px 18px;
  }

  body[data-page="home"] .hero-title span {
    display: block;
  }

  body[data-page="home"] .hero-title span::after {
    content: "";
  }

  body[data-page="home"] .hero-title {
    font-size: clamp(2.1rem, 12.5vw, 3.25rem);
    line-height: 1;
  }

  body[data-page="home"] .hero-browser-embed {
    min-height: 300px;
  }

  .hero-system-body {
    height: 246px;
  }

  .hero-terminal span {
    font-size: 0.68rem;
  }

  .hero-module-grid {
    display: none;
  }
}

/* === Fix homepage hero title: readable, compact, max 3 controlled lines === */
body[data-page="home"] .hero-shell {
  grid-template-columns: minmax(0, 1.48fr) minmax(360px, 0.82fr);
  gap: clamp(24px, 3.2vw, 48px);
}

body[data-page="home"] .hero-content {
  max-width: 100%;
}

body[data-page="home"] .hero-title {
  width: min(100%, 920px);
  max-width: 920px;
  font-size: clamp(2.55rem, 3.45vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

body[data-page="home"] .hero-title span {
  display: block;
  white-space: nowrap;
}

body[data-page="home"] .hero-title span:nth-child(1),
body[data-page="home"] .hero-title span:nth-child(3) {
  color: #ffffff;
}

body[data-page="home"] .hero-title span:nth-child(2) {
  color: #00ff66;
  text-shadow:
    0 0 16px rgba(0, 255, 102, 0.32),
    0 0 36px rgba(0, 255, 102, 0.13);
}

body[data-page="home"] .hero-content p {
  max-width: 780px;
}

@media (max-width: 1180px) {
  body[data-page="home"] .hero-shell {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero-title {
    width: 100%;
    max-width: 880px;
    font-size: clamp(2.45rem, 6vw, 4rem);
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .hero-title {
    font-size: clamp(2.05rem, 8.4vw, 3rem);
    line-height: 1.1;
  }

  body[data-page="home"] .hero-title span {
    white-space: normal;
  }
}

/* === Services dropdown menu + individual service pages === */
.nav-item { position: relative; }
.nav-dropdown-toggle { gap: 8px; }
.nav-dropdown-toggle::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.78;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 286px;
  padding: 10px;
  list-style: none;
  border: 1px solid rgba(0, 255, 102, 0.26);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.72), 0 0 28px rgba(0, 255, 102, 0.10);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translate(-50%, 12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}
.dropdown-menu a {
  width: 100%;
  justify-content: flex-start;
  padding: 11px 13px;
  border-radius: 15px;
  font-size: 0.92rem;
  white-space: nowrap;
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a.active {
  color: #061027;
  background: linear-gradient(135deg, #ffffff, #00ff66 48%, #00b84a);
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.22);
}
.service-page-link { margin-top: 20px; }
.service-page-hero .inner-hero-content { max-width: 1080px; }
.service-page-detail .detail-layout { align-items: center; }
.service-process-section .timeline { margin-top: 8px; }
.related-services-section { padding-top: 24px; }
.service-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.service-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 255, 102, 0.24);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.78);
  color: #f4fff7;
  font-weight: 850;
  box-shadow: 0 12px 34px rgba(0,0,0,0.36), inset 0 0 18px rgba(0,255,102,0.035);
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}
.service-chip:hover {
  transform: translateY(-4px);
  background: rgba(0, 255, 102, 0.10);
  border-color: rgba(0, 255, 102, 0.46);
}
.service-chip span { color: #00ff66; }
.service-hologram {
  position: relative;
  min-height: 420px;
  padding: clamp(28px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(0,255,102,0.28);
  border-radius: 32px;
  background:
    radial-gradient(circle at 74% 26%, rgba(0,255,102,0.22), transparent 28%),
    linear-gradient(rgba(0,255,102,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,102,0.10) 1px, transparent 1px),
    rgba(0,0,0,0.88);
  background-size: auto, 28px 28px, 28px 28px, auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.54), inset 0 0 44px rgba(0,255,102,0.055);
}
.service-hologram::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 8px),
    linear-gradient(120deg, transparent 24%, rgba(0,255,102,0.13) 50%, transparent 74%);
  opacity: 0.42;
  pointer-events: none;
}
.service-hologram > * { position: relative; z-index: 1; }
.holo-kicker {
  color: #00ff66;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.service-hologram strong {
  display: block;
  margin-top: 16px;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
  text-shadow: 0 0 24px rgba(0,255,102,0.22);
}
.service-hologram p { max-width: 480px; margin-top: 16px; }
.holo-bars {
  display: grid;
  gap: 12px;
  width: min(100%, 410px);
  margin-top: 32px;
}
.holo-bars i,
.holo-code em {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00ff66, rgba(0,255,102,0.24), transparent);
  box-shadow: 0 0 18px rgba(0,255,102,0.20);
}
.holo-bars i:nth-child(2) { width: 82%; }
.holo-bars i:nth-child(3) { width: 62%; }
.holo-bars i:nth-child(4) { width: 72%; }
.holo-code {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  width: min(100%, 430px);
}
.holo-code em {
  height: auto;
  min-height: 38px;
  padding: 10px 14px;
  color: #caffd9;
  font-style: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(0,0,0,0.56);
  border: 1px solid rgba(0,255,102,0.22);
}
.holo-map {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(0,255,102,0.24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,102,0.16), transparent 62%);
}
.holo-map i {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 18px rgba(0,255,102,0.8);
}
.holo-map i:nth-child(1) { left: 38%; top: 30%; }
.holo-map i:nth-child(2) { left: 56%; top: 56%; }
.holo-map i:nth-child(3) { left: 24%; top: 64%; }

@media (max-width: 860px) {
  .nav-item.dropdown { width: 100%; }
  .nav-dropdown-toggle::before { display: none; }
  .dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 6px;
    padding: 8px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: rgba(0,0,0,0.42);
    border-radius: 18px;
    box-shadow: inset 0 0 24px rgba(0,255,102,0.04);
  }
  .dropdown-menu a {
    justify-content: center;
    white-space: normal;
    font-size: 0.9rem;
  }
  .service-hologram { min-height: 340px; }
}

/* === UI corrections: dropdown arrow, readable H1 blocks, bigger service banners === */

/* 1) Services dropdown arrow: place it after the word and vertically centered */
.nav-links .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 15px;
}

.nav-links .nav-dropdown-toggle::before {
  display: none !important;
}

.nav-links .nav-dropdown-toggle::after {
  content: "";
  position: static;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin: 0 0 3px 1px;
  border: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: transparent;
  transform: rotate(45deg);
  opacity: 0.82;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-links .dropdown:hover > .nav-dropdown-toggle::after,
.nav-links .dropdown:focus-within > .nav-dropdown-toggle::after {
  transform: rotate(225deg);
  margin-bottom: -3px;
  opacity: 1;
}

/* 2) Main-page headline: smaller and stable in three controlled lines */
body[data-page="home"] .hero-shell {
  grid-template-columns: minmax(0, 1.58fr) minmax(340px, 0.78fr);
  gap: clamp(22px, 3vw, 42px);
}

body[data-page="home"] .hero-title {
  width: min(100%, 980px);
  max-width: 980px;
  font-size: clamp(2.2rem, 2.95vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
}

body[data-page="home"] .hero-title span {
  display: block;
  white-space: nowrap;
}

body[data-page="home"] .hero-title span:nth-child(2) {
  font-size: 0.94em;
}

body[data-page="home"] .hero-content p {
  max-width: 820px;
}

/* 3) Inner-page hero blocks: prevent cropped H1 and oversized text */
.inner-hero {
  padding-top: calc(var(--header-height) + 84px);
  padding-bottom: 54px;
}

.inner-hero-content {
  max-width: 1120px;
  overflow: visible;
  padding-top: clamp(28px, 3vw, 42px);
  padding-bottom: clamp(30px, 3.2vw, 46px);
}

.inner-hero-content h1,
.contact-hero h1 {
  max-width: 1080px;
  overflow: visible;
  padding-bottom: 0.08em;
  font-size: clamp(2rem, 3.75vw, 4.35rem);
  line-height: 1.16;
  letter-spacing: -0.036em;
  text-wrap: balance;
}

.service-page-hero .inner-hero-content h1 {
  max-width: 1040px;
  font-size: clamp(2rem, 3.35vw, 4rem);
  line-height: 1.17;
}

.inner-hero p,
.service-page-hero .inner-hero-content p {
  max-width: 820px;
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  line-height: 1.72;
}

.section-head h2 {
  line-height: 1.14;
  padding-bottom: 0.04em;
}

/* 4) Individual service pages: pull banner out and make it large enough to read */
.service-page-detail {
  padding-top: 36px;
}

.service-page-detail .banner-detail-layout {
  grid-template-columns: minmax(350px, 0.72fr) minmax(560px, 1.28fr);
  gap: clamp(26px, 3.4vw, 44px);
  align-items: center;
  padding: clamp(28px, 3.2vw, 44px);
  overflow: visible;
}

.banner-detail-layout .detail-copy {
  position: relative;
  z-index: 3;
}

.banner-detail-layout .detail-art {
  min-height: clamp(420px, 43vw, 560px);
  justify-content: end;
  overflow: visible;
  margin-right: clamp(-74px, -4.5vw, -24px);
}

.banner-detail-layout .service-banner-frame {
  width: min(860px, 116%);
  max-width: none;
  border-radius: 34px;
  transform: perspective(1200px) rotateY(-2.5deg) rotateX(0.8deg) translateX(10px);
  box-shadow:
    0 34px 105px rgba(0, 0, 0, 0.76),
    0 0 86px rgba(0, 255, 102, 0.20),
    inset 0 0 42px rgba(0, 255, 102, 0.07);
}

.banner-detail-layout:hover .service-banner-frame {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateX(0) translateY(-6px);
}

.banner-detail-layout .service-banner-frame img {
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.08) contrast(1.12) brightness(0.96);
}

.banner-detail-layout .service-banner-frame::before {
  opacity: 0.24;
}

.service-page-detail h2 {
  font-size: clamp(1.65rem, 2.35vw, 2.85rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.service-page-detail .detail-copy p {
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  line-height: 1.72;
}

@media (max-width: 1180px) {
  body[data-page="home"] .hero-shell {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero-title {
    max-width: 960px;
    font-size: clamp(2.2rem, 5vw, 3.75rem);
  }

  .service-page-detail .banner-detail-layout {
    grid-template-columns: 1fr;
  }

  .banner-detail-layout .detail-art {
    min-height: auto;
    margin-right: 0;
    justify-content: center;
  }

  .banner-detail-layout .service-banner-frame {
    width: min(100%, 920px);
    transform: none;
  }

  .banner-detail-layout:hover .service-banner-frame {
    transform: translateY(-4px);
  }
}

@media (max-width: 860px) {
  .nav-links .nav-dropdown-toggle::after {
    display: none;
  }

  .inner-hero-content h1,
  .service-page-hero .inner-hero-content h1,
  .contact-hero h1 {
    font-size: clamp(1.9rem, 7.2vw, 3.2rem);
    line-height: 1.18;
  }

  .service-page-detail .banner-detail-layout {
    padding: 22px;
    border-radius: 28px;
  }
}

@media (max-width: 680px) {
  body[data-page="home"] .hero-title {
    font-size: clamp(1.9rem, 7.7vw, 2.85rem);
    line-height: 1.14;
  }

  body[data-page="home"] .hero-title span {
    white-space: normal;
  }

  .inner-hero {
    padding-top: calc(var(--header-height) + 58px);
    padding-bottom: 34px;
  }

  .inner-hero-content {
    padding: 24px 20px 28px;
    border-radius: 24px;
  }

  .banner-detail-layout .service-banner-frame {
    border-radius: 22px;
  }
}

/* Stronger dropdown-arrow override so the generic nav underline cannot move it */
body .nav-links .nav-item.dropdown > a.nav-dropdown-toggle::after {
  content: "";
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin: 0 0 3px 1px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: transparent;
  transform: rotate(45deg);
  transform-origin: center;
  opacity: 0.82;
}

body .nav-links .nav-item.dropdown:hover > a.nav-dropdown-toggle::after,
body .nav-links .nav-item.dropdown:focus-within > a.nav-dropdown-toggle::after {
  transform: rotate(225deg);
  margin-bottom: -3px;
  opacity: 1;
}

@media (max-width: 860px) {
  body .nav-links .nav-item.dropdown > a.nav-dropdown-toggle::after {
    display: none;
  }
}

/* === Development page platform cards === */
.development-platforms-section {
  padding-top: 42px;
}

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

.platform-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(0, 255, 102, 0.24);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(0,255,102,0.085), rgba(255,255,255,0.025)),
    rgba(0, 0, 0, 0.86);
  box-shadow:
    0 18px 58px rgba(0,0,0,0.42),
    inset 0 0 28px rgba(0,255,102,0.035);
  isolation: isolate;
}

.platform-card::before {
  content: "0101 1010\A build();\A deploy();";
  position: absolute;
  inset: 14px;
  z-index: 0;
  white-space: pre;
  color: rgba(0,255,102,0.10);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.65;
  letter-spacing: 0.12em;
  pointer-events: none;
}

.platform-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 80% 20%, rgba(0,255,102,0.16), transparent 34%);
  opacity: 0.55;
  pointer-events: none;
}

.platform-card > * {
  position: relative;
  z-index: 1;
}

.platform-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  margin-bottom: 22px;
  border: 1px solid rgba(0,255,102,0.35);
  border-radius: 999px;
  color: #00ff66;
  font-weight: 900;
  background: rgba(0,0,0,0.55);
  box-shadow: 0 0 22px rgba(0,255,102,0.08);
}

.platform-card h3 {
  margin-bottom: 14px;
  color: #fff;
  line-height: 1.12;
}

.platform-card p {
  color: rgba(255,255,255,0.76);
  line-height: 1.64;
}

@media (max-width: 1180px) {
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: auto;
  }
}

/* === Yandex Direct page: campaign management value cards === */
.direct-growth-section {
  padding-top: 42px;
}

.direct-growth-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.direct-growth-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(0, 255, 102, 0.24);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(0,255,102,0.09), rgba(255,255,255,0.025)),
    rgba(0, 0, 0, 0.88);
  box-shadow:
    0 18px 58px rgba(0,0,0,0.42),
    inset 0 0 28px rgba(0,255,102,0.035);
  isolation: isolate;
}

.direct-growth-card::before {
  content: "ads.optimize()\A traffic.filter()\A rivals.scan()";
  position: absolute;
  inset: 14px;
  z-index: 0;
  white-space: pre;
  color: rgba(0,255,102,0.10);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.75;
  letter-spacing: 0.11em;
  pointer-events: none;
}

.direct-growth-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 82% 18%, rgba(0,255,102,0.16), transparent 34%),
    linear-gradient(120deg, transparent 22%, rgba(0,255,102,0.08), transparent 70%);
  opacity: 0.62;
  pointer-events: none;
}

.direct-growth-card > * {
  position: relative;
  z-index: 1;
}

.direct-growth-card span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(0,255,102,0.34);
  border-radius: 999px;
  color: #00ff66;
  background: rgba(0,0,0,0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.direct-growth-card h3 {
  margin-bottom: 13px;
  color: #fff;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.direct-growth-card p {
  color: rgba(255,255,255,0.76);
  line-height: 1.62;
  font-size: 0.98rem;
}

@media (max-width: 1240px) {
  .direct-growth-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .direct-growth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .direct-growth-grid {
    grid-template-columns: 1fr;
  }

  .direct-growth-card {
    min-height: auto;
  }
}

/* === Support page: uptime, anti-hack and DDoS protection cards === */
.support-security-section {
  padding-top: 42px;
}

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

.support-security-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(0,255,102,0.085), rgba(255,255,255,0.022)),
    rgba(0, 0, 0, 0.88);
  box-shadow:
    0 18px 58px rgba(0,0,0,0.42),
    inset 0 0 28px rgba(0,255,102,0.035);
  isolation: isolate;
}

.support-security-card::before {
  content: "monitor.site()\A security.scan()\A attack.block()";
  position: absolute;
  inset: 14px;
  z-index: 0;
  white-space: pre;
  color: rgba(0,255,102,0.10);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.75;
  letter-spacing: 0.11em;
  pointer-events: none;
}

.support-security-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 82% 18%, rgba(0,255,102,0.16), transparent 34%),
    linear-gradient(120deg, transparent 22%, rgba(0,255,102,0.08), transparent 70%);
  opacity: 0.62;
  pointer-events: none;
}

.support-security-card > * {
  position: relative;
  z-index: 1;
}

.support-security-card span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(0,255,102,0.34);
  border-radius: 999px;
  color: #00ff66;
  background: rgba(0,0,0,0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.support-security-card h3 {
  margin-bottom: 13px;
  color: #fff;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.support-security-card p {
  color: rgba(255,255,255,0.76);
  line-height: 1.62;
  font-size: 0.98rem;
}

@media (max-width: 980px) {
  .support-security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .support-security-grid {
    grid-template-columns: 1fr;
  }

  .support-security-card {
    min-height: auto;
  }
}

/* === Yandex Business page: maps visibility and reputation cards === */
.business-maps-section {
  padding-top: 42px;
}

.business-maps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.business-maps-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(0, 255, 102, 0.24);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(0,255,102,0.09), rgba(255,255,255,0.025)),
    rgba(0, 0, 0, 0.88);
  box-shadow:
    0 18px 58px rgba(0,0,0,0.42),
    inset 0 0 28px rgba(0,255,102,0.035);
  isolation: isolate;
}

.business-maps-card::before {
  content: "maps.visibility()\A reputation.watch()\A local.growth()";
  position: absolute;
  inset: 14px;
  z-index: 0;
  white-space: pre;
  color: rgba(0,255,102,0.10);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.75;
  letter-spacing: 0.11em;
  pointer-events: none;
}

.business-maps-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 82% 18%, rgba(0,255,102,0.16), transparent 34%),
    linear-gradient(120deg, transparent 22%, rgba(0,255,102,0.08), transparent 70%);
  opacity: 0.62;
  pointer-events: none;
}

.business-maps-card > * {
  position: relative;
  z-index: 1;
}

.business-maps-card span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(0,255,102,0.34);
  border-radius: 999px;
  color: #00ff66;
  background: rgba(0,0,0,0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.business-maps-card h3 {
  margin-bottom: 13px;
  color: #fff;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.business-maps-card p {
  color: rgba(255,255,255,0.76);
  line-height: 1.62;
  font-size: 0.98rem;
}

@media (max-width: 1240px) {
  .business-maps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .business-maps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .business-maps-grid {
    grid-template-columns: 1fr;
  }

  .business-maps-card {
    min-height: auto;
  }
}

/* === SEO page: complex growth cards === */
.seo-growth-section {
  padding-top: 42px;
}

.seo-growth-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.seo-growth-card {
  position: relative;
  min-height: 265px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(0, 255, 102, 0.24);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(0,255,102,0.09), rgba(255,255,255,0.025)),
    rgba(0, 0, 0, 0.88);
  box-shadow:
    0 18px 58px rgba(0,0,0,0.42),
    inset 0 0 28px rgba(0,255,102,0.035);
  isolation: isolate;
}

.seo-growth-card::before {
  content: "seo.optimize()\A semantic.expand()\A links.grow()";
  position: absolute;
  inset: 14px;
  z-index: 0;
  white-space: pre;
  color: rgba(0,255,102,0.10);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.75;
  letter-spacing: 0.11em;
  pointer-events: none;
}

.seo-growth-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 82% 18%, rgba(0,255,102,0.16), transparent 34%),
    linear-gradient(120deg, transparent 22%, rgba(0,255,102,0.08), transparent 70%);
  opacity: 0.62;
  pointer-events: none;
}

.seo-growth-card > * {
  position: relative;
  z-index: 1;
}

.seo-growth-card span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(0,255,102,0.34);
  border-radius: 999px;
  color: #00ff66;
  background: rgba(0,0,0,0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.seo-growth-card h3 {
  margin-bottom: 13px;
  color: #fff;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.seo-growth-card p {
  color: rgba(255,255,255,0.76);
  line-height: 1.62;
  font-size: 0.98rem;
}

@media (max-width: 1240px) {
  .seo-growth-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .seo-growth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .seo-growth-grid {
    grid-template-columns: 1fr;
  }

  .seo-growth-card {
    min-height: auto;
  }
}

/* === Bots page: chatbots, Telegram bots and AI assistants === */
.bots-ai-section {
  padding-top: 42px;
}

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

.bots-ai-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(0,255,102,0.085), rgba(255,255,255,0.022)),
    rgba(0, 0, 0, 0.88);
  box-shadow:
    0 18px 58px rgba(0,0,0,0.42),
    inset 0 0 28px rgba(0,255,102,0.035);
  isolation: isolate;
}

.bots-ai-card::before {
  content: "bot.reply()\A ai.learn()\A crm.send()";
  position: absolute;
  inset: 14px;
  z-index: 0;
  white-space: pre;
  color: rgba(0,255,102,0.10);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.75;
  letter-spacing: 0.11em;
  pointer-events: none;
}

.bots-ai-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 82% 18%, rgba(0,255,102,0.16), transparent 34%),
    linear-gradient(120deg, transparent 22%, rgba(0,255,102,0.08), transparent 70%);
  opacity: 0.62;
  pointer-events: none;
}

.bots-ai-card > * {
  position: relative;
  z-index: 1;
}

.bots-ai-card span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(0,255,102,0.34);
  border-radius: 999px;
  color: #00ff66;
  background: rgba(0,0,0,0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bots-ai-card h3 {
  margin-bottom: 13px;
  color: #fff;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.bots-ai-card p {
  color: rgba(255,255,255,0.76);
  line-height: 1.62;
  font-size: 0.98rem;
}

@media (max-width: 980px) {
  .bots-ai-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .bots-ai-grid {
    grid-template-columns: 1fr;
  }

  .bots-ai-card {
    min-height: auto;
  }
}

/* === Banners page: creative masterpiece cards === */
.banners-creative-section {
  padding-top: 42px;
}

.banners-creative-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.banners-creative-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(0, 255, 102, 0.24);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(0,255,102,0.09), rgba(255,255,255,0.025)),
    rgba(0, 0, 0, 0.88);
  box-shadow:
    0 18px 58px rgba(0,0,0,0.42),
    inset 0 0 28px rgba(0,255,102,0.035);
  isolation: isolate;
}

.banners-creative-card::before {
  content: "creative.render()\A banner.click()\A offer.glow()";
  position: absolute;
  inset: 14px;
  z-index: 0;
  white-space: pre;
  color: rgba(0,255,102,0.10);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.75;
  letter-spacing: 0.11em;
  pointer-events: none;
}

.banners-creative-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 82% 18%, rgba(0,255,102,0.16), transparent 34%),
    linear-gradient(120deg, transparent 22%, rgba(0,255,102,0.08), transparent 70%);
  opacity: 0.62;
  pointer-events: none;
}

.banners-creative-card > * {
  position: relative;
  z-index: 1;
}

.banners-creative-card span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(0,255,102,0.34);
  border-radius: 999px;
  color: #00ff66;
  background: rgba(0,0,0,0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.banners-creative-card h3 {
  margin-bottom: 13px;
  color: #fff;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.banners-creative-card p {
  color: rgba(255,255,255,0.76);
  line-height: 1.62;
  font-size: 0.98rem;
}

@media (max-width: 1240px) {
  .banners-creative-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .banners-creative-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .banners-creative-grid {
    grid-template-columns: 1fr;
  }

  .banners-creative-card {
    min-height: auto;
  }
}

/* === Final layout polish: services page, service pages, related links, Direct cards, contacts office === */

/* 1) Общая страница "Услуги": баннеры не должны обрезаться по краям блока */
body[data-page="services"] .service-detail .detail-layout.banner-detail-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(26px, 3.4vw, 42px);
  overflow: hidden;
  padding: clamp(28px, 3vw, 38px);
}

body[data-page="services"] .banner-detail-layout .detail-art {
  min-height: auto;
  margin-right: 0;
  justify-content: center;
  overflow: visible;
}

body[data-page="services"] .banner-detail-layout .service-banner-frame,
body[data-page="services"] .detail-layout.reverse .service-banner-frame,
body[data-page="services"] .detail-layout:hover .service-banner-frame {
  width: min(100%, 690px);
  max-width: 100%;
  aspect-ratio: 16 / 9;
  transform: none;
  border-radius: 26px;
}

body[data-page="services"] .banner-detail-layout .service-banner-frame img {
  object-fit: contain;
  object-position: center center;
  background: #000;
  transform: none;
}

body[data-page="services"] .banner-detail-layout .service-banner-frame::before {
  opacity: 0.22;
}

/* 2) Отдельные страницы услуг: сначала крупный баннер, затем текстовые блоки */
.service-top-banner {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
  padding-top: calc(var(--header-height) + 34px);
}

.service-top-banner-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 102, 0.35);
  border-radius: clamp(24px, 2.8vw, 38px);
  background: #000;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.76),
    0 0 92px rgba(0, 255, 102, 0.18),
    inset 0 0 44px rgba(0, 255, 102, 0.06);
  isolation: isolate;
}

.service-top-banner-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: saturate(1.08) contrast(1.1) brightness(0.96);
}

.service-top-banner-frame::before,
.service-top-banner-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.service-top-banner-frame::before {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 22% 18%, rgba(0,255,102,0.14), transparent 34%);
  opacity: 0.24;
}

.service-top-banner-frame::after {
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 0 38px rgba(0,0,0,0.42);
}

.service-top-banner-holo {
  padding-top: calc(var(--header-height) + 34px);
}

.service-top-hologram {
  position: relative;
  min-height: clamp(430px, 44vw, 620px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(0,255,102,0.30);
  border-radius: clamp(24px, 2.8vw, 38px);
  background:
    radial-gradient(circle at 76% 28%, rgba(0,255,102,0.22), transparent 30%),
    linear-gradient(rgba(0,255,102,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,102,0.10) 1px, transparent 1px),
    rgba(0,0,0,0.9);
  background-size: auto, 30px 30px, 30px 30px, auto;
  box-shadow:
    0 34px 110px rgba(0,0,0,0.72),
    0 0 88px rgba(0,255,102,0.16),
    inset 0 0 50px rgba(0,255,102,0.055);
}

.service-top-hologram::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 8px),
    linear-gradient(120deg, transparent 24%, rgba(0,255,102,0.13) 50%, transparent 74%);
  opacity: 0.42;
  pointer-events: none;
}

.service-top-hologram > * {
  position: relative;
  z-index: 1;
}

.service-page-hero {
  padding-top: 42px;
  padding-bottom: 36px;
}

.service-page-detail {
  padding-top: 36px;
}

.service-page-detail .service-text-layout {
  display: block;
  min-height: auto;
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(28px, 3.4vw, 44px);
}

.service-page-detail .service-text-layout .detail-copy {
  max-width: 980px;
}

.service-page-detail .service-text-layout .detail-price-box {
  max-width: 820px;
}

/* 3) "Другие услуги": ровная сетка без одинокой кнопки в новом ряду */
.related-services-section .service-chip-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 920px;
  margin-inline: auto;
}

.related-services-section .service-chip {
  min-height: 68px;
  justify-content: space-between;
}

/* 4) "Ведение рекламы": 3 блока сверху и 2 широких по центру снизу */
.direct-growth-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1180px;
  margin-inline: auto;
}

.direct-growth-card {
  grid-column: span 2;
  min-height: 270px;
}

.direct-growth-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.direct-growth-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* 6) Контакты: офисное изображение */
.contact-office-card {
  min-height: auto;
}

.office-image-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(0, 255, 102, 0.28);
  border-radius: 32px;
  background: #000;
  box-shadow:
    0 30px 90px rgba(0,0,0,0.62),
    0 0 70px rgba(0,255,102,0.16),
    inset 0 0 34px rgba(0,255,102,0.05);
  isolation: isolate;
}

.office-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.06) brightness(0.9);
}

.office-image-card::before,
.office-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.office-image-card::before {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 8px),
    linear-gradient(90deg, rgba(0,0,0,0.52), transparent 42%, rgba(0,0,0,0.18));
  opacity: 0.7;
}

.office-image-card::after {
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 34px rgba(0,0,0,0.45);
}

.office-image-card figcaption {
  position: absolute;
  z-index: 4;
  left: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(0,255,102,0.24);
  border-radius: 18px;
  background: rgba(0,0,0,0.64);
  backdrop-filter: blur(10px);
}

.office-image-card figcaption span {
  color: #00ff66;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.office-image-card figcaption strong {
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

@media (max-width: 1180px) {
  body[data-page="services"] .service-detail .detail-layout.banner-detail-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="services"] .banner-detail-layout .service-banner-frame {
    width: min(100%, 880px);
  }

  .service-page-hero {
    padding-top: 32px;
  }

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

  .direct-growth-card,
  .direct-growth-card:nth-child(4),
  .direct-growth-card:nth-child(5) {
    grid-column: auto;
  }

  .direct-growth-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 580px;
    justify-self: center;
  }
}

@media (max-width: 860px) {
  .service-top-banner,
  .service-top-banner-holo {
    padding-top: calc(var(--header-height) + 22px);
  }

  .related-services-section .service-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .direct-growth-grid {
    grid-template-columns: 1fr;
  }

  .direct-growth-card:nth-child(5) {
    grid-column: auto;
    max-width: none;
  }
}

@media (max-width: 620px) {
  .service-top-banner-frame,
  .office-image-card {
    border-radius: 22px;
  }

  .related-services-section .service-chip-grid {
    grid-template-columns: 1fr;
  }

  .office-image-card figcaption {
    right: 14px;
  }
}

/* === Contacts page: team image as full-width block after contact section === */
body[data-page="contacts"] .contact-layout {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

body[data-page="contacts"] .contact-copy {
  width: 100%;
  text-align: center;
}

body[data-page="contacts"] .contact-copy p {
  margin-left: auto;
  margin-right: auto;
}

body[data-page="contacts"] .contact-buttons {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.team-office-section {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
  padding: 10px 0 62px;
}

.team-office-wide {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(0, 255, 102, 0.30);
  border-radius: clamp(24px, 3vw, 40px);
  background: #000;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.72),
    0 0 86px rgba(0, 255, 102, 0.16),
    inset 0 0 44px rgba(0, 255, 102, 0.05);
  isolation: isolate;
}

.team-office-wide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.06) brightness(0.92);
}

.team-office-wide::before,
.team-office-wide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.team-office-wide::before {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 18% 18%, rgba(0, 255, 102, 0.10), transparent 34%),
    linear-gradient(90deg, rgba(0,0,0,0.18), transparent 42%, rgba(0,0,0,0.16));
  opacity: 0.52;
}

.team-office-wide::after {
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 0 36px rgba(0,0,0,0.44);
}

@media (max-width: 680px) {
  .team-office-section {
    padding-bottom: 42px;
  }

  .team-office-wide {
    border-radius: 22px;
  }
}

/* === Final grid corrections: 3+2, 3+3+2 and portfolio only shops === */

/* 1) "Карты и репутация": 3 блока сверху и 2 снизу по центру */
.business-maps-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1180px;
  margin-inline: auto;
}

.business-maps-card {
  grid-column: span 2;
}

.business-maps-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.business-maps-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* 2) "Комплексное продвижение": 3 + 3 + 2 */
.seo-growth-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1180px;
  margin-inline: auto;
}

.seo-growth-card {
  grid-column: span 2;
}

.seo-growth-card:nth-child(7) {
  grid-column: 2 / span 2;
}

.seo-growth-card:nth-child(8) {
  grid-column: 4 / span 2;
}

/* 3) Блок платформ разработки теперь из 3 карточек */
.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 4) Портфолио сейчас только интернет-магазины */
body[data-page="portfolio"] .portfolio-filter {
  justify-content: center;
}

body[data-page="portfolio"] .portfolio-filter .filter-btn {
  pointer-events: auto;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .business-maps-grid,
  .seo-growth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .business-maps-card,
  .business-maps-card:nth-child(4),
  .business-maps-card:nth-child(5),
  .seo-growth-card,
  .seo-growth-card:nth-child(7),
  .seo-growth-card:nth-child(8) {
    grid-column: auto;
  }

  .business-maps-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 580px;
    justify-self: center;
  }

  .seo-growth-card:nth-child(7),
  .seo-growth-card:nth-child(8) {
    max-width: none;
  }

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

@media (max-width: 860px) {
  .business-maps-grid,
  .seo-growth-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .business-maps-card:nth-child(5) {
    grid-column: auto;
    max-width: none;
  }
}

/* === New service banners: Yandex Business and Bots === */
.service-banner-business img,
.service-banner-bots img {
  object-position: center center;
}

body[data-page="services"] .service-banner-business img,
body[data-page="services"] .service-banner-bots img {
  object-fit: contain;
  background: #000;
}

.service-top-banner-frame img[src*="yandex-business-banner"],
.service-top-banner-frame img[src*="bots-ai-banner"] {
  object-position: center center;
}

/* === Service icon contrast fix: separate icon drawing from background === */
.service-card .service-icon.css-icon {
  position: relative;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 68% 22%, rgba(0, 255, 102, 0.24), transparent 34%),
    radial-gradient(circle at 30% 75%, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(145deg, rgba(0, 18, 7, 0.98), rgba(0, 0, 0, 0.88));
  border: 1px solid rgba(0, 255, 102, 0.46);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 30px rgba(0, 255, 102, 0.08),
    0 0 28px rgba(0, 255, 102, 0.17),
    0 14px 34px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  isolation: isolate;
}

.service-card .service-icon.css-icon::before,
.service-card .service-icon.css-icon::after {
  z-index: 2;
  filter:
    drop-shadow(0 0 8px rgba(0, 255, 102, 0.45))
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.35));
}

.service-card .service-icon.css-icon {
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.service-card:hover .service-icon.css-icon {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    inset 0 0 34px rgba(0, 255, 102, 0.12),
    0 0 38px rgba(0, 255, 102, 0.28),
    0 18px 42px rgba(0, 0, 0, 0.50);
}

/* Разработка: скобки кода */
.service-card .code-icon::before,
.service-card .code-icon::after {
  border-top-color: #f7fff9;
  border-left-color: #f7fff9;
}

/* Директ: мишень и точка */
.service-card .direct-icon::before {
  border-color: #f7fff9;
  box-shadow:
    inset 0 0 0 7px rgba(0, 255, 102, 0.13),
    0 0 16px rgba(0, 255, 102, 0.26);
}

.service-card .direct-icon::after {
  background: #00ff66;
  border: 2px solid #f7fff9;
  box-shadow:
    0 0 0 5px rgba(0, 255, 102, 0.12),
    0 0 18px rgba(0, 255, 102, 0.72);
}

/* SEO: лупа */
.service-card .seo-icon::before {
  border-color: #f7fff9;
  box-shadow: inset 0 0 14px rgba(0, 255, 102, 0.12);
}

.service-card .seo-icon::after {
  background: #00ff66;
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.70);
}

/* Поддержка: щит */
.service-card .support-icon::before {
  background: linear-gradient(145deg, #f7fff9, #baffcf 58%, #00ff66);
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.36);
}

.service-card .support-icon::after {
  border-left-color: #001b09;
  border-bottom-color: #001b09;
  filter: none;
}

/* Баннеры: макет баннера с читаемым контрастом */
.service-card .banner-icon::before {
  border: 2px solid rgba(247, 255, 249, 0.92);
  background:
    linear-gradient(90deg, #f7fff9 0 45%, transparent 45%) 11px 9px / 22px 5px no-repeat,
    linear-gradient(90deg, rgba(0, 255, 102, 0.88), rgba(0, 255, 102, 0.18)) 11px 19px / 28px 4px no-repeat,
    linear-gradient(145deg, rgba(0, 255, 102, 0.28), rgba(0, 0, 0, 0.62));
  box-shadow:
    inset 0 0 18px rgba(0, 255, 102, 0.10),
    0 0 18px rgba(0, 255, 102, 0.28);
}

.service-card .banner-icon::after {
  background: #00ff66;
  border: 2px solid #f7fff9;
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.68);
}

/* Боты: корпус и глаза */
.service-card .bot-icon::before {
  border-color: #f7fff9;
  background: rgba(0, 255, 102, 0.07);
  box-shadow:
    inset 0 0 16px rgba(0, 255, 102, 0.14),
    0 0 18px rgba(0, 255, 102, 0.32);
}

.service-card .bot-icon::after {
  border-left-color: #00ff66;
  border-right-color: #00ff66;
  box-shadow: 18px 0 0 -1px #00ff66, 0 0 14px rgba(0, 255, 102, 0.45);
}


/* === Refined brand logo and favicon integration === */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.refined-logo-image {
  display: block;
  width: auto;
  height: clamp(42px, 4.3vw, 58px);
  max-width: min(54vw, 320px);
  object-fit: contain;
  object-position: left center;
  filter:
    drop-shadow(0 0 12px rgba(0, 255, 102, 0.10))
    drop-shadow(0 6px 18px rgba(0, 0, 0, 0.34));
  transition: transform 0.24s ease, filter 0.24s ease;
}

.logo:hover .refined-logo-image,
.site-header.scrolled .refined-logo-image {
  transform: translateY(-1px);
  filter:
    drop-shadow(0 0 18px rgba(0, 255, 102, 0.16))
    drop-shadow(0 8px 20px rgba(0, 0, 0, 0.38));
}

.logo-mark,
.logo-orb,
.logo-ring,
.logo-grid,
.logo-core,
.logo-shine,
.logo-initials,
.logo-text,
.logo-image:not(.refined-logo-image) {
  display: none !important;
}

@media (max-width: 820px) {
  .refined-logo-image {
    max-width: 245px;
    height: 46px;
  }
}

@media (max-width: 640px) {
  .refined-logo-image {
    max-width: 178px;
    height: 36px;
  }
}

/* === Beget hosting banner === */
.partner-section {
  padding-top: 34px;
  padding-bottom: 54px;
}

.partner-banner-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(0, 255, 102, 0.28);
  background:
    radial-gradient(circle at 22% 16%, rgba(0, 255, 102, 0.14), transparent 30%),
    rgba(0, 0, 0, 0.72);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.58),
    0 0 78px rgba(0, 255, 102, 0.12),
    inset 0 0 34px rgba(0, 255, 102, 0.05);
  isolation: isolate;
  transform: translateZ(0);
}

.partner-banner-link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1782 / 883;
  object-fit: cover;
  object-position: center;
  transition: transform 0.36s ease, filter 0.36s ease;
}

.partner-banner-link::before,
.partner-banner-link::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.partner-banner-link::before {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 8px),
    linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,0.13) 48%, transparent 63%);
  opacity: 0.22;
  transform: translateX(-32%);
  transition: opacity 0.34s ease, transform 0.52s ease;
}

.partner-banner-link::after {
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 0 34px rgba(0,0,0,0.46);
}

.partner-banner-link:hover img {
  transform: scale(1.018);
  filter: saturate(1.06) contrast(1.04);
}

.partner-banner-link:hover::before {
  opacity: 0.42;
  transform: translateX(18%);
}

@media (max-width: 680px) {
  .partner-section {
    padding-top: 24px;
    padding-bottom: 38px;
  }

  .partner-banner-link {
    border-radius: 22px;
  }
}

/* === Services page compact detail layout === */
body[data-page="services"] .service-detail {
  padding-top: clamp(30px, 4vw, 46px);
  padding-bottom: clamp(30px, 4vw, 46px);
}

body[data-page="services"] .service-detail .detail-layout,
body[data-page="services"] .service-detail .detail-layout.reverse,
body[data-page="services"] .service-detail .detail-layout.banner-detail-layout {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  min-height: auto;
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(22px, 2.6vw, 34px);
  overflow: hidden;
}

body[data-page="services"] .service-detail .detail-layout.reverse {
  grid-template-columns: minmax(420px, 1.12fr) minmax(0, 0.88fr);
}

body[data-page="services"] .service-detail .detail-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

body[data-page="services"] .service-detail .detail-copy .eyebrow {
  margin-bottom: 2px;
}

body[data-page="services"] .service-detail .detail-copy h2 {
  margin: 0;
  font-size: clamp(1.56rem, 2.15vw, 2.38rem);
  line-height: 1.15;
  letter-spacing: -0.036em;
  text-wrap: balance;
}

body[data-page="services"] .service-detail .detail-copy p {
  margin: 0;
  font-size: clamp(0.98rem, 1.04vw, 1.06rem);
  line-height: 1.58;
  max-width: 680px;
}

body[data-page="services"] .service-detail .check-list {
  gap: 9px;
  margin-top: 2px;
}

body[data-page="services"] .service-detail .check-list li {
  line-height: 1.42;
  font-size: 0.96rem;
}

body[data-page="services"] .service-detail .detail-price-box {
  margin-top: 4px;
  padding: 16px 18px;
}

body[data-page="services"] .service-detail .detail-price-box ul {
  gap: 8px;
}

body[data-page="services"] .service-detail .service-page-link {
  margin-top: 2px;
  width: fit-content;
}

body[data-page="services"] .service-detail .detail-art,
body[data-page="services"] .service-detail .banner-detail-layout .detail-art {
  min-height: 0;
  align-self: center;
  display: grid;
  place-items: center;
  justify-content: center;
  margin-right: 0;
  overflow: visible;
}

body[data-page="services"] .service-detail .detail-art::before {
  width: min(74%, 430px);
  opacity: 0.72;
}

body[data-page="services"] .service-detail .service-banner-frame,
body[data-page="services"] .service-detail .banner-detail-layout .service-banner-frame,
body[data-page="services"] .service-detail .detail-layout.reverse .service-banner-frame,
body[data-page="services"] .service-detail .detail-layout:hover .service-banner-frame {
  width: 100%;
  max-width: 660px;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  transform: none;
}

body[data-page="services"] .service-detail .service-banner-frame img,
body[data-page="services"] .service-detail .banner-detail-layout .service-banner-frame img {
  object-fit: cover;
  object-position: center center;
  background: #000;
  transform: none;
}

body[data-page="services"] .service-detail .service-banner-frame::before {
  opacity: 0.28;
}

/* Keep services page in two columns on tablets to avoid text sitting above a banner too early */
@media (max-width: 1180px) and (min-width: 881px) {
  body[data-page="services"] .service-detail .detail-layout,
  body[data-page="services"] .service-detail .detail-layout.reverse,
  body[data-page="services"] .service-detail .detail-layout.banner-detail-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  }

  body[data-page="services"] .service-detail .detail-layout.reverse {
    grid-template-columns: minmax(360px, 1.1fr) minmax(0, 0.9fr);
  }

  body[data-page="services"] .service-detail .service-banner-frame {
    max-width: 600px;
  }
}

@media (max-width: 880px) {
  body[data-page="services"] .service-detail {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  body[data-page="services"] .service-detail .detail-layout,
  body[data-page="services"] .service-detail .detail-layout.reverse,
  body[data-page="services"] .service-detail .detail-layout.banner-detail-layout {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 20px;
  }

  body[data-page="services"] .service-detail .detail-layout.reverse .detail-copy,
  body[data-page="services"] .service-detail .detail-layout.reverse .detail-art {
    order: initial;
  }

  body[data-page="services"] .service-detail .detail-copy {
    gap: 12px;
  }

  body[data-page="services"] .service-detail .service-banner-frame {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  body[data-page="services"] .service-detail .detail-layout,
  body[data-page="services"] .service-detail .detail-layout.reverse,
  body[data-page="services"] .service-detail .detail-layout.banner-detail-layout {
    padding: 18px;
    border-radius: 24px;
  }

  body[data-page="services"] .service-detail .detail-copy h2 {
    font-size: clamp(1.38rem, 6.4vw, 1.78rem);
  }

  body[data-page="services"] .service-detail .service-banner-frame {
    border-radius: 20px;
  }
}

/* === Floating scroll + messenger actions === */
.floating-actions {
  position: fixed;
  right: clamp(16px, 2.4vw, 26px);
  bottom: clamp(16px, 2.4vw, 26px);
  z-index: 70;
  display: grid;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.floating-actions.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-messenger,
.floating-actions .scroll-top {
  position: static;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(0,255,102,0.28);
  background:
    radial-gradient(circle at 30% 20%, rgba(0,255,102,0.18), transparent 44%),
    rgba(0,0,0,0.74);
  box-shadow:
    0 18px 46px rgba(0,0,0,0.44),
    0 0 28px rgba(0,255,102,0.12),
    inset 0 0 20px rgba(0,255,102,0.05);
  backdrop-filter: blur(14px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.floating-messenger img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.floating-actions .scroll-top {
  color: #00ff66;
  font-size: 1.3rem;
  font-weight: 950;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.floating-messenger:hover,
.floating-actions .scroll-top:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(0,255,102,0.62);
  box-shadow:
    0 22px 58px rgba(0,0,0,0.52),
    0 0 38px rgba(0,255,102,0.22),
    inset 0 0 22px rgba(0,255,102,0.08);
}

.floating-messenger.max:hover { border-color: rgba(143,92,255,0.72); }
.floating-messenger.whatsapp:hover { border-color: rgba(0,255,102,0.78); }
.floating-messenger.telegram:hover { border-color: rgba(51,214,255,0.78); }

@media (max-width: 560px) {
  .floating-actions {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .floating-messenger,
  .floating-actions .scroll-top {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .floating-messenger img {
    width: 24px;
    height: 24px;
  }
}

/* === Privacy page and footer document link === */
.privacy-section {
  padding-top: 52px;
}

.privacy-document {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(0,255,102,0.20);
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 12%, rgba(0,255,102,0.10), transparent 34%),
    rgba(0,0,0,0.58);
  box-shadow:
    0 26px 78px rgba(0,0,0,0.48),
    inset 0 0 34px rgba(0,255,102,0.04);
}

.privacy-document h2 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.privacy-document h2:first-child {
  margin-top: 0;
}

.privacy-document p {
  color: rgba(255,255,255,0.78);
  line-height: 1.78;
  margin: 0 0 14px;
}

.privacy-document a,
.site-footer a {
  color: #00ff66;
  border-bottom: 1px solid rgba(0,255,102,0.32);
}

.privacy-document a:hover,
.site-footer a:hover {
  border-bottom-color: rgba(0,255,102,0.82);
}

/* === Final floating actions fix + cookie confirmation === */
.floating-actions {
  position: fixed;
  right: clamp(16px, 2.4vw, 26px);
  bottom: clamp(16px, 2.4vw, 26px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.floating-actions.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-messenger {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  border: 1px solid rgba(0, 255, 102, 0.26);
  background:
    radial-gradient(circle at 30% 18%, rgba(0, 255, 102, 0.16), transparent 42%),
    rgba(0, 0, 0, 0.82);
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(0, 255, 102, 0.10),
    inset 0 0 18px rgba(0, 255, 102, 0.04);
  backdrop-filter: blur(14px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.floating-messenger img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.floating-actions .scroll-top {
  position: static;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(0, 255, 102, 0.35);
  border-radius: 18px;
  color: #fff;
  font-size: 0;
  line-height: 1;
  background:
    linear-gradient(135deg, rgba(0, 255, 102, 0.16), rgba(0, 0, 0, 0.82)),
    rgba(0, 0, 0, 0.88);
  box-shadow:
    0 16px 45px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(0, 255, 102, 0.15),
    inset 0 0 20px rgba(0, 255, 102, 0.05);
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.floating-actions .scroll-top::before {
  content: "";
  width: 15px;
  height: 15px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  border-radius: 2px;
  transform: rotate(45deg) translate(2px, 2px);
  filter: drop-shadow(0 0 8px rgba(0, 255, 102, 0.45));
}

.floating-messenger:hover,
.floating-actions .scroll-top:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(0, 255, 102, 0.70);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(0, 255, 102, 0.24),
    inset 0 0 24px rgba(0, 255, 102, 0.07);
}

.floating-messenger.max:hover { border-color: rgba(143, 92, 255, 0.78); }
.floating-messenger.whatsapp:hover { border-color: rgba(0, 255, 102, 0.82); }
.floating-messenger.telegram:hover { border-color: rgba(51, 214, 255, 0.82); }

.cookie-consent {
  position: fixed;
  left: clamp(14px, 2.2vw, 28px);
  bottom: clamp(14px, 2.2vw, 28px);
  z-index: 998;
  width: min(560px, calc(100vw - 104px));
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 255, 102, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 255, 102, 0.14), transparent 36%),
    rgba(0, 0, 0, 0.88);
  box-shadow:
    0 24px 76px rgba(0, 0, 0, 0.58),
    0 0 46px rgba(0, 255, 102, 0.12),
    inset 0 0 28px rgba(0, 255, 102, 0.04);
  backdrop-filter: blur(18px);
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.26s ease, visibility 0.26s ease, transform 0.26s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-consent.is-hidden {
  display: none;
}

.cookie-consent p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-consent a {
  color: #00ff66;
  border-bottom: 1px solid rgba(0, 255, 102, 0.4);
}

.cookie-accept {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  color: #001707;
  background: linear-gradient(135deg, #ffffff, #00ff66 68%);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(0, 255, 102, 0.20);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(0, 255, 102, 0.32);
}

@media (max-width: 640px) {
  .floating-actions {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .floating-messenger {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .floating-messenger img {
    width: 23px;
    height: 23px;
  }

  .floating-actions .scroll-top {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 74px;
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .cookie-accept {
    width: 100%;
  }
}


/* === Compact floating messenger logos === */
.floating-actions {
  gap: 8px;
}

.floating-messenger {
  width: 42px;
  height: 42px;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid rgba(0, 255, 102, 0.76);
  border-radius: 13px;
  background: transparent;
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.16);
  backdrop-filter: none;
}

.floating-messenger img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.floating-messenger:hover {
  transform: translateY(-2px) scale(1.045);
  border-color: #00ff66;
  background: transparent;
  box-shadow: 0 0 22px rgba(0, 255, 102, 0.32);
}

.floating-messenger.max:hover,
.floating-messenger.whatsapp:hover,
.floating-messenger.telegram:hover {
  border-color: #00ff66;
}

@media (max-width: 640px) {
  .floating-messenger {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
}

/* === Client URLs in portfolio cards === */
.client-url {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 255, 102, 0.34);
  border-radius: 999px;
  color: #00ff66;
  background: rgba(0, 255, 102, 0.06);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.client-url::after {
  content: "↗";
  margin-left: 7px;
  font-size: 0.92em;
}

.client-url:hover,
.client-url:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 102, 0.72);
  background: rgba(0, 255, 102, 0.11);
  box-shadow: 0 0 24px rgba(0, 255, 102, 0.16);
  outline: none;
}

.home-work-copy .client-url {
  margin-top: 10px;
}

/* === Two new portfolio projects, company footer and equal floating controls === */
.home-works-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.floating-messenger,
.floating-actions .scroll-top {
  width: 54px;
  height: 54px;
}

.floating-messenger {
  border-radius: 18px;
}

.floating-messenger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.footer-company {
  margin-top: 8px;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .home-works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-works-grid {
    grid-template-columns: 1fr;
  }

  .floating-messenger,
  .floating-actions .scroll-top {
    width: 48px;
    height: 48px;
  }
}

/* === Portfolio filter interaction fix === */
body[data-page="portfolio"] .portfolio-filter {
  position: relative;
  z-index: 5;
}
body[data-page="portfolio"] .portfolio-filter .filter-btn {
  pointer-events: auto !important;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
}
body[data-page="portfolio"] .project-card[hidden],
body[data-page="portfolio"] .project-card.is-hidden {
  display: none !important;
}

/* === Custom 404 page === */
.error-page-main {
  min-height: calc(100vh - var(--header-height, 82px));
  display: grid;
  align-items: center;
}

.error-page {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  padding-top: clamp(70px, 10vw, 130px);
  padding-bottom: clamp(70px, 10vw, 130px);
}

.error-terminal {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid rgba(0, 255, 102, 0.30);
  border-radius: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(0,255,102,0.075), transparent 45%),
    rgba(0, 6, 2, 0.90);
  box-shadow:
    0 36px 100px rgba(0,0,0,0.62),
    0 0 80px rgba(0,255,102,0.10),
    inset 0 0 46px rgba(0,255,102,0.035);
  isolation: isolate;
}

.error-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(180deg, rgba(0,255,102,0.035) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 82% 22%, rgba(0,255,102,0.12), transparent 32%);
  pointer-events: none;
}

.error-code {
  margin-bottom: 12px;
  color: transparent;
  font-size: clamp(7rem, 22vw, 15rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: -0.09em;
  -webkit-text-stroke: 2px rgba(0,255,102,0.78);
  text-shadow: 0 0 34px rgba(0,255,102,0.20);
  user-select: none;
}

.error-terminal h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 1.02;
}

.error-terminal > p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.error-path {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,255,102,0.15);
  color: rgba(0,255,102,0.62);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
}

.error-path span {
  color: #fff;
}

@media (max-width: 560px) {
  .error-actions {
    display: grid;
  }
  .error-actions .btn {
    width: 100%;
  }
}
/* SRseo Tools v2.26 — единая типографика страниц инструментов */
body[data-page="tools"] .inner-hero-content h1,
body[data-page$="-tool"] .inner-hero-content h1,
body[data-page$="-checker"] .inner-hero-content h1 {
  max-width: 980px;
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  line-height: 1.13;
  letter-spacing: -0.032em;
}

body[data-page="registrar-tool"] .registrar-side-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 1.65vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (max-width: 860px) {
  body[data-page="tools"] .inner-hero-content h1,
  body[data-page$="-tool"] .inner-hero-content h1,
  body[data-page$="-checker"] .inner-hero-content h1 {
    font-size: clamp(1.8rem, 6.4vw, 2.55rem);
    line-height: 1.16;
  }

  body[data-page="registrar-tool"] .registrar-side-card h2 {
    font-size: clamp(1.25rem, 5vw, 1.55rem);
  }
}

/* SRseo Tools — version label */
.tool-hero-version{
position:absolute;
top:13px;
right:15px;
display:inline-flex;
align-items:center;
gap:5px;
padding:4px 8px;
border:1px solid rgba(0,255,102,.12);
border-radius:999px;
background:rgba(0,255,102,.025);
color:rgba(178,255,201,.54);
font-size:11px;
font-weight:750;
line-height:1;
letter-spacing:.045em;
white-space:nowrap;
user-select:none
}
.tool-hero-version::before{
content:"v";
font-size:10px;
font-weight:800;
opacity:.75
}
body[data-tool-id] .inner-hero-content{
position:relative
}
@media(max-width:700px){
.tool-hero-version{
position:static;
margin:8px 0 0;
width:max-content;
font-size:10px;
padding:4px 7px
}
}
