:root {
  --bg: #09111f;
  --panel: rgba(10, 19, 35, 0.78);
  --panel-strong: rgba(8, 15, 28, 0.92);
  --line: rgba(158, 181, 214, 0.17);
  --text: #f4f7fb;
  --muted: #96a6be;
  --accent: #86f0c7;
  --accent-strong: #39c1af;
  --accent-warm: #ffc978;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --glow: 0 0 0 1px rgba(143, 245, 212, 0.15), 0 0 40px rgba(57, 193, 175, 0.18), 0 0 90px rgba(255, 201, 120, 0.08);
  --glow-strong: 0 0 0 1px rgba(143, 245, 212, 0.24), 0 0 34px rgba(57, 193, 175, 0.24), 0 0 110px rgba(255, 201, 120, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(57, 193, 175, 0.2), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(255, 201, 120, 0.14), transparent 24%),
    linear-gradient(180deg, #09111f 0%, #0f1728 48%, #0b1322 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 86%);
  opacity: 0.28;
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(134, 240, 199, 0.12), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(255, 201, 120, 0.12), transparent 16%);
  filter: blur(46px);
  animation: ambientShift 18s ease-in-out infinite alternate;
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: var(--content);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #05101c;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
  box-shadow: 0 14px 35px rgba(134, 240, 199, 0.25);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-copy small,
.hero-text,
.section-copy,
.service-card p,
.showcase-copy p,
.benefit-card p,
.contact-copy p,
.contact-note,
.footer {
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #d6e0ef;
}

.nav a:hover,
.button:hover,
.nav-toggle:hover {
  transform: translateY(-1px);
}

.nav-toggle,
.button {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
}

.button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.button-primary {
  color: #06101d;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
  box-shadow: 0 18px 40px rgba(134, 240, 199, 0.18);
}

.button-primary:hover {
  box-shadow: 0 0 24px rgba(134, 240, 199, 0.35), 0 0 54px rgba(255, 201, 120, 0.16);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line);
}

.hero,
.services-section,
.visuals-section,
.benefits-section,
.live-contact,
.contact-section {
  margin-top: 26px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.terminal-card,
.stats-strip article,
.service-card,
.showcase-card,
.benefit-card,
.live-contact-panel,
.contact-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--glow);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.hero-copy,
.terminal-card,
.stats-strip article,
.service-card,
.showcase-card,
.benefit-card,
.live-contact-panel,
.contact-card,
.terminal-stats article,
.contact-item {
  isolation: isolate;
}

.hero-copy::before,
.terminal-card::before,
.stats-strip article::before,
.service-card::before,
.showcase-card::before,
.benefit-card::before,
.live-contact-panel::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(143, 245, 212, 0.12), transparent 26%, transparent 72%, rgba(255, 201, 120, 0.14)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 26%);
  opacity: 0.75;
  padding: 1px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}

.glow-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(134, 240, 199, 0.22), transparent 26%),
    radial-gradient(circle at calc(var(--glow-x, 50%) + 10%) calc(var(--glow-y, 50%) + 2%), rgba(255, 201, 120, 0.16), transparent 22%),
    linear-gradient(135deg, rgba(134, 240, 199, 0.08), transparent 42%, rgba(255, 201, 120, 0.08));
  transition: opacity 0.28s ease;
}

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

.glow-card.is-hovered::after {
  opacity: 1;
}

.hero-copy,
.terminal-card,
.live-contact-panel,
.contact-card {
  border-radius: var(--radius-xl);
  padding: 26px;
}

.hero-badge,
.project-tag,
.service-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.live-contact-copy h2,
.contact-copy h2 {
  margin: 12px 0 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  max-width: 10.5ch;
}

.hero-text {
  margin: 18px 0 0;
  max-width: 58ch;
  line-height: 1.72;
}

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

