/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --bg: #070c15;
  --bg-2: #0a1120;
  --panel: #0f1829;
  --panel-2: #131f36;
  --text: #f2f5fb;
  --text-soft: #b7c2d6;
  --text-dim: #8593ad;
  --line: rgba(255, 255, 255, 0.08);
  --line-lit: rgba(255, 255, 255, 0.16);

  --blue: #4f8cff;
  --cyan: #53c8ff;
  --violet: #8b5cf6;
  --violet-soft: #a78bfa;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  --wsp: #25d366;
  --wsp-bright: #31e876;
  --wsp-deep: #1fce60;
  --wsp-ink: #053019;
  --amber: #f5b356;

  --shadow: 0 24px 60px rgba(2, 6, 16, 0.55);
  --shadow-soft: 0 10px 30px rgba(2, 6, 16, 0.4);
  --radius: 18px;

  --section-pad: 120px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
figure, figcaption { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
section { position: relative; padding: var(--section-pad) 24px; scroll-margin-top: 84px; }
.wrap { max-width: 1140px; margin: 0 auto; position: relative; z-index: 1; }

.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;
}

::selection { background: rgba(37, 211, 102, 0.3); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.8vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.section-sub {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 560px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--cyan));
}
.grad-blue {
  background: linear-gradient(100deg, var(--blue), var(--violet-soft) 55%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-green {
  background: linear-gradient(100deg, var(--wsp-bright), var(--wsp));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   GRAIN OVERLAY (global)
   ============================================================ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* ============================================================
   REVEAL ON SCROLL (progressive enhancement)
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--stagger, 0) * 90ms);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.98rem;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  min-height: 48px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn-wsp {
  background: linear-gradient(135deg, var(--wsp-bright), var(--wsp-deep));
  color: var(--wsp-ink);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-wsp:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-wsp::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn-wsp:hover::after { left: 130%; }
.btn-wsp svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1.5px solid var(--line-lit);
}
.btn-ghost:hover {
  border-color: var(--blue);
  background: rgba(79, 140, 255, 0.08);
  transform: translateY(-2px);
}
.btn--sm { padding: 11px 20px; font-size: 0.88rem; min-height: 44px; }
.cta-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.magnetic { will-change: transform; }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 600;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--wsp));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(7, 12, 21, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  min-height: 44px;
}
.nav__logo-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--wsp-bright), var(--wsp-deep));
  color: var(--wsp-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-soft);
  padding: 10px 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.25s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 6px;
  height: 2px; width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--wsp), var(--cyan));
  transition: width 0.3s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

@media (max-width: 980px) {
  .nav { padding: 12px 18px; }
  .nav__links { display: none; }
  .nav__logo { font-size: 0.95rem; white-space: nowrap; }
  .nav .btn--sm { white-space: nowrap; padding: 10px 16px; font-size: 0.84rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 68% 60% at 50% 38%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 68% 60% at 50% 38%, #000 0%, transparent 72%);
  opacity: 0.55;
}
.hero__glow-a, .hero__glow-b, .hero__glow-c {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  pointer-events: none;
}
.hero__glow-a {
  width: 560px; height: 560px;
  left: -140px; top: -80px;
  background: rgba(79, 140, 255, 0.17);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.hero__glow-b {
  width: 520px; height: 520px;
  right: -120px; top: 22%;
  background: rgba(37, 211, 102, 0.1);
  animation: drift-b 26s ease-in-out infinite alternate;
}
.hero__glow-c {
  width: 480px; height: 480px;
  left: 36%; top: 34%;
  background: rgba(139, 92, 246, 0.13);
  animation: drift-c 19s ease-in-out infinite alternate;
}
@keyframes drift-a {
  to { transform: translate(70px, 50px) scale(1.14); }
}
@keyframes drift-b {
  to { transform: translate(-60px, -40px) scale(1.1); }
}
@keyframes drift-c {
  to { transform: translate(-50px, 60px) scale(1.18); }
}
.hero__grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
html.js .hero-copy > *,
html.js .hero-visual {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0s);
}
html.js.is-loaded .hero-copy > *,
html.js.is-loaded .hero-visual {
  opacity: 1;
  transform: translateY(0);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  border: 1px solid var(--line-lit);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 22px;
}
.hero-badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wsp);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: beacon 2.2s ease-out infinite;
}
@keyframes beacon {
  70% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.35rem, 5.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tech-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.02);
}
.tech-chip i {
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--violet-soft);
}
.tech-chip:nth-child(2) i { background: var(--cyan); }
.tech-chip:nth-child(3) i { background: var(--wsp-bright); }
.tech-chip:nth-child(4) i { background: var(--blue); }

