:root {
  --bg: #08090b;
  --bg-2: #0c0e12;
  --surface: #12151b;
  --surface-2: #171b22;
  --text: #f3f5f7;
  --muted: #9aa3b0;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #3ecfbf;
  --accent-2: #7ee8db;
  --accent-dim: rgba(62, 207, 191, 0.12);
  --whatsapp: #25d366;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1160px;
  --header: 72px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: -0.011em;
}

body.nav-lock {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-wrap: balance;
  overflow-wrap: break-word;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--accent);
  color: #051210;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  border-bottom: 1px solid transparent;
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(8, 9, 11, 0.92);
}

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 38px;
  height: auto;
}

.brand-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a:not(.nav-cta) {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:not(.nav-cta):hover {
  color: var(--text);
}

.site-nav a:not(.nav-cta).is-active {
  color: var(--text);
}

.site-nav a:not(.nav-cta).is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
}

.site-nav .nav-cta {
  color: #051210;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  top: 24px;
}

.site-header.is-open .nav-toggle span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  background: var(--accent);
  color: #051210;
}

.button-primary:hover {
  background: var(--accent-2);
}

.button-ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button-xl {
  min-height: 56px;
  padding: 0 28px;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  inset: -20% auto auto 42%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(62, 207, 191, 0.16), transparent 62%);
  pointer-events: none;
  animation: glow-shift 10s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
}

.hero h1 span {
  display: block;
  color: #d7dde4;
}

.lead {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 500;
  color: #dce2e8;
  overflow-wrap: break-word;
}

.hero-text {
  margin-top: 16px;
  max-width: 54ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-compact {
  display: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-row li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.ui-stage {
  position: relative;
  min-height: 420px;
}

.ui-panel,
.ui-float,
.browser-frame,
.system-frame,
.data-frame,
.about-aside,
.card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    var(--surface);
  box-shadow: var(--shadow);
}

.ui-main {
  position: relative;
  z-index: 2;
  margin-left: 28px;
  padding: 18px;
  border-radius: 24px;
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.ui-chrome {
  display: grid;
  grid-template-columns: 8px 8px 8px 1fr;
  gap: 6px;
  align-items: center;
  margin-bottom: 16px;
}

.ui-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a313c;
}

.ui-chrome span:first-child {
  background: #ff6b6b;
}

.ui-chrome p {
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted);
}

.hero-products {
  display: grid;
  gap: 8px;
}

.hero-products li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: border-color 0.45s ease, background 0.45s ease;
}

.hero-products strong {
  font-size: 14px;
}

.hero-products span {
  color: var(--muted);
  font-size: 12px;
}

.hero-products .is-on {
  border-color: rgba(62, 207, 191, 0.35);
  background: var(--accent-dim);
}

.work-board {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    var(--surface);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 22px;
}

.work-board > p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-board ul {
  display: grid;
  gap: 8px;
}

.work-board li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.work-board strong {
  font-size: 14px;
}

.work-board span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.ui-kpis div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.ui-kpis small,
.ui-float p,
.data-stat small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.ui-kpis strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.ui-kpis em {
  color: var(--accent);
  font-style: normal;
  font-size: 11px;
}

.ui-chart {
  margin: 16px 0 10px;
  height: 88px;
}

.ui-chart svg {
  width: 100%;
  height: 88px;
}

.ui-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
  padding: 0 4px;
}

.ui-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: rgba(255, 255, 255, 0.08);
}

.ui-bars .is-accent {
  background: var(--accent);
}

.ui-float {
  position: absolute;
  z-index: 3;
  width: 210px;
  padding: 16px;
  border-radius: 18px;
}

.ui-site {
  top: 18px;
  left: 0;
  animation:
    rise-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.48s both,
    bob-site 5.6s ease-in-out 1.5s infinite;
}

.ui-flow {
  right: 0;
  bottom: 18px;
  animation:
    rise-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.62s both,
    bob-flow 6.2s ease-in-out 1.7s infinite;
}

.ui-float strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 14px;
}

.mini-copy {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ui-site .fake-cta {
  margin-top: 0;
  min-width: 0;
  height: 30px;
  font-size: 10px;
}

.flow-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.flow-pills span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent-2);
  font-size: 11px;
  transition: background 0.4s ease, color 0.4s ease;
}

.flow-pills span.is-on {
  background: var(--accent);
  color: #051210;
}

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-head h2,
.process h2,
.final-inner h2,
.statement h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.section-head p,
.process-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.card {
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 207, 191, 0.35);
}

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

.card-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.problem-card h3,
.poss-card h3,
.project-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.problem-card p,
.poss-card p,
.project-card p {
  color: var(--muted);
}

.solution-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 28px 0 56px;
  border-top: 1px solid var(--line);
}

.solution-block.reverse {
  direction: rtl;
}

.solution-block.reverse > * {
  direction: ltr;
}

.solution-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.solution-copy h3 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 14px;
}

.solution-copy > p {
  color: var(--muted);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chip-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: #d5dbe3;
}

