:root {
  --ink: #121417;
  --muted: #5d6670;
  --line: rgba(18, 20, 23, 0.12);
  --paper: #f7faf7;
  --white: #ffffff;
  --green: #31c98b;
  --blue: #1769ff;
  --coral: #ff6b4a;
  --dark: #111417;
  --dark-2: #080b0e;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(18, 20, 23, 0.12);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(17, 20, 23, 0.78);
  color: #fff;
  backdrop-filter: blur(18px);
  transition: padding 0.28s var(--ease), background 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(17, 20, 23, 0.94);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
}

.brand img {
  width: clamp(150px, 16vw, 218px);
  height: auto;
  transition: transform 0.35s var(--ease);
}

.brand:hover img {
  transform: rotate(-2deg) scale(1.04);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  font-weight: 700;
}

.site-nav a,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s var(--ease);
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer a:hover {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.nav-cta::before,
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 48%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.6s var(--ease);
}

.nav-cta:hover::before,
.button:hover::before {
  transform: translateX(130%);
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.button.primary {
  background: linear-gradient(135deg, var(--ink), #253039);
  color: #fff;
  box-shadow: 0 18px 42px rgba(18, 20, 23, 0.18);
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(10px);
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  min-height: calc(100svh - 83px);
  padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(247, 250, 247, 0.96) 0%, rgba(247, 250, 247, 0.82) 48%, rgba(8, 11, 14, 0.05) 100%),
    radial-gradient(circle at 12% 18%, rgba(49, 201, 139, 0.18), transparent 30%),
    radial-gradient(circle at 84% 24%, rgba(23, 105, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #f7faf7 0%, #eaf3f0 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(18, 20, 23, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 23, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
  animation: grid-slide 28s linear infinite;
}

.motion-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.motion-bg span {
  position: absolute;
  width: 26vw;
  aspect-ratio: 1;
  border: 1px solid rgba(18, 20, 23, 0.06);
  border-radius: 36%;
  background: linear-gradient(135deg, rgba(49, 201, 139, 0.12), rgba(23, 105, 255, 0.08));
  animation: drift 16s var(--ease) infinite alternate;
}

.motion-bg span:nth-child(1) {
  left: -9vw;
  top: 12%;
}

.motion-bg span:nth-child(2) {
  right: 5vw;
  top: 8%;
  width: 18vw;
  animation-delay: -5s;
}

.motion-bg span:nth-child(3) {
  right: 14vw;
  bottom: -11vw;
  width: 32vw;
  animation-delay: -9s;
}

.hero h1,
.section h1,
.section h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  background: linear-gradient(100deg, #121417 0%, #27333b 42%, #1769ff 86%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: headline-shift 8s ease-in-out infinite alternate;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(18, 20, 23, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #2a3238;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
  animation: tag-pop 0.7s var(--ease) both;
}

.hero-tags span:nth-child(2) { animation-delay: 90ms; }
.hero-tags span:nth-child(3) { animation-delay: 180ms; }
.hero-tags span:nth-child(4) { animation-delay: 270ms; }
.hero-tags span:nth-child(5) { animation-delay: 360ms; }

.section h1,
.section h2 {
  font-size: clamp(34px, 5vw, 68px);
}

.hero-text,
.section p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
  transform-origin: left;
  animation: pulse-line 2.4s ease-in-out infinite;
}

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

.hero-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  animation: card-float 9s ease-in-out infinite;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 40%, rgba(8, 11, 14, 0.28)),
    linear-gradient(110deg, rgba(255,255,255,0.16), transparent 36%);
  pointer-events: none;
}

.hero-card img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  transform: scale(1.02);
}

.floating-dashboard {
  z-index: 3;
  position: absolute;
  right: clamp(16px, 3vw, 36px);
  bottom: clamp(16px, 3vw, 36px);
  width: min(280px, 72%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(17, 20, 23, 0.76);
  color: #fff;
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.24);
  animation: panel-float 4.8s ease-in-out infinite;
}

.orbit {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  pointer-events: none;
}

.orbit::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px rgba(49, 201, 139, 0.8);
}

.orbit-one {
  width: 170px;
  height: 170px;
  right: -36px;
  top: 24px;
  animation: orbit-spin 14s linear infinite;
}

