:root {
  --bg: #eef8ff;
  --bg-alt: #ffffffcc;
  --text: #0d2145;
  --text-soft: #29446f;
  --primary: #0b2d6c;
  --primary-2: #1c56b2;
  --accent: #0fc6e6;
  --accent-2: #6de1f1;
  --sand: #e4d5b0;
  --border: #ffffff99;
  --shadow: 0 12px 34px rgba(8, 36, 92, 0.08);
  --radius: 18px;
  --focus: 0 0 0 3px rgba(15, 198, 230, 0.35);
  --sky-top: #9fddff;
  --sky-bottom: #e9f8ff;
  --sun-core: #fff3cc;
  --sun-glow: #ffd682;
  --sun-y: 14%;
  --sun-x: 72%;
  --sun-opacity: 1;
  --haze-opacity: 0.1;
  --ocean-tint: #52bed9;
  --tahiti-back: #2a5a93;
  --tahiti-front: #1d4375;
  --tahiti-opacity: 1;
  --tahiti-shift: 0px;
  --moorea-back: #234c80;
  --moorea-front: #15365f;
  --moorea-opacity: 0;
  --moorea-shift: 24px;
  --reflection-opacity: 0.2;
  --kpi-hover-lift: -8px;
  --kpi-hover-shadow: 0 18px 34px rgba(3, 20, 44, 0.17), 0 0 0 1px rgba(92, 212, 255, 0.2), 0 0 30px rgba(66, 210, 255, 0.2);
  --kpi-hover-border: rgba(56, 190, 248, 0.5);
  --kpi-hover-glow-opacity: 1;
  --kpi-value-scale: 1.07;
}

:root[data-theme="dark"] {
  --bg: #081a33;
  --bg-alt: #16315ac7;
  --text: #f2f7ff;
  --text-soft: #d2e1fb;
  --primary: #79d4ff;
  --primary-2: #3aa8de;
  --accent: #5ce4f5;
  --accent-2: #9beefd;
  --sand: #b8c8de;
  --border: #cfe2ff47;
  --shadow: 0 14px 32px rgba(1, 9, 26, 0.5);
  --kpi-hover-shadow: 0 16px 30px rgba(0, 8, 26, 0.55), 0 0 0 1px rgba(128, 229, 255, 0.24), 0 0 26px rgba(63, 197, 255, 0.3);
  --kpi-hover-border: rgba(104, 221, 255, 0.62);
  --kpi-hover-glow-opacity: 0.9;
  --kpi-value-scale: 1.06;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  font-family: "Avenir Next", "Inter", "Segoe UI", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(15, 198, 230, 0.2), transparent 36%),
    radial-gradient(circle at 90% 0%, rgba(11, 45, 108, 0.13), transparent 30%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 60%, var(--bg) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.16;
  background-image:
    linear-gradient(120deg, rgba(11, 45, 108, 0.08) 0, rgba(11, 45, 108, 0.08) 1px, transparent 1px, transparent 18px),
    linear-gradient(60deg, rgba(15, 198, 230, 0.08) 0, rgba(15, 198, 230, 0.08) 1px, transparent 1px, transparent 18px);
  background-size: 36px 36px;
}

:root {
  --tech-light-x: 50%;
  --tech-light-y: 50%;
}

.cursor-tech-light {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
  background:
    radial-gradient(280px circle at var(--tech-light-x) var(--tech-light-y), rgba(72, 210, 255, 0.14) 0%, rgba(30, 127, 255, 0.07) 34%, transparent 72%),
    radial-gradient(560px circle at var(--tech-light-x) var(--tech-light-y), rgba(78, 219, 255, 0.07) 0%, transparent 74%);
  will-change: background-position, opacity;
}

body.card-light-active .cursor-tech-light {
  opacity: 1;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 10% 10%, rgba(92, 228, 245, 0.16), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(64, 126, 213, 0.22), transparent 34%),
    linear-gradient(180deg, #12284d 0%, #0d2142 56%, var(--bg) 100%);
}

:root[data-theme="dark"] body::before {
  opacity: 0.09;
}

:root[data-theme="dark"] .cursor-tech-light {
  background:
    radial-gradient(280px circle at var(--tech-light-x) var(--tech-light-y), rgba(109, 228, 255, 0.15) 0%, rgba(57, 146, 255, 0.08) 36%, transparent 74%),
    radial-gradient(560px circle at var(--tech-light-x) var(--tech-light-y), rgba(119, 236, 255, 0.07) 0%, transparent 76%);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 14px;
}

.island-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.scene-sky,
.scene-sun,
.scene-haze,
.scene-ocean,
.scene-sun-reflection,
.scene-tahiti-back,
.scene-tahiti-front,
.scene-tahiti-isthmus,
.scene-tahiti-iti,
.scene-moorea-back,
.scene-moorea-front,
.scene-moorea-bays {
  position: absolute;
  inset: 0;
}

.scene-sky {
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 62%, #c4e3ee 100%);
}

.scene-sun {
  left: var(--sun-x);
  right: auto;
  top: var(--sun-y);
  width: clamp(130px, 20vw, 260px);
  height: clamp(130px, 20vw, 260px);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--sun-core) 0%, rgba(255, 240, 193, 0.95) 28%, var(--sun-glow) 55%, rgba(255, 151, 75, 0.06) 84%);
  transform: translate(-50%, -50%);
  filter: blur(0.2px);
  opacity: var(--sun-opacity);
  box-shadow: 0 0 80px rgba(255, 177, 104, 0.42);
}

