/* ── Ecstia Landing Page ── */

:root {
  --color-bg: #fafbff;
  --color-bg-dark: #0f0e17;
  --color-surface: #ffffff;
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-primary-light: #818cf8;
  --color-accent: #06b6d4;
  --color-accent-2: #8b5cf6;
  --color-text: #1e1b4b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-light: rgba(255, 255, 255, 0.12);

  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(15, 14, 23, 0.06);
  --shadow-md: 0 4px 24px rgba(99, 102, 241, 0.12);
  --shadow-lg: 0 20px 60px rgba(99, 102, 241, 0.18);
  --shadow-glow: 0 0 80px rgba(99, 102, 241, 0.25);

  --container: 1320px;
  --nav-height: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s;
  white-space: nowrap;
}

.btn--lg { padding: 16px 32px; font-size: 16px; }

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-2) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-text);
  border-color: var(--color-border);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: #fff;
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ── Gradient text ── */

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Landing images (replace files in public/images/landing/) ── */

.landing-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #e2e8f0;
}

.landing-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.landing-media:hover .landing-media__img {
  transform: scale(1.03);
}

.landing-media--hero {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: none;
}

.landing-media--website {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.landing-media--gallery {
  width: 100%;
  min-height: 180px;
  box-shadow: var(--shadow-md);
}

.landing-media--payments {
  width: 100%;
  aspect-ratio: 3/2;
  box-shadow: var(--shadow-md);
}

.landing-media--phone {
  width: 100%;
  aspect-ratio: 9/19;
  border-radius: 16px;
}

.landing-media--wide {
  width: 100%;
  aspect-ratio: 21/9;
  margin-top: 48px;
  box-shadow: var(--shadow-md);
}

.landing-media--showcase {
  width: 100%;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-md);
}