.orbit-one::after {
  left: 22px;
  top: 18px;
}

.orbit-two {
  width: 110px;
  height: 110px;
  left: 28px;
  bottom: 38px;
  animation: orbit-spin 10s linear infinite reverse;
}

.orbit-two::after {
  right: 6px;
  bottom: 16px;
  background: var(--coral);
}

.dash-top {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.dash-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.dash-top span:nth-child(2) {
  background: var(--blue);
}

.dash-top span:nth-child(3) {
  background: var(--coral);
}

.floating-dashboard strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.floating-dashboard p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.mobile-live-card {
  display: none;
}

.dash-bars {
  display: grid;
  gap: 7px;
}

.dash-bars span {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), rgba(255, 255, 255, 0.2));
  transform-origin: left;
  animation: load-bar 2.8s ease-in-out infinite;
}

.dash-bars span:nth-child(2) {
  width: 76%;
  animation-delay: -0.7s;
}

.dash-bars span:nth-child(3) {
  width: 62%;
  animation-delay: -1.4s;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.marquee-strip {
  overflow: hidden;
  border-block: 1px solid rgba(18, 20, 23, 0.1);
  background: var(--dark-2);
  color: #fff;
}

.marquee-strip div {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee-strip span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 900;
  white-space: nowrap;
}

.marquee-strip span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.stats div {
  padding: clamp(24px, 4vw, 48px);
  background: #fff;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.stats div:hover {
  transform: translateY(-6px);
  background: #fafffb;
}

.stats strong {
  display: block;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

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

.section {
  padding: clamp(58px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.section-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.image-frame {
  position: relative;
  border-radius: var(--radius);
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(135deg, rgba(49, 201, 139, 0.22), rgba(23, 105, 255, 0.14), rgba(255, 107, 74, 0.12));
  z-index: -1;
  animation: glow-shift 6s ease-in-out infinite alternate;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 34px;
}

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

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

.card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.card::after,
.project-item::after,
.contact-panel::after,
.form-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(49, 201, 139, 0.12), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(49, 201, 139, 0.36);
  box-shadow: var(--shadow);
}

.card:hover::after,
.project-item:hover::after,
.contact-panel:hover::after,
.form-card:hover::after {
  opacity: 1;
}

.card span {
  color: var(--coral);
  font-weight: 900;
}

.card h3 {
  margin: 52px 0 12px;
  font-size: 25px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(102, 255, 224, 0.2);
  border-radius: 50%;
  background: rgba(102, 255, 224, 0.08);
  font-size: 24px;
}

.card p {
  font-size: 16px;
}

.service-stack {
  display: grid;
  gap: 18px;
}

.service-panel {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: start;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 70px rgba(18, 20, 23, 0.08);
  overflow: hidden;
}

.service-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(49, 201, 139, 0.12), transparent 46%, rgba(23, 105, 255, 0.08));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.service-panel:hover::before {
  opacity: 1;
}

.service-panel > * {
  position: relative;
}

.service-panel > span {
  color: var(--coral);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 1000;
  line-height: 0.9;
}

.service-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1;
}

.service-panel p {
  margin-top: 14px;
}

.service-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-panel li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.service-panel li b {
  color: var(--ink);
}

.dark-band {
  background:
    linear-gradient(135deg, rgba(17, 20, 23, 0.94), rgba(17, 20, 23, 0.98)),
    radial-gradient(circle at 15% 20%, rgba(49, 201, 139, 0.18), transparent 32%),
    var(--dark);
  color: #fff;
}

.creative-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: #eef5f1;
}

.lab-board {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(18, 20, 23, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(rgba(18, 20, 23, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 23, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(49, 201, 139, 0.16), transparent 36%),
    #fff;
  background-size: 42px 42px, 42px 42px, auto, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lab-board::before,
.lab-board::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 66%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 105, 255, 0.45), transparent);
  transform-origin: left;
  animation: radar-sweep 5s linear infinite;
}

.lab-board::after {
  animation-delay: -2.5s;
}

.lab-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark), #24323b);
  color: #fff;
  font-weight: 1000;
  line-height: 1.05;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 24px 70px rgba(18, 20, 23, 0.22);
}

