:root {
  --bg: #03030b;
  --bg-soft: #070817;
  --text: #fbfbff;
  --muted: #aaa8b8;
  --muted-strong: #cfcede;
  --line: rgba(255, 255, 255, 0.105);
  --violet: #a934ff;
  --purple: #7b35ff;
  --blue: #4aa3ff;
  --cyan: #16d2d2;
  --card: rgba(12, 13, 28, 0.68);
  --header-height: 76px;
  color-scheme: dark;
}

@property --float-offset {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 780px at 10% 8%, rgba(99, 32, 160, 0.28), transparent 56%),
    radial-gradient(920px 720px at 88% 80%, rgba(8, 111, 128, 0.31), transparent 60%),
    linear-gradient(180deg, #03020a 0%, #050511 48%, #02040b 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    linear-gradient(105deg, rgba(74, 16, 115, 0.24), transparent 35%),
    linear-gradient(172deg, transparent 0 58%, rgba(2, 31, 39, 0.52) 78%, rgba(1, 13, 23, 0.92) 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

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

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 44% 35%, rgba(145, 64, 255, 0.12), transparent 24%),
    radial-gradient(circle at 74% 78%, rgba(0, 211, 230, 0.10), transparent 30%);
  filter: blur(2px);
}

.container {
  width: min(1440px, calc(100% - 56px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 116px 0;
  scroll-margin-top: 86px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--header-height);
  background: rgba(3, 3, 10, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  transition: background 250ms ease, border-color 250ms ease, backdrop-filter 250ms ease;
}

.site-header.scrolled {
  background: rgba(4, 4, 12, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1440px, calc(100% - 56px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark-crop {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark-crop img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  max-width: none;
  transform: translate(-50%, -50%);
  filter: saturate(1.08) contrast(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.nav-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 31px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.nav-cta,
.primary-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, #bb38ff 0%, #9535ff 54%, #bc35ff 100%);
  box-shadow: 0 0 0 1px rgba(207, 145, 255, 0.16) inset, 0 16px 42px rgba(156, 52, 255, 0.32);
  color: white;
}

.nav-cta {
  min-height: 40px;
  padding: 0 24px;
  gap: 12px;
  font-size: 14px;
}

.nav-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 20px 54px rgba(170, 55, 255, 0.47);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.015);
  color: #f4f2ff;
}

.secondary-button:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 99, 255, 0.6);
  background: rgba(165, 87, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: white;
  border-radius: 999px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 64px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  align-items: center;
  gap: 60px;
}

.hero-copy {
  max-width: 880px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  padding: 6px 15px;
  border: 1px solid rgba(174, 68, 255, 0.36);
  border-radius: 999px;
  background: rgba(126, 47, 255, 0.11);
  color: #b855ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--violet);
  box-shadow: 0 0 18px var(--violet);
}

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

.hero h1 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(54px, 7.1vw, 120px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span {
  display: inline-block;
  background: linear-gradient(100deg, #9f25ff 6%, #b666ff 45%, #3fc7ff 96%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(147, 54, 255, 0.36);
}

.hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.hero-orbit {
  display: flex;
  justify-content: center;
}

.orbit-card {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(134, 54, 255, 0.3);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at 54% 54%, rgba(100, 52, 255, 0.23), transparent 44%),
    rgba(7, 12, 27, 0.45);
  box-shadow: 0 30px 110px rgba(32, 148, 168, 0.13), inset 0 1px rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.orbit-card img {
  width: 122%;
  max-width: none;
  border-radius: 10px;
  opacity: 0.92;
  filter: drop-shadow(0 0 42px rgba(169, 105, 255, 0.52));
}

.orbit-ring {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(149, 94, 255, 0.2);
  border-radius: 50%;
  animation: rotate 18s linear infinite;
}

.ring-two {
  inset: 28%;
  border-color: rgba(36, 214, 222, 0.14);
  animation-duration: 26s;
  animation-direction: reverse;
}

.signal-line {
  position: absolute;
  width: 160%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(145, 97, 255, 0.34), transparent);
  transform: rotate(18deg);
}

.signal-line-alt {
  transform: rotate(-39deg);
  opacity: 0.55;
}

.section-heading {
  margin-bottom: 80px;
  text-align: center;
}

.section-heading h2,
.why-copy h2,
.identity-inner h2,
.contact-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p,
.identity-inner p,
.contact-copy p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  font-weight: 650;
}

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

.glass-card,
.contact-form {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    var(--card);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.glass-card {
  min-height: 252px;
  padding: 30px 24px;
  border-radius: 16px;
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(171, 72, 255, 0.42);
  background:
    linear-gradient(145deg, rgba(130, 61, 255, 0.13), rgba(38, 189, 204, 0.04)),
    rgba(13, 15, 33, 0.78);
  box-shadow: 0 28px 72px rgba(30, 7, 59, 0.36), inset 0 1px rgba(255, 255, 255, 0.08);
}

.icon-box {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid rgba(178, 64, 255, 0.36);
  border-radius: 16px;
  background: rgba(154, 54, 255, 0.13);
}

.icon-box svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #b43fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.glass-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 900;
}

.glass-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 650;
}

.process {
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 48%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(161, 91, 255, 0.5), rgba(30, 214, 230, 0.28), transparent);
  box-shadow: 0 0 34px rgba(151, 86, 255, 0.28);
  opacity: 0.7;
}

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

.process-step,
.work-card,
.final-cta-inner {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.016)),
    rgba(8, 10, 24, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
}

