:root {
  --bg: #050b15;
  --bg-soft: #07111f;
  --panel: #0a1627;
  --panel-2: #10192c;
  --text: #ffffff;
  --muted: #a9b3c5;
  --quiet: #768197;
  --blue: #4285ff;
  --purple: #7657ff;
  --violet: #b64dff;
  --pink: #e24bd1;
  --border: rgba(132, 164, 216, 0.2);
  --glow: 0 0 34px rgba(118, 87, 255, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 68% 6%, rgba(118, 87, 255, 0.24), transparent 28rem),
    radial-gradient(circle at 22% 32%, rgba(66, 133, 255, 0.1), transparent 26rem),
    linear-gradient(180deg, #050b15 0%, #07111f 48%, #050b15 100%);
  letter-spacing: 0;
}

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

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 58%);
}

.navbar {
  align-items: center;
  display: flex;
  gap: 22px;
  height: 74px;
  justify-content: space-between;
  left: 50%;
  max-width: 1220px;
  padding: 0 48px;
  position: fixed;
  top: 0;
  transform: translateX(-50%);
  transition: background 0.2s ease, border-color 0.2s ease, height 0.2s ease;
  width: 100%;
  z-index: 20;
}

.navbar.scrolled {
  background: rgba(5, 11, 21, 0.78);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  height: 64px;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 9px;
  min-width: max-content;
  perspective: 380px;
}

.brand img {
  animation: brand-mark-float 4.8s ease-in-out infinite;
  display: block;
  filter: drop-shadow(0 0 14px rgba(182, 77, 255, 0.26));
  height: 42px;
  object-fit: contain;
  transform-origin: center bottom;
  transition: filter 0.3s ease, transform 0.3s ease;
  width: 42px;
}

.brand:hover img,
.brand:focus-visible img {
  animation-play-state: paused;
  filter: drop-shadow(0 0 8px rgba(158, 102, 255, 0.82)) drop-shadow(0 0 24px rgba(101, 70, 255, 0.58)) drop-shadow(0 12px 18px rgba(123, 73, 255, 0.34));
  transform: translateY(-3px) rotateX(9deg) rotateY(-14deg) rotateZ(-4deg) scale(1.08);
}

