@font-face {
  font-family: "Thmanyah Sans";
  src: url("/assets/fonts/thmanyahsans/woff2/thmanyahsans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("/assets/fonts/thmanyahsans/woff2/thmanyahsans-Medium.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("/assets/fonts/thmanyahsans/woff2/thmanyahsans-Bold.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-main: "Thmanyah Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  color-scheme: dark;
  --bg: #040010;
  --bg-2: #090417;
  --surface: #131318;
  --surface-lowest: #0e0e13;
  --surface-low: #1b1b20;
  --surface-card: rgba(255, 255, 255, 0.035);
  --surface-card-strong: rgba(35, 24, 58, 0.58);
  --text: #f4f1f8;
  --text-soft: #e4e1e9;
  --muted: rgba(213, 203, 227, 0.72);
  --muted-2: rgba(207, 194, 214, 0.56);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(221, 183, 255, 0.22);
  --primary: #ddb7ff;
  --primary-2: #b76dff;
  --primary-deep: #571bc1;
  --secondary: #d0bcff;
  --violet: #7a51ff;
  --magenta: #ff8bd7;
  --blue: #89d7ff;
  --danger: #ffb4ab;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 77px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-main);
  background:
    radial-gradient(circle at 50% -10%, rgba(183, 109, 255, 0.16), transparent 32rem),
    radial-gradient(circle at 10% 20%, rgba(137, 215, 255, 0.08), transparent 26rem),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: relative;
  z-index: 30;
  height: 76px;
  padding: 8px 34px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand-wrap { justify-self: start; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(117, 74, 255, 0.92), rgba(70, 35, 172, 0.96));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 0 18px rgba(117,74,255,0.24);
  flex: 0 0 auto;
}
.brand-mark svg { width: 20px; height: 20px; stroke: rgba(255,255,255,0.94); fill: none; stroke-width: 1.08; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.brand-logo { height: 38px; max-width: 190px; object-fit: contain; }
.main-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(15, 10, 37, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 20px 50px rgba(0,0,0,0.18);
  backdrop-filter: blur(18px);
}
.main-nav a { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.78); line-height: 1; padding: 12px 14px; border-radius: 999px; transition: color .25s, background .25s, transform .25s; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.055); transform: translateY(-1px); }
.header-actions { justify-self: end; display: inline-flex; align-items: center; gap: 18px; }
.login-link { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); }
.trial-btn, .btn-primary, .btn-secondary, .submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  color: #f8f1ff;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(183, 109, 255, 0.68), rgba(87, 27, 193, 0.82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.13), 0 0 28px rgba(183,109,255,0.16);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  cursor: pointer;
}
.trial-btn:hover, .btn-primary:hover, .submit-btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 0 38px rgba(183,109,255,0.28); }
.site-header .trial-btn {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  color: #f5efff;
  background: linear-gradient(180deg, rgba(111, 73, 239, 0.54), rgba(74, 38, 185, 0.7));
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.site-header .trial-btn:hover { transform: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); }

.btn-secondary { background: rgba(255,255,255,0.035); color: var(--text); box-shadow: none; backdrop-filter: blur(16px); }
.btn-secondary:hover { transform: translateY(-2px); border-color: rgba(221,183,255,0.34); background: rgba(255,255,255,0.06); }
.header-divider { position: relative; z-index: 25; height: 1px; width: 100%; background: rgba(255,255,255,0.06); }