.process-step {
  position: relative;
  min-height: 238px;
  padding: 30px;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.process-step::before {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 90px;
  background: radial-gradient(ellipse at center, rgba(151, 76, 255, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(177, 108, 255, 0.5);
  box-shadow: 0 24px 72px rgba(34, 16, 77, 0.32), inset 0 1px rgba(255, 255, 255, 0.08);
}

.process-step:hover::before {
  opacity: 1;
}

.process-step span,
.work-card span,
.final-cta-inner span {
  display: inline-block;
  margin-bottom: 24px;
  color: #b46cff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(170, 92, 255, 0.46);
}

.process-step h3,
.work-card h3 {
  position: relative;
  margin-bottom: 14px;
  color: #fff;
  font-size: 23px;
  line-height: 1.18;
  font-weight: 900;
}

.process-step p,
.work-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
  font-weight: 650;
}

.solutions {
  overflow: hidden;
}

.solutions::before {
  content: "";
  position: absolute;
  inset: 7% -10% auto -10%;
  height: 86%;
  background: linear-gradient(170deg, rgba(93, 30, 143, 0.22), rgba(6, 8, 21, 0.08) 46%, rgba(0, 104, 121, 0.13));
  transform: skewY(-3deg);
  z-index: -1;
}

.solutions::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -16%;
  height: 280px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(136, 72, 255, 0.38), rgba(30, 19, 86, 0.14) 42%, transparent 70%);
  filter: blur(4px);
  opacity: 0.62;
  z-index: -1;
}

.solutions-heading {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.solutions-heading > span {
  display: inline-block;
  margin-bottom: 18px;
  color: #ad73ff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.solutions-heading h2 {
  margin-bottom: 28px;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.08;
  font-weight: 650;
}

.solutions-heading h2 strong {
  display: block;
  color: #a86cff;
  font-weight: 650;
  text-shadow: 0 0 28px rgba(150, 83, 255, 0.28);
}

.stellar-divider {
  position: relative;
  width: min(420px, 80vw);
  height: 1px;
  margin: 0 auto 32px;
  background: linear-gradient(90deg, transparent, rgba(165, 89, 255, 0.4), rgba(255, 255, 255, 0.82), rgba(165, 89, 255, 0.4), transparent);
  box-shadow: 0 0 24px rgba(162, 86, 255, 0.48);
}

.stellar-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: white;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  box-shadow: 0 0 18px #a966ff;
}

.solutions-heading p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted-strong);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  font-weight: 550;
}

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

.solution-card {
  min-height: 290px;
  padding: 38px 25px 30px;
  border: 1px solid rgba(161, 91, 255, 0.28);
  border-radius: 10px;
  background:
    radial-gradient(circle at 24% 0%, rgba(138, 70, 255, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016)),
    rgba(9, 10, 24, 0.74);
  text-align: center;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.solution-card:hover {
  transform: translateY(-7px);
  border-color: rgba(180, 108, 255, 0.58);
  background:
    radial-gradient(circle at 50% 0%, rgba(154, 87, 255, 0.18), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 26, 0.86);
  box-shadow: 0 28px 70px rgba(44, 18, 92, 0.34), inset 0 1px rgba(255, 255, 255, 0.08);
}

.solution-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  color: #a56cff;
}