@keyframes brand-mark-float {
  0%, 100% {
    transform: translateY(0) rotateX(0) rotateY(0) rotateZ(0);
  }

  50% {
    transform: translateY(-3px) rotateX(4deg) rotateY(-6deg) rotateZ(-2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand img {
    animation: none;
  }
}

.brand strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.brand:hover strong,
.brand:focus-visible strong {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(187, 132, 255, 0.5);
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 3px;
}

.desktop-nav {
  align-items: center;
  display: none;
  gap: 28px;
  justify-content: center;
  margin-left: 84px;
  margin-right: auto;
}

.desktop-nav a,
.footer nav a,
.mobile-nav a:not(.quote-button) {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

.desktop-nav a:hover,
.footer nav a:hover,
.mobile-nav a:hover {
  color: #fff;
  text-shadow: 0 0 20px rgba(118, 87, 255, 0.7);
}

.quote-button,
.primary-button,
.secondary-button,
.whatsapp-button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 47px;
  padding: 0 29px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.quote-button,
.primary-button {
  background: linear-gradient(100deg, var(--blue), var(--purple) 52%, var(--violet));
  box-shadow: 0 10px 30px rgba(118, 87, 255, 0.28);
  color: white;
}

.desktop-quote {
  font-size: 13px;
  min-height: 42px;
  padding-inline: 24px;
}

.secondary-button,
.whatsapp-button {
  background: rgba(5, 11, 21, 0.24);
  border: 1px solid rgba(169, 179, 197, 0.72);
  color: white;
}

.quote-button:hover,
.primary-button:hover,
.secondary-button:hover,
.whatsapp-button:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  box-shadow: 0 14px 36px rgba(182, 77, 255, 0.34);
}

.quote-button,
.primary-button {
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.quote-button::after,
.primary-button::after {
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.3) 50%, transparent 68%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-125%);
  transition: transform 0.55s ease;
  z-index: 0;
}

.quote-button:hover::after,
.primary-button:hover::after {
  transform: translateX(125%);
}

.menu-toggle {
  align-items: center;
  background: rgba(18, 30, 54, 0.7);
  border: 1px solid rgba(132, 164, 216, 0.3);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: block;
  height: 42px;
  justify-content: center;
  margin-left: auto;
  padding: 0;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 42px;
}

.menu-toggle span {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 99px;
  display: block;
  height: 2px;
  left: 10px;
  margin: 0;
  position: absolute;
  top: 50%;
  transition: transform 0.22s ease, width 0.22s ease;
  width: 20px;
}

.menu-toggle span:first-child {
  transform: translateY(-5px);
}

.menu-toggle span:last-child {
  transform: translateY(5px);
}

.menu-toggle:hover {
  background: rgba(55, 37, 103, 0.76);
  border-color: rgba(182, 77, 255, 0.62);
  box-shadow: 0 10px 26px rgba(79, 39, 169, 0.28);
  transform: translateY(-1px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  background: linear-gradient(145deg, rgba(19, 31, 55, 0.97), rgba(5, 11, 21, 0.98));
  border: 1px solid rgba(132, 164, 216, 0.28);
  border-radius: 12px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(182, 77, 255, 0.06);
  backdrop-filter: blur(18px);
  display: none;
  flex-direction: column;
  gap: 2px;
  left: 20px;
  padding: 8px;
  position: fixed;
  right: 20px;
  top: 78px;
  z-index: 19;
}

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

.mobile-nav a {
  border-radius: 8px;
  padding: 12px 14px;
}

.mobile-nav a:hover {
  background: rgba(112, 77, 225, 0.16);
}

@media (min-width: 821px) {
  .mobile-nav {
    left: auto;
    right: 48px;
    top: 82px;
    width: 240px;
  }
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(430px, 0.78fr) minmax(500px, 1.22fr);
  margin: 0 auto;
  max-width: 1220px;
  min-height: 444px;
  padding: 80px 48px 0;
}

.hero-copy {
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: #75a5ff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin: 0 0 16px;
}

.eyebrow {
  background: rgba(182, 77, 255, 0.16);
  border: 1px solid rgba(182, 77, 255, 0.34);
  border-radius: 999px;
  color: #d9b0ff;
  display: inline-flex;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 6px 13px;
}

.hero h1 {
  font-size: clamp(48px, 4vw, 60px);
  font-weight: 900;
  line-height: 0.96;
  margin: 0;
  max-width: 510px;
}

.hero h1 span,
.process-heading h2 > span:not(.process-title-plain) {
  background: linear-gradient(100deg, #b783ff 0%, var(--violet) 46%, #4c8dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 .plain {
  background: none;
  color: white;
  white-space: nowrap;
}

.hero-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.38;
  margin: 13px 0 17px;
  max-width: 455px;
}

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

.mini-benefits {
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 19px;
}

.mini-benefits span {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  gap: 8px;
}

.mini-benefits i {
  color: var(--violet);
  font-size: 18px;
  font-style: normal;
  text-shadow: 0 0 18px rgba(182, 77, 255, 0.8);
}

.hero-art {
  margin-left: -36px;
  min-height: 316px;
  overflow: visible;
  perspective: 1200px;
  position: relative;
  transform-style: preserve-3d;
  animation: hero-art-float 6s ease-in-out infinite;
}

.hero-art::before {
  background: radial-gradient(circle, rgba(118, 87, 255, 0.34), transparent 58%);
  content: "";
  filter: blur(22px);
  inset: 12% 5% 0 8%;
  position: absolute;
}

.hero-art::after {
  background:
    linear-gradient(90deg, #050b15 0%, rgba(5, 11, 21, 0.84) 7%, transparent 24%),
    linear-gradient(0deg, rgba(5, 11, 21, 0.9) 0%, transparent 34%),
    linear-gradient(180deg, rgba(5, 11, 21, 0.34) 0%, transparent 24%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-art img {
  display: block;
  filter: drop-shadow(0 24px 70px rgba(0, 0, 0, 0.42));
  height: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 8%, #000 19%, #000 100%);
  min-height: 316px;
  object-fit: cover;
  object-position: center;
  position: relative;
  transform: rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg)) translate3d(var(--hero-shift-x, 0px), var(--hero-shift-y, 0px), 24px);
  transform-origin: center;
  transition: transform 0.35s ease-out, filter 0.35s ease-out;
  width: 100%;
  will-change: transform;
}

.hero-art:hover img {
  filter: drop-shadow(0 32px 82px rgba(48, 28, 108, 0.42));
}

@keyframes hero-art-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -9px, 0);
  }
}