.hero { position: relative; height: calc(100vh - 77px); min-height: 560px; max-height: 740px; overflow: hidden; background: #040010; }
.hero-bg, .hero-canvas, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg {
  z-index: 0;
  background-image: url('../img/wormhole-bg.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  transform: none;
}


/* Performance: same hero artwork, lighter responsive WebP sources.
   The PNG remains the fallback; WebP is selected only when supported. */
@supports (background-image: image-set(url("../img/wormhole-bg-2048.webp") type("image/webp"))) {
  .hero-bg {
    background-image: image-set(url("../img/wormhole-bg-2048.webp") type("image/webp"));
  }

  @media (max-width: 1440px) and (min-width: 769px) {
    .hero-bg {
      background-image: image-set(url("../img/wormhole-bg-1440.webp") type("image/webp"));
    }
  }

  @media (max-width: 768px) {
    .hero-bg {
      background-image: image-set(url("../img/wormhole-bg-960.webp") type("image/webp"));
    }
  }
}

@media (min-width: 769px) {
  .page-section,
  .metrics-strip,
  .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 760px;
  }
  .site-footer { contain-intrinsic-size: 520px; }
}

.hero-canvas { z-index: 1; display: block; pointer-events: none; }
.hero-overlay { z-index: 2; pointer-events: none; background: radial-gradient(circle at 50% 43%, rgba(6,0,22,0) 0 31%, rgba(6,0,22,0.05) 53%, rgba(6,0,22,0.26) 84%, rgba(6,0,22,0.48) 100%), linear-gradient(180deg, rgba(4,0,16,0.03) 0%, rgba(4,0,16,0) 44%, rgba(4,0,16,0.13) 80%, rgba(4,0,16,0.38) 100%); }
.hero-copy { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 82px; padding-inline: 22px; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); background: rgba(17, 10, 38, 0.70); color: rgba(234,227,249,0.94); font-size: 11px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 18px rgba(122, 81, 255, 0.08); }
.spark { font-size: 12px; color: rgba(255,255,255,0.96); text-shadow: 0 0 10px rgba(255,255,255,0.34); }
.hero h1 { margin: 13px 0 0; max-width: 760px; font-size: clamp(38px, 4.9vw, 62px); line-height: 1.12; font-weight: 600; letter-spacing: -0.035em; color: rgba(245,242,249,0.99); text-shadow: 0 0 22px rgba(0,0,0,0.06); }
.hero p { margin: 15px 0 0; max-width: 570px; font-size: clamp(15.5px, 1.16vw, 17px); line-height: 1.7; font-weight: 500; color: rgba(225,218,238,0.82); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.hero-pill { border: 1px solid rgba(255,255,255,0.11); background: rgba(255,255,255,0.035); border-radius: 999px; padding: 8px 12px; color: rgba(244,241,248,0.78); font-size: 12px; font-weight: 800; backdrop-filter: blur(12px); }
.hero-transition {
  position: absolute;
  z-index: 5;
  inset-inline: 0;
  bottom: 0;
  height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 26px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 96%, rgba(183,109,255,0.12), transparent 30rem),
    linear-gradient(180deg, rgba(4,0,16,0) 0%, rgba(4,0,16,0.10) 36%, rgba(4,0,16,0.70) 80%, #040010 100%);
}
.hero-transition::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 52px;
  width: min(720px, 84vw);
  height: 96px;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(221,183,255,0.30);
  border-radius: 0 0 50% 50%;
  background: radial-gradient(ellipse at 50% 100%, rgba(183,109,255,0.10), transparent 60%);
  filter: drop-shadow(0 8px 18px rgba(183,109,255,0.20));
  opacity: 0.82;
}
.hero-transition::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(221,183,255,0.14) 28%, rgba(221,183,255,0.26) 50%, rgba(221,183,255,0.14) 72%, transparent);
}
.hero-scroll-cue {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 46px;
  display: grid;
  place-items: center;
  pointer-events: auto;
  color: #fff;
  text-shadow: 0 0 18px rgba(221,183,255,0.80), 0 0 34px rgba(183,109,255,0.42);
  filter: drop-shadow(0 0 18px rgba(183,109,255,0.34));
  transition: transform .24s ease, filter .24s ease, opacity .24s ease;
}
.hero-scroll-cue:hover, .hero-scroll-cue:focus-visible {
  transform: translateY(4px);
  filter: drop-shadow(0 0 24px rgba(221,183,255,0.58));
}
.hero-scroll-cue:focus-visible { outline: 2px solid rgba(221,183,255,0.62); outline-offset: 8px; border-radius: 14px; }
.hero-scroll-arrow { position: relative; display: block; width: 32px; height: 28px; animation: scrollArrowFloat 1.9s ease-in-out infinite; }
.hero-scroll-arrow::before,
.hero-scroll-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 17px;
  height: 17px;
  border-right: 2px solid rgba(255,255,255,0.94);
  border-bottom: 2px solid rgba(255,255,255,0.94);
  border-radius: 2px;
  transform: translateX(-50%) rotate(45deg);
}
.hero-scroll-arrow::before { top: 0; opacity: .42; }
.hero-scroll-arrow::after { top: 9px; opacity: .98; }
@keyframes scrollArrowFloat { 0%, 100% { transform: translateY(-3px); opacity: .78; } 50% { transform: translateY(5px); opacity: 1; } }