.scene-haze {
  background: linear-gradient(180deg, rgba(255, 184, 113, var(--haze-opacity)) 0%, rgba(255, 188, 133, calc(var(--haze-opacity) * 0.88)) 40%, rgba(255, 191, 120, 0) 82%);
}

.scene-ocean {
  top: 63%;
  background:
    linear-gradient(180deg, rgba(255, 183, 106, 0.26) 0%, var(--ocean-tint) 42%, #0b4d79 100%);
}

.scene-sun-reflection {
  top: 62%;
  opacity: var(--reflection-opacity);
  background:
    radial-gradient(ellipse at var(--sun-x) 82%, rgba(255, 213, 149, 0.56) 0%, rgba(255, 187, 121, 0.42) 24%, rgba(255, 174, 109, 0.1) 44%, transparent 62%),
    linear-gradient(180deg, rgba(255, 197, 126, 0) 0%, rgba(255, 198, 130, 0.2) 44%, rgba(255, 164, 96, 0.36) 62%, rgba(255, 155, 97, 0.06) 86%);
  filter: blur(1.1px);
}

.scene-tahiti-back {
  top: 63%;
  opacity: var(--tahiti-opacity);
  background: var(--tahiti-back);
  transform: translateY(var(--tahiti-shift));
  clip-path: polygon(0 100%, 0 86%, 3% 85%, 8% 82%, 13% 74%, 18% 63%, 23% 52%, 28% 46%, 33% 48%, 38% 57%, 43% 68%, 48% 75%, 53% 77%, 58% 74%, 62% 69%, 66% 66%, 70% 68%, 73% 73%, 76% 79%, 79% 81%, 82% 79%, 86% 72%, 90% 63%, 94% 57%, 97% 60%, 100% 66%, 100% 100%);
}

.scene-tahiti-front {
  top: 69%;
  opacity: var(--tahiti-opacity);
  background: var(--tahiti-front);
  transform: translateY(var(--tahiti-shift));
  clip-path: polygon(0 100%, 0 90%, 6% 90%, 13% 87%, 20% 82%, 27% 80%, 34% 82%, 41% 87%, 48% 90%, 55% 90%, 61% 88%, 66% 85%, 71% 84%, 75% 86%, 79% 90%, 82% 95%, 85% 96%, 88% 93%, 92% 86%, 96% 81%, 100% 82%, 100% 100%);
}

.scene-tahiti-isthmus {
  top: 74%;
  opacity: var(--tahiti-opacity);
  background: var(--tahiti-front);
  transform: translateY(var(--tahiti-shift));
  clip-path: polygon(74% 100%, 74% 87%, 77% 85%, 80% 85%, 83% 88%, 86% 92%, 89% 96%, 93% 99%, 100% 100%);
}

.scene-tahiti-iti {
  top: 76%;
  opacity: var(--tahiti-opacity);
  background: var(--tahiti-front);
  transform: translateY(var(--tahiti-shift));
  clip-path: polygon(84% 100%, 84% 90%, 88% 84%, 92% 80%, 95% 82%, 97% 88%, 99% 94%, 100% 97%, 100% 100%);
}

.scene-moorea-back {
  top: 67%;
  opacity: var(--moorea-opacity);
  background: var(--moorea-back);
  transform: translateY(var(--moorea-shift));
  clip-path: polygon(0 100%, 0 84%, 6% 82%, 12% 77%, 18% 69%, 24% 60%, 30% 51%, 36% 44%, 41% 40%, 45% 46%, 50% 58%, 55% 69%, 60% 64%, 66% 52%, 71% 42%, 75% 46%, 80% 58%, 86% 71%, 92% 79%, 100% 83%, 100% 100%);
}

.scene-moorea-front {
  top: 72%;
  opacity: var(--moorea-opacity);
  background: var(--moorea-front);
  transform: translateY(var(--moorea-shift));
  clip-path: polygon(0 100%, 0 88%, 8% 89%, 16% 86%, 24% 82%, 31% 76%, 37% 70%, 43% 65%, 48% 63%, 53% 67%, 58% 75%, 63% 79%, 68% 73%, 74% 72%, 81% 78%, 90% 85%, 100% 89%, 100% 100%);
}

.scene-moorea-bays {
  top: 73%;
  opacity: var(--moorea-opacity);
  transform: translateY(var(--moorea-shift));
  background:
    radial-gradient(ellipse at 40% 84%, rgba(9, 28, 51, 0.16) 0%, rgba(9, 28, 51, 0) 54%),
    radial-gradient(ellipse at 58% 84%, rgba(9, 28, 51, 0.15) 0%, rgba(9, 28, 51, 0) 52%);
  filter: blur(0.2px);
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 3;
}

.section {
  position: relative;
  padding: 78px 0;
}

.section-motif::before {
  content: none;
}

.section-title {
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  margin: 0 0 28px;
  letter-spacing: -0.02em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1000;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  left: 12px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background:
    linear-gradient(180deg, rgba(92, 208, 231, 0.34) 0%, rgba(182, 235, 244, 0.24) 58%, rgba(241, 220, 175, 0.16) 100%);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
  overflow: visible;
}

.site-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(84, 190, 220, 0.46) 0%, rgba(183, 227, 236, 0.32) 56%, rgba(237, 209, 160, 0.26) 100%);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.site-header::before {
  content: none;
}