.solution-icon svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 18px rgba(165, 108, 255, 0.46));
}

.solution-card h3 {
  max-width: 190px;
  margin: 0 auto 18px;
  color: #fff;
  font-size: 20px;
  line-height: 1.32;
  font-weight: 850;
}

.solution-card p {
  margin: 0 auto;
  max-width: 210px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 550;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  gap: 74px;
}

.why-copy h2 {
  margin-bottom: 38px;
}

.feature-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 20px;
  margin-bottom: 33px;
}

.feature-row > span {
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border-radius: 50%;
  background: radial-gradient(circle, #18efff 0 18%, rgba(24, 239, 255, 0.22) 20% 100%);
  border: 1px solid rgba(24, 239, 255, 0.36);
  box-shadow: 0 0 26px rgba(24, 239, 255, 0.26);
}

.feature-row h3 {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 900;
}

.feature-row p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 650;
}

.logo-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  border: 1px solid rgba(126, 51, 255, 0.36);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 54%, rgba(139, 95, 255, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(15, 37, 57, 0.5));
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 20, 31, 0.32);
}

.logo-preview img {
  width: min(118%, 720px);
  max-width: none;
  border-radius: 12px;
  opacity: 0.92;
  filter: drop-shadow(0 0 44px rgba(153, 102, 255, 0.44));
}

.preview-grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  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: 48px 48px;
  mask-image: radial-gradient(circle at center, black 0 36%, transparent 72%);
}

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

.project-card {
  position: relative;
  min-height: 344px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(12, 14, 31, 0.72);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 44%, rgba(3, 3, 9, 0.82) 100%),
    radial-gradient(circle at 68% 18%, rgba(255, 255, 255, 0.16), transparent 7%);
  opacity: 0.78;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(113, 196, 255, 0.34);
  box-shadow: 0 36px 92px rgba(16, 34, 69, 0.28);
}

.project-light {
  position: absolute;
  inset: 0;
  opacity: 0.64;
}

.project-light.blue {
  background: linear-gradient(145deg, rgba(42, 83, 190, 0.25), rgba(109, 55, 255, 0.12));
}

.project-light.violet {
  background: linear-gradient(145deg, rgba(153, 41, 171, 0.24), rgba(212, 25, 94, 0.11));
}

.project-light.cyan {
  background: linear-gradient(145deg, rgba(11, 184, 207, 0.22), rgba(9, 77, 123, 0.19));
}

.project-card span,
.project-card h3 {
  position: relative;
  z-index: 1;
}

.project-card span {
  margin-bottom: 11px;
  color: #a53cff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.12;
  font-weight: 900;
}

.featured-work {
  overflow: hidden;
}

.featured-work::before {
  content: "";
  position: absolute;
  inset: 10% -12% auto;
  height: 520px;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 40%, rgba(82, 99, 255, 0.16), transparent 26%),
    radial-gradient(circle at 82% 46%, rgba(166, 70, 255, 0.18), transparent 28%);
  filter: blur(12px);
  z-index: -1;
}

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

.work-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 16%, rgba(255, 255, 255, 0.16), transparent 8%),
    radial-gradient(circle at 20% 86%, rgba(153, 76, 255, 0.18), transparent 34%);
  opacity: 0.72;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(164, 97, 255, 0.54);
  box-shadow: 0 36px 92px rgba(24, 12, 62, 0.36), inset 0 1px rgba(255, 255, 255, 0.1);
}

.work-card span,
.work-card h3,
.work-card p {
  position: relative;
  z-index: 1;
}

.work-card h3 {
  max-width: 360px;
  font-size: clamp(25px, 2vw, 32px);
}

.stellar-catalog .project-grid {
  display: none;
}

.stellar-catalog {
  overflow: hidden;
}

.stellar-catalog::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 10%;
  height: 360px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(126, 60, 255, 0.24), transparent 58%),
    radial-gradient(ellipse at 92% 42%, rgba(0, 204, 230, 0.16), transparent 42%);
  filter: blur(8px);
  z-index: -1;
}

.catalog-stage {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 16px 0 24px;
  isolation: isolate;
}