.page-section { position: relative; padding: 92px 28px; background: var(--bg); }
.page-section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.006)); border-block: 1px solid rgba(255,255,255,0.055); }
.container { width: min(var(--container), 100%); margin-inline: auto; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: 0; text-transform: none; margin-bottom: 14px; }
.section-title { margin: 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.2; letter-spacing: -0.025em; color: #fff; }
.section-subtitle { margin: 14px 0 0; color: var(--muted); font-size: clamp(15px, 1.08vw, 17px); line-height: 1.85; }
.glass-card { position: relative; border: 1px solid var(--line); background: var(--surface-card); backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.055), 0 20px 70px rgba(0,0,0,0.19); }
.glass-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,0.07), transparent 34%); opacity: .45; }
.metrics-strip {
  position: relative;
  padding: 84px 24px 74px;
  background:
    radial-gradient(ellipse at 50% -8%, rgba(183,109,255,0.14), transparent 36rem),
    linear-gradient(180deg, #040010 0%, #050011 52%, #040010 100%);
}
.metrics-strip::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 118px; pointer-events: none; background: linear-gradient(180deg, rgba(221,183,255,0.035), transparent); }
.metrics-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.metric-card { border-radius: var(--radius-lg); padding: 24px; min-height: 148px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.metric-label { color: var(--muted-2); font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 800; }
.metric-value { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.12; font-weight: 800; color: #fff; margin-top: 14px; }
.metric-note { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.grid { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { border-radius: var(--radius-lg); padding: 30px; min-height: 310px; overflow: hidden; transition: transform .25s, border-color .25s, background .25s; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(221,183,255,0.34); background: rgba(255,255,255,0.05); }
.icon-box { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; border: 1px solid rgba(221,183,255,0.20); background: rgba(221,183,255,0.08); color: var(--primary); font-weight: 800; font-size: 21px; margin-bottom: 20px; }
.card-title { margin: 0; font-size: 20px; line-height: 1.45; color: #fff; }
.card-text { color: var(--muted); line-height: 1.85; margin: 10px 0 0; font-size: 15px; }
.bullet-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.bullet-list li { color: var(--muted-2); font-size: 13px; letter-spacing: 0; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.bullet-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px rgba(221,183,255,.55); flex: 0 0 auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.visual-card { min-height: 410px; border-radius: var(--radius-lg); overflow: hidden; padding: 24px; }
.strategy-orb { position: absolute; width: 220px; height: 220px; border-radius: 999px; background: radial-gradient(circle, rgba(183,109,255,0.50), rgba(183,109,255,0.08) 45%, transparent 70%); filter: blur(12px); top: 28px; left: 28px; opacity: .8; }
.dashboard-mock { position: relative; z-index: 1; height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; }
.mock-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mock-bars { display: grid; gap: 14px; align-content: center; }
.mock-bar { height: 54px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.035); overflow: hidden; position: relative; }
.mock-bar span { position: absolute; inset-block: 0; right: 0; background: linear-gradient(90deg, rgba(221,183,255,.22), rgba(183,109,255,.66)); border-left: 1px solid rgba(255,255,255,0.14); }
.mock-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mock-kpi { border-radius: 18px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.07); padding: 16px; text-align: center; }
.mock-kpi strong { display: block; font-size: 26px; color: var(--primary); }
.mock-kpi small { color: var(--muted-2); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.feature-list { display: grid; gap: 22px; margin-top: 30px; }
.feature-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.feature-item .icon-box { width: 44px; height: 44px; margin: 0; font-size: 18px; }
.feature-item h4 { margin: 0 0 6px; color: #fff; font-size: 18px; }
.feature-item p { margin: 0; color: var(--muted); line-height: 1.75; }
.process-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; align-items: center; }
.process-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.step-card { border-radius: 24px; padding: 20px; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.075); }
.step-num { width: 36px; height: 36px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--primary); color: #2c0051; font-weight: 800; margin-bottom: 12px; }
.step-card h3 { margin: 0 0 8px; color: #fff; font-size: 18px; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 14px; }
.micro-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.micro-tags span { border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035); border-radius: 999px; padding: 9px 12px; color: var(--muted-2); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-card { border-radius: var(--radius-lg); padding: 30px; overflow: hidden; transition: transform .25s, border-color .25s; }
.case-card:hover { transform: translateY(-5px); border-color: rgba(221,183,255,.32); }
.case-label { color: var(--muted-2); font-size: 13px; font-weight: 800; letter-spacing: 0; }
.case-metric { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; color: var(--primary); font-weight: 800; margin: 16px 0 12px; letter-spacing: -0.02em; }
.kpi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.kpi { border-radius: 16px; background: rgba(0,0,0,.20); border: 1px solid rgba(255,255,255,.07); padding: 14px; }
.kpi strong { display: block; color: #fff; font-size: 20px; }
.kpi span { color: var(--muted-2); font-size: 11px; }
.partner-strip { overflow: hidden; border-block: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.015); padding: 28px 0; }
.partner-track { width: max-content; display: flex; gap: 18px; animation: marqueeRtl 35s linear infinite; }
.partner-pill { min-width: 170px; text-align: center; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.028); border-radius: 999px; padding: 14px 18px; color: rgba(255,255,255,.70); font-weight: 800; }
@keyframes marqueeRtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.integration-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.integration-items { display: grid; gap: 16px; margin-top: 26px; }
.integration-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.integration-item h4 { margin: 0 0 5px; color: #fff; }
.integration-item p { margin: 0; color: var(--muted); line-height: 1.7; }
.flow-card { border-radius: var(--radius-lg); padding: 26px; overflow: hidden; }
.flow-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: center; }
.flow-node { min-height: 72px; border-radius: 18px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035); display: grid; place-items: center; text-align: center; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0; padding: 12px; }
.flow-arrow { color: var(--primary); text-align: center; font-weight: 800; font-size: 26px; }
.terminal { margin-top: 18px; border-radius: 18px; padding: 18px; background: rgba(0,0,0,.30); border: 1px solid rgba(255,255,255,.08); color: rgba(221,183,255,.72); font-family: inherit; font-size: 13px; line-height: 1.9; direction: rtl; }
.uptime-badge { margin-top: 16px; display: inline-flex; flex-direction: column; gap: 4px; border-radius: 18px; padding: 14px 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(221,183,255,.22); }
.uptime-badge span { color: var(--muted-2); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.uptime-badge strong { color: var(--primary); font-size: 22px; }
.cta-box { border-radius: 34px; padding: clamp(28px, 5vw, 56px); overflow: hidden; background: radial-gradient(circle at 30% 0%, rgba(183,109,255,.16), transparent 34rem), rgba(255,255,255,.035); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.form-grid .full { grid-column: 1 / -1; }
.input, .textarea, .select { width: 100%; border: 1px solid rgba(255,255,255,.11); color: #fff; background: rgba(255,255,255,.045); border-radius: 18px; min-height: 54px; padding: 0 17px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.select { color-scheme: dark; appearance: none; -webkit-appearance: none; background-color: rgba(20,14,34,.86); background-image: linear-gradient(45deg, transparent 50%, rgba(244,235,255,.82) 50%), linear-gradient(135deg, rgba(244,235,255,.82) 50%, transparent 50%), radial-gradient(circle at 50% 50%, rgba(183,109,255,.16), transparent 72%); background-position: left 21px center, left 14px center, left 18px center; background-size: 7px 7px, 7px 7px, 34px 34px; background-repeat: no-repeat; padding-inline-start: 54px; }
.select option, .select optgroup { background-color: #171126; color: #f6efff; }
.select option { padding: 14px 16px; }
.select option:checked { background-color: #7d49c7; color: #fff; }
.select option[value=""] { color: rgba(244,235,255,.62); }
.textarea { min-height: 128px; padding-block: 15px; resize: vertical; }
.input:focus, .textarea:focus { border-color: rgba(221,183,255,.48); box-shadow: 0 0 0 4px rgba(183,109,255,.10); background: rgba(255,255,255,.06); }
.select:focus { border-color: rgba(221,183,255,.48); box-shadow: 0 0 0 4px rgba(183,109,255,.10); background-color: rgba(20,14,34,.94); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.form-note { margin: 20px 0 0; text-align: center; color: var(--muted-2); font-size: 12px; font-weight: 800; }
.site-footer { background: #03000c; border-top: 1px solid rgba(255,255,255,.08); padding: 70px 28px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr; gap: 38px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.footer-desc { color: var(--muted); line-height: 1.8; max-width: 500px; }
.newsletter-form { margin-top: 22px; display: flex; max-width: 480px; gap: 10px; }
.newsletter-form input { flex: 1; }
.footer-col h4 { margin: 0 0 18px; color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--muted-2); font-size: 14px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); margin-top: 46px; padding-top: 24px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted-2); font-size: 12px; font-weight: 800; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #85ffbc; box-shadow: 0 0 12px rgba(133,255,188,.75); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 9999; max-width: min(380px, calc(100vw - 48px)); border: 1px solid rgba(221,183,255,.28); border-radius: 18px; padding: 14px 18px; background: rgba(9,4,23,.92); color: #fff; backdrop-filter: blur(18px); box-shadow: 0 18px 60px rgba(0,0,0,.32), 0 0 30px rgba(183,109,255,.16); line-height: 1.7; opacity: 0; transform: translateY(14px); transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { border-color: rgba(255,180,171,.38); }
.toast.warning { border-color: rgba(255,213,128,.38); }

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; padding-inline: 16px; gap: 16px; }
  .main-nav { display: none; }
  .hero { min-height: 540px; }
  .hero-copy { padding-top: 74px; }
  .hero-transition { height: 164px; padding-bottom: 28px; }
  .hero-transition::before { width: min(560px, 84vw); height: 82px; bottom: 28px; }
  .hero-scroll-cue { width: 64px; height: 64px; }
  .metrics-grid, .services-grid, .results-grid, .two-col, .process-grid, .integration-grid, .footer-grid { grid-template-columns: 1fr; }
  .visual-card { min-height: 360px; }
  .section-head { max-width: 100%; }
}
@media (max-width: 700px) {
  .site-header { height: 72px; padding-top: 6px; }
  .brand-name { font-size: 16px; max-width: 160px; }
  .brand-logo { max-width: 140px; height: 34px; }
  .login-link { display: none; }
  .header-actions { gap: 10px; }
  .trial-btn { min-height: 34px; padding-inline: 12px; font-size: 13px; }
  .hero { height: auto; min-height: 520px; max-height: none; }
  .hero-copy { padding-top: 60px; padding-inline: 14px; }
  .hero-badge { font-size: 11px; }
  .hero h1 { font-size: clamp(32px, 9vw, 46px); letter-spacing: -0.025em; }
  .hero p { font-size: 14.5px; line-height: 1.75; max-width: 330px; }
  .hero-transition { height: 140px; padding-bottom: 20px; }
  .hero-transition::before { width: min(360px, 86vw); height: 68px; bottom: 20px; }
  .hero-scroll-cue { width: 56px; height: 56px; }
  .hero-scroll-arrow { transform: scale(.88); }
  .page-section { padding: 72px 18px; }
  .metrics-strip { padding-inline: 18px; }
  .service-card, .case-card, .visual-card, .flow-card { padding: 22px; }
  .process-steps, .form-grid, .mock-bottom, .kpi-row { grid-template-columns: 1fr; }
  .newsletter-form, .footer-bottom { flex-direction: column; align-items: stretch; }
}
.mock-bar .bar-82 { width: 82%; }
.mock-bar .bar-64 { width: 64%; }
.mock-bar .bar-76 { width: 76%; }

/* Motion interaction layer */
.motion-cursor-canvas {
  position: fixed;
  inset: 0;
  z-index: 10000;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
  transition: opacity .24s ease;
}
html.has-motion-cursor .motion-cursor-canvas { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  html.has-motion-cursor,
  html.has-motion-cursor a,
  html.has-motion-cursor button,
  html.has-motion-cursor .glass-card,
  html.has-motion-cursor .hero-scroll-cue,
  html.has-motion-cursor .partner-pill,
  html.has-motion-cursor .back-to-top { cursor: none; }
  html.has-motion-cursor input,
  html.has-motion-cursor textarea,
  html.has-motion-cursor select { cursor: text; }
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  filter: blur(10px);
  transition:
    opacity .72s cubic-bezier(.16, 1, .3, 1),
    transform .72s cubic-bezier(.16, 1, .3, 1),
    filter .72s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  will-change: auto;
}
.reveal-delay-1 { --reveal-delay: 80ms; }
.reveal-delay-2 { --reveal-delay: 150ms; }
.reveal-delay-3 { --reveal-delay: 220ms; }
.reveal-delay-4 { --reveal-delay: 290ms; }
.reveal-delay-5 { --reveal-delay: 360ms; }
.reveal-delay-6 { --reveal-delay: 430ms; }

.page-section::after,
.metrics-strip::after {
  content: "";
  position: absolute;
  inset-inline: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(221,183,255,.20), rgba(137,215,255,.12), transparent);
  opacity: .64;
  pointer-events: none;
}
.metrics-strip::after { top: auto; bottom: 0; }

@media (hover: hover) and (pointer: fine) {
  .glass-card,
  .partner-pill,
  .flow-node,
  .micro-tags span,
  .integration-item,
  .feature-item,
  .step-card,
  .input,
  .textarea,
  .select {
    transition:
      transform .28s cubic-bezier(.16, 1, .3, 1),
      border-color .28s cubic-bezier(.16, 1, .3, 1),
      background .28s cubic-bezier(.16, 1, .3, 1),
      box-shadow .28s cubic-bezier(.16, 1, .3, 1),
      color .28s cubic-bezier(.16, 1, .3, 1),
      opacity .28s cubic-bezier(.16, 1, .3, 1);
  }

  .glass-card.interactive-card {
    transform-style: preserve-3d;
    isolation: isolate;
  }
  .glass-card.interactive-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background:
      radial-gradient(circle at 50% 0%, rgba(221,183,255,.18), transparent 36%),
      linear-gradient(135deg, transparent 18%, rgba(255,255,255,.055), transparent 58%);
    opacity: 0;
    transition: opacity .28s ease;
    z-index: -1;
  }
  .glass-card.interactive-card:hover {
    transform: translateY(-7px);
    border-color: rgba(221,183,255,.38);
    background: rgba(255,255,255,.055);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.08),
      0 24px 80px rgba(0,0,0,.26),
      0 0 46px rgba(183,109,255,.14);
  }
  .glass-card.interactive-card:hover::after { opacity: 1; }

  .interactive-card:hover .icon-box,
  .feature-item:hover .icon-box,
  .integration-item:hover .icon-box {
    transform: translateY(-3px) rotate(-5deg);
    border-color: rgba(221,183,255,.42);
    background: rgba(221,183,255,.13);
    box-shadow: 0 0 28px rgba(183,109,255,.20);
  }

  .card-title,
  .step-card h3,
  .integration-item h4,
  .feature-item h4 {
    transition: transform .28s cubic-bezier(.16, 1, .3, 1), color .28s ease;
  }
  .interactive-card:hover .card-title,
  .step-card:hover h3,
  .integration-item:hover h4,
  .feature-item:hover h4 {
    transform: translateY(-2px);
    color: #fff;
  }

  .step-card:hover,
  .feature-item:hover,
  .integration-item:hover,
  .flow-node:hover,
  .micro-tags span:hover,
  .partner-pill:hover {
    transform: translateY(-4px);
    border-color: rgba(221,183,255,.30);
    background: rgba(255,255,255,.055);
    box-shadow: 0 14px 42px rgba(0,0,0,.18), 0 0 26px rgba(183,109,255,.08);
  }

  .trial-btn,
  .btn-primary,
  .btn-secondary,
  .submit-btn,
  .hero-scroll-cue {
    position: relative;
    overflow: hidden;
  }
  .trial-btn::after,
  .btn-primary::after,
  .btn-secondary::after,
  .submit-btn::after {
    content: "";
    position: absolute;
    inset-block: -40%;
    inset-inline-start: -55%;
    width: 46%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
    transform: skewX(-18deg);
    opacity: 0;
  }
  .trial-btn:hover::after,
  .btn-primary:hover::after,
  .btn-secondary:hover::after,
  .submit-btn:hover::after {
    opacity: 1;
    animation: buttonComet .74s ease forwards;
  }
  @keyframes buttonComet {
    from { inset-inline-start: -55%; }
    to { inset-inline-start: 112%; }
  }

  .main-nav a,
  .footer-col a,
  .login-link {
    position: relative;
  }
  .main-nav a::after,
  .footer-col a::after,
  .login-link::after {
    content: "";
    position: absolute;
    inset-inline: 14px;
    bottom: 6px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(221,183,255,.9), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .24s ease;
  }
  .main-nav a:hover::after,
  .footer-col a:hover::after,
  .login-link:hover::after { transform: scaleX(1); }

  .hero-copy {
    will-change: transform;
    transition: transform .18s ease-out;
  }
  .hero-bg {
    will-change: transform;
    transition: transform .22s ease-out;
  }
  .hero-badge {
    animation: softSignal 4.4s ease-in-out infinite;
  }
  @keyframes softSignal {
    0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 18px rgba(122, 81, 255, 0.08); }
    50% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 30px rgba(183, 109, 255, 0.18); }
  }
}


.back-to-top {
  position: fixed;
  inset-inline-end: 26px;
  bottom: 28px;
  z-index: 8000;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(221,183,255,.26);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(221,183,255,.20), transparent 58%),
    rgba(10, 4, 28, .72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 18px 55px rgba(0,0,0,.30),
    0 0 34px rgba(183,109,255,.13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.92);
  transition:
    opacity .24s ease,
    visibility .24s ease,
    transform .24s cubic-bezier(.16, 1, .3, 1),
    border-color .24s ease,
    box-shadow .24s ease,
    background .24s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top svg {
  position: relative;
  z-index: 2;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(221,183,255,.45));
}
.back-to-top-orbit {
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  border: 1px solid rgba(221,183,255,.16);
  transform: rotate(-26deg) scaleX(1.24);
  opacity: .86;
  pointer-events: none;
}
.back-to-top-orbit::after {
  content: "";
  position: absolute;
  top: -3px;
  inset-inline-start: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(221,183,255,.96);
  box-shadow: 0 0 14px rgba(221,183,255,.85);
}
@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    transform: translateY(-4px) scale(1.04);
    border-color: rgba(221,183,255,.48);
    background:
      radial-gradient(circle at 50% 0%, rgba(221,183,255,.26), transparent 58%),
      rgba(15, 7, 40, .82);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.10),
      0 20px 60px rgba(0,0,0,.34),
      0 0 42px rgba(183,109,255,.22);
  }
  .back-to-top:hover .back-to-top-orbit {
    animation: backTopOrbit 1.6s linear infinite;
  }
  @keyframes backTopOrbit {
    from { transform: rotate(-26deg) scaleX(1.24); }
    to { transform: rotate(334deg) scaleX(1.24); }
  }
}