.site-header::after {
  content: none;
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  isolation: isolate;
}

.nav-wrap::before {
  content: none;
}

.nav-wrap > * {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.02em;
  z-index: 120;
  transition: transform 0.25s ease, text-shadow 0.25s ease;
}

.brand-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
  text-shadow: 0 6px 18px rgba(22, 80, 142, 0.2);
}

.brand-stack {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 74px;
  height: 100%;
}

.site-nav {
  margin-left: auto;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  gap: 16px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.hamburger {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  z-index: 120;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.hamburger span {
  width: 20px;
  height: 2px;
  border-radius: 3px;
  background: var(--text);
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.hamburger:hover,
.hamburger:focus-visible {
  transform: translateY(-1px) rotate(-1deg);
  box-shadow: 0 10px 18px rgba(16, 54, 103, 0.16);
}

body.menu-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .hamburger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-links-inline {
  display: flex;
}

.nav-actions-inline {
  display: inline-flex;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 20px rgba(13, 47, 111, 0.22);
}

:root[data-theme="dark"] .btn-primary {
  color: #032446;
}

.btn-primary:hover {
  box-shadow: 0 12px 24px rgba(13, 47, 111, 0.28);
}

.btn-ghost {
  color: var(--text);
  background: var(--bg-alt);
  border-color: var(--border);
}

:root[data-theme="dark"] .btn-ghost {
  color: var(--text);
  background: rgba(19, 44, 82, 0.9);
}

.btn-tiare {
  width: 36px;
  height: 36px;
  border-radius: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.btn-tiare:focus-visible {
  box-shadow: var(--focus) !important;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.download-hero {
  padding-top: 92px;
}

.download-card {
  padding: 26px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.download-meta,
.download-feature-list {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: disc;
}

.download-panel {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--border);
  display: grid;
  gap: 6px;
}

.download-panel strong {
  font-size: 0.92rem;
}

.download-panel span {
  color: var(--text-soft);
}

.download-lock[hidden] {
  display: none;
}

.download-lock {
  position: fixed;
  inset: 0;
  z-index: 250;
}

.download-lock-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 31, 0.46);
  backdrop-filter: blur(6px);
}

.download-lock-dialog {
  position: relative;
  width: min(460px, calc(100vw - 24px));
  margin: min(14vh, 110px) auto 0;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(236, 245, 255, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 60px rgba(3, 18, 40, 0.24);
  z-index: 1;
}

.download-lock-dialog h2 {
  margin: 0 0 10px;
}

.download-lock-dialog input {
  width: 100%;
  margin-top: 14px;
  border: 1px solid rgba(13, 33, 69, 0.16);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
}

.download-lock-error {
  margin: 10px 0 0;
  color: #b21d34;
  font-weight: 600;
}

.download-lock-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.screenshot-grid {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.screenshot-card {
  padding: 22px;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  cursor: zoom-in;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.screenshot-card:hover img,
.screenshot-card:focus-within img {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 34px rgba(8, 36, 92, 0.18);
}

.screenshot-card h3 {
  margin: 18px 0 8px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 30, 0.78);
  backdrop-filter: blur(4px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1320px);
  max-height: 92vh;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 245, 255, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 64px rgba(6, 19, 44, 0.34);
  padding: 12px;
  overflow: auto;
}

.lightbox-stage {
  position: relative;
  width: 100%;
  max-height: calc(92vh - 24px);
  overflow: hidden;
  border-radius: 14px;
  touch-action: none;
  cursor: grab;
}

.lightbox-stage.is-dragging {
  cursor: grabbing;
}

.lightbox-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(92vh - 24px);
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
  transition: transform 120ms ease-out;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #0d1b3d;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(8, 30, 70, 0.2);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 1);
}

.app-shot {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background:
    radial-gradient(circle at 20% 10%, rgba(15, 198, 230, 0.28), transparent 28%),
    radial-gradient(circle at 84% 0%, rgba(11, 45, 108, 0.18), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(232, 244, 255, 0.8));
  box-shadow: 0 16px 34px rgba(8, 36, 92, 0.12);
}

.app-shot-bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px 0;
}

.app-shot-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(13, 33, 69, 0.2);
}

.app-shot-body {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 14px 16px 16px;
}

.app-shot-sidebar {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.app-shot-brand,
.app-shot-nav,
.app-shot-title,
.execution-head,
.execution-progress,
.execution-step-index,
.execution-step-title,
.execution-step-note,
.execution-proof,
.report-lines span,
.report-kpis span,
.report-table div,
.report-signatures span,
.execution-actions span {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(11, 45, 108, 0.86), rgba(15, 198, 230, 0.55));
}

.app-shot-brand {
  height: 44px;
  border-radius: 16px;
}

.app-shot-nav {
  height: 12px;
  opacity: 0.62;
}

.app-shot-nav.short {
  width: 72%;
}

.app-shot-nav.active {
  opacity: 1;
}

.app-shot-main {
  display: grid;
  gap: 14px;
}

.app-shot-title {
  height: 20px;
  width: 44%;
}

.app-shot-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.app-shot-metrics span,
.execution-actions span,
.report-kpis span {
  display: block;
  min-height: 74px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(210, 231, 250, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.app-shot-panels {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.app-shot-panel {
  min-height: 118px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(225, 239, 253, 0.85)),
    linear-gradient(120deg, rgba(15, 198, 230, 0.16), transparent 36%);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.app-shot-panel.large {
  min-height: 156px;
}

.execution-layout {
  padding: 16px 18px 20px;
  display: grid;
  gap: 16px;
}

.execution-head {
  height: 22px;
  width: 46%;
}

.execution-progress {
  height: 16px;
  width: 100%;
}

.execution-card {
  min-height: 160px;
  border-radius: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.82);
  display: grid;
  align-content: start;
  gap: 12px;
}

.execution-step-index {
  height: 12px;
  width: 24%;
}

.execution-step-title {
  height: 32px;
  width: 68%;
}

.execution-step-note {
  height: 18px;
  width: 55%;
  opacity: 0.68;
}

.execution-proof {
  height: 58px;
  width: 100%;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 209, 128, 0.9), rgba(255, 248, 228, 0.92));
}

.execution-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 12px;
}

.execution-actions .primary {
  background: linear-gradient(135deg, rgba(11, 45, 108, 0.96), rgba(15, 198, 230, 0.78));
}

.app-shot-report {
  padding: 16px;
}

.report-page {
  min-height: 228px;
  background: white;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 24px rgba(6, 24, 54, 0.08);
}

.report-header {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
}

.report-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background:
    url("../img/logo-manaprocess-final.png") center/contain no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(233, 245, 255, 0.95));
}