.catalog-stage::before {
  content: "";
  position: absolute;
  inset: -80px 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 45%, rgba(178, 93, 255, 0.2), transparent 18%),
    radial-gradient(circle at 82% 52%, rgba(35, 205, 230, 0.14), transparent 20%),
    linear-gradient(90deg, rgba(140, 66, 255, 0.08), transparent 28%, transparent 72%, rgba(0, 221, 255, 0.08));
  filter: blur(16px);
  opacity: 0.9;
  z-index: -1;
  animation: catalogAura 9s ease-in-out infinite alternate;
}

.catalog-curtain {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  cursor: grab;
}

.catalog-curtain:active {
  cursor: grabbing;
}

.catalog-curtain::-webkit-scrollbar {
  display: none;
}

.catalog-curtain::before,
.catalog-curtain::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12vw;
  pointer-events: none;
  z-index: 2;
}

.catalog-curtain::before {
  left: 0;
  background: linear-gradient(90deg, rgba(3, 3, 11, 0.98), transparent);
}

.catalog-curtain::after {
  right: 0;
  background: linear-gradient(270deg, rgba(3, 3, 11, 0.98), transparent);
}

.catalog-track {
  display: flex;
  width: max-content;
  gap: 24px;
  padding-inline: max(24px, calc((100vw - 1440px) / 2 + 24px));
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.catalog-button {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 99, 255, 0.44);
  border-radius: 50%;
  background: rgba(7, 7, 20, 0.78);
  color: #fff;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(82, 35, 151, 0.34), inset 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-50%);
  cursor: pointer;
  animation: catalogButtonPulse 2.8s ease-in-out infinite;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.catalog-button:hover {
  transform: translateY(-50%) scale(1.06);
  border-color: rgba(203, 139, 255, 0.72);
  background: rgba(40, 18, 72, 0.82);
  box-shadow: 0 22px 58px rgba(139, 54, 255, 0.4), inset 0 1px rgba(255, 255, 255, 0.1);
}

.catalog-button:active {
  transform: translateY(-50%) scale(0.96);
}

.catalog-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-button-prev {
  left: max(18px, calc((100vw - 1440px) / 2 + 16px));
}

.catalog-button-next {
  right: max(18px, calc((100vw - 1440px) / 2 + 16px));
}

.catalog-star {
  position: relative;
  width: 252px;
  min-height: 350px;
  flex: 0 0 252px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(143, 91, 255, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(8, 10, 24, 0.74);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 28px 80px rgba(20, 10, 52, 0.28);
  backdrop-filter: blur(18px);
  transform: translateY(var(--float-offset, 0)) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transform-style: preserve-3d;
  animation: starCardFloat 7s ease-in-out infinite;
  animation-delay: calc(var(--card-index, 0) * -0.38s);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.catalog-star:hover {
  transform: translateY(-10px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  border-color: rgba(177, 108, 255, 0.62);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 34px 100px rgba(74, 31, 142, 0.36);
}

.catalog-star::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(3, 4, 12, 0.9) 100%);
  z-index: 1;
}

.catalog-star::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 42%), rgba(203, 151, 255, 0.2), transparent 28%),
    linear-gradient(120deg, transparent 22%, rgba(255, 255, 255, 0.14) 48%, transparent 66%);
  opacity: 0;
  transform: translateX(-28%);
  transition: opacity 260ms ease, transform 420ms ease;
  mix-blend-mode: screen;
}

.catalog-star:hover::after {
  opacity: 1;
  transform: translateX(18%);
}

.catalog-star img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
  transition: transform 600ms ease, opacity 260ms ease, filter 260ms ease;
}

.catalog-star:hover img {
  opacity: 1;
  transform: scale(1.12);
  filter: saturate(1.2) contrast(1.08) brightness(1.08);
}

.catalog-star span,
.catalog-star h3 {
  position: relative;
  z-index: 2;
}

.catalog-star span {
  margin: 0 22px 9px;
  color: #b46cff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(170, 92, 255, 0.58);
}

.catalog-star h3 {
  min-height: 58px;
  margin: 0 22px 24px;
  color: white;
  font-size: 21px;
  line-height: 1.18;
  font-weight: 900;
}

@keyframes curtainFlow {
  to {
    transform: translateX(-50%);
  }
}

@keyframes catalogAura {
  from {
    opacity: 0.62;
    transform: translateX(-2%);
  }

  to {
    opacity: 1;
    transform: translateX(2%);
  }
}