.landing-media--stack {
  width: 100%;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.landing-media--cta {
  width: 100%;
  aspect-ratio: 4/3;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.browser-mock--hero .landing-media:hover .landing-media__img,
.phone-mock .landing-media:hover .landing-media__img {
  transform: none;
}

/* ── Image placeholders (legacy / optional) ── */

.image-placeholder {
  border-radius: var(--radius-xl);
  border: 2px dashed rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(6, 182, 212, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 12px,
    rgba(99, 102, 241, 0.03) 12px,
    rgba(99, 102, 241, 0.03) 24px
  );
}

.image-placeholder__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px;
  text-align: center;
  color: var(--color-primary);
}

.image-placeholder__inner svg { opacity: 0.5; }

.image-placeholder__inner span {
  font-weight: 600;
  font-size: 15px;
}

.image-placeholder__inner small {
  font-size: 13px;
  color: var(--color-text-muted);
}

.image-placeholder--hero {
  width: 100%;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.image-placeholder--hero .image-placeholder__inner {
  color: rgba(255, 255, 255, 0.7);
}

.image-placeholder--hero .image-placeholder__inner small {
  color: rgba(255, 255, 255, 0.45);
}

.image-placeholder--showcase {
  width: 100%;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-md);
}

.image-placeholder--wide {
  width: 100%;
  aspect-ratio: 21/9;
  margin-top: 48px;
  box-shadow: var(--shadow-md);
}

.image-placeholder--cta {
  width: 100%;
  aspect-ratio: 4/3;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.image-placeholder--cta .image-placeholder__inner {
  color: rgba(255, 255, 255, 0.6);
}

.image-placeholder--cta .image-placeholder__inner small {
  color: rgba(255, 255, 255, 0.35);
}

.image-placeholder--website {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-top: none;
}

.image-placeholder--gallery {
  width: 100%;
  min-height: 180px;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.image-placeholder--stack {
  width: 100%;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.image-placeholder[data-dimensions]::after {
  content: attr(data-dimensions);
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 100px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.image-placeholder--hero[data-dimensions]::after,
.image-placeholder--cta[data-dimensions]::after {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ── Browser mock ── */

.browser-mock {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.browser-mock--spotlight {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.browser-mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-mock--spotlight .browser-mock__bar {
  background: #f1f5f9;
  border-bottom-color: var(--color-border);
}

.browser-mock__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.browser-mock--spotlight .browser-mock__bar span:nth-child(1) { background: #f87171; }
.browser-mock--spotlight .browser-mock__bar span:nth-child(2) { background: #fbbf24; }
.browser-mock--spotlight .browser-mock__bar span:nth-child(3) { background: #34d399; }

.browser-mock__url {
  flex: 1;
  margin-left: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 100px;
  text-align: center;
}

.browser-mock--spotlight .browser-mock__url {
  color: var(--color-text-muted);
  background: #fff;
  border: 1px solid var(--color-border);
}

.browser-mock__url--animated {
  animation: urlShimmer 4s ease-in-out infinite;
}

@keyframes urlShimmer {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(99, 102, 241, 0); }
  50% { box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.35); }
}

/* ── Hero particles ── */

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

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  left: calc((var(--i) * 8.3%) + 5%);
  top: calc((var(--i) * 7%) + 10%);
  animation: particleDrift 12s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.7s);
}

@keyframes particleDrift {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  50% { transform: translate(20px, -40px); opacity: 0.9; }
}

.hero__float-card--3 {
  top: 45%;
  left: -32px;
  animation-delay: -1.5s;
}

.float-card__icon--purple {
  background: #ede9fe;
  font-size: 18px;
}

/* ── Marquee ── */

.marquee {
  overflow: hidden;
  padding: 20px 0;
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-accent-2));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.marquee__track.is-paused {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee__item {
  flex-shrink: 0;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.marquee__item::before {
  content: "◆";
  margin-right: 12px;
  font-size: 8px;
  opacity: 0.5;
}

/* ── Website spotlight ── */

.website-spotlight {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
}

.website-spotlight__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.section__header--left {
  text-align: left;
  max-width: 720px;
  margin-left: 0;
  margin-right: auto;
}

.section__eyebrow--glow {
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
  border-radius: 100px;
  animation: eyebrowPulse 3s ease-in-out infinite;
}

@keyframes eyebrowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
  50% { box-shadow: 0 0 24px rgba(99, 102, 241, 0.2); }
}

.website-spotlight__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}

.website-spotlight__features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.website-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.website-feature:hover {
  transform: translateX(8px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: var(--shadow-sm);
}

.website-feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.12));
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.website-feature h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.website-feature p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.website-spotlight__visual {
  position: relative;
}

.website-spotlight__chip {
  position: absolute;
  z-index: 3;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: #fff;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  animation: chipFloat 5s ease-in-out infinite;
}

.website-spotlight__chip--1 { top: 18%; left: -12px; animation-delay: 0s; }
.website-spotlight__chip--2 { bottom: 28%; right: -8px; animation-delay: -1.5s; }
.website-spotlight__chip--3 { top: 8%; right: 12%; animation-delay: -3s; background: linear-gradient(135deg, var(--color-primary), var(--color-accent-2)); color: #fff; }

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

.website-spotlight__gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.85fr;
  gap: 20px;
  align-items: end;
}

.website-gallery-card:hover .landing-media--gallery {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* ── Payments & mobile ── */

.payments-mobile {
  background: linear-gradient(180deg, var(--color-bg) 0%, #eef2ff 50%, var(--color-bg) 100%);
}

.payments-mobile__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.payments-mobile__card {
  display: flex;
  flex-direction: column;
  padding: 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}

.payments-mobile__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.3);
}

.payments-mobile__card--app {
  background: linear-gradient(160deg, #fff 0%, rgba(99, 102, 241, 0.04) 100%);
}

.payments-mobile__card-head {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.payments-mobile__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.payments-mobile__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.payments-mobile__card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.payments-mobile__card > p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.payments-mobile__list {
  margin-bottom: 20px;
}

.payments-mobile__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--color-text);
}

.payments-mobile__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.payments-mobile__pg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.payments-mobile__pg-badges span {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: border-color 0.25s, color 0.25s;
}

.payments-mobile__card:hover .payments-mobile__pg-badges span {
  border-color: rgba(99, 102, 241, 0.35);
  color: var(--color-primary-dark);
}

.payments-mobile__visual {
  position: relative;
  margin-top: auto;
}

.image-placeholder--payments {
  width: 100%;
  aspect-ratio: 3/2;
  box-shadow: var(--shadow-md);
}

.payments-mobile__chip {
  position: absolute;
  z-index: 2;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  color: var(--color-primary-dark);
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  animation: chipFloat 5s ease-in-out infinite;
}

.payments-mobile__chip--1 { top: 12%; left: -8px; }
.payments-mobile__chip--2 { bottom: 16%; right: -4px; animation-delay: -2s; background: linear-gradient(135deg, var(--color-primary), var(--color-accent-2)); color: #fff; }

.payments-mobile__phones {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 24px;
  min-height: 320px;
  margin-top: auto;
  padding-top: 16px;
}

.phone-mock {
  position: relative;
  width: 42%;
  max-width: 180px;
  padding: 10px 8px 12px;
  background: #1e1b4b;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  border: 3px solid #312e81;
}

.phone-mock--left {
  transform: rotate(-8deg);
  animation: phoneTiltLeft 6s ease-in-out infinite;
  z-index: 2;
}

.phone-mock--right {
  transform: rotate(8deg);
  margin-top: 32px;
  animation: phoneTiltRight 6s ease-in-out infinite;
  animation-delay: -3s;
  z-index: 1;
}

@keyframes phoneTiltLeft {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-10px); }
}

@keyframes phoneTiltRight {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-14px); }
}

.phone-mock__notch {
  width: 40%;
  height: 5px;
  margin: 0 auto 8px;
  background: #0f0e17;
  border-radius: 0 0 8px 8px;
}

.image-placeholder--phone {
  width: 100%;
  aspect-ratio: 9/19;
  border-radius: 16px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.image-placeholder--phone .image-placeholder__inner {
  color: rgba(255, 255, 255, 0.65);
  padding: 16px;
}

.image-placeholder--phone .image-placeholder__inner small {
  color: rgba(255, 255, 255, 0.4);
}

.image-placeholder--phone[data-dimensions]::after {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
  font-size: 9px;
  padding: 3px 8px;
}

/* ── Feature card tag ── */

.feature-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

/* ── Module cards & filters ── */

.modules__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.modules__filter {
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.modules__filter:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
}

.modules__filter.is-active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

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

.module-card {
  position: relative;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.35s, border-color 0.35s, opacity 0.4s;
}

.module-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.3);
}

.module-card.is-hidden {
  display: none;
}

.module-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(6, 182, 212, 0.06) 100%);
  border-color: rgba(99, 102, 241, 0.35);
  animation: featuredGlow 4s ease-in-out infinite;
}