.hero .primary-button,
.hero .secondary-button {
  min-height: 44px;
  padding-inline: 28px;
}

.benefit-strip {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.92), rgba(5, 11, 21, 0.84));
  border-block: 1px solid rgba(132, 164, 216, 0.12);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(5, 1fr);
  margin-top: -7px;
  padding: 26px max(42px, calc((100vw - 1190px) / 2)) 24px;
}

.benefit-strip article {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-height: 116px;
  text-align: center;
}

.icon-box {
  align-items: center;
  background: linear-gradient(145deg, rgba(66, 133, 255, 0.2), rgba(182, 77, 255, 0.24));
  border: 1px solid rgba(132, 164, 216, 0.18);
  border-radius: 14px;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.04), 0 0 26px rgba(118, 87, 255, 0.24);
  color: #b67cff;
  display: grid;
  font-size: 24px;
  font-weight: 900;
  height: 48px;
  margin-bottom: 13px;
  place-items: center;
  width: 48px;
}

.icon-box svg {
  display: block;
  fill: none;
  height: 26px;
  stroke: #b96dff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.15;
  width: 26px;
}

.benefit-strip .icon-box svg {
  filter: drop-shadow(0 0 9px rgba(182, 77, 255, 0.55));
}

.benefit-strip h2 {
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 8px;
}

.benefit-strip p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
  max-width: 185px;
}

.steps h3 {
  font-size: 16px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.steps p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
  max-width: 160px;
}

.section-grid {
  border-bottom: 1px solid rgba(132, 164, 216, 0.12);
  display: grid;
  gap: 42px;
  grid-template-columns: 265px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1220px;
  padding: 34px 48px 28px;
}

#portfolio {
  scroll-margin-top: 74px;
}

.section-intro h2,
.process-heading h2,
.final-cta h2 {
  font-size: 33px;
  font-weight: 900;
  line-height: 1.03;
  margin: 0 0 18px;
}

.section-intro p:not(.section-kicker),
.final-cta p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.48;
  margin: 0 0 22px;
}

.primary-button.small {
  font-size: 14px;
  min-height: 44px;
  padding-inline: 25px;
}

.portfolio-content {
  min-width: 0;
}