.browser-frame,
.system-frame,
.data-frame {
  border-radius: 22px;
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: #0b0d11;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2c3340;
}

.browser-bar b {
  flex: 1;
  height: 10px;
  margin-left: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.browser-body {
  padding: 28px;
  min-height: 240px;
  background:
    radial-gradient(circle at top right, rgba(62, 207, 191, 0.16), transparent 42%),
    #10141b;
}

.browser-body em {
  font-style: normal;
  font-size: 12px;
  color: var(--accent);
}

.browser-body strong {
  display: block;
  margin: 10px 0;
  font-size: 24px;
}

.browser-body small {
  display: block;
  max-width: 28ch;
  color: var(--muted);
  line-height: 1.45;
}

.fake-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  height: 34px;
  margin-top: 22px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #051210;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fake-cta:hover {
  background: var(--accent-2);
}

.system-frame {
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 260px;
}

.system-frame aside {
  padding: 16px 10px;
  background: #0b0d11;
  border-right: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 8px;
}

.system-frame aside b,
.system-frame aside i {
  display: block;
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
}

.system-frame aside b {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(62, 207, 191, 0.3);
  color: var(--accent-2);
  font-size: 9px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.system-frame header {
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.system-frame ul {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.system-frame li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.system-frame li b {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.system-frame li span {
  font-size: 12px;
  color: #d5dbe3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.system-frame li span:last-child {
  color: var(--muted);
  font-size: 11px;
}

.system-frame .is-on {
  border: 1px solid rgba(62, 207, 191, 0.25);
  background: var(--accent-dim);
}

.system-frame .is-on b {
  background: var(--accent);
}

.data-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
  min-height: 250px;
}

.data-stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.data-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.data-graph {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  padding: 8px;
}

.data-graph span {
  flex: 1;
  border-radius: 8px 8px 2px 2px;
  background: rgba(62, 207, 191, 0.25);
}

.data-graph span:nth-child(1) { height: 36%; }
.data-graph span:nth-child(2) { height: 52%; }
.data-graph span:nth-child(3) { height: 44%; }
.data-graph span:nth-child(4) { height: 78%; }
.data-graph span:nth-child(5) { height: 60%; }
.data-graph span:nth-child(6) { height: 92%; background: var(--accent); }

.data-frame > p {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
}

.process {
  background:
    radial-gradient(circle at top center, rgba(62, 207, 191, 0.08), transparent 42%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.process-sub {
  color: var(--text) !important;
  font-weight: 600;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 207, 191, 0.4), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.timeline.is-drawn::before {
  transform: scaleX(1);
}

.timeline li {
  padding: 24px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.timeline span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.timeline h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.timeline p {
  color: var(--muted);
}

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

.stack-label {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stack-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.stack-card p:last-child {
  color: var(--muted);
}

.project-tags {
  margin-top: 16px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.poss-card h3 {
  font-size: 20px;
}

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

.statement {
  padding: 100px 0;
  background: #050607;
  border-block: 1px solid var(--line);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.statement h2 {
  margin-bottom: 20px;
}

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

.statement-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.statement-lines strong {
  font-size: 20px;
  color: var(--text);
}

.loop {
  display: grid;
  gap: 12px;
}

.loop span {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  transition: border-color 0.45s ease, color 0.45s ease, transform 0.45s ease;
}

.loop span:nth-child(2) {
  margin-left: 24px;
}

.loop span:nth-child(3) {
  margin-left: 48px;
}

.loop span.is-now {
  border-color: rgba(62, 207, 191, 0.45);
  color: var(--accent-2);
  transform: translateX(6px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.about-highlight,
.final-highlight {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 700;
}

.about-aside {
  padding: 28px;
  border-radius: 24px;
}

.pipeline {
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.about-aside ul {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.about-aside li {
  padding-left: 16px;
  position: relative;
}

.about-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 108px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.final-glow {
  position: absolute;
  inset: 10% auto auto 50%;
  width: 560px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(62, 207, 191, 0.18), transparent 64%);
  pointer-events: none;
}

.final-inner {
  position: relative;
  max-width: 740px;
}

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

.final-highlight {
  color: var(--text);
}

.final-highlight em {
  font-style: normal;
  color: var(--accent-2);
}

.final-inner .button {
  margin-top: 28px;
}

.final-note {
  margin-top: 16px !important;
  font-size: 14px !important;
}

.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: #07080a;
  color: var(--muted);
}

.site-footer .brand-name {
  color: var(--text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  gap: 28px;
  padding-bottom: 36px;
}

.site-footer .brand {
  margin-bottom: 14px;
}

.site-footer .pipeline {
  margin-top: 12px;
}

.footer-label {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.site-footer a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-end {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.admin-link {
  color: #6b7280;
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: visible;
  border-radius: 50%;
  background: #111827;
  color: var(--whatsapp);
  border: 1px solid rgba(37, 211, 102, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: wa-ping 2.4s ease-out infinite;
  pointer-events: none;
}

.wa-float svg {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
}

.wa-float:hover {
  transform: translateY(-2px);
  background: #0b1220;
}

.hero-copy > * {
  animation: rise-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.26s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.36s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.48s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.56s; }
.hero-copy > *:nth-child(7) { animation-delay: 0.66s; }

.button-pulse {
  animation: cta-glow 2.8s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal.is-visible .chip-list li {
  animation: rise-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal.is-visible .chip-list li:nth-child(1) { animation-delay: 0.04s; }
.reveal.is-visible .chip-list li:nth-child(2) { animation-delay: 0.08s; }
.reveal.is-visible .chip-list li:nth-child(3) { animation-delay: 0.12s; }
.reveal.is-visible .chip-list li:nth-child(4) { animation-delay: 0.16s; }
.reveal.is-visible .chip-list li:nth-child(5) { animation-delay: 0.2s; }
.reveal.is-visible .chip-list li:nth-child(6) { animation-delay: 0.24s; }
.reveal.is-visible .chip-list li:nth-child(7) { animation-delay: 0.28s; }
.reveal.is-visible .chip-list li:nth-child(8) { animation-delay: 0.32s; }
.reveal.is-visible .chip-list li:nth-child(n + 9) { animation-delay: 0.36s; }

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

@keyframes glow-shift {
  0%,
  100% {
    opacity: 0.72;
    transform: translate(0, 0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-3%, 4%) scale(1.06);
  }
}

@keyframes bob-site {
  0%,
  100% {
    top: 18px;
  }
  50% {
    top: 8px;
  }
}

@keyframes bob-flow {
  0%,
  100% {
    bottom: 18px;
  }
  50% {
    bottom: 28px;
  }
}

@keyframes cta-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(62, 207, 191, 0);
  }
  50% {
    box-shadow: 0 12px 34px rgba(62, 207, 191, 0.32);
  }
}

@keyframes wa-ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.7);
    opacity: 0;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

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

@keyframes cta-glow-mobile {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(62, 207, 191, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(62, 207, 191, 0.2),
      0 10px 26px rgba(62, 207, 191, 0.38);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .solution-block,
  .solution-block.reverse,
  .statement-grid,
  .about-grid,
  .footer-grid,
  .timeline,
  .project-grid,
  .stack-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: clamp(30px, 8.4vw, 40px);
  }

  .lead {
    font-size: 16px;
  }

  .ui-stage {
    min-height: 420px;
    margin-top: 8px;
  }

  .ui-main {
    margin-left: 0;
  }

  .loop span:nth-child(2),
  .loop span:nth-child(3) {
    margin-left: 0;
  }

  .timeline::before {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header) 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #0d1015;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a:not(.nav-cta) {
    padding: 12px 8px;
    font-size: 16px;
    color: var(--text);
  }

  .site-nav a:not(.nav-cta).is-active {
    color: var(--accent-2);
  }

  .site-nav a:not(.nav-cta).is-active::after {
    display: none;
  }

  .site-nav .nav-cta {
    margin-top: 8px;
    color: #051210;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 20px 0 36px;
  }

  .hero-text {
    display: none;
  }

  .hero-visual {
    display: none;
  }

  .hero-actions .button-ghost {
    display: none;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
  }

  .hero-compact li {
    padding: 8px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
    font-weight: 600;
    color: #d5dbe3;
    transition: border-color 0.35s ease, background 0.35s ease, color 0.35s ease, transform 0.35s ease;
  }

  .hero-compact li.is-on {
    border-color: rgba(62, 207, 191, 0.6);
    background: var(--accent-dim);
    color: var(--accent-2);
    transform: translateY(-2px);
  }

  .hero-copy > * {
    animation-name: rise-in-mobile;
    animation-duration: 0.75s;
  }

  .button-pulse {
    animation-name: cta-glow-mobile;
    animation-duration: 2.2s;
  }

  .reveal {
    transform: translateY(28px);
  }

  .problem-grid,
  .poss-grid,
  .data-frame {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .site-nav .nav-cta {
    width: 100%;
  }

  .ui-float {
    display: none;
  }

  .ui-stage {
    min-height: 0;
  }

  .site-footer {
    padding-bottom: 96px;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .trust-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 18px;
    font-size: 12px;
  }

  .work-board li,
  .hero-products li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .work-board span {
    text-align: left;
  }
}

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

  .hero-copy > *,
  .ui-main,
  .ui-site,
  .ui-flow,
  .hero-glow,
  .button-pulse,
  .wa-float::before,
  .reveal.is-visible .chip-list li {
    animation: none !important;
  }

  .hero-copy > *,
  .ui-main,
  .ui-site,
  .ui-flow {
    opacity: 1 !important;
    transform: none !important;
    top: auto;
    bottom: auto;
  }

  .ui-site {
    top: 18px;
  }

  .ui-flow {
    bottom: 18px;
  }

  .reveal,
  .button,
  .card,
  .wa-float,
  .hero-products li,
  .hero-compact li,
  .flow-pills span,
  .loop span,
  .timeline::before {
    transition: none !important;
  }

  .loop span.is-now {
    transform: none;
  }
}