.report-lines {
  display: grid;
  gap: 8px;
}

.report-lines span:nth-child(1) {
  height: 18px;
  width: 58%;
}

.report-lines span:nth-child(2) {
  height: 12px;
  width: 74%;
  opacity: 0.75;
}

.report-lines span:nth-child(3) {
  height: 12px;
  width: 46%;
  opacity: 0.55;
}

.report-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.report-kpis span {
  min-height: 56px;
}

.report-table {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.report-table div {
  height: 24px;
  width: 100%;
  opacity: 0.74;
}

.report-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.report-signatures span {
  min-height: 46px;
  background: linear-gradient(180deg, rgba(244, 248, 253, 1), rgba(233, 240, 248, 0.94));
  border: 1px solid rgba(13, 33, 69, 0.08);
}

.tiare {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-block;
  transition: transform 0.25s ease;
}

.petal {
  position: absolute;
  width: 13px;
  height: 16px;
  border-radius: 100% 100% 78% 78%;
  background: linear-gradient(180deg, #ffffff, #f5fcff);
  border: 1px solid #d8e9f4;
  left: 50%;
  top: 50%;
  transform-origin: center 11px;
  box-shadow: 0 1px 2px rgba(12, 41, 82, 0.16);
}

.petal.p1 { transform: translate(-50%, -50%) rotate(0deg) translateY(-8px); }
.petal.p2 { transform: translate(-50%, -50%) rotate(72deg) translateY(-8px); }
.petal.p3 { transform: translate(-50%, -50%) rotate(144deg) translateY(-8px); }
.petal.p4 { transform: translate(-50%, -50%) rotate(216deg) translateY(-8px); }
.petal.p5 { transform: translate(-50%, -50%) rotate(288deg) translateY(-8px); }

.tiare .heart {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd65f;
  transform: translate(-50%, -50%);
}

.btn-tiare:hover .tiare {
  transform: rotate(14deg);
}

.hero {
  padding-top: 90px;
}

.hero-cinematic {
  overflow: clip;
}

.hero-cinematic .hero-content,
.hero-cinematic .hero-media {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  animation: cinema-in 1s cubic-bezier(0.2, 0.72, 0.13, 1) forwards;
}

.hero-cinematic .hero-media {
  animation-delay: 0.2s;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  animation: pulse-drift 12s ease-in-out infinite;
}

.hero-orb-a {
  width: 220px;
  height: 220px;
  left: -70px;
  top: 40px;
  background: radial-gradient(circle, rgba(15, 198, 230, 0.34), rgba(15, 198, 230, 0));
}

.hero-orb-b {
  width: 260px;
  height: 260px;
  right: -80px;
  top: -20px;
  background: radial-gradient(circle, rgba(11, 45, 108, 0.24), rgba(11, 45, 108, 0));
  animation-delay: 2s;
}

.hero-orb-c {
  width: 180px;
  height: 180px;
  left: 56%;
  top: 28%;
  background: radial-gradient(circle, rgba(228, 213, 176, 0.28), rgba(228, 213, 176, 0));
  animation-delay: 4s;
}

.hero-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.about-media {
  width: min(100%, 560px);
  margin-inline: auto;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-media img {
  width: auto;
  max-width: 100%;
  height: auto !important;
  max-height: 72vh;
  object-fit: contain !important;
}

.hero-content h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 8px 0 14px;
}

.kicker {
  color: var(--primary);
  font-weight: 760;
  margin: 0;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: var(--text-soft);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  animation: chip-float 4.2s ease-in-out infinite;
}

.hero-chips li::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.26) 35%, transparent 60%);
  transform: translateX(-140%);
  transition: transform 0.62s ease;
}