@keyframes catalogButtonPulse {
  0%,
  100% {
    box-shadow: 0 18px 44px rgba(82, 35, 151, 0.34), inset 0 1px rgba(255, 255, 255, 0.08);
  }

  50% {
    box-shadow: 0 22px 70px rgba(152, 76, 255, 0.5), inset 0 1px rgba(255, 255, 255, 0.1);
  }
}

@keyframes starCardFloat {
  0%,
  100% {
    --float-offset: 0px;
  }

  50% {
    --float-offset: -7px;
  }
}

.identity {
  min-height: 74vh;
  display: flex;
  align-items: center;
}

.identity-inner {
  text-align: center;
}

.identity-logo {
  width: min(760px, 96vw);
  border-radius: 12px;
  margin: 0 auto 46px;
  opacity: 0.92;
  filter: drop-shadow(0 0 32px rgba(151, 89, 255, 0.42));
}

.identity-inner p {
  max-width: 860px;
  font-size: clamp(22px, 2vw, 29px);
}

.identity-inner strong {
  color: #fff;
}

.final-cta {
  padding-top: 72px;
  padding-bottom: 72px;
}

.final-cta-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 58px;
  border-radius: 22px;
  overflow: hidden;
  text-align: center;
}

.final-cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(181, 97, 255, 0.22), transparent 38%),
    radial-gradient(circle at 82% 72%, rgba(23, 208, 226, 0.12), transparent 32%);
  opacity: 0.9;
}

.final-cta-inner span,
.final-cta-inner h2,
.final-cta-inner a {
  position: relative;
  z-index: 1;
}

.final-cta-inner h2 {
  max-width: 820px;
  margin: 0 auto 30px;
  color: #fff;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.08;
  font-weight: 900;
}

.contact {
  padding-bottom: 92px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 72px;
}

.contact-copy p {
  margin-left: 0;
  max-width: 590px;
}

.contact-list {
  display: grid;
  gap: 24px;
  margin-top: 42px;
}

.contact-list a,
.contact-list p {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 18px;
  font-weight: 750;
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(177, 82, 255, 0.28);
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.12), transparent 28%),
    rgba(139, 64, 255, 0.11);
  color: #b95cff;
  box-shadow: 0 0 28px rgba(156, 72, 255, 0.16), inset 0 1px rgba(255, 255, 255, 0.07);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.contact-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(178, 92, 255, 0.48));
}

.contact-list a:hover .contact-icon {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(83, 218, 239, 0.48);
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.16), transparent 30%),
    rgba(31, 190, 214, 0.1);
  color: #75e6ff;
  box-shadow: 0 0 34px rgba(78, 214, 236, 0.22), inset 0 1px rgba(255, 255, 255, 0.08);
}

.contact-form {
  padding: 42px;
  border-radius: 18px;
}