@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
  50% { box-shadow: 0 8px 40px rgba(99, 102, 241, 0.15); }
}

.module-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-2));
  border-radius: 100px;
}

.module-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: var(--radius-md);
  transition: transform 0.4s var(--ease-spring);
}

.module-card:hover .module-card__icon {
  transform: scale(1.1) rotate(-4deg);
}

.module-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.module-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.module-card__category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

.showcase__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.showcase__chips li {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: rgba(99, 102, 241, 0.08);
  border-radius: 100px;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

/* ── Engagement band ── */

.engage-band {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.engage-band__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f0e17 0%, #1e1b4b 50%, #312e81 100%);
}

.engage-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.section__eyebrow--light {
  color: rgba(255, 255, 255, 0.7);
}

.engage-band__content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 16px 0;
  letter-spacing: -0.02em;
}

.engage-band__content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}

.engage-band__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.engage-band__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 700;
}

.engage-band__content .btn {
  margin-top: 16px;
}

.engage-stack {
  position: relative;
  min-height: 380px;
}

.engage-stack__card {
  position: absolute;
  width: 72%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out);
}

.engage-stack__card--1 {
  top: 0;
  left: 0;
  z-index: 3;
  animation: stackFloat1 7s ease-in-out infinite;
}

.engage-stack__card--2 {
  top: 48px;
  right: 0;
  z-index: 2;
  animation: stackFloat2 7s ease-in-out infinite;
  animation-delay: -2s;
}