.hero-chips li:nth-child(2) {
  animation-delay: 0.2s;
}

.hero-chips li:nth-child(3) {
  animation-delay: 0.4s;
}

.hero-chips li:hover,
.hero-chips li:focus-within,
.hero-chips li:active {
  transform: translateY(-3px) scale(1.02);
  border-color: #ffffffa8;
  color: var(--text);
  box-shadow: 0 12px 24px rgba(13, 47, 111, 0.2);
}

.hero-chips li:hover::after,
.hero-chips li:focus-within::after,
.hero-chips li:active::after {
  transform: translateX(140%);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-media {
  position: relative;
  transform-style: preserve-3d;
  width: min(100%, 420px);
  margin-inline: auto;
  justify-self: center;
  aspect-ratio: 1 / 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 30px rgba(10, 30, 74, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-dashboard {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(216, 243, 255, 0.72));
  box-shadow: var(--shadow);
}

.hero-dashboard::before {
  content: none;
}

.hero-dashboard h3 {
  margin: 0 0 4px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  letter-spacing: -0.01em;
}

.hero-dashboard > p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.hero-dashboard .metrics-grid {
  margin-top: 12px;
  gap: 10px;
  margin-bottom: 0;
}

.metrics-strip {
  padding: 14px 0 0;
  position: relative;
  z-index: 3;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.metric-card {
  position: relative;
  --metric-accent: #1f75ff;
  --metric-soft: rgba(31, 117, 255, 0.14);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(232, 245, 255, 0.86)),
    radial-gradient(circle at 85% -10%, var(--metric-soft), transparent 52%);
  box-shadow:
    0 16px 28px rgba(8, 31, 74, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  padding: 15px 14px 16px;
  text-align: left;
  transition:
    transform 300ms ease,
    box-shadow 300ms ease,
    border-color 300ms ease;
}

.metric-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 9px;
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--metric-accent), color-mix(in srgb, var(--metric-accent) 45%, #ffffff));
  opacity: 0.92;
}

.metric-card:nth-child(1) {
  --metric-accent: #1973ff;
  --metric-soft: rgba(25, 115, 255, 0.16);
}

.metric-card:nth-child(2) {
  --metric-accent: #16b6ff;
  --metric-soft: rgba(22, 182, 255, 0.15);
}

.metric-card:nth-child(3) {
  --metric-accent: #f49a3f;
  --metric-soft: rgba(244, 154, 63, 0.15);
}

.metric-card:nth-child(4) {
  --metric-accent: #26b55d;
  --metric-soft: rgba(38, 181, 93, 0.15);
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 46%, rgba(95, 235, 255, 0.24), rgba(43, 140, 255, 0.13) 44%, transparent 72%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

:root[data-theme="dark"] .metric-card {
  background: linear-gradient(145deg, rgba(31, 62, 106, 0.86), rgba(25, 51, 90, 0.82));
}

:root[data-theme="dark"] .hero-dashboard {
  border-color: rgba(157, 214, 255, 0.24);
  background: linear-gradient(145deg, rgba(20, 44, 80, 0.9), rgba(17, 41, 74, 0.84));
  box-shadow: 0 16px 30px rgba(2, 12, 30, 0.34);
}

:root[data-theme="dark"] .hero-dashboard .metric-card {
  border-color: rgba(134, 198, 255, 0.22);
  background: linear-gradient(145deg, rgba(31, 62, 106, 0.86), rgba(25, 51, 90, 0.82));
  box-shadow: var(--shadow);
}

.hero-dashboard .metric-card {
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(216, 243, 255, 0.65));
  box-shadow: var(--shadow);
  padding: 14px;
  text-align: center;
}

.hero-dashboard .metric-card::after {
  content: none;
}

.hero-dashboard .metric-value {
  font-size: 1.5rem;
  color: var(--primary);
  background: none;
  -webkit-background-clip: border-box;
}

.hero-dashboard .metric-label {
  margin: 5px 0 0;
  font-size: 0.86rem;
  font-weight: 500;
  text-align: center;
}

.metric-card:hover,
.metric-card:focus-within,
.metric-card:active {
  transform: translateY(var(--kpi-hover-lift));
  border-color: var(--kpi-hover-border);
  box-shadow: var(--kpi-hover-shadow);
}

.metric-card:hover::before,
.metric-card:focus-within::before,
.metric-card:active::before {
  opacity: var(--kpi-hover-glow-opacity);
}

.metric-value {
  margin: 0;
  font-size: clamp(2.05rem, 3vw, 2.55rem);
  font-weight: 780;
  line-height: 1.1;
  color: transparent;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 56%, #2fd9f7));
  background-clip: text;
  -webkit-background-clip: text;
  transition: transform 300ms ease;
  transform-origin: center;
}

.metric-card:hover .metric-value,
.metric-card:focus-within .metric-value,
.metric-card:active .metric-value {
  transform: scale(var(--kpi-value-scale));
}

@media (hover: none) {
  .cursor-tech-light {
    display: none;
  }

  .card.service:active {
    transform: translateY(-6px) scale(1.01);
  }

  .step:active {
    transform: translateY(-4px);
  }

  #contact .contact-grid > aside.card:active {
    transform: translateY(-6px) scale(1.01);
  }

  .metric-card:active {
    transform: translateY(-4px);
  }

  .metric-card:active .metric-value {
    transform: scale(1.04);
  }
}

.metric-label {
  margin: 4px 0 0;
  font-size: 0.96rem;
  font-weight: 560;
  color: var(--text-soft);
}

.testimonial-marquee {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-alt);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

:root[data-theme="dark"] .testimonial-marquee {
  background: rgba(20, 45, 83, 0.86);
}

.testimonial-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  padding: 10px 14px;
  animation: marquee 30s linear infinite;
}

