:root {
  --blue: #0d84ff;
  --deep-blue: #486ff6;
  --violet: #928ff1;
  --pink: #eb82d1;
  --paper: #f6f6f6;
  --ink: #050505;
  --muted: #343948;
  --line: #dddddd;
  --green: #34c900;
  --orange: #ff9800;
  --shadow: 0 28px 70px rgba(21, 30, 70, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

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

section[id] {
  scroll-margin-top: 120px;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  top: 38px;
  left: 50%;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1760px, calc(100% - 160px));
  transform: translateX(-50%);
  color: #fff;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.topbar.is-scrolled {
  color: #080808;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.55);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 178px;
  height: auto;
  transition: filter 180ms ease, transform 180ms ease;
  filter: drop-shadow(0 10px 18px rgba(20, 24, 90, 0.16));
}

.brand:hover .brand-logo {
  transform: translateY(-1px);
}

.topbar.is-scrolled .brand-logo {
  filter: drop-shadow(0 10px 18px rgba(20, 24, 90, 0.12));
}

.app-icon,
.big-icon {
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: var(--blue);
  box-shadow: inset 0 0 0 4px rgba(13, 132, 255, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 650;
}

.nav a {
  padding: 6px 11px;
  border-radius: 999px;
  color: currentColor;
  text-decoration: none;
  opacity: 0.76;
}

.nav a.active,
.nav a:hover {
  background: rgba(45, 80, 190, 0.28);
  color: currentColor;
  opacity: 1;
}

.topbar.is-scrolled .nav a.active,
.topbar.is-scrolled .nav a:hover {
  background: rgba(13, 132, 255, 0.12);
  color: #0d55c8;
}

.socials {
  display: flex;
  align-items: center;
  gap: 9px;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(34, 44, 120, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.social-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-icon.facebook {
  background: linear-gradient(135deg, #1877f2, #6aa9ff);
}

.social-icon.instagram {
  background: radial-gradient(circle at 28% 105%, #feda75 0 23%, #fa7e1e 34%, #d62976 58%, #962fbf 78%, #4f5bd5 100%);
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.05);
  filter: saturate(1.12);
  box-shadow: 0 18px 36px rgba(80, 64, 190, 0.28);
}

.hero {
  position: relative;
  min-height: 880px;
  overflow: hidden;
  padding-top: 148px;
  background:
    radial-gradient(circle at 22% 66%, rgba(235, 130, 209, 0.86), transparent 30%),
    radial-gradient(circle at 84% 78%, rgba(240, 93, 180, 0.72), transparent 28%),
    linear-gradient(180deg, #4d7df9 0%, #7895f1 54%, #d68ad9 100%);
  background-size: 120% 120%, 120% 120%, 100% 100%;
  color: #fff;
  animation: heroGlow 7s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 180px;
  background: linear-gradient(180deg, rgba(246, 246, 246, 0), var(--paper) 88%);
  pointer-events: none;
}

.sky {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.sky i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c7fff4;
  box-shadow: 0 0 12px #d9fff8;
  animation: twinkle 2.8s ease-in-out infinite;
}

.sky i:nth-child(1) { top: 3%; left: 22%; width: 7px; height: 7px; }
.sky i:nth-child(2) { top: 5%; left: 78%; }
.sky i:nth-child(3) { top: 12%; left: 11%; }
.sky i:nth-child(4) { top: 16%; left: 52%; width: 6px; height: 6px; }
.sky i:nth-child(5) { top: 23%; left: 8%; }
.sky i:nth-child(6) { top: 25%; left: 91%; }
.sky i:nth-child(7) { top: 35%; left: 32%; width: 8px; height: 8px; }
.sky i:nth-child(8) { top: 40%; left: 76%; }
.sky i:nth-child(9) { top: 48%; left: 18%; }
.sky i:nth-child(10) { top: 54%; left: 61%; }
.sky i:nth-child(11) { top: 7%; left: 38%; }
.sky i:nth-child(12) { top: 13%; left: 71%; width: 7px; height: 7px; }
.sky i:nth-child(13) { top: 19%; left: 36%; }
.sky i:nth-child(14) { top: 31%; left: 48%; }
.sky i:nth-child(15) { top: 42%; left: 94%; }
.sky i:nth-child(16) { top: 58%; left: 3%; }
.sky i:nth-child(17) { top: 14%; left: 63%; }
.sky i:nth-child(18) { top: 37%; left: 22%; width: 6px; height: 6px; }
.sky i:nth-child(19) { top: 2%; left: 56%; }
.sky i:nth-child(20) { top: 28%; left: 81%; }
.sky i:nth-child(21) { top: 6%; left: 96%; }
.sky i:nth-child(22) { top: 17%; left: 2%; }
.sky i:nth-child(23) { top: 27%; left: 67%; }
.sky i:nth-child(24) { top: 44%; left: 52%; }
.sky i:nth-child(25) { top: 51%; left: 87%; }
.sky i:nth-child(26) { top: 4%; left: 15%; }
.sky i:nth-child(27) { top: 21%; left: 43%; width: 7px; height: 7px; }
.sky i:nth-child(28) { top: 36%; left: 5%; }
.sky i:nth-child(29) { top: 12%; left: 88%; }
.sky i:nth-child(30) { top: 45%; left: 41%; }

.sky i:nth-child(3n) {
  animation-delay: 0.6s;
}

.sky i:nth-child(4n) {
  animation-delay: 1.2s;
}

.sky i:nth-child(5n) {
  animation-delay: 1.8s;
}

.shooting-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shooting-stars span {
  position: absolute;
  top: var(--top);
  left: var(--left);
  width: 130px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.85));
  opacity: 0;
  transform: rotate(-24deg) translateX(0);
  animation: shootingStar var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.shooting-stars span:nth-child(1) { --top: 12%; --left: 72%; --duration: 5.8s; --delay: 0.2s; }
.shooting-stars span:nth-child(2) { --top: 24%; --left: 48%; --duration: 7.2s; --delay: 2.4s; }
.shooting-stars span:nth-child(3) { --top: 36%; --left: 86%; --duration: 6.6s; --delay: 4.1s; }
.shooting-stars span:nth-child(4) { --top: 18%; --left: 22%; --duration: 8.4s; --delay: 5.5s; }
.shooting-stars span:nth-child(5) { --top: 48%; --left: 62%; --duration: 7.8s; --delay: 7s; }

@keyframes twinkle {
  0%, 100% {
    opacity: 0.42;
    transform: scale(0.78);
  }
  45% {
    opacity: 1;
    transform: scale(1.55);
  }
  70% {
    opacity: 0.7;
    transform: scale(1);
  }
}

@keyframes shootingStar {
  0% {
    opacity: 0;
    transform: rotate(-24deg) translateX(0);
  }
  8% {
    opacity: 1;
  }
  22% {
    opacity: 0;
    transform: rotate(-24deg) translateX(-520px);
  }
  100% {
    opacity: 0;
    transform: rotate(-24deg) translateX(-520px);
  }
}

@keyframes heroGlow {
  0% {
    background-position: 0% 35%, 100% 70%, center;
  }
  100% {
    background-position: 12% 45%, 88% 62%, center;
  }
}

.hero-space {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 54px;
  align-items: center;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-copy {
  text-align: center;
}

.orbit-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(34px, 3.05vw, 58px);
  line-height: 0.95;
}

.hero-copy p {
  max-width: 700px;
  margin: 22px auto 40px;
  color: rgba(255, 255, 255, 0.92);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.01em;
}

.space-capsule {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
  animation: capsuleFloat 5.6s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.ring-one {
  width: 570px;
  height: 360px;
  animation: orbitPulse 4.8s ease-in-out infinite;
}

.ring-two {
  width: 430px;
  height: 270px;
  border-color: rgba(255, 255, 255, 0.18);
  animation: orbitPulse 5.8s ease-in-out infinite reverse;
}

.capsule-window {
  position: relative;
  width: min(520px, 100%);
  min-height: 545px;
  overflow: hidden;
  border: 13px solid rgba(255, 255, 255, 0.78);
  border-radius: 46px;
  background:
    linear-gradient(180deg, rgba(80, 116, 240, 0.12), rgba(14, 20, 58, 0.28)),
    url("https://images.unsplash.com/photo-1446776811953-b23d57bd21aa?auto=format&fit=crop&w=1000&q=85") center/cover;
  box-shadow: 0 34px 90px rgba(12, 20, 82, 0.32);
}

.capsule-window::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  background: linear-gradient(180deg, transparent, rgba(246, 246, 246, 0.58));
}

.capsule-top {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 22px;
}

.capsule-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.8;
}

.capsule-map {
  position: relative;
  z-index: 2;
  height: 180px;
  margin: 8px 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 36% 45%, rgba(255, 255, 255, 0.7), transparent 6%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(6px);
}

.capsule-map::before,
.capsule-map::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.22);
}

.capsule-map::before {
  left: 18%;
  right: 18%;
  top: 50%;
  height: 1px;
}

.capsule-map::after {
  top: 16%;
  bottom: 16%;
  left: 50%;
  width: 1px;
}

.map-pin {
  position: absolute;
  left: 52%;
  top: 42%;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: #ffcf4d;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 9px rgba(255, 207, 77, 0.2), 0 0 30px rgba(255, 207, 77, 0.75);
  animation: pinPulse 1.9s ease-in-out infinite;
}

.map-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(250px, calc(100% - 40px));
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 32px rgba(9, 18, 70, 0.18);
}

.map-card small,
.map-card strong {
  display: block;
}

.capsule-panel {
  position: relative;
  z-index: 2;
  width: calc(100% - 48px);
  margin: 18px auto 0;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: #000;
}

.capsule-panel h2 {
  margin: 18px 0;
  font-size: 36px;
  line-height: 0.96;
}

.capsule-cta {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
}

.floating-signal {
  position: absolute;
  z-index: 3;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #29305f;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(12, 20, 82, 0.2);
  animation: signalFloat 4.2s ease-in-out infinite;
}

.signal-one {
  top: 88px;
  right: 12px;
}

.signal-two {
  bottom: 96px;
  left: 0;
  animation-delay: 1.1s;
}

@keyframes capsuleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes orbitPulse {
  0%, 100% { opacity: 0.45; transform: rotate(-18deg) scale(1); }
  50% { opacity: 0.9; transform: rotate(-18deg) scale(1.045); }
}

@keyframes pinPulse {
  0%, 100% { box-shadow: 0 0 0 7px rgba(255, 207, 77, 0.16), 0 0 22px rgba(255, 207, 77, 0.62); }
  50% { box-shadow: 0 0 0 18px rgba(255, 207, 77, 0), 0 0 34px rgba(255, 207, 77, 0.95); }
}

@keyframes signalFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 178px;
  min-height: 60px;
  padding: 0 28px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.pill-button.light {
  background: #fff;
  color: #4a4b91;
  box-shadow: 0 4px 0 rgba(32, 34, 82, 0.14), 0 18px 34px rgba(25, 38, 88, 0.14);
}

.pill-button.light:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fff0fb 42%, #e9f1ff 100%);
  color: #3f3c9b;
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 7px 0 rgba(77, 75, 145, 0.16),
    0 22px 48px rgba(235, 130, 209, 0.28),
    0 0 0 6px rgba(255, 255, 255, 0.2);
}