.terminal-card {
  display: grid;
  gap: 18px;
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dce6f5;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff8a7a; }
.dot-yellow { background: #f4c266; }
.dot-green { background: #76e0be; }

.terminal-body {
  padding: 18px;
  border-radius: 22px;
  background: rgba(4, 9, 18, 0.72);
  border: 1px solid rgba(158, 181, 214, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.terminal-body p {
  margin: 0 0 12px;
  line-height: 1.65;
  color: #dce6f5;
}

.terminal-body p:last-child {
  margin-bottom: 0;
}

.prompt {
  color: var(--accent);
  font-weight: 700;
}

.terminal-response {
  color: #b7c6da;
}

.terminal-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.terminal-stats article {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.terminal-stats strong {
  display: block;
  margin-bottom: 6px;
}

.terminal-stats span {
  color: var(--muted);
  line-height: 1.5;
}

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

.stats-strip article {
  border-radius: 22px;
  padding: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stats-strip strong {
  display: block;
  margin-bottom: 8px;
}

.stats-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading h2,
.live-contact-copy h2,
.contact-copy h2 {
  max-width: 14ch;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.section-copy {
  margin: 0;
  max-width: 62ch;
  line-height: 1.72;
}

.services-grid,
.showcase-grid,
.benefits-grid {
  display: grid;
  gap: 16px;
}

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

.service-card,
.benefit-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.showcase-card:hover,
.benefit-card:hover,
.stats-strip article:hover,
.terminal-stats article:hover,
.contact-item:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 245, 212, 0.28);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(143, 245, 212, 0.18),
    0 0 30px rgba(57, 193, 175, 0.18);
}

.service-card:hover h3,
.showcase-card:hover h3,
.benefit-card:hover h3,
.stats-strip article:hover strong,
.terminal-stats article:hover strong,
.contact-item:hover strong {
  text-shadow:
    0 0 12px rgba(134, 240, 199, 0.35),
    0 0 28px rgba(255, 201, 120, 0.12);
}

.service-card h3,
.showcase-copy h3,
.benefit-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.06);
}

.service-card p,
.benefit-card p {
  margin: 0;
  line-height: 1.65;
}

.service-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #dce6f5;
  line-height: 1.7;
}

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

.showcase-card {
  display: grid;
  gap: 0;
  border-radius: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.showcase-card-featured {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.showcase-media {
  position: relative;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.showcase-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(143, 245, 212, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 24px rgba(57, 193, 175, 0.14);
  pointer-events: none;
  z-index: 2;
}

.showcase-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
}

.showcase-copy p {
  margin: 0;
  line-height: 1.65;
}

.showcase-meta,
.showcase-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

.live-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 22px;
  align-items: start;
}

.live-contact-copy {
  padding: 24px 0;
}

.live-contact-copy p {
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.72;
}

.live-contact-form,
.chat-thread {
  display: grid;
  gap: 16px;
}

.live-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.live-contact-form label {
  display: grid;
  gap: 8px;
}

.live-contact-form span,
.chat-thread-head small {
  color: var(--muted);
}

.live-contact-form input,
.live-contact-form textarea,
.chat-thread-send input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.live-contact-form textarea {
  resize: vertical;
  min-height: 128px;
}

.live-contact-form input:focus,
.live-contact-form textarea:focus,
.chat-thread-send input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(57, 193, 175, 0.12);
}

.live-contact-actions,
.chat-thread-send,
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hidden {
  display: none !important;
}

.chat-thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-thread-head strong {
  display: block;
}

.chat-thread-messages {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
  padding: 6px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
    rgba(4, 9, 18, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-bubble {
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.6;
  border: 1px solid var(--line);
}

.chat-bubble.client {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(134, 240, 199, 0.18), rgba(255, 201, 120, 0.12));
}

.chat-bubble.admin {
  background: rgba(255, 255, 255, 0.05);
}

.chat-bubble.system {
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.support-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
}

.support-bubble {
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
  color: #06101d;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.3),
    0 0 28px rgba(134, 240, 199, 0.22);
  display: grid;
  gap: 2px;
  cursor: pointer;
  font-weight: 800;
}

.support-bubble small {
  font-size: 0.75rem;
  opacity: 0.8;
}

.support-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(380px, calc(100vw - 24px));
  padding: 16px;
  border-radius: 28px;
  background: rgba(10, 19, 35, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--glow-strong);
  backdrop-filter: blur(20px);
  display: none;
  gap: 14px;
}

.support-panel.active {
  display: grid;
}

.support-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.support-head strong {
  display: block;
  margin-bottom: 4px;
}

.support-head small {
  color: var(--muted);
  line-height: 1.45;
}

.support-close {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.support-form,
.support-chat {
  display: grid;
  gap: 12px;
}

.support-form input,
.support-form textarea,
.support-send input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.support-form textarea {
  min-height: 110px;
  resize: vertical;
}

.support-form input:focus,
.support-form textarea:focus,
.support-send input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(57, 193, 175, 0.12);
}

.support-messages {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
  padding: 6px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
    rgba(4, 9, 18, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.support-message {
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.6;
  border: 1px solid var(--line);
}

.support-message.client {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(134, 240, 199, 0.18), rgba(255, 201, 120, 0.12));
}

.support-message.admin {
  background: rgba(255, 255, 255, 0.05);
}

.support-message.system {
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.support-send {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 22px;
  align-items: stretch;
  padding-bottom: 54px;
}

.contact-copy {
  padding: 24px 0;
}

.contact-card {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-item:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-label {
  color: var(--accent-warm);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

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

.footer-links a:hover,
.nav a:hover,
.contact-item a:hover {
  color: var(--accent);
}

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

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

@keyframes ambientShift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(2%, -1.5%, 0) scale(1.05);
  }
}

@media (max-width: 1040px) {
  .hero,
  .live-contact,
  .contact-section,
  .services-grid,
  .showcase-grid,
  .benefits-grid,
  .showcase-card-featured {
    grid-template-columns: 1fr;
  }

  .stats-strip,
  .terminal-stats,
  .live-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1,
  .section-heading h2,
  .live-contact-copy h2,
  .contact-copy h2 {
    max-width: none;
  }

  .showcase-card-featured {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    position: sticky;
    top: 0;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 0 12px;
    background: rgba(7, 14, 25, 0.72);
    border-bottom: 1px solid rgba(158, 181, 214, 0.1);
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 48px;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(7, 14, 25, 0.94);
  }

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

  .nav a,
  .button,
  .live-contact-actions .button,
  .chat-thread-send .button,
  .chat-thread-send input {
    width: 100%;
  }

  .hero-copy,
  .terminal-card,
  .service-card,
  .showcase-card,
  .benefit-card,
  .live-contact-panel,
  .contact-card,
  .stats-strip article {
    border-radius: 24px;
    padding: 20px;
  }

  .brand {
    max-width: calc(100% - 92px);
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    font-size: 0.84rem;
  }

  .hero-badge,
  .project-tag,
  .service-kicker {
    white-space: normal;
    line-height: 1.35;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 17vw, 4.2rem);
    max-width: none;
  }

  .stats-strip,
  .terminal-stats,
  .live-contact-grid {
    grid-template-columns: 1fr;
  }

  .terminal-body {
    padding: 16px;
  }

  .terminal-body p {
    font-size: 0.95rem;
  }

  .showcase-media {
    min-height: 180px;
    aspect-ratio: 16 / 11;
  }

  .showcase-copy,
  .live-contact-copy,
  .contact-copy {
    gap: 10px;
  }

  .live-contact-form textarea {
    min-height: 140px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-item strong {
    line-height: 1.45;
  }

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

  .support-widget {
    right: 12px;
    bottom: 12px;
  }

  .support-panel {
    right: 0;
    bottom: 64px;
    width: min(340px, calc(100vw - 24px));
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: min(100% - 14px, 1180px);
  }

  .topbar {
    padding: 12px 0 10px;
  }

  .hero,
  .services-section,
  .visuals-section,
  .benefits-section,
  .live-contact,
  .contact-section {
    margin-top: 18px;
  }

  .hero-copy,
  .terminal-card,
  .service-card,
  .showcase-card,
  .benefit-card,
  .live-contact-panel,
  .contact-card,
  .stats-strip article {
    border-radius: 20px;
    padding: 16px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 14vw, 3.2rem);
    line-height: 1;
  }

  .hero-text,
  .section-copy,
  .live-contact-copy p,
  .contact-copy p,
  .service-card p,
  .benefit-card p,
  .showcase-copy p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .section-heading h2,
  .live-contact-copy h2,
  .contact-copy h2 {
    font-size: clamp(1.9rem, 10vw, 2.5rem);
  }

  .button,
  .nav a,
  .chat-thread-send input {
    min-height: 50px;
  }

  .service-card ul {
    padding-left: 16px;
    font-size: 0.95rem;
  }

  .showcase-media {
    min-height: 160px;
    aspect-ratio: 4 / 3;
  }

  .chat-bubble {
    max-width: 100%;
    padding: 12px 14px;
  }

  .support-bubble {
    padding: 12px 14px;
  }

  .support-bubble span {
    font-size: 0.95rem;
  }

  .support-bubble small {
    font-size: 0.68rem;
  }

  .support-panel {
    width: min(100vw - 12px, 340px);
    padding: 14px;
    border-radius: 22px;
  }

  .support-send {
    grid-template-columns: 1fr;
  }

  .support-message {
    max-width: 100%;
    padding: 12px 14px;
  }
}

/* ZEMORA PREMIUM PASS */
body {
  background:
    radial-gradient(circle at 14% 12%, rgba(134, 240, 199, 0.22), transparent 28%),
    radial-gradient(circle at 84% 9%, rgba(255, 201, 120, 0.18), transparent 24%),
    radial-gradient(circle at 50% 110%, rgba(57, 193, 175, 0.13), transparent 34%),
    linear-gradient(180deg, #08111f 0%, #101a2d 46%, #081120 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(134, 240, 199, 0.16), transparent 1px);
  background-size: 36px 36px, 36px 36px, 120px 120px;
  opacity: 0.34;
}

.hero-premium {
  position: relative;
  perspective: 1400px;
}

.hero-premium::before {
  content: "";
  position: absolute;
  inset: -44px -28px auto;
  height: 380px;
  pointer-events: none;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(134, 240, 199, 0.12), rgba(255, 201, 120, 0.09), transparent);
  filter: blur(38px);
  opacity: 0.9;
  animation: premiumSweep 8s ease-in-out infinite alternate;
}

.hero-copy {
  min-height: 100%;
}

.hero h1 {
  text-wrap: balance;
  background: linear-gradient(110deg, #ffffff 0%, #dff9ef 34%, #ffc978 70%, #ffffff 100%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleSheen 8s linear infinite;
}

.hero-badge {
  box-shadow: inset 0 0 18px rgba(134, 240, 199, 0.07), 0 12px 34px rgba(134, 240, 199, 0.08);
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.hero-trust-grid span {
  border: 1px solid rgba(158, 181, 214, 0.14);
  border-radius: 16px;
  padding: 12px 13px;
  color: #dfe8f6;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  font-weight: 800;
}

.premium-terminal {
  min-height: 100%;
  transform: translateZ(0);
  background:
    linear-gradient(145deg, rgba(12, 22, 40, 0.92), rgba(5, 11, 22, 0.86)),
    radial-gradient(circle at 20% 0%, rgba(134, 240, 199, 0.16), transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(255, 201, 120, 0.12), transparent 34%);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(134, 240, 199, 0.16),
    0 0 70px rgba(57, 193, 175, 0.16);
  animation: terminalFloat 6.5s ease-in-out infinite;
}

.premium-terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.08) 42%, transparent 56%);
  transform: translateX(-130%);
  animation: glassFlash 7s ease-in-out infinite;
}

.terminal-aura {
  position: absolute;
  inset: auto 34px -54px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134, 240, 199, 0.2), transparent 68%);
  filter: blur(18px);
  opacity: 0.8;
}