.testimonial-track p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  backdrop-filter: blur(8px);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

:root[data-theme="dark"] .card,
:root[data-theme="dark"] .step {
  background: rgba(20, 43, 79, 0.82);
}

.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 22%, rgba(90, 222, 255, 0.18), rgba(34, 125, 255, 0.08) 42%, transparent 74%);
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.3), transparent 35%, rgba(15, 198, 230, 0.14));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.card:hover,
.card:focus-within,
.card:active {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 20px 36px rgba(13, 47, 111, 0.2),
    0 0 0 1px rgba(100, 220, 255, 0.24),
    0 0 28px rgba(56, 192, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.92);
}

.card:hover::before,
.card:focus-within::before,
.card:active::before {
  opacity: 1;
}

.card:hover::after,
.card:focus-within::after,
.card:active::after {
  opacity: 1;
}

.service img {
  border-radius: 10px;
  margin-bottom: 10px;
}

.card.service {
  transition: transform 0.34s cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 0.34s ease, border-color 0.34s ease;
}

.card.service::before {
  background: radial-gradient(circle at 50% 18%, rgba(104, 235, 255, 0.24), rgba(43, 140, 255, 0.11) 42%, transparent 76%);
}

.card.service:hover,
.card.service:focus-within,
.card.service:active {
  transform: translateY(-10px) scale(1.015);
  box-shadow:
    0 24px 42px rgba(10, 36, 86, 0.24),
    0 0 0 1px rgba(109, 228, 255, 0.3),
    0 0 34px rgba(64, 209, 255, 0.26);
}

.card.service:hover h3,
.card.service:focus-within h3,
.card.service:active h3 {
  transform: translateY(-1px);
}

.card.service h3 {
  transition: transform 0.3s ease, color 0.3s ease;
}

.grid {
  display: grid;
  gap: 16px;
}

.cards-3 {
  grid-template-columns: 1fr;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.step {
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  background: var(--bg-alt);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.step::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #b9f3ff 0%, #4ad8ff 45%, #179fdf 100%);
  box-shadow: 0 0 0 0 rgba(74, 216, 255, 0.35);
  animation: step-pulse 2.4s ease-in-out infinite;
}

.step::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 8%, rgba(255, 255, 255, 0.24) 38%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.step:hover,
.step:focus-within,
.step:active {
  transform: translateY(-6px);
  border-left-color: #7ce6ff;
  box-shadow:
    0 16px 30px rgba(10, 39, 88, 0.17),
    0 0 0 1px rgba(95, 224, 255, 0.2),
    0 0 24px rgba(76, 211, 255, 0.18);
}

.step:hover::after,
.step:focus-within::after,
.step:active::after {
  transform: translateX(130%);
}

.step p {
  margin: 4px 0 0;
}

#contact .contact-grid > aside.card {
  position: relative;
  overflow: hidden;
  border-color: rgba(114, 226, 255, 0.4);
  box-shadow:
    0 16px 28px rgba(7, 34, 80, 0.2),
    0 0 0 1px rgba(116, 228, 255, 0.2),
    0 0 30px rgba(71, 209, 255, 0.2);
}

#contact .contact-grid > aside.card::before {
  opacity: 1;
  background: radial-gradient(circle at 78% 16%, rgba(133, 237, 255, 0.28), rgba(52, 151, 255, 0.12) 42%, transparent 72%);
  animation: info-card-breathe 3.6s ease-in-out infinite;
}

#contact .contact-grid > aside.card::after {
  opacity: 1;
  background: linear-gradient(128deg, transparent 8%, rgba(132, 236, 255, 0.22) 42%, transparent 74%);
  animation: info-card-shine 4.6s ease-in-out infinite;
}

#contact .contact-grid > aside.card h3 {
  margin-top: 0;
  color: var(--primary);
  text-shadow: 0 0 16px rgba(98, 219, 255, 0.24);
}

#contact .contact-grid > aside.card:hover,
#contact .contact-grid > aside.card:focus-within {
  transform: translateY(-10px) scale(1.015);
  box-shadow:
    0 24px 40px rgba(7, 34, 80, 0.26),
    0 0 0 1px rgba(130, 233, 255, 0.3),
    0 0 40px rgba(80, 217, 255, 0.28);
}

@keyframes step-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 216, 255, 0.34);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(74, 216, 255, 0);
  }
}