.pill-button.light::after {
  content: "";
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -55%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: rotate(18deg);
  transition: left 420ms ease;
}

.pill-button.light:hover::after {
  left: 120%;
}

.pill-button.blue {
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 2px rgba(255, 255, 255, 0.35);
}

.pill-button {
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.hero-device {
  position: relative;
  z-index: 2;
  width: min(1128px, calc(100% - 48px));
  margin: 112px auto 0;
}

.device-shell {
  padding: 15px;
  border: 16px solid rgba(255, 255, 255, 0.86);
  border-radius: 62px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 34px 80px rgba(33, 42, 94, 0.22);
}

.device-screen {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-radius: 42px;
  background: #89a0e8;
}

.mock-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(55, 102, 198, 0.15), rgba(3, 19, 28, 0.25)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=90") center/cover;
}

.mock-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(246, 246, 246, 0.78));
}

.mock-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 54px;
  color: #fff;
}

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

.person > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffdfc4;
  color: #286df4;
  font-weight: 900;
}

.person strong,
.person small {
  display: block;
}

.person small {
  color: rgba(255, 255, 255, 0.8);
}

.mock-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}

.mock-card {
  position: relative;
  z-index: 1;
  width: 445px;
  margin: 34px 0 0 54px;
  padding: 32px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  color: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.filter {
  display: inline-flex;
  padding: 11px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.mock-card h2 {
  margin: 28px 0 24px;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.status,
.price-grid,
.lead-list div,
.service-stack article {
  display: flex;
  align-items: center;
}

.status {
  gap: 12px;
  padding: 18px;
  border: 1px solid #e3e3e3;
  border-radius: 18px;
  background: #fff;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #48df13;
}

small {
  color: #606676;
}

.price-grid {
  gap: 8px;
  margin: 10px 0 26px;
}

.price-grid div {
  flex: 1;
  min-height: 96px;
  padding: 18px;
  border: 1px solid #e3e3e3;
  border-radius: 18px;
  background: #fff;
}

.price-grid strong,
.price-grid small {
  display: block;
}

.mock-card button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.mock-card p {
  margin: 18px 0 0;
  color: #727887;
  font-size: 13px;
}

.intro-section,
.portfolio-section,
.wide-section,
.process-section,
.service-showcase-section,
.deliver-section,
.faq-section,
.contact-cta,
.footer {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-section {
  padding: 92px 0 112px;
}

.intro-section h2,
.portfolio-section h2,
.wide-section h2,
.process-section h2,
.service-showcase-section h2,
.faq-section h2,
.contact-cta h2 {
  color: #000;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 0.96;
}

.intro-section p,
.portfolio-section p,
.wide-section p,
.process-section p,
.service-showcase-section p,
.deliver-section p,
.faq-section p,
.contact-cta p {
  color: #1e2430;
  font-size: 22px;
  line-height: 1.28;
}

.service-showcase-section {
  width: min(1040px, calc(100% - 48px));
  padding: 10px 0 118px;
}

.faq-section {
  width: min(1120px, calc(100% - 48px));
  padding: 20px 0 120px;
}

.faq-copy {
  width: min(760px, 100%);
  margin: 0 auto 54px;
}

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

.faq-grid article {
  padding: 24px;
  border: 1px solid #dddddd;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.05);
}

.faq-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.15;
}

.faq-grid p {
  margin: 0;
  color: #2a3040;
  font-size: 16px;
  line-height: 1.45;
}

.process-section {
  width: min(760px, calc(100% - 48px));
  padding: 10px 0 120px;
}

.process-copy {
  margin-bottom: 62px;
}

.process-copy p strong {
  color: var(--blue);
}

.timeline {
  position: relative;
  display: grid;
  gap: 44px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 18px;
  width: 1px;
  border-left: 1px dashed #cfcfcf;
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 56px;
}

.timeline article > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 0 0 8px var(--paper);
}

.timeline h3 {
  margin: -2px 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.timeline p {
  margin: 0;
  color: #202635;
  font-size: 17px;
  line-height: 1.35;
}

.highlight-step div {
  padding: 18px 20px;
  border: 1px solid rgba(13, 132, 255, 0.24);
  border-radius: 18px;
  background: rgba(13, 132, 255, 0.06);
}

.highlight-step h3 {
  color: var(--blue);
}

.portfolio-section {
  width: min(1280px, calc(100% - 48px));
  padding: 20px 0 128px;
  overflow: hidden;
}

.portfolio-copy {
  width: min(760px, 100%);
  margin: 0 auto 74px;
}

.portfolio-fan {
  position: relative;
  width: 100%;
  min-height: 360px;
  margin: 0 auto;
  isolation: isolate;
}

.portfolio-card {
  position: absolute;
  top: 38px;
  left: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 360px;
  min-height: 270px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
  transform: translateX(var(--closed-x)) translateY(var(--closed-y, 0)) rotate(var(--closed-r));
  transform-origin: center bottom;
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1) 1000ms, box-shadow 180ms ease, filter 180ms ease;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.45)),
    var(--portfolio-image) center/cover;
  transition: transform 260ms ease;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 26px;
  pointer-events: none;
}