.engage-stack__card--3 {
  bottom: 0;
  left: 15%;
  z-index: 1;
  width: 65%;
  animation: stackFloat3 7s ease-in-out infinite;
  animation-delay: -4s;
}

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

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

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

/* ── Scroll reveal ── */

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

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

.reveal--scale {
  transform: translateY(32px) scale(0.96);
}

.reveal--scale.is-visible {
  transform: translateY(0) scale(1);
}

/* ── Navigation ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-2));
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 18px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--color-primary); }

.nav__cta {
  padding: 10px 20px !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
  color: #fff !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; }
.nav__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease-out), opacity 0.3s, visibility 0.3s;
  z-index: 999;
}

.nav__mobile.is-open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav__mobile a {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 48px) 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0f0e17 0%, #1e1b4b 40%, #312e81 100%);
  z-index: 0;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 45%);
}

.hero__glow {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translateX(-50%);
  background: conic-gradient(from var(--glow-angle, 0deg), rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.15), rgba(139, 92, 246, 0.2), rgba(99, 102, 241, 0.2));
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.hero__orb--1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -5%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  animation-delay: -3s;
}

.hero__orb--3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 40%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.05); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.hero__stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

.hero__visual {
  position: relative;
}

.hero__float-card {
  position: absolute;
  z-index: 2;
  animation: floatCard 6s ease-in-out infinite;
}

.hero__float-card--1 {
  top: -16px;
  left: -24px;
  animation-delay: 0s;
}

.hero__float-card--2 {
  bottom: 24px;
  right: -16px;
  animation-delay: -3s;
}

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

.float-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.float-card__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
}

.float-card__icon--green {
  background: #d1fae5;
  color: #059669;
}

.float-card__icon--blue {
  background: #dbeafe;
  color: #2563eb;
}

.float-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

.float-card span {
  font-size: 11px;
  color: var(--color-text-muted);
}

/* ── Trust bar ── */

.trust {
  padding: 48px 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.trust__label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.trust__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 16px;
}

.trust__logo-img {
  max-height: 40px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.3s, opacity 0.3s;
}

.trust__logo:hover .trust__logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

.trust__logo-name {
  padding: 12px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg);
  transition: border-color 0.3s, color 0.3s;
}

.trust__logo:hover .trust__logo-name {
  border-color: rgba(99, 102, 241, 0.35);
  color: var(--color-text);
}

.trust__logo-placeholder {
  padding: 12px 28px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.trust__logo-placeholder:hover { opacity: 1; }

/* ── Sections ── */

.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section__header p {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Features ── */

.features {
  background: var(--color-bg);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.25);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap 0.2s;
}

.feature-card__link:hover { color: var(--color-primary-dark); }

/* ── Platform showcase ── */

.platform {
  background: var(--color-surface);
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.showcase:last-child { margin-bottom: 0; }

.showcase--reverse .showcase__content { order: 2; }
.showcase--reverse .showcase__visual { order: 1; }

.showcase__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.showcase__content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.showcase__content p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.showcase__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--color-text);
}

.showcase__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ── Stats ── */

.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-accent-2) 100%);
}

.stats-section__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-block__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-block__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Modules section bg ── */

.modules {
  background: var(--color-bg);
}

.modules__visual {
  margin-top: 48px;
}

/* ── Testimonials ── */