@keyframes info-card-breathe {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes info-card-shine {
  0%,
  100% {
    transform: translateX(-12%);
  }
  50% {
    transform: translateX(12%);
  }
}

.contact-form {
  display: grid;
  gap: 10px;
}

label {
  font-weight: 620;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #9cb3d5;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

:root[data-theme="dark"] input,
:root[data-theme="dark"] textarea {
  background: #0b1a35;
  border-color: #29497f;
  color: var(--text);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-feedback {
  min-height: 1.5em;
  margin: 2px 0;
  font-weight: 620;
}

.form-feedback a {
  color: inherit;
  text-decoration: underline;
}

.form-feedback.success {
  color: #0f7f40;
}

.form-feedback.error {
  color: #a72c2c;
}

:root[data-theme="dark"] .form-feedback.success {
  color: #88f2b8;
}

:root[data-theme="dark"] .form-feedback.error {
  color: #ffb2b2;
}

.mailto-line {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.site-footer {
  padding: 30px 0 40px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 198, 230, 0.15));
}

:root[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, rgba(13, 34, 66, 0.4), rgba(14, 58, 97, 0.5));
}

.footer-wrap {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  align-items: center;
}

.footer-info {
  display: grid;
  gap: 8px;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-brand img {
  width: min(240px, 54vw);
  height: auto;
  border: 0;
  background: transparent;
  box-shadow: 0 12px 26px rgba(9, 35, 84, 0.16);
  animation: logo-float 4.2s ease-in-out infinite;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.micro-text {
  color: var(--text-soft);
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: none;
  z-index: 90;
}

.back-to-top.visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: rise-in 0.3s ease;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(96vw, 760px);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(8, 36, 92, 0.2);
  z-index: 95;
  display: none;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
}

.cookie-actions {
  display: inline-flex;
  gap: 8px;
  flex-shrink: 0;
}

.moana-toggle {
  position: fixed;
  right: 16px;
  bottom: 72px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 22px rgba(8, 36, 92, 0.22);
  font-weight: 700;
  cursor: pointer;
  z-index: 91;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: moana-call 3.8s ease-in-out infinite;
}

.moana-toggle::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ef0ff;
  box-shadow: 0 0 0 0 rgba(110, 240, 255, 0.62);
  animation: moana-ping 2.2s ease-out infinite;
}

.moana-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.moana-avatar {
  position: relative;
  width: 30px;
  height: 30px;
  animation: rooster-hop 1.6s ease-in-out infinite;
}

.rooster-body {
  position: absolute;
  left: 6px;
  top: 10px;
  width: 16px;
  height: 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8dc88, #efb84f);
  box-shadow: 0 1px 4px rgba(8, 36, 92, 0.28);
}

.rooster-tail {
  position: absolute;
  left: 2px;
  top: 11px;
  width: 9px;
  height: 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1a64d2, #23c2f3);
  transform: rotate(-18deg);
  transform-origin: 80% 50%;
  animation: rooster-tail-wag 0.95s ease-in-out infinite;
}

.rooster-head {
  position: absolute;
  right: 4px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff2b8 0%, #efc35b 70%, #d59832 100%);
  transform-origin: 60% 60%;
  animation: rooster-look 1.2s ease-in-out infinite;
}

.rooster-eye {
  position: absolute;
  right: 8px;
  top: 10px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #102544;
}

.rooster-beak {
  position: absolute;
  right: 1px;
  top: 11px;
  width: 0;
  height: 0;
  border-left: 6px solid #f57f2a;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transform-origin: left center;
  animation: rooster-beak-peck 1.2s ease-in-out infinite;
}

.rooster-comb {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e83c38;
  animation: rooster-comb-jiggle 1.05s ease-in-out infinite;
}

.rooster-comb.comb-a { right: 8px; top: 3px; }
.rooster-comb.comb-b { right: 5px; top: 1px; }
.rooster-comb.comb-c { right: 2px; top: 3px; }

:root[data-theme="dark"] .rooster-body {
  background: linear-gradient(180deg, #ffd98d, #d9a74a);
}

:root[data-theme="dark"] .rooster-tail {
  background: linear-gradient(180deg, #4d86da, #42d3f8);
}

.moana-toggle:hover,
.moana-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(8, 36, 92, 0.28);
}

.moana-chat {
  position: fixed;
  right: 16px;
  bottom: 126px;
  width: min(92vw, 360px);
  height: min(70vh, 520px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-alt);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 46px rgba(8, 36, 92, 0.2);
  overflow: hidden;
  z-index: 92;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s ease;
}

.moana-chat.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.moana-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12));
}

.moana-close {
  border: 0;
  border-radius: 10px;
  width: 30px;
  height: 30px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.15rem;
}

.moana-messages {
  padding: 12px;
  overflow-y: auto;
  display: grid;
  gap: 10px;
  align-content: start;
}

.moana-msg {
  max-width: 88%;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 0.94rem;
  line-height: 1.45;
  border: 1px solid var(--border);
}

.moana-msg.user {
  justify-self: end;
  background: rgba(11, 45, 108, 0.92);
  color: #fff;
  border-color: transparent;
}

.moana-msg.bot {
  justify-self: start;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
}

.moana-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--border);
}

.moana-form input {
  min-width: 0;
}

:root[data-theme="dark"] .moana-chat {
  background: rgba(15, 33, 63, 0.92);
}