.portfolio-section:hover .portfolio-card,
.portfolio-section:focus-within .portfolio-card {
  transform: translateX(var(--open-x)) translateY(var(--open-y, 0)) rotate(var(--open-r));
}

.portfolio-card:hover,
.portfolio-card:focus {
  z-index: 20;
  filter: brightness(1.08) saturate(1.12);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(255, 255, 255, 0.72), 0 0 34px rgba(13, 132, 255, 0.26);
}

.portfolio-card.is-selected {
  z-index: 20;
  filter: brightness(1.1) saturate(1.16);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.3), 0 0 0 5px rgba(255, 255, 255, 0.8), 0 0 52px rgba(235, 130, 209, 0.36);
}

.portfolio-card:hover::before,
.portfolio-card:focus::before {
  transform: scale(1.06);
}

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

.portfolio-top {
  align-self: flex-start;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.portfolio-card strong {
  max-width: 290px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.portfolio-card em {
  align-self: flex-start;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--blue);
  font-style: normal;
  font-size: 16px;
  font-weight: 850;
}

.portfolio-card:hover em,
.portfolio-card:focus em {
  background: linear-gradient(135deg, #ffffff 0%, #fff0fb 42%, #e9f1ff 100%);
  color: #3f3c9b;
  box-shadow: 0 14px 26px rgba(255, 255, 255, 0.24);
}

.card-one {
  --portfolio-image: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=900&q=85");
  --closed-x: -62%;
  --closed-r: -2deg;
  --open-x: -166%;
  --open-r: -5deg;
  z-index: 4;
}

.card-two {
  --portfolio-image: url("https://images.unsplash.com/photo-1604709177225-055f99402ea3?auto=format&fit=crop&w=900&q=85");
  --closed-x: -53%;
  --closed-r: 0deg;
  --open-x: -86%;
  --open-r: -1deg;
  z-index: 3;
}

.card-three {
  --portfolio-image: url("https://images.unsplash.com/photo-1600948836101-f9ffda59d250?auto=format&fit=crop&w=900&q=85");
  --closed-x: -44%;
  --closed-r: 2deg;
  --open-x: -6%;
  --open-r: 2deg;
  z-index: 2;
}

.card-four {
  --portfolio-image: url("https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=900&q=85");
  --closed-x: -35%;
  --closed-r: 4deg;
  --open-x: 74%;
  --open-r: 5deg;
  z-index: 1;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 76px;
  margin-top: 86px;
  font-size: 21px;
}

.feature-list div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.feature-list span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}

.blue { background: var(--blue); }
.green { background: var(--green); }
.orange { background: var(--orange); }
.pink { background: #f59bc6; color: #111 !important; }

.wide-section {
  width: min(1040px, calc(100% - 48px));
  padding: 30px 0 130px;
}

.section-copy {
  width: min(760px, 100%);
  margin: 0 auto 86px;
}

.split-showcase,
.deliver-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.service-stack {
  display: grid;
  gap: 0;
  transform: rotate(-2deg);
}

.service-stack article {
  gap: 20px;
  min-height: 104px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.07);
}

.service-stack article + article {
  margin-top: -2px;
}

.service-stack img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
}