.case-study-card {
  background: linear-gradient(135deg, rgba(18, 30, 54, 0.92), rgba(7, 16, 30, 0.88));
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(390px, 1.28fr);
  min-height: 310px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.case-study-card:hover {
  border-color: rgba(182, 77, 255, 0.48);
  box-shadow: 0 18px 45px rgba(47, 21, 103, 0.22);
  transform: translateY(-3px);
}

.case-study-media {
  background: linear-gradient(135deg, #ffffff, #f4f7fb);
  display: grid;
  min-height: 310px;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.case-study-media picture {
  display: grid;
  height: 100%;
  padding: 0;
  place-items: center;
  position: relative;
  width: 100%;
  z-index: 1;
}

.case-study-media img {
  display: block;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  transition: transform 0.4s ease;
  width: 100%;
  z-index: 1;
}

.case-study-media img.project-logo {
  object-fit: contain;
  padding: 12%;
}

.project-logo-media {
  background: transparent;
}

.project-logo-media picture {
  height: auto;
  max-width: 84%;
}

.project-logo-media img.project-logo {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  height: auto;
  max-height: none;
  padding: 10px 12px;
  width: 100%;
}

.case-study-card:hover .case-study-media img {
  transform: scale(1.018);
}

.case-study-body {
  align-content: center;
  display: grid;
  padding: 30px 32px;
}

.case-study-kicker {
  color: #76a7ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.case-study-body h3 {
  font-size: 22px;
  line-height: 1.08;
  margin: 0 0 12px;
}

.case-study-body > p:not(.case-study-kicker) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 16px;
}

.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.case-study-tags span {
  background: rgba(107, 64, 184, 0.12);
  border: 1px solid rgba(132, 164, 216, 0.18);
  border-radius: 999px;
  color: #d5bbff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 9px;
}

.deliverables {
  border-top: 1px solid rgba(132, 164, 216, 0.14);
  margin-top: 18px;
  padding-top: 15px;
}

.deliverables h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  margin: 0 0 10px;
}

.deliverables ul {
  color: rgba(255, 255, 255, 0.72);
  display: grid;
  font-size: 12px;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.deliverables li::before {
  color: #8fb7ff;
  content: "✓";
  font-weight: 900;
  margin-right: 8px;
}

.price-card {
  background: linear-gradient(180deg, rgba(16, 25, 44, 0.88), rgba(7, 17, 31, 0.8));
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  border-color: rgba(182, 77, 255, 0.45);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

.pricing {
  align-items: center;
  gap: 34px;
  grid-template-columns: 300px minmax(0, 1fr);
  padding-top: 26px;
  padding-bottom: 18px;
}

.pricing-intro h2 {
  font-size: 35px;
}

.price-cards {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  overflow: visible;
  padding: 24px 20px 22px;
  position: relative;
}

.price-card.featured {
  border-color: rgba(182, 77, 255, 0.9);
  box-shadow: 0 0 36px rgba(118, 87, 255, 0.24);
  transform: translateY(-12px);
}

.popular {
  background: linear-gradient(100deg, var(--blue), var(--violet));
  border-radius: 12px 12px 0 0;
  font-size: 11px;
  font-weight: 900;
  height: 28px;
  left: -1px;
  letter-spacing: 0.7px;
  line-height: 28px;
  position: absolute;
  right: -1px;
  text-align: center;
  top: -1px;
}

.price-card.featured h3 {
  margin-top: 14px;
}

.price-card h3 {
  font-size: 18px;
  margin: 0 0 11px;
}

.price-card strong {
  display: block;
  font-size: 29px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
}

.price-card p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.42;
  margin: 0 0 17px;
}

.price-card ul {
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  font-size: 13px;
  gap: 9px;
  list-style: none;
  margin: 0 0 23px;
  padding: 0;
}

.price-card li::before,
.cta-points li::before {
  color: #86b4ff;
  content: "✓";
  font-weight: 900;
  margin-right: 10px;
}

.price-card .primary-button,
.price-card .secondary-button {
  min-height: 41px;
  width: 100%;
}

.process {
  margin: 0 auto;
  max-width: 1220px;
  padding: 18px 48px 22px;
}

.process {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: 330px minmax(0, 1fr);
}

.process-heading h2 {
  font-size: 32px;
  line-height: 1.17;
  margin-bottom: 0;
  max-width: 350px;
}

.steps {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
}

.steps article {
  min-width: 0;
}

.step-arrow {
  color: rgba(255, 255, 255, 0.78);
  font-size: 27px;
  padding-top: 35px;
}

@media (hover: hover) and (pointer: fine) {
  .benefit-strip article {
    border-radius: 12px;
    position: relative;
    transition: background 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
  }

  .benefit-strip article:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .benefit-strip article .icon-box {
    transition: box-shadow 0.28s ease, transform 0.28s ease;
  }

  .benefit-strip article:hover .icon-box {
    box-shadow: 0 0 26px rgba(182, 77, 255, 0.52), 0 0 50px rgba(73, 126, 255, 0.22);
    transform: translateY(-3px) scale(1.08) rotate(-4deg);
  }

  .benefit-strip article:hover .icon-box svg {
    animation: icon-pulse 0.7s ease-in-out infinite alternate;
  }

  .benefit-strip article:hover h2 {
    color: #ffffff;
    text-shadow: 0 0 16px rgba(184, 112, 255, 0.32);
  }

  .steps article {
    border-radius: 10px;
    position: relative;
    transition: background 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
  }

  .steps article:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .steps article:hover .icon-box {
    box-shadow: 0 0 26px rgba(182, 77, 255, 0.5), 0 0 44px rgba(73, 126, 255, 0.18);
  }

  .steps article:hover h3 {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(187, 132, 255, 0.32);
  }

  .steps article:nth-of-type(1):hover .icon-box svg {
    animation: step-chat-pop 0.55s ease-in-out infinite alternate;
  }

  .steps article:nth-of-type(2):hover .icon-box svg {
    animation: step-plan-scan 0.8s ease-in-out infinite alternate;
  }

  .steps article:nth-of-type(3):hover .icon-box svg {
    animation: step-code-pulse 0.65s ease-in-out infinite alternate;
  }

  .steps article:nth-of-type(4):hover .icon-box svg {
    animation: step-launch 0.75s ease-in-out infinite alternate;
  }

  .steps article:hover + .step-arrow {
    color: #d4bbff;
    text-shadow: 0 0 16px rgba(182, 77, 255, 0.7);
    transform: translateX(7px);
  }

  .step-arrow {
    transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
  }
}

@keyframes icon-pulse {
  to {
    filter: drop-shadow(0 0 12px rgba(218, 170, 255, 0.92));
    transform: scale(1.12);
  }
}

@keyframes step-chat-pop {
  to { transform: translateY(-2px) scale(1.14) rotate(-5deg); }
}

@keyframes step-plan-scan {
  to { transform: translateY(-3px); }
}

@keyframes step-code-pulse {
  to { transform: scale(1.14); }
}

@keyframes step-launch {
  to { transform: translate(3px, -4px) rotate(-8deg) scale(1.1); }
}

.final-cta {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: grid;
  gap: 30px;
  grid-template-columns: 405px minmax(0, 1fr) 184px;
  margin: 0 auto 18px;
  max-width: 1188px;
  min-height: 148px;
  overflow: hidden;
  padding: 22px 33px 22px;
  perspective: 1300px;
  position: relative;
  transform: rotateX(var(--cta-tilt-x, 0deg)) rotateY(var(--cta-tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.4s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.cta-bg {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  position: absolute;
  transform: scale(1.03) translate3d(var(--cta-bg-x, 0px), var(--cta-bg-y, 0px), -12px);
  transition: transform 0.65s ease-out;
  width: 100%;
  z-index: -2;
}

.final-cta:hover {
  border-color: rgba(174, 113, 255, 0.45);
  box-shadow: 0 18px 45px rgba(26, 13, 73, 0.25);
}

.final-cta:hover .cta-bg {
  transform: scale(1.08) translate3d(var(--cta-bg-x, 0px), var(--cta-bg-y, 0px), -12px);
}

.final-cta::after {
  background:
    linear-gradient(90deg, rgba(5, 11, 21, 0.08), rgba(10, 22, 39, 0.42) 36%, rgba(5, 11, 21, 0.5) 100%),
    radial-gradient(circle at 22% 55%, rgba(226, 75, 209, 0.12), transparent 20rem);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.cta-mascot {
  animation: cta-mascot-float 4.8s ease-in-out infinite;
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.42));
  left: 42px;
  bottom: -14px;
  max-height: 128px;
  position: absolute;
  width: auto;
}

@keyframes cta-mascot-float {
  0%,
  100% {
    transform: translate3d(0, 0, 18px) rotate(-1deg);
  }
  50% {
    transform: translate3d(0, -8px, 34px) rotate(1deg);
  }
}

.cta-note {
  bottom: 47px;
  color: #f3d9ff;
  font-family: "Comic Sans MS", "Bradley Hand", cursive;
  font-size: 19px;
  font-weight: 700;
  left: 190px;
  line-height: 1.07;
  margin: 0;
  position: absolute;
  text-shadow: 0 0 12px rgba(118, 87, 255, 0.42);
  transform: rotate(-12deg);
}

.cta-copy {
  grid-column: 2;
}

.final-cta .section-kicker {
  font-size: 11px;
  letter-spacing: 1.3px;
  margin-bottom: 6px;
}

.final-cta h2 {
  font-size: 28px;
  margin-bottom: 6px;
}

.final-cta p:not(.section-kicker) {
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.whatsapp-button::before {
  color: #29e47c;
  content: "◉";
}

.cta-points {
  display: grid;
  gap: 13px;
  grid-column: 3;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cta-points li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.footer {
  border-top: 1px solid rgba(132, 164, 216, 0.12);
  margin: 0 auto;
  max-width: 1220px;
  padding: 0 48px;
}

.footer-bottom {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 56px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  margin: 0;
}

@media (min-width: 1440px) {
  .navbar,
  .hero,
  .section-grid,
  .process,
  .footer {
    max-width: none;
  }

  .benefit-strip {
    padding-inline: 48px;
  }

  .final-cta {
    margin-inline: 48px;
    max-width: none;
    width: calc(100% - 96px);
  }

  .case-study-card {
    grid-template-columns: 310px minmax(0, 1fr);
    height: 340px;
    min-height: 0;
  }

  .case-study-media {
    min-height: 0;
  }

  .case-study-media img {
    object-fit: contain;
  }

  .case-study-media img.project-preview {
    object-fit: cover;
  }
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 16px;
  }

  .desktop-nav a {
    font-size: 12px;
  }

  .desktop-quote {
    padding-inline: 18px;
  }
}

@media (max-width: 950px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 105px;
  }

  .hero-art {
    min-height: 330px;
  }

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

  .section-grid,
  .pricing,
  .process {
    grid-template-columns: 1fr;
  }

  .case-study-card {
    grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  }

  .price-cards {
    align-items: stretch;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 18px 8px 28px;
    perspective: 1000px;
    scroll-padding-inline: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .price-cards::-webkit-scrollbar {
    display: none;
  }

  .price-card,
  .price-card.featured {
    filter: brightness(0.76) saturate(0.8);
    flex: 0 0 calc(100% - 44px);
    opacity: 0.7;
    scroll-snap-align: center;
    transform: rotateY(9deg) scale(0.92);
    transform-origin: center;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  }

  .price-card.is-active {
    box-shadow: 0 16px 36px rgba(40, 18, 104, 0.3);
    filter: none;
    opacity: 1;
    transform: rotateY(0) scale(1);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .step-arrow {
    display: none;
  }

  .final-cta {
    align-items: center;
    gap: 16px;
    grid-template-columns: 126px minmax(0, 1fr);
    min-height: 0;
    padding: 26px 28px 22px;
  }

  .final-cta .cta-copy {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .cta-mascot {
    bottom: auto;
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    left: auto;
    max-height: 112px;
    position: relative;
  }

  .cta-note {
    display: none;
  }

  .cta-points {
    align-self: center;
    gap: 7px;
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 820px) {
  .desktop-nav,
  .desktop-quote {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .navbar {
    height: 72px;
  }

  .brand strong {
    font-size: 19px;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-text {
    font-size: 16px;
  }

  .benefit-strip {
    align-items: stretch;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 20px 10vw;
    perspective: 1000px;
    scroll-padding-inline: 10vw;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

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

  .benefit-strip article {
    aspect-ratio: 1 / 0.86;
    background: rgba(10, 21, 39, 0.78);
    border: 1px solid rgba(132, 164, 216, 0.14);
    border-radius: 10px;
    flex: 0 0 clamp(230px, 52vw, 300px);
    justify-content: center;
    min-height: 176px;
    opacity: 0.62;
    padding: 20px;
    scroll-snap-align: center;
    transform: rotateY(11deg) scale(0.9);
    transform-origin: center;
    transition: transform 0.35s ease, opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  }

  .benefit-strip article.is-active {
    border-color: rgba(182, 77, 255, 0.42);
    box-shadow: 0 18px 40px rgba(48, 23, 115, 0.3);
    opacity: 1;
    transform: rotateY(0) scale(1);
  }

  .case-study-card {
    grid-template-columns: 1fr;
  }

  .case-study-media {
    min-height: 260px;
  }

  .case-study-body {
    padding: 28px;
  }

  .final-cta {
    align-items: center;
    gap: 16px;
    grid-template-columns: 126px minmax(0, 1fr);
    min-height: 0;
    padding: 26px 28px 22px;
  }

  .final-cta .cta-copy {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .cta-mascot {
    bottom: auto;
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    left: auto;
    max-height: 112px;
    position: relative;
  }

  .cta-note {
    display: none;
  }

  .cta-points {
    align-self: center;
    gap: 7px;
    grid-column: 2;
    grid-row: 2;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    padding-inline: 20px;
  }

}

@media (max-width: 520px) {
  .navbar {
    padding-inline: 14px;
  }

  .footer-bottom {
    min-height: 52px;
  }

  .brand img {
    height: 42px;
    width: 42px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    font-size: 9px;
  }

  .hero {
    padding-inline: 16px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

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

  .mini-benefits {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .benefit-strip {
    gap: 12px;
    padding: 20px 10vw;
  }

  .benefit-strip article {
    min-height: 160px;
  }

  .benefit-strip article:last-child {
    grid-column: auto;
  }

  .section-grid,
  .pricing,
  .process {
    padding-inline: 16px;
  }

  .section-intro h2,
  .process-heading h2 {
    font-size: 31px;
  }

  .case-study-body {
    padding: 24px 20px;
  }

  .case-study-body h3 {
    font-size: 23px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps article {
    align-items: center;
    border-bottom: 1px solid rgba(132, 164, 216, 0.14);
    column-gap: 16px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 15px 0;
    row-gap: 4px;
    text-align: left;
  }

  .steps article:last-child {
    border-bottom: 0;
  }

  .steps article .icon-box {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .steps h3 {
    font-size: 18px;
    margin: 0;
  }

  .steps p {
    font-size: 14px;
    max-width: none;
  }

  .process-heading h2 {
    line-height: 1.12;
  }

  .process-title-plain,
  .process-heading h2 > span:not(.process-title-plain) {
    display: block;
  }

  .final-cta {
    align-items: center;
    border-radius: 14px;
    gap: 16px;
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 0;
    margin-inline: 16px;
    padding: 24px 20px 20px;
  }

  .final-cta .cta-copy {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .cta-mascot {
    bottom: auto;
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    left: auto;
    max-height: 96px;
    position: relative;
  }

  .cta-note {
    display: none;
  }

  .cta-points {
    align-self: center;
    gap: 6px;
    grid-column: 2;
    grid-row: 2;
  }

  .cta-points li {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art,
  .cta-mascot {
    animation: none;
  }

  .hero-art img,
  .final-cta,
  .cta-bg,
  .motion-reveal {
    animation: none;
    transition: none;
  }
}

.motion-ready .motion-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .motion-reveal.reveal-from-left {
  transform: translate3d(-26px, 0, 0);
}

.motion-ready .motion-reveal.reveal-from-right {
  transform: translate3d(26px, 0, 0);
}

.motion-ready .motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .motion-reveal,
  .motion-ready .motion-reveal.reveal-from-left,
  .motion-ready .motion-reveal.reveal-from-right {
    opacity: 1;
    transform: none;
  }
}