:root[data-theme="dark"] .moana-chat-head {
  background: linear-gradient(180deg, rgba(37, 73, 124, 0.42), rgba(16, 35, 68, 0.2));
}

:root[data-theme="dark"] .moana-avatar {
  filter: drop-shadow(0 1px 4px rgba(2, 10, 30, 0.5));
}

:root[data-theme="dark"] .moana-msg.bot {
  background: rgba(24, 51, 91, 0.92);
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@keyframes cinema-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes pulse-drift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.06);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes chip-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes rooster-hop {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-4px) rotate(5deg);
  }
}

@keyframes rooster-look {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  35% {
    transform: rotate(6deg) translateY(-1px);
  }
  70% {
    transform: rotate(-5deg) translateY(0);
  }
}

@keyframes rooster-tail-wag {
  0%,
  100% {
    transform: rotate(-20deg);
  }
  50% {
    transform: rotate(-6deg);
  }
}

@keyframes rooster-beak-peck {
  0%,
  100%,
  65% {
    transform: scaleX(1);
  }
  30% {
    transform: scaleX(1.12);
  }
}

@keyframes rooster-comb-jiggle {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-0.8px) scale(1.08);
  }
}

@keyframes moana-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(110, 240, 255, 0.62);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(110, 240, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(110, 240, 255, 0);
  }
}

@keyframes moana-call {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-1px) scale(1.01);
  }
  60% {
    transform: translateY(0) scale(1);
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    filter: drop-shadow(0 0 0 rgba(105, 226, 255, 0));
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
    filter: drop-shadow(0 0 8px rgba(105, 226, 255, 0.35));
  }
}

@media (max-width: 859px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

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

  .app-shot-body {
    grid-template-columns: 78px 1fr;
  }

  .app-shot-metrics,
  .report-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-shot-panels {
    grid-template-columns: 1fr;
  }

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

  .download-meta {
    display: grid;
    gap: 8px;
  }

  .brand-stack {
    min-height: 74px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(220px, 42vw);
    max-width: 220px;
    min-width: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(236, 248, 255, 0.9) 100%);
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 34px rgba(8, 36, 92, 0.12);
    transform: translateX(106%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.24s ease, visibility 0.24s ease;
    z-index: 1200;
    padding-top: calc(86px + env(safe-area-inset-top, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: 100dvh;
  }

  :root[data-theme="dark"] .site-nav {
    background: linear-gradient(180deg, #0c1f3ddf 0%, #09203de6 100%);
  }

  body.menu-open .site-nav,
  .site-nav.is-open,
  #hamburger[aria-expanded="true"] + .site-nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    display: grid;
    gap: 0;
    padding: 8px 12px;
    position: relative;
    z-index: 1201;
  }

  .nav-links li a {
    display: block;
    padding: 13px 12px;
    border-radius: 12px;
    color: var(--text);
    position: relative;
    z-index: 1202;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(45, 154, 236, 0.2);
    touch-action: manipulation;
  }

  .nav-links li a:hover,
  .nav-links li a:focus-visible {
    background: #ffffff9c;
  }

  :root[data-theme="dark"] .nav-links li a:hover,
  :root[data-theme="dark"] .nav-links li a:focus-visible {
    background: rgba(98, 167, 223, 0.2);
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(8, 22, 46, 0.28);
    z-index: 90;
    pointer-events: none;
  }

  .moana-chat {
    right: 10px;
    left: 10px;
    width: auto;
    bottom: 96px;
    height: min(64vh, 500px);
  }

  .moana-toggle {
    right: 12px;
    bottom: 62px;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    transform: none;
    width: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (min-width: 860px) {
  .screenshot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .download-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .hamburger {
    display: none;
  }

  .site-nav {
    position: static;
    width: auto;
    transform: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
    margin-left: auto;
    margin-right: 8px;
  }

  .nav-links {
    display: flex;
  }

  .nav-actions {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

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

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

  .footer-wrap {
    grid-template-columns: 1fr auto;
    gap: 26px;
    align-items: start;
  }

  .footer-brand {
    justify-content: flex-end;
    align-self: stretch;
  }

  .footer-brand img {
    width: min(320px, 24vw);
    max-height: 220px;
    object-fit: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-orb,
  .back-to-top.visible,
  .card,
  .step,
  .btn,
  .hero-cinematic .hero-content,
  .hero-cinematic .hero-media,
  .testimonial-track {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none;
    filter: none;
  }

  .hero-chips li,
  .hero-chips li::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .metric-card,
  .metric-card::before,
  .metric-value,
  .card::before,
  .step::before,
  .step::after,
  #contact .contact-grid > aside.card::before,
  #contact .contact-grid > aside.card::after {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }

  .moana-toggle,
  .moana-toggle::after,
  .moana-avatar,
  .rooster-tail,
  .rooster-head,
  .rooster-beak,
  .rooster-comb,
  .footer-brand img {
    animation: none !important;
  }

  .cursor-tech-light {
    display: none !important;
  }

  .moana-chat,
  .moana-toggle {
    transition: none !important;
  }

  .site-header,
  .nav-links a::after,
  .nav-links a,
  .brand,
  .site-nav,
  .hamburger span,
  .hamburger,
  .tiare,
  .site-header::after,
  .nav-wrap::before {
    transition: none;
    animation: none;
  }
}