.service-stack strong,
.service-stack small {
  display: block;
}

.text-block h3,
.deliver-section h3 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.12;
}

.floating-payments {
  position: relative;
  display: grid;
  justify-content: end;
  min-height: 310px;
  margin-top: 110px;
}

.lead-toast,
.lead-list {
  width: 390px;
  border: 1px solid #ddd;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.11);
}

.lead-toast {
  position: absolute;
  right: 18px;
  top: -42px;
  z-index: 2;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 22px;
  transform: rotate(3deg);
}

.lead-toast b {
  grid-column: 2 / 3;
  color: var(--blue);
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.lead-list {
  padding: 70px 22px 22px;
  transform: rotate(3deg);
}

.lead-list div {
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #e7e7e7;
}

.lead-list img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.lead-list strong,
.lead-list small {
  display: block;
}

.deliver-section {
  width: min(980px, calc(100% - 48px));
  padding: 34px 0 120px;
}

.image-cards {
  position: relative;
  min-height: 360px;
}

.image-cards img,
.file-card {
  position: absolute;
  border: 1px solid #dcdcdc;
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.14);
}

.image-cards img {
  width: 220px;
  height: 220px;
  object-fit: cover;
}

.card-a {
  top: 0;
  left: 80px;
  transform: rotate(-4deg);
}