.testimonials {
  background: var(--color-surface);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-2));
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
}

.testimonial-card footer span {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ── CTA ── */

.cta-section {
  padding: 100px 0;
  background: var(--color-bg);
}

.cta-box {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cta-box__glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box__content {
  position: relative;
  z-index: 1;
}

.cta-box__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-box__content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-box__visual {
  position: relative;
  z-index: 1;
}

/* ── Footer ── */

.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer__links h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer__links a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--color-border-light);
  font-size: 13px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s;
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .hero__grid,
  .showcase,
  .cta-box,
  .website-spotlight__grid,
  .engage-band__grid,
  .payments-mobile__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .showcase--reverse .showcase__content,
  .showcase--reverse .showcase__visual {
    order: unset;
  }

  .features__grid,
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modules__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-card--featured {
    grid-column: span 2;
  }

  .website-spotlight__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-section__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

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

  .hero__float-card--1 { left: 0; }
  .hero__float-card--2 { right: 0; }
  .hero__float-card--3 { display: none; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  .hero__title br { display: none; }

  .hero__stats {
    gap: 16px;
  }

  .hero__stat-divider { display: none; }

  .features__grid,
  .testimonials__grid,
  .modules__grid {
    grid-template-columns: 1fr;
  }

  .module-card--featured {
    grid-column: span 1;
  }

  .website-spotlight__gallery {
    grid-template-columns: 1fr;
  }

  .section__header--left {
    text-align: center;
  }

  .modules__filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .engage-stack {
    min-height: 320px;
  }

  .payments-mobile__phones {
    min-height: 280px;
  }

  .phone-mock {
    max-width: 140px;
  }

  .phone-mock--right {
    margin-top: 16px;
  }

  .section { padding: 72px 0; }

  .cta-box {
    padding: 40px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .float-card { padding: 10px 14px; }
  .float-card strong { font-size: 11px; }
  .float-card span { font-size: 10px; }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Pricing page ── */

.nav--solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav__link-active {
  color: var(--color-primary) !important;
  font-weight: 600;
}

.landing--pricing {
  padding-top: var(--nav-height);
}

.pricing-hero {
  padding-top: 48px;
  padding-bottom: 24px;
}

.pricing-hero .section__header {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pricing-currency-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.pricing-plans {
  padding-top: 24px;
}

.pricing-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, border-color 0.35s;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  border-color: rgba(99, 102, 241, 0.45);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, var(--color-surface) 40%);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-2));
  border-radius: 100px;
}

.pricing-card__head h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.pricing-card__tagline {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 8px;
}