.terminal-top {
  justify-content: space-between;
  padding-bottom: 4px;
}

.terminal-window-dots {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.terminal-dot {
  box-shadow: 0 0 18px currentColor;
}

.dot-red { color: #ff8a7a; }
.dot-yellow { color: #f4c266; }
.dot-green { color: #76e0be; animation: liveDot 1.8s ease-in-out infinite; }

.terminal-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(134, 240, 199, 0.18);
  background: rgba(134, 240, 199, 0.08);
  color: #dff9ef;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 rgba(134, 240, 199, 0.7);
  animation: pulseRing 1.6s ease-out infinite;
}

.terminal-body {
  position: relative;
  overflow: hidden;
  min-height: 362px;
  padding: 20px;
  font-family: "SFMono-Regular", "Cascadia Mono", "Consolas", monospace;
  background:
    linear-gradient(180deg, rgba(2, 7, 15, 0.92), rgba(3, 10, 20, 0.78)),
    radial-gradient(circle at 16% 18%, rgba(134, 240, 199, 0.11), transparent 30%);
}

.terminal-body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 5px);
  opacity: 0.2;
}

.terminal-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -34%;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(134, 240, 199, 0.13), transparent);
  animation: terminalScan 5.2s linear infinite;
}

.terminal-screen-glow {
  position: absolute;
  inset: -20% -12%;
  background:
    radial-gradient(circle at 18% 18%, rgba(134, 240, 199, 0.13), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(255, 201, 120, 0.08), transparent 28%);
  filter: blur(18px);
  animation: screenGlow 6s ease-in-out infinite alternate;
}