.hero-visual {
  display: flex;
  justify-content: center;
  perspective: 1100px;
}
.device-scene { position: relative; }
.device {
  position: relative;
  width: min(330px, 86vw);
  border-radius: 38px;
  background: linear-gradient(160deg, #1c2738, #0c1322 60%);
  border: 1px solid var(--line-lit);
  padding: 10px;
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5);
  transform: rotateY(-9deg) rotateX(3deg);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.device-scene:hover .device { transform: rotateY(0deg) rotateX(0deg); }
.device::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  bottom: -34px;
  height: 50px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.16);
  filter: blur(28px);
  z-index: -1;
}
.device__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 32%; height: 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
  z-index: 5;
}
html.js .device-float { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Chat WhatsApp-style */
.chat {
  border-radius: 30px;
  overflow: hidden;
  background: #0b141a;
  display: flex;
  flex-direction: column;
  height: 620px;
}
.chat__header {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #1f2c34;
  padding: 22px 14px 12px;
  flex-shrink: 0;
}
.chat__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #06121f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.chat__meta { line-height: 1.3; }
.chat__name { display: block; font-weight: 700; font-size: 0.86rem; color: #e9edef; }
.chat__ai {
  display: inline-block;
  margin-left: 7px;
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--violet-soft);
  border: 1px solid rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.14);
  border-radius: 5px;
  padding: 1px 5px;
  vertical-align: 2px;
}
.chat__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #8696a0;
}
.chat__status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--wsp);
}
.chat__body {
  flex: 1;
  overflow: hidden;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  background:
    radial-gradient(ellipse 320px 220px at 80% 0%, rgba(37, 211, 102, 0.05), transparent 65%),
    #0b141a;
}
.chat-msg {
  max-width: 82%;
  padding: 8px 10px 6px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #e9edef;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}
.chat-msg--in {
  align-self: flex-start;
  background: #202c33;
  border-radius: 4px 12px 12px 12px;
}
.chat-msg--out {
  align-self: flex-end;
  background: #005c4b;
  border-radius: 12px 4px 12px 12px;
}
.chat-msg time {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  float: right;
  margin: 8px 0 0 8px;
  font-size: 0.6rem;
  color: rgba(233, 237, 239, 0.55);
}
.chat-msg--out time::after { content: "✓✓"; color: #53bdeb; font-size: 0.62rem; letter-spacing: -1px; }
.chat-typing {
  align-self: flex-start;
  background: #202c33;
  border-radius: 4px 12px 12px 12px;
  padding: 11px 14px;
  display: none;
  gap: 4px;
}
.chat-typing.is-out { align-self: flex-end; background: #005c4b; border-radius: 12px 4px 12px 12px; }
.chat-typing.is-on { display: inline-flex; }
.chat-typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #8696a0;
  animation: tdots 1.2s ease-in-out infinite;
}
.chat-typing.is-out i { background: rgba(233, 237, 239, 0.75); }
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdots {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
html.js .chat--armed .chat-msg {
  opacity: 0;
  transform: translateY(10px) scale(0.96);
}
html.js .chat--armed .chat-msg.is-shown {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
html.js .chat--armed .chat-msg { position: absolute; visibility: hidden; }
html.js .chat--armed .chat-msg.is-mounted { position: static; visibility: visible; }

.chat__note {
  flex-shrink: 0;
  text-align: center;
  font-size: 0.66rem;
  color: var(--text-dim);
  background: #0b141a;
  padding: 8px 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.device-chip {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(15, 24, 41, 0.92);
  border: 1px solid var(--line-lit);
  border-radius: 999px;
  padding: 9px 15px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.device-chip--top { top: 6%; right: -26px; }
.device-chip--bottom { bottom: 9%; left: -34px; }
.device-chip svg { width: 16px; height: 16px; flex-shrink: 0; }
html.js .device-chip--bottom {
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}
html.js .device-scene.chat-done .device-chip--bottom,
html.js:not(.chat-anim) .device-chip--bottom {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero { min-height: 0; padding-top: 108px; padding-bottom: 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-visual { perspective: none; }
  .device { transform: none; }
  .device-chip--top { top: -16px; right: -4px; }
  .device-chip--bottom { left: -4px; bottom: 7%; }
  .chat { height: 540px; }
}

/* ============================================================
   SECTIONS — shared card language
   ============================================================ */
.section--alt {
  background:
    radial-gradient(ellipse 640px 420px at 88% 0%, rgba(139, 92, 246, 0.06), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 70%);
  border: 1px solid var(--line);
  border-top-color: var(--line-lit);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line-lit);
}
@media (hover: hover) and (pointer: fine) {
  .card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(280px circle at var(--mx) var(--my), rgba(139, 92, 246, 0.13), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
  }
  .card:hover::after { opacity: 1; }
}
.tilt { transform-style: preserve-3d; will-change: transform; }

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.product-block::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  padding: 1px;
  background: conic-gradient(from var(--angle),
    transparent 0turn,
    rgba(79, 140, 255, 0.85) 0.08turn,
    rgba(139, 92, 246, 0.85) 0.16turn,
    transparent 0.3turn);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: border-spin 7s linear infinite;
  pointer-events: none;
}
.product-block--web::before {
  background: conic-gradient(from var(--angle),
    transparent 0turn,
    rgba(83, 200, 255, 0.85) 0.08turn,
    rgba(139, 92, 246, 0.85) 0.16turn,
    transparent 0.3turn);
  animation-delay: -3.5s;
}
@keyframes border-spin {
  to { --angle: 1turn; }
}

/* ============================================================
   PROBLEMA
   ============================================================ */
.pain__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto 60px;
}
.pain-card {
  flex: 1 1 280px;
  max-width: 350px;
  padding: 28px 26px;
}
.pain-card__icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(245, 179, 86, 0.12);
  border: 1px solid rgba(245, 179, 86, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pain-card__icon svg { width: 22px; height: 22px; stroke: var(--amber); }
.pain-card p { color: var(--text-soft); font-size: 0.98rem; }
.pain__closer {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.4;
}
.pain__closer strong { font-weight: 700; color: var(--wsp-bright); }

/* ============================================================
   PHONE VIDEO COMPONENT
   ============================================================ */
.phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  max-width: 1140px;
  margin: 0 auto;
}
.phone { width: 225px; min-width: 0; text-align: center; transition: transform 0.35s ease; }
.phone:hover { transform: translateY(-6px); }
.phone--lg { width: min(295px, 86vw); }
.phone__screen {
  position: relative;
  aspect-ratio: 9/19;
  border-radius: 28px;
  border: 7px solid #1a2334;
  outline: 1px solid var(--line-lit);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.35s ease;
  cursor: pointer;
}
.phone:hover .phone__screen { box-shadow: var(--shadow); }
.phone__screen::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.85);
  z-index: 3;
}
.phone__screen img,
.phone__screen video { width: 100%; height: 100%; object-fit: cover; }
.phone__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(242, 245, 251, 0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #0a1120;
  padding-left: 4px;
  z-index: 2;
}
.phone__play::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.6px solid rgba(242, 245, 251, 0.9);
  transform: scale(0.9);
  opacity: 0.9;
  animation: pulse-ring 2.4s ease-out infinite;
}
.phone.is-playing .phone__play::before { animation: none; }
@keyframes pulse-ring {
  to { transform: scale(1.55); opacity: 0; }
}
.phone figcaption { margin-top: 16px; }
.phone__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 9px;
}
.phone__tag--web {
  color: var(--cyan);
  border: 1px solid rgba(83, 200, 255, 0.35);
  background: rgba(83, 200, 255, 0.08);
}
.phone__tag--app {
  color: #9db8ff;
  border: 1px solid rgba(79, 140, 255, 0.4);
  background: rgba(79, 140, 255, 0.1);
}
.phone__tag--auto {
  color: var(--wsp-bright);
  border: 1px solid rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.08);
}
.projects__cta {
  text-align: center;
  margin-top: 48px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.projects__cta a {
  color: var(--wsp-bright);
  font-weight: 700;
  border-bottom: 1px solid rgba(37, 211, 102, 0.4);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.projects__cta a:hover { color: var(--text); border-color: var(--text); }
.phone__title { display: block; font-weight: 700; font-size: 0.95rem; }
.phone__case {
  display: block;
  text-align: left;
  margin-top: 7px;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.phone__case strong {
  color: var(--text-soft);
  font-weight: 700;
}
.phone__screen--soon {
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01) 70%);
}
.phone__soon {
  text-align: center;
  padding: 0 24px;
}
.phone__soon-icon { display: block; font-size: 2.1rem; margin-bottom: 14px; opacity: 0.85; }
.phone__soon-text {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  line-height: 1.5;
}
.video-soon {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 15, 0.82);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 20px;
  z-index: 4;
}