.pricing-card__audience {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.pricing-card__price {
  padding: 20px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.pricing-card__amount {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary-dark);
  line-height: 1;
}

.pricing-card__period {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.pricing-card__highlights {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.pricing-card__highlights li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}

.pricing-card__highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.pricing-card__includes {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-card__include-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.pricing-card__include-row dt {
  color: var(--color-text-muted);
  font-weight: 500;
}

.pricing-card__include-row dd {
  font-weight: 600;
  text-align: right;
}

.pricing-card__check {
  color: var(--color-primary);
  font-weight: 700;
}

.pricing-card__dash {
  color: #cbd5e1;
}

.pricing-card__cta {
  width: 100%;
  margin-top: auto;
}

.pricing-card__price--hidden-amounts .pricing-card__amount {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.pricing-card__price--hidden-amounts .pricing-card__period {
  font-style: italic;
}

.pricing-trust {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.pricing-faq {
  background: #f8fafc;
}

.pricing-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pricing-faq__item {
  padding: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.pricing-faq__item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing-faq__item p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.landing--pricing .cta-box {
  grid-template-columns: 1fr;
  text-align: center;
}

.landing--pricing .cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .pricing-plans__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .pricing-faq__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Organization hierarchy ── */

.org-hierarchy {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.org-hierarchy__layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.org-hierarchy__diagram {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  padding: 8px 12px 0 36px;
}

.org-diagram {
  position: relative;
  min-height: 540px;
  margin: 0 auto;
  padding: 28px 0 16px;
}

.org-diagram__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.org-diagram__line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.org-diagram__line--platform {
  stroke: rgba(99, 102, 241, 0.45);
}

.org-diagram__line--partner {
  stroke: rgba(6, 182, 212, 0.5);
}

.org-diagram__zone {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.5;
  z-index: 0;
}

.org-diagram__zone--partner {
  top: 20%;
  left: 4%;
}

.org-diagram__zone--direct {
  top: 20%;
  right: 8%;
}

.org-node {
  position: absolute;
  left: var(--org-x, 50%);
  top: var(--org-y, 0);
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 112px;
  max-width: 138px;
  padding: 12px 14px;
  text-align: center;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.org-node strong {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.org-node span:last-child {
  font-size: 10px;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.org-node__icon {
  font-size: 20px;
  line-height: 1;
}

.org-node__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.org-node--super {
  --org-x: 50%;
  --org-y: 9%;
  border-color: rgba(99, 102, 241, 0.45);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
}

.org-node--partner {
  --org-x: 15%;
  --org-y: 24%;
  border-color: rgba(6, 182, 212, 0.45);
}

.org-node--sg-direct {
  --org-x: 50%;
  --org-y: 24%;
}

.org-node--inst-direct {
  --org-x: 85%;
  --org-y: 24%;
}

.org-node--sg-partner {
  --org-x: 10%;
  --org-y: 46%;
  border-color: rgba(6, 182, 212, 0.3);
}

.org-node--inst-partner {
  --org-x: 28%;
  --org-y: 46%;
  border-color: rgba(6, 182, 212, 0.3);
}

.org-node--institution {
  min-width: 88px;
  max-width: 104px;
  padding: 9px 11px;
}

.org-node--inst-sg-d1 { --org-x: 44%; --org-y: 68%; }
.org-node--inst-sg-d2 { --org-x: 56%; --org-y: 68%; }
.org-node--inst-sg-p1 { --org-x: 10%; --org-y: 68%; }

.org-node--more {
  min-width: auto;
  max-width: none;
  padding: 5px 10px;
  background: rgba(6, 182, 212, 0.06);
  border-style: dashed;
  border-color: rgba(6, 182, 212, 0.35);
}

.org-node--more span {
  font-size: 10px;
  font-weight: 600;
  color: rgba(6, 182, 212, 0.9);
}

.org-node--more-p { --org-x: 22%; --org-y: 68%; }

.org-diagram__caption {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.org-hierarchy__levels {
  display: grid;
  gap: 16px;
}

.org-level-card {
  padding: 22px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, border-color 0.35s;
}

.org-level-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.25);
}

.org-level-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.org-level-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: var(--radius-md);
}

.org-level-card__tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.org-level-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.org-level-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.org-level-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.org-level-card__chips li {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: rgba(99, 102, 241, 0.08);
  border-radius: 100px;
}

.org-hierarchy__cta {
  margin-top: 48px;
  padding: 28px 32px;
  text-align: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(6, 182, 212, 0.06));
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-xl);
}

.org-hierarchy__cta p {
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .org-hierarchy__layout {
    grid-template-columns: 1fr;
  }

  .org-hierarchy__diagram {
    position: static;
    padding-left: 36px;
    padding-right: 12px;
  }
}

@media (max-width: 768px) {
  .org-diagram {
    min-height: 480px;
  }

  .org-diagram__zone {
    display: none;
  }

  .org-node {
    min-width: 96px;
    max-width: 120px;
    padding: 9px 10px;
  }

  .org-node strong { font-size: 10px; }
  .org-node span:last-child { font-size: 9px; }
  .org-node__icon { font-size: 17px; }

  .org-node--institution {
    min-width: 76px;
    max-width: 90px;
    padding: 7px 8px;
  }
}