.lab-node {
  position: absolute;
  width: min(210px, 42%);
  padding: 18px;
  border: 1px solid rgba(18, 20, 23, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(18, 20, 23, 0.08);
  animation: node-float 5.5s ease-in-out infinite;
}

.lab-node b,
.lab-node span {
  display: block;
}

.lab-node span {
  color: var(--muted);
  font-weight: 700;
}

.lab-node:nth-child(1) {
  left: 8%;
  top: 12%;
}

.lab-node:nth-child(2) {
  right: 8%;
  top: 16%;
  animation-delay: -1.2s;
}

.lab-node:nth-child(3) {
  left: 9%;
  bottom: 13%;
  animation-delay: -2.4s;
}

.lab-node:nth-child(4) {
  right: 7%;
  bottom: 12%;
  animation-delay: -3.6s;
}

.lab-node.active {
  border-color: rgba(49, 201, 139, 0.55);
}

.dark-band .eyebrow {
  color: var(--green);
}

.dark-band p {
  color: rgba(255, 255, 255, 0.68);
}

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

.process div {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.process div::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.process div:hover {
  transform: translateY(-8px);
  border-color: rgba(49, 201, 139, 0.38);
}

.process div:hover::before {
  transform: scaleX(1);
}

.process b {
  font-size: 24px;
}

.cta {
  text-align: center;
}

.cta h2,
.cta p {
  margin-inline: auto;
}

.site-footer {
  position: relative;
  overflow: hidden;
  display: block;
  padding: clamp(48px, 7vw, 82px) clamp(18px, 5vw, 72px) 26px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(102, 255, 224, 0.16), transparent 26%),
    radial-gradient(circle at 90% 12%, rgba(87, 166, 255, 0.14), transparent 26%),
    linear-gradient(rgba(102, 255, 224, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 166, 255, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 58px 58px, 58px 58px;
  pointer-events: none;
}

.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(150px, 0.7fr) minmax(180px, 0.9fr) minmax(220px, 1fr);
  gap: 18px;
}

.footer-brand,
.footer-links,
.footer-contact {
  border: 1px solid rgba(102, 255, 224, 0.13);
  border-radius: 18px;
  background: rgba(8, 14, 24, 0.56);
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 24px rgba(102, 255, 224, 0.035);
}

.site-footer img {
  width: min(230px, 100%);
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.footer-brand span,
.footer-links span,
.footer-bottom span {
  color: rgba(255, 255, 255, 0.66);
}

.footer-socials {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(102, 255, 224, 0.2);
  border-radius: 50%;
  background: rgba(102, 255, 224, 0.07);
  color: #dffcff;
  font-size: 13px;
  font-weight: 1000;
  box-shadow: inset 0 0 18px rgba(102, 255, 224, 0.04);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), background 0.28s var(--ease);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 255, 224, 0.48);
  background: rgba(102, 255, 224, 0.14);
}

.footer-socials a:nth-child(1):hover {
  color: #1877f2;
}

.footer-socials a:nth-child(2):hover {
  color: #e4405f;
}

.footer-socials a:nth-child(3):hover {
  color: #0a66c2;
}

.footer-socials a:nth-child(4):hover {
  color: #ffffff;
}

.footer-contact {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: center;
  gap: 10px 14px;
}

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
}

.footer-links h3 {
  flex: 0 0 100%;
}

.footer-links a,
.footer-contact a {
  width: fit-content;
}

.footer-whatsapp {
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(37, 211, 102, 0.34);
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.12);
  color: #dfffea !important;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 18px 14px 14px;
  border: 1px solid rgba(37, 211, 102, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.96), rgba(18, 140, 78, 0.96));
  color: #03100a;
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 18px 54px rgba(37, 211, 102, 0.26), 0 0 0 8px rgba(37, 211, 102, 0.08);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.whatsapp-float::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 28%, transparent 30%),
    linear-gradient(135deg, #fff, #dfffea);
  mask:
    radial-gradient(circle at 50% 50%, #000 0 99%, transparent 100%);
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: inherit;
  animation: whatsapp-pulse 1.8s ease-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 70px rgba(37, 211, 102, 0.34), 0 0 0 10px rgba(37, 211, 102, 0.1);
}

.page-hero {
  position: relative;
  padding: clamp(70px, 12vw, 150px) clamp(18px, 5vw, 72px) clamp(46px, 7vw, 86px);
  background:
    radial-gradient(circle at 80% 18%, rgba(23, 105, 255, 0.18), transparent 28%),
    radial-gradient(circle at 14% 80%, rgba(49, 201, 139, 0.12), transparent 30%),
    var(--dark);
  color: #fff;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 34%;
  animation: spin-soft 18s linear infinite;
}

.page-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 1.6vw, 24px);
}