.terminal-line,
.terminal-live-row,
.terminal-progress {
  position: relative;
  z-index: 1;
}

.terminal-line {
  opacity: 0;
  transform: translateY(8px);
  animation: terminalLineIn 0.58s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--line-delay, 0s);
}

.terminal-line-command {
  color: #edf7ff;
}

.terminal-command {
  color: #f7fbff;
}

.prompt {
  text-shadow: 0 0 18px rgba(134, 240, 199, 0.3);
}

.terminal-loader {
  display: inline-flex;
  gap: 4px;
  margin-left: 8px;
  transform: translateY(-1px);
}

.terminal-loader i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent-warm);
  opacity: 0.34;
  animation: loaderDot 1.1s ease-in-out infinite;
}

.terminal-loader i:nth-child(2) { animation-delay: 0.16s; }
.terminal-loader i:nth-child(3) { animation-delay: 0.32s; }

.terminal-check {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(134, 240, 199, 0.45);
}

.terminal-live-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin: 16px 0 0;
  padding: 12px 13px;
  border: 1px solid rgba(134, 240, 199, 0.13);
  border-radius: 16px;
  background: rgba(134, 240, 199, 0.045);
  color: #dce6f5;
}

.terminal-cursor {
  width: 9px;
  height: 18px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(134, 240, 199, 0.55);
  animation: cursorBlink 1s steps(2, start) infinite;
}