.card-b {
  top: 120px;
  left: 235px;
  transform: rotate(10deg);
}

.file-card {
  left: 0;
  top: 140px;
  width: 230px;
  padding: 34px 22px;
  background: #fff;
  font-size: 24px;
  font-weight: 800;
  transform: rotate(-13deg);
}

.file-card span {
  color: #707788;
  font-size: 14px;
}

.contact-cta {
  padding: 96px 0 120px;
  text-align: center;
}

.big-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 30px;
  border-radius: 24px;
  font-size: 44px;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: min(540px, 100%);
  margin: 52px auto 0;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 18px;
  background: #fff;
  padding: 18px 20px;
  color: #111;
  font: inherit;
  font-size: 18px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 4px solid rgba(13, 132, 255, 0.18);
  border-color: var(--blue);
}

.contact-form small,
.modal-panel small {
  min-height: 22px;
  color: var(--blue);
  font-weight: 800;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(37, 50, 93, 0.45);
  backdrop-filter: blur(10px);
}

.lead-modal.is-visible {
  display: grid;
}

.modal-panel {
  position: relative;
  width: min(570px, 100%);
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 0.98;
}

.modal-panel p {
  color: var(--muted);
  font-size: 18px;
}

.modal-panel form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  font-size: 24px;
  cursor: pointer;
}