.contact-form h3 {
  margin-bottom: 34px;
  font-size: 26px;
  font-weight: 900;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

label {
  display: grid;
  gap: 9px;
  margin-bottom: 26px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(1, 2, 9, 0.55);
  color: white;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input {
  min-height: 50px;
  padding: 0 16px;
}

textarea {
  min-height: 122px;
  resize: vertical;
  padding: 16px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(207, 205, 222, 0.52);
}

input:focus,
textarea:focus {
  border-color: rgba(178, 73, 255, 0.66);
  background: rgba(4, 5, 17, 0.72);
  box-shadow: 0 0 0 4px rgba(169, 52, 255, 0.12);
}

.contact-form .primary-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contact-form .primary-button:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.whatsapp-button {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #f4f2ff;
  font-weight: 800;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 99, 255, 0.58);
  background: rgba(165, 87, 255, 0.08);
  box-shadow: 0 16px 42px rgba(100, 45, 180, 0.22);
}

.floating-whatsapp {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 20;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(145, 105, 255, 0.5);
  border-radius: 50%;
  color: #f7f4ff;
  background: linear-gradient(145deg, rgba(116, 67, 232, 0.96), rgba(52, 30, 115, 0.96));
  box-shadow: 0 12px 36px rgba(91, 52, 205, 0.42), inset 0 1px rgba(255, 255, 255, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(142, 101, 255, 0.18);
  border-radius: inherit;
}

.floating-whatsapp svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(156, 123, 255, 0.85);
  box-shadow: 0 16px 44px rgba(91, 52, 205, 0.58), inset 0 1px rgba(255, 255, 255, 0.25);
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: #98f3ff;
  font-size: 14px;
  font-weight: 750;
}

.form-status.error {
  color: #ff9fb4;
}

.form-status.success {
  color: #98f3ff;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 4, 16, 0.74);
}

.footer-inner {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-weight: 650;
}

.footer-inner > div {
  display: flex;
  gap: 28px;
}

.footer-inner a:hover {
  color: white;
}

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

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

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

@media (max-width: 1180px) {
  .nav-shell {
    width: min(100% - 32px, 1080px);
    gap: 14px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(5, 5, 17, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-links a {
    padding: 15px 14px;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .split-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    display: flex;
  }

  .hero-grid {
    gap: 44px;
  }

  .services-grid,
  .project-grid,
  .solutions-grid,
  .process-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .container,
  .nav-shell {
    width: min(100% - 32px, 720px);
  }

  .site-header {
    height: 68px;
  }

  .nav-shell {
    gap: 14px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(5, 5, 17, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-links a {
    padding: 15px 14px;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.055);
  }

  .brand > span:not(.brand-mark-crop) {
    font-size: 15px;
  }

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

  .hero h1 {
    max-width: 720px;
    margin-bottom: 20px;
    font-size: clamp(42px, 10.5vw, 66px);
    line-height: 1.06;
  }

  .hero p {
    max-width: 620px;
    font-size: 18px;
  }

  .eyebrow {
    margin-bottom: 24px;
  }

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

  .orbit-card {
    width: min(78vw, 360px);
    border-radius: 24px;
  }

  .section {
    padding: 88px 0;
  }

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

  .services-grid,
  .project-grid,
  .solutions-grid,
  .process-grid,
  .work-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .process::before {
    display: none;
  }

  .process-step,
  .work-card {
    min-height: auto;
  }

  .solution-card {
    min-height: 250px;
  }

  .catalog-stage {
    padding-top: 0;
  }

  .catalog-track {
    gap: 18px;
    padding-inline: 52px;
  }

  .catalog-star {
    width: 230px;
    flex-basis: 230px;
    min-height: 318px;
  }

  .catalog-button {
    width: 42px;
    height: 42px;
  }

  .catalog-button-prev {
    left: 12px;
  }

  .catalog-button-next {
    right: 12px;
  }

  .logo-preview {
    min-height: 380px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 0;
  }
}

@media (max-width: 520px) {
  .container,
  .nav-shell {
    width: min(100% - 24px, 480px);
  }

  .brand {
    gap: 8px;
  }

  .brand-mark-crop {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 11px;
  }

  .brand-mark-crop img {
    width: 106px;
  }

  .brand > span:not(.brand-mark-crop) {
    max-width: 142px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .hero {
    padding-top: 88px;
    padding-bottom: 34px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.8vw, 44px);
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 15.5px;
    line-height: 1.5;
  }

  .eyebrow {
    margin-bottom: 18px;
    padding: 7px 13px;
    font-size: 11px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .glass-card,
  .process-step,
  .work-card,
  .contact-form {
    padding: 24px;
  }

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

  .orbit-card {
    width: min(74vw, 238px);
    border-radius: 22px;
  }

  .orbit-card img {
    width: 116%;
  }

  .signal-line {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

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

  .section-heading h2,
  .solutions-heading h2,
  .identity-inner h2,
  .contact-copy h2,
  .final-cta-inner h2 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.1;
  }

  .process-grid,
  .work-grid {
    gap: 16px;
  }

  .process-step span,
  .work-card span,
  .final-cta-inner span {
    margin-bottom: 18px;
  }

  .process-step h3,
  .work-card h3 {
    font-size: 21px;
  }

  .final-cta {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .final-cta-inner {
    padding: 34px 24px;
    border-radius: 18px;
  }

  .catalog-track {
    gap: 14px;
    padding-inline: 44px;
  }

  .catalog-star {
    width: 190px;
    flex-basis: 190px;
    min-height: 268px;
    border-radius: 16px;
  }

  .catalog-star h3 {
    min-height: 48px;
    margin: 0 18px 20px;
    font-size: 18px;
  }

  .catalog-star span {
    margin-inline: 18px;
    font-size: 11px;
  }

  .catalog-button {
    width: 38px;
    height: 38px;
  }

  .contact-list a,
  .contact-list p {
    font-size: 16px;
  }
}

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