:root {
  --purple: #4f2f88;
  --purple-2: #765fa1;
  --orange: #ff6a1f;
  --teal: #538287;
  --teal-dark: #0b2e32;
  --ink: #111014;
  --muted: #66616d;
  --paper: #f5f5f7;
  --white: #ffffff;
  --line: rgba(17, 16, 20, 0.11);
  --shadow: 0 28px 80px rgba(17, 16, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  min-height: 62px;
  padding: 0 clamp(20px, 5vw, 72px);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  backdrop-filter: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-solid {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
}

.site-header.nav-open {
  background: rgba(18, 10, 30, 0.22);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(150%);
}

.asg-page .site-header {
  color: rgba(11, 46, 50, 0.9);
  border-color: rgba(11, 46, 50, 0.08);
}

.asg-page .site-header.nav-open {
  background: rgba(184, 227, 207, 0.48);
  border-color: rgba(11, 46, 50, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  padding-left: 0;
  font-size: 13px;
  font-weight: 800;
}

.brand-symbol {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 11px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3.4vw, 44px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.site-nav a {
  opacity: 0.72;
  transition: opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--white);
  color: var(--purple);
  font-size: 14px;
  font-weight: 800;
}

.asg-page .header-action {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ecfff7;
  background:
    linear-gradient(135deg, rgba(40, 79, 85, 0.96), rgba(11, 46, 50, 0.94));
  box-shadow: 0 14px 32px rgba(11, 46, 50, 0.18);
}

.asg-page .header-action:hover {
  background:
    linear-gradient(135deg, rgba(53, 98, 104, 0.98), rgba(11, 46, 50, 0.98));
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

.dark-link {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #20251e;
}

.hero-brand-panel {
  --gravity-x: 0;
  --gravity-y: 0;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3.4vw, 52px);
  min-height: 340px;
  padding: clamp(100px, 13vw, 150px) clamp(28px, 9vw, 150px) clamp(38px, 5vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 42%, rgba(255, 106, 31, 0.22), transparent 24%),
    radial-gradient(circle at 74% 22%, rgba(151, 108, 221, 0.34), transparent 28%),
    linear-gradient(135deg, #150821 0%, #2b1350 42%, #4f2f88 100%);
}

.hero-brand-panel::after {
  content: "";
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(
      circle at calc(50% + var(--gravity-x) * 44%) calc(50% + var(--gravity-y) * 40%),
      rgba(255, 255, 255, 0.085),
      transparent 16%
    );
  opacity: 0;
  transform: translate3d(calc(var(--gravity-x) * 7px), calc(var(--gravity-y) * 7px), 0);
  transition: opacity 260ms ease;
  pointer-events: none;
}

.hero-brand-panel.is-gravity-active::after {
  opacity: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background:
    url("assets/background.svg") center / 320px 320px,
    linear-gradient(110deg, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.34));
  background-blend-mode: multiply, normal, normal;
  filter: saturate(1.08);
  pointer-events: none;
  transform: scale(1.02)
    translate3d(calc(var(--gravity-x) * -6px), calc(var(--gravity-y) * -6px), 0);
  transition: transform 480ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 35% 100%, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent 34%, rgba(0, 0, 0, 0.2));
}

.hero-brand-logo {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: clamp(130px, 15vw, 220px);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, 0.38));
  transform:
    perspective(720px)
    translate3d(calc(var(--gravity-x) * 14px), calc(var(--gravity-y) * 11px), 0)
    rotateX(calc(var(--gravity-y) * -1.6deg))
    rotateY(calc(var(--gravity-x) * 1.9deg));
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-brand-text {
  position: relative;
  z-index: 1;
  flex: 1 1 240px;
  display: grid;
  gap: clamp(10px, 1.4vw, 18px);
  transform: translate3d(calc(var(--gravity-x) * 7px), calc(var(--gravity-y) * 6px), 0);
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-brand-text p {
  margin: 0;
  color: var(--white);
}

.hero-brand-title {
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-brand-tagline {
  max-width: 28ch;
  font-size: clamp(14px, 1.4vw, 19px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark,
.section-kicker {
  color: var(--purple);
}

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

.hero-build-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 8vw, 120px);
  padding: clamp(58px, 8vw, 100px) clamp(22px, 9vw, 150px) clamp(64px, 8vw, 112px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(151, 108, 221, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 110%, rgba(83, 130, 135, 0.16), transparent 65%),
    #181d17;
}

.hero-build-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/background.svg") center / 300px 300px;
  filter: invert(1) brightness(1.5);
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.hero-copy,
.hero-build-panel .code-card {
  position: relative;
  z-index: 1;
}

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

h1 {
  margin-bottom: 34px;
  color: var(--white);
  font-size: clamp(42px, 5vw, 78px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 strong {
  display: block;
  margin-top: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

[data-typewriter] {
  position: relative;
  min-height: 1.12em;
  white-space: pre-wrap;
}

[data-typewriter]::after {
  content: "|";
  display: inline-block;
  margin-left: 6px;
  color: var(--orange);
  font-weight: 300;
  vertical-align: baseline;
  animation: typewriter-caret-blink 0.95s steps(1) infinite;
}

[data-typewriter].is-done::after {
  animation: typewriter-caret-blink 1.5s steps(1) infinite;
  opacity: 0.55;
}

.process-typewriter::after {
  color: var(--purple);
}

@keyframes typewriter-caret-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  [data-typewriter]::after { animation: none; opacity: 0; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.hero-build-panel .primary-button,
.hero-build-panel .secondary-button {
  min-width: 200px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--white);
  color: var(--purple);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 220ms ease, background 220ms ease;
}

.hero-build-panel .primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-build-panel .secondary-button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.hero-build-panel .secondary-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.code-card {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font: 500 clamp(18px, 2vw, 30px) / 1.22 Inter, system-ui, sans-serif;
  white-space: pre-wrap;
}

.code-key,
.code-purple {
  color: #b05cff;
}

.code-blue {
  color: #008ad8;
}

.craft-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(58px, 7vw, 96px);
  color: var(--white);
  background:
    radial-gradient(ellipse 58% 52% at 8% 12%, rgba(255, 106, 31, 0.18), transparent 56%),
    radial-gradient(ellipse 70% 68% at 92% 20%, rgba(118, 95, 161, 0.32), transparent 58%),
    linear-gradient(135deg, #fff 0%, #f4efff 52%, #ede6fb 100%);
}

.craft-heading {
  max-width: 1180px;
  margin: 0 auto clamp(24px, 3.8vw, 48px);
}

.craft-heading h2 {
  max-width: 960px;
  margin: 0;
  color: var(--purple);
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.craft-heading .eyebrow {
  margin-bottom: 18px;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1320px;
  margin: 0 auto;
  gap: 14px;
  overflow: visible;
  border-radius: 0;
}

.craft-card {
  display: grid;
  align-content: space-between;
  min-height: 350px;
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background: var(--purple);
  box-shadow: 0 24px 70px rgba(79, 47, 136, 0.2);
  transition:
    opacity 720ms ease,
    transform 860ms cubic-bezier(0.2, 0.82, 0.2, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.craft-card:nth-child(2) {
  background: linear-gradient(145deg, #765fa1, #6a4f99);
}

.craft-card:nth-child(3) {
  background: linear-gradient(145deg, #9a89ba, #8774aa);
}

.craft-card:nth-child(4) {
  background: linear-gradient(145deg, #b5aac9, #a596c2);
}

.craft-card:first-child {
  background: linear-gradient(145deg, #4f2f88, #3b1d70);
}

.craft-card:nth-child(2)[data-scroll-drift] {
  transition-delay: 70ms;
}

.craft-card:nth-child(3)[data-scroll-drift] {
  transition-delay: 130ms;
}

.craft-card:nth-child(4)[data-scroll-drift] {
  transition-delay: 190ms;
}

@media (hover: hover) and (pointer: fine) {
  .craft-card.is-in-view:hover {
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 38px 92px rgba(79, 47, 136, 0.28);
    transform: translateY(-10px) rotate(-0.7deg);
  }

  .craft-card:nth-child(even).is-in-view:hover {
    transform: translateY(-10px) rotate(0.7deg);
  }

  .craft-card.is-in-view:hover img {
    transform: translateY(-4px) scale(1.035);
  }
}

.craft-card img {
  width: clamp(74px, 7vw, 118px);
  height: clamp(74px, 7vw, 118px);
  justify-self: center;
  object-fit: contain;
  margin-bottom: clamp(22px, 3.5vw, 46px);
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.14));
  transition: transform 360ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.craft-card h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.craft-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.45;
  font-weight: 500;
}

.intro-section,
.craft-section,
.systems-section,
.modules-showcase,
.difference-section,
.process-section,
.team-section,
.plans-section,
.contact-section {
  padding: clamp(72px, 10vw, 150px) clamp(18px, 6vw, 88px);
}

.craft-section {
  padding-block: clamp(58px, 7vw, 96px);
}

.intro-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 74svh;
  overflow: hidden;
  text-align: center;
  color: var(--teal-dark);
  background:
    radial-gradient(ellipse 70% 50% at 15% 12%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(ellipse 60% 60% at 95% 100%, rgba(11, 46, 50, 0.18), transparent 60%),
    linear-gradient(160deg, #b8e3cf 0%, #7fc9b0 55%, #5fbfa3 100%);
}

.intro-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/background.svg") center / 300px 300px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.intro-section > * {
  position: relative;
  z-index: 1;
}

.intro-section h2 {
  color: var(--teal-dark);
}

.intro-section p {
  color: var(--teal-dark);
  opacity: 0.78;
}

.section-logo {
  width: clamp(120px, 14vw, 200px);
  height: auto;
  margin: 0 auto clamp(24px, 3.4vw, 44px);
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(11, 46, 50, 0.22));
}

.asg-detail-hero {
  --gravity-x: 0;
  --gravity-y: 0;
  min-height: min(82svh, 920px);
  padding-top: clamp(88px, 9vw, 126px);
}

.asg-detail-hero::before {
  transform: scale(1.035)
    translate3d(calc(var(--gravity-x) * -7px), calc(var(--gravity-y) * -7px), 0);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.asg-detail-hero::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 0;
  opacity: 0;
  background:
    radial-gradient(
      circle at calc(50% + var(--gravity-x) * 42%) calc(50% + var(--gravity-y) * 38%),
      rgba(255, 255, 255, 0.2),
      transparent 19%
    );
  transform: translate3d(calc(var(--gravity-x) * 8px), calc(var(--gravity-y) * 8px), 0);
  transition: opacity 280ms ease;
  pointer-events: none;
}

.asg-detail-hero.is-gravity-active::after {
  opacity: 1;
}

.asg-detail-brand {
  display: grid;
  justify-items: center;
  gap: clamp(12px, 1.15vw, 16px);
  width: max-content;
  margin: 0 auto 28px;
  transform:
    perspective(760px)
    translate3d(calc(var(--gravity-x) * 15px), calc(var(--gravity-y) * 12px), 0)
    rotateX(calc(var(--gravity-y) * -1.4deg))
    rotateY(calc(var(--gravity-x) * 1.7deg));
  transition: transform 430ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.asg-detail-logo {
  width: clamp(118px, 13vw, 176px);
  height: auto;
  margin: 0;
  border-radius: 24px;
  filter: drop-shadow(0 24px 50px rgba(11, 46, 50, 0.24));
}

.asg-detail-brand span {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: var(--teal-dark);
  line-height: 1;
}

.asg-detail-brand strong {
  color: var(--teal-dark);
  font-size: clamp(24px, 2.1vw, 36px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.asg-detail-brand small {
  color: rgba(10, 52, 56, 0.84);
  font-size: clamp(12px, 1vw, 17px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
}

.asg-detail-hero h1 {
  max-width: 1060px;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: clamp(42px, 6.5vw, 92px);
  line-height: 0.98;
  font-weight: 800;
}

.asg-detail-hero h1,
.asg-detail-hero p {
  transform: translate3d(calc(var(--gravity-x) * 7px), calc(var(--gravity-y) * 6px), 0);
  transition: transform 540ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.asg-flow-section {
  --asg-ink: #0b3b3e;
  --flow-x: 0;
  --flow-y: 0;
  overflow: hidden;
  padding: clamp(42px, 5vw, 72px) clamp(18px, 4vw, 74px) clamp(52px, 6vw, 84px);
  color: var(--asg-ink);
  background:
    radial-gradient(ellipse 72% 115% at 5% 4%, rgba(217, 250, 236, 0.98), transparent 62%),
    radial-gradient(ellipse 58% 110% at 94% 2%, rgba(127, 201, 176, 0.72), transparent 60%),
    radial-gradient(ellipse 58% 76% at 55% 36%, rgba(255, 255, 255, 0.9), transparent 66%),
    radial-gradient(ellipse 44% 54% at 36% 100%, rgba(91, 133, 132, 0.24), transparent 68%),
    linear-gradient(128deg, #eafff5 0%, #dcf6eb 34%, #d6eeec 68%, #c0e5da 100%);
}

.asg-flow-heading {
  max-width: 1480px;
  margin: 0 auto;
  color: var(--asg-ink);
}

.asg-flow-heading h2 {
  margin: 0 0 10px;
  color: inherit;
  max-width: 1180px;
  font-size: clamp(28px, 3.25vw, 52px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.asg-flow-heading p {
  max-width: 1050px;
  margin: 0;
  color: inherit;
  font-size: clamp(16px, 1.45vw, 23px);
  line-height: 1.34;
  font-weight: 700;
}

.asg-flow-stage {
  max-width: 1480px;
  margin: 0 auto;
  padding-top: clamp(24px, 3.2vw, 48px);
}

.asg-flow-orbit {
  position: relative;
  min-height: clamp(285px, 28vw, 430px);
  margin-bottom: clamp(20px, 2.2vw, 36px);
}

.asg-flow-mark,
.asg-flow-icon {
  position: absolute;
  display: block;
  transition:
    opacity 700ms ease,
    transform 820ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.asg-flow-mark {
  top: 50%;
  left: 50%;
  width: clamp(184px, 24vw, 360px);
  filter: drop-shadow(0 32px 48px rgba(11, 59, 62, 0.14));
}

.asg-flow-icon {
  --icon-shift-x: 10px;
  --icon-shift-y: 9px;
  --icon-turn: 0.4deg;
  width: clamp(54px, 5.8vw, 94px);
  height: clamp(54px, 5.8vw, 94px);
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(16%) sepia(23%) saturate(1235%) hue-rotate(137deg) brightness(96%) contrast(94%);
  opacity: 0.96;
}

.asg-flow-icon.icon-client {
  --icon-shift-x: -12px;
  --icon-shift-y: -9px;
  --icon-turn: -1deg;
  top: 4%;
  left: 1%;
}

.asg-flow-icon.icon-sale {
  --icon-shift-x: -8px;
  --icon-shift-y: 11px;
  --icon-turn: 1.3deg;
  top: 13%;
  left: 13%;
  width: clamp(62px, 6.8vw, 112px);
}

.asg-flow-icon.icon-home {
  --icon-shift-x: -13px;
  --icon-shift-y: 8px;
  --icon-turn: -1deg;
  top: 58%;
  left: 0;
}

.asg-flow-icon.icon-bank {
  --icon-shift-x: -9px;
  --icon-shift-y: -12px;
  --icon-turn: 1deg;
  top: 70%;
  left: 14%;
}

.asg-flow-icon.icon-inventory {
  --icon-shift-x: 11px;
  --icon-shift-y: -10px;
  --icon-turn: -1deg;
  top: 9%;
  right: 29%;
}

.asg-flow-icon.icon-expenses {
  --icon-shift-x: 13px;
  --icon-shift-y: 8px;
  --icon-turn: 1.2deg;
  top: 20%;
  right: 13%;
  width: clamp(68px, 7.4vw, 122px);
}

.asg-flow-icon.icon-security {
  --icon-shift-x: 10px;
  --icon-shift-y: -11px;
  --icon-turn: -0.9deg;
  top: 2%;
  right: 1%;
}

.asg-flow-icon.icon-payable {
  --icon-shift-x: 11px;
  --icon-shift-y: 12px;
  --icon-turn: 1deg;
  top: 58%;
  right: 18%;
  width: clamp(66px, 7vw, 116px);
}

.asg-flow-icon.icon-partner {
  --icon-shift-x: 9px;
  --icon-shift-y: -9px;
  --icon-turn: -1deg;
  top: 66%;
  right: 1%;
}

.asg-flow-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 22px);
}

.asg-flow-benefits article {
  display: grid;
  align-items: center;
  min-height: 94px;
  padding: clamp(16px, 1.45vw, 22px);
  border: 2px solid var(--asg-ink);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--asg-ink);
  font-size: clamp(17px, 1.32vw, 23px);
  line-height: 1.17;
  font-weight: 650;
  box-shadow: 12px 12px 0 var(--asg-ink);
  transition:
    opacity 700ms ease,
    transform 820ms cubic-bezier(0.2, 0.82, 0.2, 1),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 260ms ease;
}

[data-scroll-drift] {
  --drift-y: 30px;
  opacity: 0;
  transform: translate3d(0, var(--drift-y), 0);
}

.asg-flow-mark[data-scroll-drift] {
  transform:
    translate(
      calc(-50% + var(--flow-x) * 7px),
      calc(-50% + var(--drift-y) + var(--flow-y) * 6px)
    )
    scale(0.96);
}

.asg-flow-icon[data-scroll-drift] {
  transform:
    translate3d(
      calc(var(--flow-x) * var(--icon-shift-x)),
      calc(var(--drift-y) + var(--flow-y) * var(--icon-shift-y)),
      0
    )
    rotate(calc(var(--flow-x) * var(--icon-turn)));
}

[data-scroll-drift].is-in-view {
  --drift-y: 0px;
  opacity: 1;
}

.asg-flow-benefits article:nth-child(even)[data-scroll-drift] {
  transition-delay: 70ms;
}

.asg-flow-benefits article:nth-child(4n + 3)[data-scroll-drift] {
  transition-delay: 120ms;
}

.asg-flow-benefits article.is-in-view:hover {
  border-color: #15565b;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 15px 17px 0 #0b3b3e;
  transform: translateY(-7px) rotate(-0.6deg);
}

.asg-flow-benefits article:nth-child(even).is-in-view:hover {
  transform: translateY(-7px) rotate(0.6deg);
}

.asg-modules {
  --module-ink: #0a3438;
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 5vw, 76px);
  color: var(--module-ink);
  background:
    radial-gradient(ellipse 70% 50% at 15% 12%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(ellipse 60% 60% at 95% 100%, rgba(11, 46, 50, 0.18), transparent 60%),
    linear-gradient(160deg, #b8e3cf 0%, #7fc9b0 55%, #5fbfa3 100%);
}

.asg-modules::before {
  display: block;
  opacity: 0.34;
}

.asg-modules > * {
  position: relative;
  z-index: 1;
}

.asg-modules-title {
  max-width: 1460px;
  margin: 0 auto clamp(34px, 4vw, 58px);
  padding: 0;
  color: var(--module-ink);
  background: none;
  font-size: clamp(30px, 3.65vw, 58px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

.asg-module-tags {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 2.3vw, 42px);
  max-width: 1460px;
  margin: 0 auto clamp(40px, 5vw, 74px);
}

.asg-module-tags article {
  display: grid;
  justify-items: center;
  gap: clamp(12px, 1.5vw, 22px);
  text-align: center;
  transition:
    opacity 700ms ease,
    transform 820ms cubic-bezier(0.2, 0.82, 0.2, 1),
    filter 240ms ease;
}

.asg-module-tags article:hover {
  transform: translateY(-9px) rotate(-1.2deg);
  filter: drop-shadow(0 18px 24px rgba(10, 52, 56, 0.12));
}

.asg-module-tags article:nth-child(even):hover {
  transform: translateY(-9px) rotate(1.2deg);
}

.asg-module-tags img {
  width: min(100%, clamp(104px, 9.4vw, 154px));
  height: auto;
  filter: drop-shadow(0 20px 32px rgba(10, 52, 56, 0.13));
}

.asg-module-tags h3 {
  max-width: 9ch;
  margin: 0;
  color: inherit;
  font-size: clamp(20px, 2vw, 35px);
  line-height: 1.04;
  font-weight: 750;
  letter-spacing: 0;
}

.asg-development-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(135px, 0.34fr) minmax(230px, 0.66fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  max-width: 1180px;
  min-height: clamp(230px, 20vw, 300px);
  margin: 0 auto;
  padding: clamp(22px, 2.4vw, 40px);
  border: 3px solid var(--module-ink);
  border-radius: 22px;
  color: var(--module-ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 14px 14px 0 var(--module-ink);
  transition:
    opacity 700ms ease,
    transform 820ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.asg-development-character {
  align-self: center;
  width: min(100%, 184px);
  margin: 0 auto;
}

.asg-development-panel strong {
  color: inherit;
  font-size: clamp(28px, 3.1vw, 48px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.asg-development-panel .asg-coming-label {
  justify-self: center;
  width: max-content;
  padding: clamp(14px, 1.4vw, 20px) clamp(24px, 2.2vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #f6fffc;
  background:
    radial-gradient(ellipse 110% 160% at 16% 0%, rgba(123, 188, 177, 0.45), transparent 58%),
    linear-gradient(135deg, #0c4247, #082e33);
  box-shadow: 0 18px 42px rgba(10, 52, 56, 0.18);
  font-size: clamp(22px, 2.25vw, 35px);
  font-weight: 800;
}

.asg-coming-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(106px, 1fr));
  align-items: end;
  gap: clamp(14px, 2vw, 34px);
}

.asg-coming-modules div {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.asg-coming-modules img {
  width: min(100%, clamp(104px, 9vw, 148px));
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(10, 52, 56, 0.12));
}

.asg-coming-modules span {
  color: inherit;
  font-size: clamp(20px, 1.8vw, 32px);
  line-height: 1;
  font-weight: 720;
}

.asg-preview-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(66px, 8vw, 118px) clamp(18px, 5vw, 88px);
  color: #0a3438;
  background:
    radial-gradient(ellipse 62% 66% at 12% 12%, rgba(255, 255, 255, 0.92), transparent 66%),
    radial-gradient(ellipse 68% 72% at 100% 100%, rgba(11, 46, 50, 0.15), transparent 64%),
    linear-gradient(150deg, #e7f7f0 0%, #d0eae2 48%, #b6ddd0 100%);
}

.asg-preview-section > *:not(.asg-preview-orbit) {
  position: relative;
  z-index: 1;
}

.asg-preview-orbit {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.asg-preview-orbit img {
  position: absolute;
  display: block;
  width: clamp(70px, 7vw, 126px);
  height: auto;
  opacity: 0.11;
  filter: brightness(0) saturate(100%) invert(16%) sepia(23%) saturate(1235%) hue-rotate(137deg) brightness(96%) contrast(94%);
}

.asg-preview-orbit img:nth-child(1) {
  top: clamp(122px, 13vw, 210px);
  left: clamp(10px, 3vw, 54px);
  transform: rotate(-10deg);
}

.asg-preview-orbit img:nth-child(2) {
  top: 42%;
  right: clamp(4px, 3vw, 52px);
  transform: rotate(8deg);
}

.asg-preview-orbit img:nth-child(3) {
  right: clamp(54px, 13vw, 260px);
  bottom: clamp(130px, 16vw, 250px);
  transform: rotate(-8deg);
}

.asg-preview-orbit img:nth-child(4) {
  bottom: clamp(38px, 6vw, 96px);
  left: clamp(18px, 9vw, 170px);
  transform: rotate(7deg);
}

.asg-preview-heading {
  max-width: 940px;
  margin: 0 auto clamp(32px, 4.5vw, 62px);
  text-align: center;
}

.asg-preview-heading .eyebrow {
  margin-bottom: 15px;
}

.asg-preview-heading h2 {
  margin: 0 0 16px;
  color: inherit;
  font-size: clamp(34px, 4.8vw, 74px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.asg-preview-heading > p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(10, 52, 56, 0.72);
  font-size: clamp(16px, 1.55vw, 24px);
  line-height: 1.4;
  font-weight: 600;
}

.asg-preview-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(16px, 2vw, 28px);
  max-width: 1460px;
  margin: 0 auto;
}

.asg-preview-gallery figure {
  margin: 0;
}

.asg-preview-main,
.asg-preview-rail figure,
.asg-preview-pos,
.asg-preview-payment,
.asg-preview-goals,
.asg-preview-document {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: clamp(20px, 2vw, 32px);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 30px 90px rgba(10, 52, 56, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  transition:
    opacity 700ms ease,
    transform 820ms cubic-bezier(0.2, 0.82, 0.2, 1),
    box-shadow 260ms ease;
}

.asg-preview-main:hover,
.asg-preview-rail figure:hover,
.asg-preview-pos:hover,
.asg-preview-payment:hover,
.asg-preview-goals:hover,
.asg-preview-document:hover {
  box-shadow:
    0 38px 110px rgba(10, 52, 56, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: translateY(-7px);
}

.asg-preview-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.asg-preview-main img {
  aspect-ratio: 1086 / 899;
  object-fit: cover;
}

.asg-preview-main figcaption,
.asg-preview-pos figcaption,
.asg-preview-payment figcaption,
.asg-preview-goals figcaption {
  position: absolute;
  inset: auto clamp(14px, 1.6vw, 24px) clamp(14px, 1.6vw, 24px);
  display: grid;
  gap: 4px;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  background: rgba(10, 52, 56, 0.78);
  color: #f5fffb;
  backdrop-filter: blur(18px);
}

.asg-preview-main figcaption strong,
.asg-preview-pos figcaption strong,
.asg-preview-payment figcaption strong,
.asg-preview-goals figcaption strong {
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.1;
  font-weight: 800;
}

.asg-preview-main figcaption span,
.asg-preview-pos figcaption span,
.asg-preview-payment figcaption span,
.asg-preview-goals figcaption span {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.35;
  font-weight: 550;
}

.asg-preview-rail {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}

.asg-preview-rail figure {
  display: grid;
}

.asg-preview-ledger img {
  aspect-ratio: 1259 / 552;
  object-fit: cover;
}

.asg-preview-alerts img {
  aspect-ratio: 1261 / 344;
  object-fit: cover;
}

.asg-preview-rail figcaption,
.asg-preview-document figcaption {
  padding: 15px 18px 17px;
  color: rgba(10, 52, 56, 0.84);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.35;
  font-weight: 700;
}

.asg-preview-sales {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.98fr);
  gap: clamp(16px, 2vw, 28px);
}

.asg-preview-pos img {
  aspect-ratio: 1586 / 996;
  object-fit: cover;
}

.asg-preview-payment img {
  aspect-ratio: 1575 / 971;
  object-fit: cover;
}

.asg-preview-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.42fr);
  align-items: start;
  gap: clamp(16px, 2vw, 28px);
}

.asg-preview-goals img {
  aspect-ratio: 1061 / 377;
  object-fit: cover;
}

.asg-preview-document {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.asg-preview-document img {
  aspect-ratio: 638 / 760;
  object-fit: cover;
  object-position: top center;
}

.asg-preview-document figcaption {
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(14px);
}

.asg-preview-document::after {
  content: "Factura lista";
  position: absolute;
  top: clamp(14px, 1.5vw, 22px);
  right: clamp(14px, 1.5vw, 22px);
  padding: 9px 13px;
  border-radius: 999px;
  color: #effff8;
  background: rgba(10, 52, 56, 0.78);
  box-shadow: 0 14px 30px rgba(10, 52, 56, 0.2);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(16px);
}

.asg-preview-goals {
  isolation: isolate;
}

.asg-preview-goals::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 48%, rgba(10, 52, 56, 0.1) 100%);
}

.asg-preview-goals figcaption {
  z-index: 2;
}

.asg-preview-payment::after {
  content: "";
  position: absolute;
  inset: -22% 52% auto -20%;
  height: 54%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(191, 250, 226, 0.2), transparent 68%);
  pointer-events: none;
}

.asg-preview-sales figure:nth-child(2) {
  transform: translateY(clamp(0px, 1.6vw, 18px));
}

.asg-preview-sales figure:nth-child(2):hover {
  transform: translateY(clamp(-7px, 0.7vw, 4px));
}

.asg-preview-main::before {
  content: "Vista ejecutiva";
  position: absolute;
  top: clamp(13px, 1.25vw, 20px);
  right: clamp(14px, 1.4vw, 24px);
  z-index: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  color: #f2fffb;
  background: rgba(10, 52, 56, 0.34);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.asg-preview-sales,
.asg-preview-proof {
  padding-top: clamp(2px, 0.8vw, 10px);
}

.asg-preview-payment figcaption {
  max-width: min(310px, calc(100% - 28px));
}

.asg-preview-pos figcaption {
  max-width: min(420px, calc(100% - 28px));
}

.asg-preview-alerts figcaption {
  background: rgba(244, 255, 250, 0.78);
}

.asg-preview-ledger figcaption {
  background: rgba(255, 255, 255, 0.72);
}

.asg-demo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: max-content;
  min-height: 66px;
  margin: clamp(34px, 4vw, 58px) auto 0;
  padding: 16px 18px 16px clamp(26px, 2.4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: #f4fffb;
  background:
    radial-gradient(ellipse 90% 140% at 10% 0%, rgba(127, 201, 176, 0.48), transparent 58%),
    linear-gradient(135deg, #124c50 0%, #082f34 100%);
  box-shadow:
    0 22px 54px rgba(10, 52, 56, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1;
  font-weight: 800;
  transition:
    opacity 700ms ease,
    transform 820ms cubic-bezier(0.2, 0.82, 0.2, 1),
    box-shadow 240ms ease,
    background 240ms ease;
}

.asg-demo-pill strong {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #0a3438;
  background: #f3fffa;
  font-size: 24px;
  font-weight: 650;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.asg-demo-pill.is-in-view:hover {
  background:
    radial-gradient(ellipse 90% 140% at 12% 0%, rgba(164, 232, 206, 0.54), transparent 58%),
    linear-gradient(135deg, #185d61 0%, #082f34 100%);
  box-shadow:
    0 28px 68px rgba(10, 52, 56, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transform: translateY(-4px);
}

.asg-demo-pill:hover strong {
  transform: translateX(4px);
}

.mobile-swipe-hint {
  display: none;
}

.intro-section h2,
.systems-heading h2,
.section-heading h2,
.team-title h2,
.contact-section h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.028em;
}

.intro-section p {
  max-width: 880px;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 31px);
  line-height: 1.35;
  font-weight: 600;
}

.systems-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(95, 191, 163, 0.18) 0%, rgba(184, 227, 207, 0.08) 60%, #fbfbfd 100%);
}

.systems-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/background.svg") center / 320px 320px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.systems-section > * {
  position: relative;
  z-index: 1;
}

.systems-heading,
.section-heading {
  max-width: 1050px;
  margin: 0 auto clamp(34px, 5vw, 70px);
}

.systems-heading h2 {
  max-width: 920px;
  font-size: clamp(36px, 5.2vw, 76px);
}

.systems-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  max-width: 1440px;
  margin: 0 auto;
}

.system-card {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: space-between;
  gap: clamp(28px, 3vw, 46px);
  min-height: 430px;
  padding: clamp(28px, 3.8vw, 56px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 38px;
  box-shadow: 0 32px 100px rgba(26, 24, 42, 0.16);
  transition:
    opacity 720ms ease,
    transform 820ms cubic-bezier(0.2, 0.82, 0.2, 1),
    box-shadow 320ms ease,
    border-color 240ms ease;
}

.system-card[data-scroll-drift] {
  --drift-y: 46px;
}

.systems-catalog article:nth-child(2)[data-scroll-drift] {
  transition-delay: 120ms;
}

@media (hover: hover) and (pointer: fine) {
  .system-card.is-in-view:hover {
    box-shadow: 0 44px 130px rgba(26, 24, 42, 0.28);
  }
}

.system-card::before {
  content: "";
  position: absolute;
  inset: auto -18% -42% 34%;
  aspect-ratio: 1;
  border-radius: 999px;
  z-index: -1;
  filter: blur(2px);
  pointer-events: none;
}

.asg-system {
  --gravity-x: 0;
  --gravity-y: 0;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  background:
    radial-gradient(ellipse 84% 82% at 10% 4%, rgba(145, 198, 202, 0.42), transparent 54%),
    radial-gradient(ellipse 74% 70% at 100% 100%, rgba(11, 46, 50, 0.46), transparent 58%),
    linear-gradient(140deg, #4f7c82 0%, #21474d 58%, #123338 100%);
}

.asg-system::before {
  background:
    radial-gradient(circle, rgba(184, 227, 207, 0.2), rgba(83, 130, 135, 0));
  transform: translate3d(calc(var(--gravity-x) * 12px), calc(var(--gravity-y) * 10px), 0);
  transition: transform 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.asg-system::after {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: 0;
  opacity: 0;
  background:
    radial-gradient(
      circle at calc(50% + var(--gravity-x) * 42%) calc(50% + var(--gravity-y) * 40%),
      rgba(255, 255, 255, 0.14),
      transparent 20%
    );
  transform: translate3d(calc(var(--gravity-x) * 7px), calc(var(--gravity-y) * 7px), 0);
  transition: opacity 260ms ease;
  pointer-events: none;
}

.asg-system.is-gravity-active::after {
  opacity: 1;
}

.msp-system {
  --gravity-x: 0;
  --gravity-y: 0;
  color: #690067;
  background:
    radial-gradient(ellipse 76% 72% at 8% 4%, rgba(255, 255, 255, 0.92), transparent 56%),
    linear-gradient(140deg, rgba(255, 185, 188, 0.64), rgba(255, 239, 232, 0.95));
}

.msp-system::before {
  background:
    radial-gradient(circle, rgba(124, 2, 121, 0.14), rgba(124, 2, 121, 0));
  transform: translate3d(calc(var(--gravity-x) * 12px), calc(var(--gravity-y) * 10px), 0);
  transition: transform 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.msp-system::after {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: 0;
  opacity: 0;
  background:
    radial-gradient(
      circle at calc(50% + var(--gravity-x) * 42%) calc(50% + var(--gravity-y) * 40%),
      rgba(124, 2, 121, 0.18),
      transparent 22%
    );
  transform: translate3d(calc(var(--gravity-x) * 7px), calc(var(--gravity-y) * 7px), 0);
  transition: opacity 260ms ease;
  pointer-events: none;
}

.msp-system.is-gravity-active::after {
  opacity: 1;
}

.msp-system .system-copy {
  transform: translate3d(calc(var(--gravity-x) * 5px), calc(var(--gravity-y) * 4px), 0);
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.msp-brand > img {
  transform:
    perspective(640px)
    translate3d(calc(var(--gravity-x) * 13px), calc(var(--gravity-y) * 11px), 0)
    rotateX(calc(var(--gravity-y) * -1.3deg))
    rotateY(calc(var(--gravity-x) * 1.6deg));
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.system-copy {
  position: relative;
  z-index: 1;
}

.system-copy {
  display: grid;
  align-content: space-between;
  min-height: 100%;
  gap: 22px;
}

.system-brand {
  display: flex;
  align-items: end;
  gap: clamp(14px, 1.8vw, 22px);
}

.system-brand > img {
  width: clamp(64px, 6vw, 82px);
  height: clamp(64px, 6vw, 82px);
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 16px 32px rgba(11, 46, 50, 0.12));
}

.system-brand span {
  display: inline-flex;
  margin-bottom: 8px;
  color: rgba(11, 46, 50, 0.68);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asg-brand {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.asg-brand span {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.asg-brand > img {
  width: clamp(84px, 9vw, 126px);
  height: auto;
  padding: 0;
  border-radius: 25px;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.2));
  transform:
    perspective(640px)
    translate3d(calc(var(--gravity-x) * 13px), calc(var(--gravity-y) * 11px), 0)
    rotateX(calc(var(--gravity-y) * -1.3deg))
    rotateY(calc(var(--gravity-x) * 1.6deg));
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.asg-system p {
  color: rgba(255, 255, 255, 0.94);
}

.asg-system .dark-link {
  color: #dff6ee;
}

.system-cta {
  width: max-content;
  min-height: 0;
  padding: 13px 19px;
  border: 1px solid rgba(223, 246, 238, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 38px rgba(6, 29, 33, 0.18);
  backdrop-filter: blur(12px);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.system-cta:hover {
  border-color: rgba(223, 246, 238, 0.52);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.asg-system .system-copy {
  transform: translate3d(calc(var(--gravity-x) * 5px), calc(var(--gravity-y) * 4px), 0);
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.system-copy p {
  max-width: 490px;
  margin: 0;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.44;
  font-weight: 700;
}

.msp-brand {
  align-items: start;
}

.msp-brand > img {
  width: min(100%, 285px);
  height: auto;
  border-radius: 0;
  filter: drop-shadow(0 14px 26px rgba(124, 2, 121, 0.12));
}

.msp-system strong {
  width: max-content;
  padding: 11px 18px;
  border: 1px solid rgba(124, 2, 121, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #7c0279;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 14px 30px rgba(124, 2, 121, 0.1);
}

.centered {
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 20px;
}

.product-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
  max-width: 1440px;
  min-height: 640px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 88px);
  overflow: hidden;
  border-radius: 38px;
  background:
    linear-gradient(90deg, rgba(83, 130, 135, 0.18), rgba(83, 130, 135, 0.08)),
    var(--white);
  box-shadow: var(--shadow);
}

.product-feature::after {
  content: "";
  position: absolute;
  inset: 0 0 0 50%;
  background: rgba(83, 130, 135, 0.22);
  pointer-events: none;
}

.product-card-copy,
.product-illustration {
  position: relative;
  z-index: 1;
}

.product-card-copy img {
  width: 76px;
  margin-bottom: 20px;
  border-radius: 16px;
}

.product-card-copy h3 {
  color: var(--teal);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
}

.product-card-copy p {
  max-width: 610px;
  color: var(--teal-dark);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.42;
  font-weight: 700;
}

.product-illustration {
  width: min(360px, 72vw);
  justify-self: center;
}

.modules-showcase {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(184, 227, 207, 0.22) 0%, rgba(95, 191, 163, 0.06) 100%),
    var(--paper);
}

.modules-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/background.svg") center / 340px 340px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.modules-showcase > * {
  position: relative;
  z-index: 1;
}

.module-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 18px;
  max-width: 1360px;
  margin: 0 auto;
}

.module-strip article,
.difference-grid article,
.plan {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(17, 16, 20, 0.06);
}

.module-strip article {
  display: grid;
  align-content: start;
  min-height: 420px;
  padding: 28px;
}

.module-strip img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 28px;
}

.module-strip h3,
.difference-grid h3,
.plan h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.module-strip p,
.difference-grid p,
.plan p {
  color: var(--muted);
  line-height: 1.55;
}

.difference-section {
  background: var(--white);
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1360px;
  margin: 0 auto;
  gap: 16px;
}

.difference-grid article {
  min-height: 330px;
  padding: 30px;
}

.difference-grid img,
.icon-orb {
  width: 82px;
  height: 82px;
  margin-bottom: 30px;
}

.difference-grid img {
  object-fit: contain;
}

.icon-orb {
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: var(--white);
  background: var(--purple);
  font-size: 28px;
  font-weight: 900;
}

.process-section {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(ellipse 58% 52% at 6% 8%, rgba(255, 106, 31, 0.17), transparent 58%),
    radial-gradient(ellipse 74% 62% at 95% 22%, rgba(118, 95, 161, 0.24), transparent 60%),
    radial-gradient(ellipse 64% 54% at 82% 92%, rgba(79, 47, 136, 0.13), transparent 62%),
    linear-gradient(135deg, #ffffff 0%, #f7f2ff 52%, #ede7fb 100%);
}

.process-orbit {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.process-orbit img {
  position: absolute;
  width: clamp(54px, 6vw, 92px);
  height: auto;
  opacity: 0.18;
  filter: saturate(0.7);
  will-change: transform, opacity;
}

.process-orbit img:nth-child(1) {
  top: 7%; left: 5%;
  animation: orbit-loop-a 7.5s ease-in-out infinite;
}

.process-orbit img:nth-child(2) {
  top: 24%; right: 7%;
  width: clamp(46px, 5vw, 74px);
  animation: orbit-loop-b 9s ease-in-out infinite;
  animation-delay: -1.4s;
}

.process-orbit img:nth-child(3) {
  bottom: 30%; left: 8%;
  width: clamp(46px, 5vw, 74px);
  animation: orbit-loop-c 8.2s ease-in-out infinite;
  animation-delay: -2.6s;
}

.process-orbit img:nth-child(4) {
  bottom: 9%; right: 5%;
  animation: orbit-loop-d 10s ease-in-out infinite;
  animation-delay: -3.8s;
}

@keyframes orbit-loop-a {
  0%, 100% { transform: rotate(-10deg) translate(0, 0) scale(1); opacity: 0.14; }
  25%      { transform: rotate(-4deg) translate(-10px, -12px) scale(1.06); opacity: 0.22; }
  50%      { transform: rotate(-14deg) translate(8px, -22px) scale(1); opacity: 0.18; }
  75%      { transform: rotate(-8deg) translate(14px, -8px) scale(0.94); opacity: 0.16; }
}

@keyframes orbit-loop-b {
  0%, 100% { transform: rotate(12deg) translate(0, 0) scale(1); opacity: 0.14; }
  30%      { transform: rotate(18deg) translate(-12px, 10px) scale(1.05); opacity: 0.2; }
  60%      { transform: rotate(8deg) translate(-6px, -14px) scale(0.96); opacity: 0.18; }
}

@keyframes orbit-loop-c {
  0%, 100% { transform: rotate(6deg) translate(0, 0) scale(1); opacity: 0.16; }
  35%      { transform: rotate(0deg) translate(14px, -10px) scale(1.04); opacity: 0.22; }
  70%      { transform: rotate(12deg) translate(6px, 8px) scale(0.98); opacity: 0.16; }
}

@keyframes orbit-loop-d {
  0%, 100% { transform: rotate(-14deg) translate(0, 0) scale(1); opacity: 0.18; }
  25%      { transform: rotate(-8deg) translate(10px, -8px) scale(1.06); opacity: 0.24; }
  55%      { transform: rotate(-18deg) translate(-10px, -18px) scale(1); opacity: 0.18; }
  80%      { transform: rotate(-10deg) translate(-14px, -4px) scale(0.94); opacity: 0.16; }
}

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

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

.workflow-heading {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.workflow-heading h2 {
  max-width: 880px;
  margin-bottom: 14px;
  color: var(--purple);
  font-size: clamp(38px, 5.6vw, 82px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.workflow-heading p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.workflow-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1320px;
  margin: clamp(38px, 6vw, 78px) auto 0;
}

.workflow-node {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 300px;
  padding: 26px;
  overflow: visible;
  border: 1px solid rgba(79, 47, 136, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    radial-gradient(ellipse 80% 70% at 10% 0%, rgba(79, 47, 136, 0.08), transparent 58%);
  box-shadow: 0 24px 70px rgba(79, 47, 136, 0.12);
  transition:
    opacity 620ms ease,
    transform 460ms cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.workflow-node[data-scroll-drift] {
  --drift-y: 38px;
}

.workflow-node:nth-child(2)[data-scroll-drift] { transition-delay: 80ms; }
.workflow-node:nth-child(3)[data-scroll-drift] { transition-delay: 160ms; }
.workflow-node:nth-child(4)[data-scroll-drift] { transition-delay: 240ms; }
.workflow-node:nth-child(5)[data-scroll-drift] { transition-delay: 320ms; }
.workflow-node:nth-child(6)[data-scroll-drift] { transition-delay: 400ms; }
.workflow-node:nth-child(7)[data-scroll-drift] { transition-delay: 480ms; }
.workflow-node:nth-child(8)[data-scroll-drift] { transition-delay: 560ms; }

.workflow-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -32px;
  z-index: 2;
  width: 38px;
  height: 12px;
  background: var(--purple);
  clip-path: polygon(0 42%, 72% 42%, 72% 0, 100% 50%, 72% 100%, 72% 58%, 0 58%);
  opacity: 0.78;
  transform: translateY(-50%);
  filter: drop-shadow(0 10px 18px rgba(79, 47, 136, 0.18));
}

.workflow-node:nth-child(3)::after,
.workflow-node:nth-child(6)::after,
.workflow-node:nth-child(8)::after {
  display: none;
}

.workflow-node img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 24px;
  filter: drop-shadow(0 16px 24px rgba(79, 47, 136, 0.12));
  transition: transform 220ms ease, filter 220ms ease, opacity 220ms ease;
}

.workflow-node span {
  display: inline-grid;
  place-items: center;
  position: absolute;
  top: 22px;
  right: 22px;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 99px;
  color: var(--white);
  background: var(--purple);
  font-size: 13px;
  font-weight: 900;
}

.workflow-node h3 {
  max-width: 13ch;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(22px, 1.9vw, 29px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.workflow-node p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.workflow-node:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 47, 136, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88)),
    radial-gradient(ellipse 90% 74% at 12% 0%, rgba(255, 106, 31, 0.1), transparent 58%),
    radial-gradient(ellipse 80% 70% at 100% 10%, rgba(79, 47, 136, 0.1), transparent 62%);
  box-shadow: 0 34px 88px rgba(79, 47, 136, 0.18);
}

.workflow-node:hover img {
  transform: translateY(-5px) scale(1.04);
  filter: drop-shadow(0 22px 30px rgba(79, 47, 136, 0.18));
}

.workflow-start {
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 60% at 10% 8%, rgba(255, 106, 31, 0.2), transparent 60%),
    linear-gradient(145deg, #4f2f88, #2d174f);
}

.workflow-start h3,
.workflow-start p {
  color: var(--white);
}

.workflow-start:hover,
.workflow-finish:hover {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 36px 92px rgba(79, 47, 136, 0.3);
}

.workflow-start:hover {
  background:
    radial-gradient(ellipse 78% 66% at 10% 8%, rgba(255, 106, 31, 0.26), transparent 60%),
    linear-gradient(145deg, #5b379b, #321958);
}

.workflow-finish:hover {
  background:
    radial-gradient(ellipse 86% 66% at 92% 8%, rgba(255, 106, 31, 0.24), transparent 58%),
    linear-gradient(145deg, #8067ae, #53308f);
}

.workflow-start img,
.workflow-finish img {
  filter: brightness(0) invert(1) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
  opacity: 0.96;
}

.workflow-start:hover img,
.workflow-finish:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 22px 34px rgba(0, 0, 0, 0.24));
}

.workflow-decision {
  background: #f7f1ff;
}

.workflow-finish {
  color: var(--white);
  background:
    radial-gradient(ellipse 80% 60% at 92% 8%, rgba(255, 106, 31, 0.2), transparent 58%),
    linear-gradient(145deg, #765fa1, #4f2f88);
}

.workflow-finish h3,
.workflow-finish p {
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .hero-pattern,
  .hero-brand-logo,
  .hero-brand-text,
  .asg-detail-hero::before,
  .asg-detail-brand,
  .asg-detail-logo,
  .asg-detail-hero h1,
  .asg-detail-hero p,
  .asg-system::before,
  .asg-system .system-copy,
  .asg-brand > img {
    transform: none;
    transition: none;
  }

  .hero-brand-panel::after,
  .asg-detail-hero::after,
  .asg-system::after {
    display: none;
  }

  .workflow-node,
  .workflow-node img,
  .craft-card img {
    transition: none;
  }

  [data-scroll-drift] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .asg-flow-mark[data-scroll-drift] {
    transform: translate(-50%, -50%);
  }

  .workflow-node:hover,
  .workflow-node:hover img,
  .craft-card.is-in-view:hover,
  .craft-card:nth-child(even).is-in-view:hover,
  .craft-card.is-in-view:hover img,
  .asg-module-tags article:hover,
  .asg-module-tags article:nth-child(even):hover,
  .asg-flow-benefits article.is-in-view:hover,
  .asg-flow-benefits article:nth-child(even).is-in-view:hover,
  .asg-demo-pill.is-in-view:hover,
  .asg-plan.is-in-view:hover {
    transform: none;
  }
}

.team-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(50px, 6.4vw, 86px);
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 58% at 18% 16%, rgba(255, 106, 31, 0.18), transparent 62%),
    radial-gradient(ellipse 64% 56% at 92% 18%, rgba(118, 95, 161, 0.34), transparent 58%),
    linear-gradient(rgba(79, 47, 136, 0.72), rgba(45, 23, 79, 0.78)),
    url("assets/background.svg") center / 320px 320px,
    linear-gradient(145deg, #4f2f88 0%, #2d174f 100%);
}

.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)),
    url("assets/background.svg") center / 300px 300px;
  filter: invert(1);
  opacity: 0.16;
  pointer-events: none;
}

.team-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(45, 23, 79, 0.72));
  pointer-events: none;
}

.team-title {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-bottom: clamp(28px, 3.6vw, 48px);
}

.team-title h2 {
  max-width: 760px;
  font-size: clamp(38px, 4.9vw, 68px);
}

.team-title p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.45;
  font-weight: 700;
}

.team-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.team-board article {
  position: relative;
  min-height: 324px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: end;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    radial-gradient(ellipse 90% 70% at 50% 8%, rgba(255, 255, 255, 0.2), transparent 62%);
  box-shadow: 0 28px 80px rgba(20, 10, 34, 0.26);
  backdrop-filter: blur(10px);
  transition:
    opacity 720ms ease,
    transform 820ms cubic-bezier(0.2, 0.82, 0.2, 1),
    border-color 280ms ease,
    background 320ms ease,
    box-shadow 320ms ease;
}

.team-board article:nth-child(2)[data-scroll-drift] { transition-delay: 90ms; }
.team-board article:nth-child(3)[data-scroll-drift] { transition-delay: 180ms; }
.team-board article:nth-child(4)[data-scroll-drift] { transition-delay: 270ms; }

.team-board article img,
.team-board article span,
.team-board article strong {
  transition:
    transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1),
    color 240ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .team-board article.is-in-view:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.44);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.14)),
      radial-gradient(ellipse 90% 70% at 50% 8%, rgba(255, 255, 255, 0.32), transparent 62%);
    box-shadow: 0 44px 110px rgba(20, 10, 34, 0.44);
  }

  .team-board article.is-in-view:hover img {
    transform: translateY(-6px) scale(1.045);
  }

  .team-board article.is-in-view:hover span {
    transform: scale(1.06) rotate(-2.5deg);
  }
}

.team-board span {
  display: inline-flex;
  position: relative;
  z-index: 2;
  width: max-content;
  margin-bottom: 10px;
  padding: 9px 15px;
  border-radius: 20px 20px 20px 4px;
  background: var(--white);
  color: var(--purple);
  font-size: 17px;
  font-style: italic;
  font-weight: 900;
}

.team-board img {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: center;
  width: min(92%, 212px);
  max-height: 216px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.28));
}

.team-board strong {
  position: relative;
  z-index: 2;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: clamp(19px, 1.65vw, 26px);
  line-height: 1.05;
}

.plans-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 52% 82% at 50% 0%, rgba(255, 255, 255, 0.9), transparent 62%),
    radial-gradient(ellipse 42% 62% at 0% 100%, rgba(127, 201, 176, 0.24), transparent 68%),
    linear-gradient(145deg, #edf8f4 0%, #dcefea 52%, #cae4db 100%);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.plan {
  padding: 32px;
}

.plan.featured {
  color: var(--white);
  background: var(--ink);
}

.plan strong {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.plan.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.asg-plan-orbit {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.asg-plan-orbit img {
  position: absolute;
  width: clamp(68px, 7vw, 116px);
  height: auto;
  opacity: 0.16;
  filter: brightness(0) saturate(100%) invert(16%) sepia(23%) saturate(1235%) hue-rotate(137deg) brightness(96%) contrast(94%);
}

.asg-plan-orbit img:nth-child(1) {
  top: clamp(44px, 6vw, 88px);
  left: clamp(10px, 5vw, 86px);
  transform: rotate(-9deg);
}

.asg-plan-orbit img:nth-child(2) {
  top: clamp(100px, 14vw, 196px);
  right: clamp(8px, 5vw, 90px);
  transform: rotate(8deg);
}

.asg-plan-orbit img:nth-child(3) {
  right: clamp(70px, 14vw, 270px);
  bottom: clamp(12px, 4vw, 66px);
  transform: rotate(-6deg);
}

.asg-plans-heading {
  max-width: 980px;
}

.asg-plans-heading h2 {
  color: #0a3438;
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 800;
}

.asg-plans-heading > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(10, 52, 56, 0.68);
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.42;
  font-weight: 650;
}

.asg-plans-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
  max-width: 1540px;
}

.asg-plan {
  display: grid;
  align-content: start;
  gap: 0;
  min-height: clamp(360px, 27vw, 420px);
  padding: clamp(22px, 2vw, 32px);
  border-color: rgba(10, 52, 56, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(ellipse 100% 80% at 14% 0%, rgba(255, 255, 255, 0.96), transparent 55%),
    rgba(255, 255, 255, 0.68);
  box-shadow:
    0 28px 76px rgba(10, 52, 56, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  transition:
    opacity 700ms ease,
    transform 820ms cubic-bezier(0.2, 0.82, 0.2, 1),
    box-shadow 240ms ease;
}

.asg-plan.is-in-view:hover {
  transform: translateY(-8px);
  box-shadow:
    0 38px 90px rgba(10, 52, 56, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.asg-plan > img {
  width: clamp(58px, 4.8vw, 78px);
  height: clamp(58px, 4.8vw, 78px);
  margin-bottom: clamp(20px, 2vw, 30px);
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(16%) sepia(23%) saturate(1235%) hue-rotate(137deg) brightness(96%) contrast(94%);
}

.asg-plan > .asg-plan-module-mark {
  width: clamp(72px, 6.4vw, 104px);
  height: clamp(72px, 6.4vw, 104px);
  padding: 0;
  border-radius: 20px;
  object-fit: contain;
  background: none;
  filter: drop-shadow(0 16px 28px rgba(10, 52, 56, 0.14));
}

.asg-plan h3 {
  margin-bottom: clamp(15px, 1.4vw, 22px);
  color: #0a3438;
  font-size: clamp(19px, 1.35vw, 25px);
  line-height: 1.12;
  font-weight: 820;
  letter-spacing: 0;
}

.asg-plan strong {
  margin-bottom: clamp(16px, 1.4vw, 22px);
  color: #0a3438;
  font-size: clamp(24px, 1.8vw, 32px);
  line-height: 1.08;
  font-weight: 800;
}

.asg-plan strong small {
  font-size: 0.52em;
  font-weight: 650;
}

.asg-plan p {
  margin: 0 0 auto;
  color: rgba(10, 52, 56, 0.72);
  font-size: clamp(16px, 1.28vw, 19px);
  font-weight: 650;
}

.asg-plan ul {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  color: rgba(10, 52, 56, 0.76);
  list-style: none;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.25;
  font-weight: 650;
}

.asg-plan li {
  position: relative;
  padding-left: 22px;
}

.asg-plan li::before {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 0;
  color: #0a6765;
  font-weight: 950;
}

.asg-plan.is-popular::after {
  content: "Más popular";
  position: absolute;
  top: 22px;
  right: -39px;
  width: 142px;
  padding: 8px 0;
  color: #f7ffef;
  background: #b8ca2a;
  box-shadow: 0 12px 28px rgba(71, 85, 8, 0.18);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  text-align: center;
  transform: rotate(38deg);
}

.asg-plan.featured {
  color: #f4fffb;
  border-color: rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(ellipse 86% 66% at 14% 0%, rgba(127, 201, 176, 0.26), transparent 58%),
    linear-gradient(145deg, #124c50 0%, #082f34 100%);
}

.asg-plan.featured > img {
  filter: brightness(0) invert(1);
}

.asg-plan.featured > .asg-plan-module-mark {
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.22));
}

.asg-plan.featured h3 {
  color: rgba(244, 255, 251, 0.92);
}

.asg-plan.featured strong {
  color: #f4fffb;
}

.asg-plan.featured p {
  color: rgba(244, 255, 251, 0.76);
}

.asg-plan.featured ul {
  color: rgba(244, 255, 251, 0.78);
}

.asg-plan.featured li::before {
  color: #c9f5e4;
}

.asg-plan-soon {
  align-content: start;
}

.asg-plan-soon .asg-plan-module-mark {
  margin-bottom: clamp(26px, 2.5vw, 40px);
}

.asg-plan-soon strong {
  max-width: 9ch;
}

.asg-plan-soon p {
  margin-bottom: 0;
}

.asg-plan-custom {
  isolation: isolate;
  align-content: end;
  overflow: hidden;
  color: #effff9;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(ellipse 92% 74% at 0% 0%, rgba(127, 201, 176, 0.32), transparent 58%),
    linear-gradient(145deg, #164f54 0%, #082f34 100%);
}

.asg-plan-custom h3 {
  color: rgba(239, 255, 249, 0.78);
}

.asg-plan-custom strong {
  color: #f4fffb;
  font-size: clamp(25px, 1.9vw, 34px);
}

.asg-plan-custom p {
  color: rgba(239, 255, 249, 0.78);
}

.asg-plan-custom a {
  width: max-content;
  margin-top: clamp(24px, 2.6vw, 38px);
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #0a3438;
  background: #f4fffb;
  font-size: 15px;
  line-height: 1;
  font-weight: 850;
  box-shadow: 0 18px 36px rgba(5, 27, 30, 0.22);
  transition: transform 220ms ease, background 220ms ease;
}

.asg-plan-custom a:hover {
  background: #dff7ee;
  transform: translateY(-2px);
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px);
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 60% at 12% 18%, rgba(255, 106, 31, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 70% at 95% 88%, rgba(151, 108, 221, 0.34), transparent 60%),
    linear-gradient(135deg, #3a1f6e 0%, var(--purple) 50%, #2c1750 100%);
}

.contact-pattern {
  position: absolute;
  inset: 0;
  background: url("assets/background.svg") center / 320px 320px;
  filter: invert(1) brightness(1.5);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.contact-brand,
.contact-content {
  position: relative;
  z-index: 1;
}

.contact-brand {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
}

.contact-brand img {
  width: min(154px, 30vw);
  aspect-ratio: 1;
  border-radius: 28px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.contact-brand span {
  color: var(--white);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.contact-section h2 {
  max-width: 690px;
  margin-bottom: clamp(22px, 3vw, 34px);
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 0.98;
}

.contact-actions {
  display: grid;
  gap: 12px;
  max-width: 540px;
}

.contact-card {
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white);
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1),
    background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

.contact-value {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.72);
  background: #211434;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .craft-grid,
  .module-strip,
  .difference-grid,
  .team-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .systems-catalog {
    grid-template-columns: 1fr;
  }

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

  .asg-development-panel {
    grid-template-columns: minmax(130px, 0.35fr) minmax(250px, 1fr);
  }

  .asg-coming-modules {
    grid-column: 1 / -1;
    justify-self: end;
    width: min(100%, 430px);
  }

  .asg-preview-gallery {
    grid-template-columns: 1fr;
  }

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

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

  .system-card {
    min-height: 390px;
  }

  .product-feature,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .product-feature::after {
    inset: 48% 0 0;
  }

}

@media (max-width: 820px) {
  .asg-preview-sales,
  .asg-preview-proof {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: 62px;
    padding-inline: 18px;
  }

  .site-nav,
  .header-action {
    display: none;
  }

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

  .asg-page .nav-toggle {
    border-color: rgba(11, 46, 50, 0.24);
  }

  .asg-page .nav-toggle span {
    background: var(--teal-dark);
  }

  .site-header.nav-open {
    border-radius: 0;
  }

  .site-header.nav-open .site-nav {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 0;
    justify-items: start;
    padding: 10px;
    border-radius: 18px;
    background: rgba(26, 13, 43, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(20px) saturate(150%);
  }

  .asg-page .site-header.nav-open .site-nav {
    border-color: rgba(11, 46, 50, 0.16);
    color: var(--teal-dark);
    background:
      radial-gradient(ellipse 90% 140% at 12% 0%, rgba(255, 255, 255, 0.58), transparent 58%),
      rgba(184, 227, 207, 0.94);
    box-shadow: 0 20px 48px rgba(11, 46, 50, 0.22);
  }

  .asg-page .site-header.nav-open .site-nav a {
    color: var(--teal-dark);
    opacity: 0.9;
  }

  .asg-page .site-header.nav-open .site-nav a:hover,
  .asg-page .site-header.nav-open .site-nav a.is-active {
    background: rgba(255, 255, 255, 0.42);
    opacity: 1;
  }

  .site-header.nav-open .site-nav a {
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    text-align: left;
  }

  .hero {
    min-height: auto;
  }

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

  .code-card {
    display: none;
  }

  .device-dashboard,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .sales-visual {
    height: 180px;
  }

  .contact-brand {
    align-items: center;
  }

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

  .workflow-node,
  .workflow-start,
  .workflow-finish {
    grid-column: auto;
  }

  .workflow-node::after {
    display: none;
  }

  .system-card {
    min-height: auto;
  }

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

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

  .asg-development-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .asg-development-character {
    width: min(48vw, 205px);
    margin-bottom: 0;
  }

  .asg-coming-modules {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }

  .asg-preview-rail {
    grid-template-columns: 1fr;
  }

  .asg-plan {
    min-height: auto;
  }

  .asg-plans-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 0;
  }

  .hero-brand-panel {
    min-height: 300px;
    padding: clamp(96px, 22vw, 130px) 22px clamp(28px, 6vw, 44px);
    gap: 18px;
  }

  .hero-brand-logo {
    width: clamp(118px, 32vw, 150px);
    border-radius: 22px;
  }

  .hero-brand-text {
    flex: 1 1 160px;
    gap: 8px;
  }

  .hero-brand-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero-brand-tagline {
    font-size: clamp(13px, 3.6vw, 16px);
  }

  .hero-build-panel {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(38px, 10vw, 52px);
  }

  .brand > span:not(.brand-symbol) {
    display: none;
  }

  .hero-actions,
  .primary-button,
  .text-link {
    width: 100%;
    justify-content: center;
  }

  .craft-grid,
  .module-strip,
  .difference-grid,
  .workflow-map,
  .team-board {
    grid-template-columns: 1fr;
  }

  .craft-grid {
    border-radius: 24px;
  }

  .craft-card {
    min-height: 320px;
  }

  .craft-card img {
    width: clamp(104px, 30vw, 132px);
    height: clamp(104px, 30vw, 132px);
    margin-bottom: clamp(22px, 7vw, 34px);
  }

  .system-card {
    gap: 26px;
    padding: 26px 22px 30px;
  }

  .system-card::before {
    inset: auto -30% -34% 18%;
  }

  .asg-flow-section {
    padding-inline: 16px;
  }

  .asg-flow-heading {
    margin-inline: auto;
  }

  .asg-flow-orbit {
    min-height: 336px;
  }

  .asg-flow-mark {
    width: min(55vw, 222px);
  }

  .asg-flow-icon {
    width: clamp(38px, 12.5vw, 56px);
    height: clamp(38px, 12.5vw, 56px);
  }

  .asg-flow-icon.icon-sale,
  .asg-flow-icon.icon-expenses,
  .asg-flow-icon.icon-payable {
    width: clamp(44px, 15vw, 66px);
    height: clamp(44px, 15vw, 66px);
  }

  .asg-flow-icon.icon-client {
    top: 7%;
    left: 2%;
  }

  .asg-flow-icon.icon-sale {
    top: 22%;
    left: 6%;
  }

  .asg-flow-icon.icon-home {
    top: 69%;
  }

  .asg-flow-icon.icon-bank {
    top: 82%;
    left: 19%;
  }

  .asg-flow-icon.icon-inventory {
    top: 17%;
    right: 28%;
  }

  .asg-flow-icon.icon-expenses {
    top: 28%;
    right: 1%;
  }

  .asg-flow-icon.icon-security {
    top: 7%;
    right: 1%;
  }

  .asg-flow-icon.icon-payable {
    top: 66%;
    right: 14%;
  }

  .asg-flow-icon.icon-partner {
    top: 82%;
    right: 2%;
  }

  .asg-flow-benefits {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    margin-inline: -16px;
    padding: 4px 24px 20px 16px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .asg-flow-benefits::-webkit-scrollbar,
  .asg-plans-grid::-webkit-scrollbar {
    display: none;
  }

  .asg-flow-benefits article {
    flex: 0 0 min(80vw, 318px);
    align-content: center;
    min-height: 0;
    scroll-snap-align: start;
    box-shadow: 8px 8px 0 var(--asg-ink);
  }

  .mobile-swipe-hint {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(11, 59, 62, 0.16);
    border-radius: 999px;
    color: #f4fffb;
    background: rgba(11, 59, 62, 0.92);
    box-shadow: 0 16px 32px rgba(11, 59, 62, 0.22);
    padding: 0;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
  }

  .asg-benefits-hint {
    margin: -4px 12px 0 auto;
  }

  .asg-modules {
    padding-top: 42px;
  }

  .asg-modules-title {
    margin-bottom: 34px;
    padding: 0;
  }

  .asg-module-tags {
    gap: 24px 12px;
  }

  .asg-module-tags article:last-child {
    grid-column: 1 / -1;
  }

  .asg-module-tags img {
    width: min(100%, 112px);
  }

  .asg-development-panel {
    grid-template-columns: minmax(112px, 0.48fr) minmax(0, 0.52fr);
    justify-items: center;
    gap: 18px 12px;
    padding: 22px 18px;
    border-radius: 18px;
    box-shadow: 8px 8px 0 var(--module-ink);
  }

  .asg-development-character {
    grid-column: 1;
    width: min(100%, 146px);
  }

  .asg-development-panel strong {
    grid-column: 2;
    justify-self: stretch;
    align-self: center;
    white-space: normal;
  }

  .asg-coming-modules {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .asg-coming-modules img {
    width: min(100%, 106px);
  }

  .asg-coming-modules span {
    font-size: clamp(18px, 5.2vw, 24px);
  }

  .asg-preview-section {
    padding-inline: 16px;
  }

  .asg-preview-main figcaption,
  .asg-preview-pos figcaption,
  .asg-preview-payment figcaption,
  .asg-preview-goals figcaption {
    position: static;
    width: auto;
    max-width: none;
    margin: 12px;
    background: rgba(10, 52, 56, 0.9);
  }

  .asg-demo-pill {
    width: 100%;
    justify-content: space-between;
    min-height: 62px;
  }

  .asg-plan-orbit img:nth-child(3) {
    display: none;
  }

  .asg-plan-orbit img {
    width: clamp(42px, 13vw, 60px);
    opacity: 0.12;
  }

  .asg-plan-orbit img:nth-child(1) {
    top: 36px;
    left: 18px;
  }

  .asg-plan-orbit img:nth-child(2) {
    top: 58px;
    right: 20px;
  }

  .asg-preview-orbit img:nth-child(3),
  .asg-preview-orbit img:nth-child(4) {
    display: none;
  }

  .asg-plan {
    min-height: min(470px, 118vw);
    padding: 26px 22px;
  }

  .asg-plans-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    max-width: none;
    margin-inline: -18px;
    padding: 10px 28px 28px 18px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .asg-plans-grid .asg-plan {
    flex: 0 0 min(83vw, 336px);
    scroll-snap-align: start;
  }

  .asg-plans-hint {
    margin: -12px 22px 0 auto;
  }

  .asg-detail-brand strong {
    font-size: 31px;
  }

  .asg-detail-brand small {
    font-size: 14px;
  }

  .system-brand {
    align-items: start;
  }

  .system-brand > img {
    width: 72px;
    height: 72px;
  }

  .asg-brand > img {
    width: clamp(82px, 28vw, 112px);
    height: auto;
  }

  .msp-brand > img {
    width: min(100%, 260px);
    height: auto;
  }

  .product-feature,
  .module-strip article,
  .difference-grid article,
  .workflow-node,
  .plan {
    border-radius: 22px;
  }

  .team-board article {
    min-height: 210px;
  }

  .site-footer {
    flex-direction: column;
  }
}