.footer {
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  gap: 42px;
  padding: 40px 0 62px;
  color: #1e2430;
}

.footer-brand img {
  display: block;
  width: 190px;
  height: auto;
}

.footer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.footer nav {
  display: grid;
  gap: 12px;
  font-size: 15px;
}

.footer .social-icon {
  border-color: rgba(0, 0, 0, 0.06);
}

.footer-socials {
  margin-top: 4px;
}

.footer small {
  grid-column: 1 / -1;
  font-size: 12px;
}

@media (max-width: 980px) {
  .topbar {
    position: fixed;
    top: 12px;
    width: calc(100% - 24px);
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 150px;
  }

  .nav {
    font-size: 12px;
  }

  .top-socials .social-icon {
    width: 30px;
    height: 30px;
  }

  .top-socials .social-icon svg {
    width: 15px;
    height: 15px;
  }

  .hero {
    min-height: 840px;
    padding-top: 146px;
  }

  .hero-space {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .space-capsule {
    min-height: 560px;
  }

  .device-screen {
    min-height: 610px;
  }

  .mock-card {
    width: min(430px, calc(100% - 42px));
    margin-left: 22px;
  }

  .mock-nav {
    padding: 22px;
  }

  .mock-links {
    display: none;
  }

  .split-showcase,
  .deliver-section,
  .footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .portfolio-fan {
    display: flex;
    gap: 18px;
    min-height: auto;
    width: auto;
    margin-inline: -24px;
    padding: 10px 24px 34px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .portfolio-fan::-webkit-scrollbar {
    display: none;
  }

  .portfolio-card {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 min(390px, 86vw);
    width: auto;
    min-height: 300px;
    height: auto;
    scroll-snap-align: center;
    transform: none;
  }

  .portfolio-fan:hover .portfolio-card,
  .portfolio-fan:focus-within .portfolio-card {
    transform: none;
    filter: none;
    opacity: 1;
  }

  .portfolio-fan:hover .portfolio-card:hover,
  .portfolio-fan:focus-within .portfolio-card:focus {
    transform: none;
  }

  .portfolio-card strong {
    font-size: 32px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .topbar {
    grid-template-columns: auto auto;
    align-items: center;
  }

  .brand-logo {
    width: 128px;
  }

  .nav {
    display: none;
  }

  .hero-copy {
    width: calc(100% - 30px);
  }

  .hero-space {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: 32px;
  }

  .hero-copy p,
  .intro-section p,
  .wide-section p,
  .process-section p,
  .faq-section p,
  .deliver-section p,
  .contact-cta p {
    font-size: 18px;
  }

  .space-capsule {
    min-height: 500px;
  }

  .ring-one {
    width: 360px;
    height: 230px;
  }

  .ring-two {
    width: 280px;
    height: 180px;
  }

  .capsule-window {
    min-height: 500px;
    border-width: 9px;
    border-radius: 34px;
  }

  .capsule-map {
    height: 150px;
    margin: 6px 16px;
  }

  .capsule-panel {
    width: calc(100% - 32px);
    padding: 18px;
  }

  .capsule-panel h2 {
    font-size: 28px;
  }

  .floating-signal {
    font-size: 13px;
  }

  .hero-device {
    width: calc(100% - 20px);
    margin-top: 70px;
  }

  .device-shell {
    padding: 8px;
    border-width: 9px;
    border-radius: 36px;
  }

  .device-screen {
    min-height: 625px;
    border-radius: 25px;
  }

  .mock-card {
    padding: 22px;
  }

  .price-grid {
    display: grid;
  }

  .lead-toast,
  .lead-list {
    width: min(390px, 100%);
    transform: none;
  }

  .lead-toast {
    right: 0;
  }

  .card-a {
    left: 40px;
  }

  .card-b {
    left: 150px;
  }

  .file-card {
    left: 0;
    width: 190px;
  }

  .modal-panel {
    padding: 34px 22px;
  }

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

  .timeline article {
    gap: 22px;
  }
}