.page-hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.96;
}

.list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 800;
}

.project-list {
  display: grid;
  gap: 18px;
}

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

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.project-card-grid article {
  position: relative;
  min-height: 160px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.project-card-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(49, 201, 139, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(23, 105, 255, 0.08), transparent 55%);
  pointer-events: none;
}

.project-card-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(49, 201, 139, 0.38);
  box-shadow: var(--shadow);
}

.project-item {
  position: relative;
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.project-item:hover {
  transform: translateY(-8px);
  border-color: rgba(23, 105, 255, 0.26);
  box-shadow: var(--shadow);
}

.project-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 30px;
}

.contact-panel,
.form-card {
  position: relative;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.contact-panel a,
.contact-panel span {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 900;
}

.form-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 800;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #fbfdfb;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  outline: none;
  border-color: rgba(23, 105, 255, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.1);
}

.form-card textarea {
  min-height: 140px;
  resize: vertical;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy.reveal,
.hero-card.reveal,
.page-hero.reveal {
  opacity: 1;
  transform: none;
}

.card,
.process div,
.stats div,
.project-item {
  will-change: transform;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(24px, -28px, 0) rotate(18deg);
  }
}

@keyframes headline-shift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes pulse-line {
  0%, 100% {
    transform: scaleX(0.55);
    opacity: 0.6;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes card-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes panel-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes load-bar {
  0%, 100% {
    transform: scaleX(0.5);
    opacity: 0.62;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes glow-shift {
  from {
    opacity: 0.55;
    transform: translateY(0);
  }
  to {
    opacity: 0.95;
    transform: translateY(-8px);
  }
}

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

@keyframes grid-slide {
  to {
    background-position: 104px 104px;
  }
}

@keyframes tag-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

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

@keyframes radar-sweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes node-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .split,
  .section-heading,
  .creative-lab,
  .project-item,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 12px;
  }

  .nav-cta {
    display: none;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .nav-cta {
    display: flex;
  }

  .site-header.nav-open .nav-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .card-grid,
  .services-grid,
  .project-card-grid,
  .service-panel,
  .process {
    grid-template-columns: repeat(2, 1fr);
  }

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

}

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
    padding: 16px 18px;
  }

  .brand img {
    width: 132px;
  }

  .site-nav {
    font-size: 15px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .nav-cta {
    min-height: 40px;
    padding: 11px 14px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    gap: 28px;
  }

  .hero-card.reveal {
    opacity: 1;
    transform: none;
  }

  .mobile-live-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    align-items: center;
    margin-top: 24px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 48px rgba(18, 20, 23, 0.08);
    backdrop-filter: blur(12px);
  }

  .mobile-live-card span {
    width: 12px;
    height: 12px;
    grid-row: span 2;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 8px rgba(49, 201, 139, 0.12);
    animation: live-dot 1.4s ease-in-out infinite;
  }

  .mobile-live-card strong {
    line-height: 1.1;
  }

  .mobile-live-card small {
    color: var(--muted);
    font-weight: 700;
  }

  .hero-card img {
    min-height: 260px;
  }

  .floating-dashboard {
    width: calc(100% - 32px);
    left: 16px;
    right: 16px;
  }

  .orbit {
    display: none;
  }

  .lab-board {
    min-height: 560px;
  }

  .lab-node {
    width: calc(100% - 38px);
    left: 19px !important;
    right: auto !important;
  }

  .lab-node:nth-child(1) { top: 24px; }
  .lab-node:nth-child(2) { top: 128px; }
  .lab-node:nth-child(3) { bottom: 128px; }
  .lab-node:nth-child(4) { bottom: 24px; }

  .stats,
  .card-grid,
  .services-grid,
  .project-card-grid,
  .service-panel,
  .process {
    grid-template-columns: 1fr;
  }

  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-main {
    display: grid;
  }

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

@keyframes whatsapp-pulse {
  0% {
    opacity: 0.75;
    transform: scale(0.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes live-dot {
  0%, 100% {
    transform: scale(0.86);
    opacity: 0.7;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@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;
  }
}

/* Futuristic visual layer */
:root {
  --ink: #f7fbff;
  --muted: #9aa9b8;
  --line: rgba(102, 255, 224, 0.18);
  --paper: #06090f;
  --white: #ffffff;
  --green: #66ffe0;
  --blue: #57a6ff;
  --coral: #ff4fd8;
  --dark: #070b12;
  --dark-2: #020409;
  --shadow: 0 28px 90px rgba(0, 255, 210, 0.11);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(87, 166, 255, 0.22), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(102, 255, 224, 0.16), transparent 26%),
    linear-gradient(180deg, #06090f 0%, #09111a 42%, #05070c 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(102, 255, 224, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 166, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 5px);
  opacity: 0.32;
  pointer-events: none;
}

.site-header {
  border-bottom-color: rgba(102, 255, 224, 0.18);
  background: rgba(2, 4, 9, 0.72);
  box-shadow: 0 0 0 1px rgba(102, 255, 224, 0.04);
}

.site-header.is-scrolled {
  background: rgba(2, 4, 9, 0.92);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.4), 0 0 36px rgba(102, 255, 224, 0.08);
}

.nav-cta,
.button {
  border: 1px solid rgba(102, 255, 224, 0.42);
  box-shadow: inset 0 0 18px rgba(102, 255, 224, 0.07), 0 0 28px rgba(102, 255, 224, 0.08);
}

.button.primary {
  background: linear-gradient(135deg, #66ffe0 0%, #57a6ff 100%);
  color: #020409;
  box-shadow: 0 18px 60px rgba(102, 255, 224, 0.24);
}

.button.ghost {
  border-color: rgba(87, 166, 255, 0.42);
  background: rgba(8, 14, 24, 0.72);
  color: #dfefff;
}

.hero {
  background:
    linear-gradient(115deg, rgba(2, 4, 9, 0.92) 0%, rgba(7, 16, 26, 0.82) 48%, rgba(2, 4, 9, 0.66) 100%),
    radial-gradient(circle at 8% 18%, rgba(102, 255, 224, 0.2), transparent 30%),
    radial-gradient(circle at 86% 28%, rgba(255, 79, 216, 0.16), transparent 28%),
    radial-gradient(circle at 70% 82%, rgba(87, 166, 255, 0.2), transparent 34%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(102, 255, 224, 0.12);
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 42px 100%, 0 calc(100% - 42px));
  pointer-events: none;
}

.hero-grid-lines {
  opacity: 0.72;
  background-image:
    linear-gradient(rgba(102, 255, 224, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 166, 255, 0.08) 1px, transparent 1px);
}

.motion-bg span {
  border-color: rgba(102, 255, 224, 0.2);
  background: linear-gradient(135deg, rgba(102, 255, 224, 0.12), rgba(87, 166, 255, 0.09));
  box-shadow: 0 0 70px rgba(102, 255, 224, 0.12);
}

.hero h1 {
  background: linear-gradient(100deg, #ffffff 0%, #66ffe0 42%, #57a6ff 76%, #ff4fd8 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 44px rgba(102, 255, 224, 0.12);
}

.hero-text,
.section p,
.service-panel li,
.stats span {
  color: #9fb0c1;
}

.eyebrow {
  color: var(--green);
  text-shadow: 0 0 20px rgba(102, 255, 224, 0.35);
}

.hero-tags span,
.mobile-live-card,
.stats div,
.card,
.service-panel,
.contact-panel,
.form-card,
.project-item,
.project-card-grid article,
.lab-node {
  border-color: rgba(102, 255, 224, 0.16);
  background: linear-gradient(180deg, rgba(14, 24, 36, 0.72), rgba(7, 11, 18, 0.82));
  color: #f7fbff;
  backdrop-filter: blur(18px);
}

.hero-tags span {
  color: #dffcff;
  box-shadow: inset 0 0 14px rgba(102, 255, 224, 0.08);
}

.hero-card,
.image-frame,
.lab-board {
  border-radius: 22px;
  border: 1px solid rgba(102, 255, 224, 0.2);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.36), 0 0 70px rgba(87, 166, 255, 0.12);
}

.hero-card::after,
.image-frame::after,
.lab-board > .lab-core::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(102, 255, 224, 0.16) 44%, transparent 58%);
  transform: translateX(-140%);
  animation: futuristic-scan 5.5s ease-in-out infinite;
}

.hero-card img,
.section-image,
.project-item img {
  filter: saturate(1.12) contrast(1.08);
}

.floating-dashboard {
  border-color: rgba(102, 255, 224, 0.34);
  background: rgba(2, 4, 9, 0.78);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.42), 0 0 46px rgba(102, 255, 224, 0.16);
}

.dash-bars span {
  background: linear-gradient(90deg, var(--green), var(--blue), rgba(255, 255, 255, 0.16));
}

.orbit {
  border-color: rgba(102, 255, 224, 0.42);
  box-shadow: 0 0 35px rgba(102, 255, 224, 0.1);
}

.stats {
  background: rgba(102, 255, 224, 0.12);
  border-block-color: rgba(102, 255, 224, 0.18);
}

.stats div:hover,
.card:hover,
.project-item:hover,
.project-card-grid article:hover {
  border-color: rgba(102, 255, 224, 0.44);
  background: linear-gradient(180deg, rgba(16, 32, 45, 0.9), rgba(7, 11, 18, 0.9));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), 0 0 55px rgba(102, 255, 224, 0.12);
}

.stats strong,
.card span,
.service-panel > span {
  color: var(--green);
  text-shadow: 0 0 24px rgba(102, 255, 224, 0.24);
}

.marquee-strip {
  border-block-color: rgba(102, 255, 224, 0.2);
  background: linear-gradient(90deg, #020409, #07101a, #020409);
}

.marquee-strip span {
  color: rgba(223, 252, 255, 0.86);
}

.marquee-strip span::after {
  box-shadow: 0 0 20px var(--green);
}

.section,
.creative-lab {
  background: transparent;
}

.image-frame::before {
  background: linear-gradient(135deg, rgba(102, 255, 224, 0.22), rgba(87, 166, 255, 0.18), rgba(255, 79, 216, 0.14));
}

.text-link {
  color: var(--green);
}

.dark-band,
.page-hero,
.site-footer {
  background:
    radial-gradient(circle at 80% 18%, rgba(87, 166, 255, 0.15), transparent 28%),
    radial-gradient(circle at 12% 76%, rgba(102, 255, 224, 0.12), transparent 30%),
    linear-gradient(135deg, #020409, #07101a 58%, #020409);
}

.lab-board {
  background:
    linear-gradient(rgba(102, 255, 224, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 166, 255, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(102, 255, 224, 0.16), transparent 36%),
    #050b12;
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.lab-core {
  background: radial-gradient(circle at 30% 25%, rgba(102, 255, 224, 0.24), transparent 32%), linear-gradient(135deg, #05090f, #0e2233);
  border: 1px solid rgba(102, 255, 224, 0.28);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.44), 0 0 60px rgba(102, 255, 224, 0.22);
  overflow: hidden;
}

.service-panel li {
  border-color: rgba(102, 255, 224, 0.12);
  background: rgba(2, 4, 9, 0.42);
}

.service-panel li b,
.contact-panel a,
.contact-panel span {
  color: #eaffff;
}

.form-card input,
.form-card textarea,
.form-card select {
  border-color: rgba(102, 255, 224, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: #06111f;
  caret-color: #6c2ea0;
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  border-color: rgba(102, 255, 224, 0.65);
  background: #ffffff;
  color: #06111f;
  box-shadow: 0 0 0 4px rgba(102, 255, 224, 0.1), 0 0 34px rgba(102, 255, 224, 0.1);
}

.form-card input::placeholder,
.form-card textarea::placeholder {
  color: rgba(6, 17, 31, 0.5);
}

.form-card input:-webkit-autofill,
.form-card textarea:-webkit-autofill,
.form-card select:-webkit-autofill {
  -webkit-text-fill-color: #06111f;
  box-shadow: 0 0 0 1000px #ffffff inset;
}

@keyframes futuristic-scan {
  0%, 42% {
    transform: translateX(-140%);
  }
  68%, 100% {
    transform: translateX(140%);
  }
}