@media (max-width: 700px), (hover: none), (pointer: coarse) {
  .reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .motion-cursor-canvas { display: none; }
  .back-to-top { inset-inline-end: 18px; bottom: 20px; width: 46px; height: 46px; }
}



/* Stage 5 performance polish: keep mobile rendering simpler without changing layout. */
@media (hover: none), (pointer: coarse) {
  .glass-card.interactive-card,
  .hero-copy,
  .hero-bg {
    transition-duration: .01ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .motion-cursor-canvas { display: none !important; }
}

/* Production completion: contact shortcuts, anti-spam field, floating WhatsApp, legal pages */
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.contact-shortcuts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.contact-shortcuts a, .legal-link-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 14px; border: 1px solid rgba(221, 183, 255, .18); border-radius: 999px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.045); text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease; }
.contact-shortcuts a:hover, .legal-link-chip:hover { transform: translateY(-2px); color: #fff; border-color: rgba(221, 183, 255, .36); background: rgba(221, 183, 255, .09); }
.floating-whatsapp { position: fixed; inset-inline-start: 24px; bottom: 28px; z-index: 7990; min-width: 92px; height: 46px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; border: 1px solid rgba(221,183,255,.24); color: #fff; background: radial-gradient(circle at 20% 0%, rgba(221,183,255,.18), transparent 58%), rgba(10, 4, 28, .72); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 55px rgba(0,0,0,.30), 0 0 34px rgba(183,109,255,.13); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); text-decoration: none; font-weight: 800; font-size: .86rem; transition: transform .24s cubic-bezier(.16, 1, .3, 1), border-color .24s ease, box-shadow .24s ease; }
.floating-whatsapp::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #54f0a7; box-shadow: 0 0 14px rgba(84,240,167,.65); }
.floating-whatsapp:hover { transform: translateY(-4px); border-color: rgba(221,183,255,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 20px 60px rgba(0,0,0,.34), 0 0 42px rgba(183,109,255,.22); }
.legal-page { min-height: 100vh; padding: 110px 0 70px; background: radial-gradient(circle at 50% 0%, rgba(112, 70, 255, .18), transparent 38%), #090414; color: #fff; }
.legal-card { max-width: 920px; margin: 0 auto; padding: clamp(24px, 5vw, 54px); }
.legal-card h1 { margin: 0 0 16px; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.08; }
.legal-card h2 { margin: 34px 0 12px; font-size: clamp(1.2rem, 2.4vw, 1.65rem); }
.legal-card p, .legal-card li { color: rgba(255,255,255,.72); line-height: 1.95; font-size: 1rem; }
.legal-card ul { padding-inline-start: 1.4rem; }
.legal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
@media (max-width: 700px), (hover: none), (pointer: coarse) { .floating-whatsapp { inset-inline-start: 16px; bottom: 20px; min-width: 46px; width: 46px; padding: 0; } .floating-whatsapp span { display: none; } .contact-shortcuts { justify-content: stretch; } .contact-shortcuts a { flex: 1 1 100%; } }