@media (max-width: 640px) {
  .phones { max-width: 430px; gap: 14px; row-gap: 34px; }
  .phone { width: calc(50% - 7px); }
  .phone--lg { width: min(295px, 86vw); }
  .phone__title { font-size: 0.86rem; }
  .phone__case { font-size: 0.73rem; }
}

/* ============================================================
   SOLUCIÓN (demo + pasos)
   ============================================================ */
.demo-stage {
  display: flex;
  justify-content: center;
  margin-bottom: 72px;
}
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  counter-reset: step;
}
.step {
  flex: 1 1 280px;
  max-width: 350px;
  padding: 28px 26px;
  counter-increment: step;
}
.step__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.step__icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(79, 140, 255, 0.12);
  border: 1px solid rgba(79, 140, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step__icon svg { width: 22px; height: 22px; stroke: var(--cyan); }
.step__num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.step__num::after { content: counter(step, decimal-leading-zero); color: var(--cyan); margin-left: 5px; }
.step p { color: var(--text-soft); font-size: 0.95rem; }

/* ============================================================
   QUÉ INCLUYE
   ============================================================ */
.products__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
.product-block { padding: 32px 30px; display: flex; flex-direction: column; }
.product-block__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.product-block__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-block__icon svg { width: 24px; height: 24px; }
.product-block--bot .product-block__icon {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
}
.product-block--bot .product-block__icon svg { stroke: var(--wsp-bright); }
.product-block--web .product-block__icon {
  background: rgba(79, 140, 255, 0.12);
  border: 1px solid rgba(79, 140, 255, 0.3);
}
.product-block--web .product-block__icon svg { stroke: var(--cyan); }
.product-block__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}
.product-block__intro {
  font-size: 0.94rem;
  color: var(--text-soft);
  margin-bottom: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: rgba(79, 140, 255, 0.07);
}
.product-block__intro strong { color: var(--text); }
.product-block__list { display: flex; flex-direction: column; gap: 13px; }
.product-block__list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.check-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wsp-bright), var(--wsp-deep));
  color: var(--wsp-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.product-block--web .check-dot {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #06121f;
}
.products__support {
  text-align: center;
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.products__support strong { color: var(--text); }

.price-panel {
  max-width: 720px;
  margin: 30px auto 0;
  padding: 32px 30px;
  text-align: center;
  background:
    radial-gradient(ellipse 320px 200px at 50% 0%, rgba(37, 211, 102, 0.1), transparent 70%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 70%);
}
.price-panel__label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 14px;
}
.price-panel__amount {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.price-panel__amount span { font-size: 1rem; font-weight: 600; color: var(--text-soft); }
.price-panel__note { margin-top: 12px; font-size: 0.9rem; color: var(--text-soft); }
.price-panel .btn { margin-top: 22px; }

@media (max-width: 980px) {
  .products__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   QUIÉN SOY
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.about-photo {
  position: relative;
  border-radius: 22px;
  padding: 3px;
  background: linear-gradient(160deg, rgba(79, 140, 255, 0.55), rgba(255, 255, 255, 0.06) 40%, rgba(37, 211, 102, 0.45));
  box-shadow: var(--shadow);
  max-width: 360px;
  margin: 0 auto;
}
.about-photo__frame {
  border-radius: 19px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--panel);
}
.about-photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.about-photo__tag {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(15, 24, 41, 0.94);
  border: 1px solid var(--line-lit);
  border-radius: 999px;
  padding: 9px 16px;
  box-shadow: var(--shadow-soft);
}
.about-photo__tag::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wsp);
}
.about-copy p { color: var(--text-soft); font-size: 1.02rem; margin-top: 18px; }
.about-copy p strong { color: var(--text); }
.about-delivered {
  margin-top: 26px;
  padding: 16px 20px;
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: rgba(79, 140, 255, 0.07);
  font-size: 0.9rem;
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { order: -1; }
}