.terminal-progress {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.terminal-progress-head {
  display: flex;
  justify-content: space-between;
  color: #dfe8f6;
  font-family: "Manrope", sans-serif;
  font-size: 0.84rem;
}

.terminal-progress-head em {
  color: var(--accent-warm);
  font-style: normal;
  font-weight: 900;
}

.terminal-progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.terminal-progress-track i {
  display: block;
  width: 98%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 20px rgba(134, 240, 199, 0.3);
  animation: progressGlow 2.6s ease-in-out infinite alternate;
}

.terminal-stats article {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
}

.button-primary {
  position: relative;
  overflow: hidden;
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.26), transparent 54%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
}

.button-primary:hover::after {
  transform: translateX(130%);
}

@keyframes premiumSweep {
  to { transform: translate3d(3%, 2%, 0) scale(1.04); }
}

@keyframes titleSheen {
  to { background-position: -240% center; }
}

@keyframes terminalFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-8px) rotateX(0.6deg) rotateY(-0.8deg); }
}

@keyframes glassFlash {
  0%, 62% { transform: translateX(-130%); opacity: 0; }
  72% { opacity: 0.8; }
  100% { transform: translateX(130%); opacity: 0; }
}

@keyframes liveDot {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.25); filter: brightness(1.4); }
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(134, 240, 199, 0.58); }
  100% { box-shadow: 0 0 0 10px rgba(134, 240, 199, 0); }
}

@keyframes terminalScan {
  to { top: 100%; }
}

@keyframes screenGlow {
  to { transform: translate3d(4%, -3%, 0) scale(1.04); }
}

@keyframes terminalLineIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderDot {
  0%, 100% { opacity: 0.28; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

@keyframes cursorBlink {
  50% { opacity: 0; }
}

@keyframes progressGlow {
  to { filter: brightness(1.18); box-shadow: 0 0 34px rgba(255, 201, 120, 0.25); }
}

@media (max-width: 1040px) {
  .premium-terminal {
    animation: none;
  }

  .terminal-body {
    min-height: 330px;
  }
}

@media (max-width: 760px) {
  .hero-trust-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .terminal-top {
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
  }

  .terminal-status {
    order: 3;
    width: fit-content;
  }

  .terminal-body {
    min-height: auto;
    padding: 15px;
  }

  .terminal-live-row {
    align-items: flex-start;
    flex-wrap: wrap;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .hero-trust-grid span {
    font-size: 0.82rem;
    padding: 11px 12px;
  }

  .terminal-body p,
  .terminal-live-row {
    font-size: 0.82rem;
  }

  .terminal-loader {
    margin-left: 4px;
  }

  .terminal-stats article {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-premium::before,
  .hero h1,
  .premium-terminal,
  .premium-terminal::after,
  .dot-green,
  .status-pulse,
  .terminal-body::after,
  .terminal-screen-glow,
  .terminal-line,
  .terminal-loader i,
  .terminal-cursor,
  .terminal-progress-track i {
    animation: none !important;
  }

  .terminal-line {
    opacity: 1;
    transform: none;
  }
}
/* END ZEMORA PREMIUM PASS */

/* ZEMORA OBVIOUS TERMINAL MOTION */
.terminal-stream {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  min-height: 206px;
}

.terminal-stream .terminal-line {
  margin: 0;
  min-height: 25px;
  opacity: 1;
  transform: none;
  animation: none;
}

.terminal-stream .terminal-line.is-new {
  animation: terminalPop 0.24s ease-out both;
}

.terminal-stream .terminal-response {
  padding-left: 18px;
  border-left: 2px solid rgba(134, 240, 199, 0.28);
}

.terminal-typing-dots,
.terminal-loader {
  display: inline-flex;
  gap: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.terminal-typing-dots i,
.terminal-loader i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent-warm);
  opacity: 0.28;
  animation: loaderDot 0.7s ease-in-out infinite;
}

.terminal-typing-dots i:nth-child(2),
.terminal-loader i:nth-child(2) { animation-delay: 0.12s; }
.terminal-typing-dots i:nth-child(3),
.terminal-loader i:nth-child(3) { animation-delay: 0.24s; }

.terminal-live-row {
  overflow: hidden;
}

.terminal-live-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(134, 240, 199, 0.14), transparent);
  animation: liveRowSweep 1.9s ease-in-out infinite;
}

.terminal-progress-track i {
  width: var(--quality, 91%);
  transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.terminal-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.terminal-metrics span {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid rgba(158, 181, 214, 0.12);
  border-radius: 14px;
  padding: 10px;
  color: #9fb0c8;
  background: rgba(255, 255, 255, 0.04);
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  line-height: 1.2;
}

.terminal-metrics strong {
  color: #f6fbff;
  font-size: 1.03rem;
  line-height: 1;
}

#terminal-status-label {
  min-width: 72px;
}

@keyframes terminalPop {
  from { opacity: 0; transform: translateY(8px) scale(0.985); filter: blur(2px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes liveRowSweep {
  0% { transform: translateX(0); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateX(410%); opacity: 0; }
}

@media (max-width: 760px) {
  .terminal-stream {
    min-height: 190px;
    gap: 8px;
  }

  .terminal-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .terminal-stream {
    min-height: 178px;
  }

  .terminal-stream .terminal-response {
    padding-left: 12px;
  }
}
/* END ZEMORA OBVIOUS TERMINAL MOTION */