/* ============================================================
   CIERRE / CTA FINAL
   ============================================================ */
.closing {
  text-align: center;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  width: 720px; height: 480px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.09);
  filter: blur(100px);
  pointer-events: none;
}
.closing .section-title { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.closing__text {
  max-width: 560px;
  margin: 18px auto 36px;
  color: var(--text-soft);
  font-size: 1.05rem;
}
.closing .btn { font-size: 1.05rem; padding: 19px 38px; }
.closing__mail { margin-top: 20px; font-size: 0.9rem; color: var(--text-dim); }
.closing__mail a {
  color: var(--text-soft);
  font-weight: 700;
  border-bottom: 1px solid var(--line-lit);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.closing__mail a:hover { color: var(--cyan); border-color: var(--cyan); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  text-align: center;
  padding: 40px 24px 48px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wsp-float {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wsp-bright), var(--wsp-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.35);
  z-index: 400;
  transition: transform 0.3s ease;
}
.wsp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: pulse-ring 2.6s ease-out infinite;
}
.wsp-float:hover { transform: scale(1.1); }
.wsp-float svg { width: 30px; height: 30px; fill: #063119; }

/* ============================================================
   RESPONSIVE — SECTION PADDING
   ============================================================ */
@media (max-width: 980px) {
  :root { --section-pad: 76px; }
  section { padding-left: 20px; padding-right: 20px; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 640px) {
  :root { --section-pad: 62px; }
  .btn { width: 100%; max-width: 380px; }
  .btn--sm { width: auto; }
  .hero-ctas { justify-content: center; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .cta-note { text-align: center; }
  .tech-bar { justify-content: center; }
}

/* ============================================================
   REDUCED MOTION
   Solo se desactivan las animaciones INTRUSIVAS (loops infinitos,
   drifts, pulsos, autoplay del chat — este último se gatea en JS).
   Las micro-interacciones funcionales (hover, fades de scroll,
   transiciones de color, entrada del hero) se mantienen para que la
   página no se vea muerta en configuraciones corporativas de Windows.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero__glow-a, .hero__glow-b, .hero__glow-c,
  html.js .device-float,
  .product-block::before,
  .hero-badge__dot,
  .phone__play::before,
  .wsp-float::before,
  .chat-typing i {
    animation: none !important;
  }
}
