/* CamToPost — Brand landing page */

:root {
  --bg: #0a0a0c;
  --bg-elevated: #101014;
  --bg-card: #12121a;
  --bg-card-alt: #16161f;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(232, 168, 56, 0.25);
  --text: #f0f0f5;
  --text-muted: #8b8b9e;
  --text-dim: #5c5c6e;
  --accent: #e8a838;
  --accent-light: #f0b84a;
  --accent-glow: rgba(232, 168, 56, 0.35);
  --accent-soft: rgba(232, 168, 56, 0.12);
  --cloud: #5b8fd9;
  --cloud-soft: rgba(91, 143, 217, 0.12);
  --proxy: #d4922a;
  --proxy-soft: rgba(212, 146, 42, 0.12);
  --whatsapp: #25d366;
  --whatsapp-soft: rgba(37, 211, 102, 0.1);
  --sans: "DM Sans", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 64px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

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

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

.container {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.logo img {
  height: 36px;
  width: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  background: var(--accent-soft);
  color: var(--accent-light);
  border: 1px solid var(--border-accent);
}

.btn-sm:hover {
  background: rgba(232, 168, 56, 0.2);
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0c;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--accent-glow);
}

/* Splash / Hero */
.splash {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  overflow: hidden;
}

.splash-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.splash-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.splash-glow--left {
  width: 500px;
  height: 500px;
  top: -20%;
  left: -10%;
  background: var(--accent-glow);
  opacity: 0.4;
}

.splash-glow--right {
  width: 400px;
  height: 400px;
  bottom: -10%;
  right: -5%;
  background: rgba(91, 143, 217, 0.18);
  opacity: 0.5;
}

.splash-inner {
  position: relative;
  z-index: 1;
}

.splash-intro {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.splash-logo {
  height: auto;
  width: min(220px, 60vw);
  margin: 0 auto 2rem;
}

.splash-intro h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.splash-intro h1 span {
  color: var(--accent);
}

.splash-lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.splash-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pill svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.pill--whatsapp svg {
  color: var(--whatsapp);
}

.pill--whatsapp {
  border-color: rgba(37, 211, 102, 0.2);
  background: var(--whatsapp-soft);
}

/* Platforms */
.platforms {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.platforms-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.platform-badges {
  display: flex;
  gap: 0.75rem;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.platform-badge:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.platform-badge--win:hover {
  border-color: #0078d4;
  background: rgba(0, 120, 212, 0.1);
}

.platform-badge--win svg {
  color: #0078d4;
}

.platform-badge--mac:hover {
  border-color: #a2aaad;
  background: rgba(162, 170, 173, 0.1);
}

.platform-badge--mac svg {
  color: #d4d4d8;
}

.platform-badge svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.platform-badge--win svg,
.platform-badge--mac svg {
  /* platform-specific colors above */
}

/* Versions */
.versions {
  padding: 2rem 0 4rem;
}

.versions-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.versions-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.versions-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.versions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.version-card {
  position: relative;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.version-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.version-card--cloud::before {
  background: linear-gradient(90deg, var(--accent), var(--cloud));
}

.version-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.version-badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.version-badge--cloud {
  background: var(--cloud-soft);
  border-color: rgba(91, 143, 217, 0.3);
  color: var(--cloud);
}

.version-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.version-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* Pipeline visuals */
.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.5rem 1rem;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  min-width: 72px;
  text-align: center;
}

.pipeline-node span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

.pipeline-node--brand {
  padding: 0.6rem 0.75rem;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}

.pipeline-node--brand span {
  color: var(--accent);
}

.pipeline-node--cloud {
  background: var(--cloud-soft);
  border: 1px solid rgba(91, 143, 217, 0.25);
  border-radius: var(--radius);
}

.pipeline-node--cloud span {
  color: var(--cloud);
}

.pipeline-node--proxy {
  background: var(--proxy-soft);
  border: 1px solid rgba(196, 122, 42, 0.25);
  border-radius: var(--radius);
}

.pipeline-node--proxy span {
  color: var(--proxy);
}

.pipeline-node--sm {
  min-width: 64px;
  padding: 0.5rem 0.35rem;
}

.pipeline-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.pipeline-icon svg {
  width: 22px;
  height: 22px;
}

.pipeline-icon img {
  width: 28px;
  height: auto;
  object-fit: contain;
}

.pipeline-arrow {
  position: relative;
  width: 48px;
  height: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.pipeline-line {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent) 20%,
    var(--accent-light) 50%,
    var(--accent) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  opacity: 0.55;
  animation: lineShimmer 2.8s linear infinite;
}

.pipeline-packets {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pipeline-packet {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 8px var(--accent-glow),
    0 0 16px rgba(232, 168, 56, 0.35);
  animation: packetFlow 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.pipeline-packet::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent));
  opacity: 0.7;
}

.pipeline-packet--2 {
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  opacity: 0.75;
  animation-delay: 0.8s;
}

.pipeline-packet--3 {
  width: 4px;
  height: 4px;
  margin-top: -2px;
  opacity: 0.55;
  animation-delay: 1.6s;
}

.pipeline-packet--delay {
  animation-delay: 0.5s;
}

.pipeline-packet--2.pipeline-packet--delay {
  animation-delay: 1.3s;
}

.pipeline-packet--3.pipeline-packet--delay {
  animation-delay: 2.1s;
}

.pipeline-packet--delay2 {
  animation-delay: 1s;
}

@keyframes lineShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes packetFlow {
  0% {
    left: 0;
    opacity: 0;
    transform: scale(0.6);
  }
  12% {
    opacity: 1;
    transform: scale(1);
  }
  88% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    left: calc(100% - 8px);
    opacity: 0;
    transform: scale(0.6);
  }
}

/* Legacy single-dot support (if any remain) */
.pipeline-dot {
  display: none;
}

/* Cloud pipeline layout */
.pipeline--cloud {
  padding: 1.25rem 0.5rem 1rem;
  overflow: visible;
}

.cloud-ingest {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.proxy-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pipeline-arrow--h {
  width: 28px;
  margin-top: 1.15rem;
}

/* Fork: proxy → 3 deliveries */
.pipeline-fork {
  position: relative;
  width: 100%;
  min-width: 200px;
  margin-top: 0.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fork-stem {
  position: relative;
  width: 2px;
  height: 26px;
  overflow: visible;
}

.pipeline-line--v {
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  background-size: 100% 200%;
  opacity: 0.55;
  animation: lineShimmerV 2.8s linear infinite;
}

.pipeline-packets--v {
  inset: 0;
}

.fork-bar {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  background-size: 200% 100%;
  opacity: 0.55;
  animation: lineShimmer 2.8s linear infinite;
}

.fork-branches {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  gap: 0;
}

.fork-branch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 28px;
  overflow: visible;
}

.fork-line {
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0.55;
}

.pipeline-packet--down {
  left: 50%;
  top: 0;
  margin-top: 0;
  margin-left: -4px;
  animation: packetFlowDown 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.pipeline-packet--down::after {
  right: auto;
  left: 50%;
  top: -10px;
  width: 2px;
  height: 10px;
  margin-top: 0;
  margin-left: -1px;
  background: linear-gradient(180deg, transparent, var(--accent));
}

.pipeline-packet--down.pipeline-packet--delay {
  animation-delay: 0.45s;
}

.pipeline-packet--down.pipeline-packet--delay2 {
  animation-delay: 0.9s;
}

@keyframes lineShimmerV {
  0% { background-position: 0 100%; }
  100% { background-position: 0 -100%; }
}

@keyframes packetFlowDown {
  0% {
    top: 0;
    opacity: 0;
    transform: scale(0.6);
  }
  15% {
    opacity: 1;
    transform: scale(1);
  }
  85% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    top: calc(100% - 8px);
    opacity: 0;
    transform: scale(0.6);
  }
}

.pipeline-node--brand,
.pipeline-node--cloud,
.pipeline-node--proxy {
  position: relative;
}

.pipeline-node--brand::before,
.pipeline-node--cloud::before,
.pipeline-node--proxy::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: nodePulse 2.4s ease-in-out infinite;
}

.pipeline-node--brand::before {
  box-shadow: 0 0 0 1px var(--border-accent), 0 0 18px var(--accent-glow);
  animation-delay: 0.9s;
}

.pipeline-node--cloud::before {
  box-shadow: 0 0 0 1px rgba(91, 143, 217, 0.35), 0 0 18px rgba(91, 143, 217, 0.35);
  animation-delay: 0.7s;
}

.pipeline-node--proxy::before {
  box-shadow: 0 0 0 1px rgba(196, 122, 42, 0.35), 0 0 18px rgba(212, 146, 42, 0.3);
  animation-delay: 1.2s;
}

@keyframes nodePulse {
  0%, 100% { opacity: 0; }
  40% { opacity: 0; }
  55% { opacity: 0.85; }
  70% { opacity: 0; }
}

.pipeline-deliveries {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
  width: 100%;
  min-width: 200px;
}

.pipeline-node--delivery {
  padding: 0.55rem 0.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  min-width: 0;
  animation: deliveryGlow 2.4s ease-in-out infinite;
}

.pipeline-node--delivery span {
  font-size: 0.62rem;
  color: var(--accent);
  font-weight: 600;
}

.pipeline-node--delivery:nth-child(2) {
  animation-delay: 0.45s;
}

.pipeline-node--delivery:nth-child(3) {
  animation-delay: 0.9s;
}

@keyframes deliveryGlow {
  0%, 55%, 100% {
    border-color: var(--border);
    box-shadow: none;
  }
  70% {
    border-color: var(--border-accent);
    box-shadow: 0 0 14px rgba(232, 168, 56, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pipeline-line,
  .pipeline-line--v,
  .fork-bar,
  .pipeline-packet,
  .pipeline-node--brand::before,
  .pipeline-node--cloud::before,
  .pipeline-node--proxy::before,
  .pipeline-node--delivery {
    animation: none !important;
  }

  .pipeline-packet {
    display: none;
  }
}

.version-features {
  list-style: none;
}

.version-features li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.version-card--cloud .version-features li::before {
  background: var(--cloud);
}

/* Screenshots */
.screenshots {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.screenshots-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.screenshots-header h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.screenshots-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.screenshots-status {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.screenshots-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  font: inherit;
  color: inherit;
}

.screenshot-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.screenshot-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--border);
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.screenshot-card:hover .screenshot-frame img {
  transform: scale(1.03);
}

.screenshot-info {
  padding: 1rem 1.1rem 1.15rem;
}

.screenshot-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--accent);
}

.screenshot-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* References preview (homepage) */
.references-preview {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.references-preview-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

.references-preview-header h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.references-preview-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.references-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 0.65rem;
  max-width: 640px;
  margin: 0 auto;
}

.references-preview-footer {
  text-align: center;
  margin-top: 1.5rem;
}

.ref-card {
  display: block;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  font: inherit;
  color: inherit;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.ref-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.ref-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.ref-card:hover .ref-frame img {
  transform: scale(1.05);
}

.ref-info {
  display: none;
}


/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-inner {
  max-width: min(1100px, 100%);
  margin: 0;
}

.lightbox-inner img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-inner figcaption {
  margin-top: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.lightbox-inner figcaption strong {
  display: block;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* Live stats */
.live-stats {
  position: relative;
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.live-stats-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.live-stats-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.live-stats-glow--left {
  width: 480px;
  height: 480px;
  top: -30%;
  left: -8%;
  background: var(--accent-glow);
  opacity: 0.35;
}

.live-stats-glow--right {
  width: 420px;
  height: 420px;
  bottom: -35%;
  right: -6%;
  background: rgba(91, 143, 217, 0.22);
  opacity: 0.45;
}

.live-stats .container {
  position: relative;
  z-index: 1;
}

.live-stats-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

.live-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6ee7a0;
  background: var(--whatsapp-soft);
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.live-stats-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: live-pulse 2s ease-out infinite;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.live-stats-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.live-stats-header p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.live-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.live-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.live-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.live-stat-card--featured {
  padding: 2.5rem 1.75rem 2rem;
  background: linear-gradient(160deg, rgba(232, 168, 56, 0.12) 0%, var(--bg-card) 45%);
  border-color: var(--border-accent);
  box-shadow: 0 12px 40px rgba(232, 168, 56, 0.08);
}

.live-stat-card--featured .live-stat-value {
  font-size: clamp(2.75rem, 6vw, 4.25rem);
}

.live-stat-card--featured .live-stat-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  color: var(--accent);
}

.live-stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.live-stat-icon svg {
  width: 24px;
  height: 24px;
}

.live-stat-card--projects .live-stat-icon {
  color: #8eb8ef;
  background: var(--cloud-soft);
  border-color: rgba(91, 143, 217, 0.25);
}

.live-stat-card--sessions .live-stat-icon {
  color: #6ee7a0;
  background: var(--whatsapp-soft);
  border-color: rgba(37, 211, 102, 0.2);
}

.live-stat-value {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.5rem;
}

.live-stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.live-stat-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.live-stats-updated {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 1.75rem;
}

@media (max-width: 820px) {
  .live-stats-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .live-stat-card--featured {
    order: -1;
  }

  .live-stat-card--featured .live-stat-value {
    font-size: clamp(2.5rem, 10vw, 3.75rem);
  }
}

@media (max-width: 560px) {
  .live-stats {
    padding: 3rem 0 3.5rem;
  }

  .live-stat-card,
  .live-stat-card--featured {
    padding: 1.75rem 1.25rem 1.5rem;
  }
}

/* Sources */
.sources {
  padding: 2rem 0 3.5rem;
  border-top: 1px solid var(--border);
}

.sources-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.sources-header h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sources-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.sources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.sources-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.sources-stat {
  text-align: center;
  min-width: 72px;
}

.sources-stat-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.sources-stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

.sources-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.sources-highlight {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.sources-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.sources-cta {
  font-size: 0.88rem;
  padding: 0.65rem 1.35rem;
}

.sources-group {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.sources-group h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
}

.source-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.source-tag {
  padding: 0.3rem 0.7rem;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sources-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.sources-platforms {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sources-platforms strong {
  color: var(--accent);
  font-weight: 600;
}

.sources-platforms a {
  color: var(--accent);
  font-weight: 600;
  margin-left: 0.25rem;
}

.sources-platforms a:hover {
  text-decoration: underline;
}

/* CTA */
.cta {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.cta-text h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.cta-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-inner img {
  height: 32px;
  width: auto;
  opacity: 0.85;
}

.footer-inner p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 1000px) {
  .screenshots-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .references-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .screenshots-gallery {
    grid-template-columns: 1fr;
  }

  .references-preview-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .sources-stats {
    gap: 1.25rem;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem;
  }

  .pipeline {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .pipeline-arrow {
    width: 28px;
  }

  .pipeline-node {
    min-width: 60px;
  }
}

@media (max-width: 480px) {
  .nav-link {
    display: none;
  }

  .references-preview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .splash {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .splash-pills {
    flex-direction: column;
    align-items: center;
  }

  .version-card {
    padding: 1.5rem;
  }

  .cloud-ingest {
    flex-direction: column;
    align-items: center;
  }

  .pipeline-arrow--h {
    width: 2px;
    height: 28px;
    margin-top: 0;
  }

  .pipeline-arrow--h .pipeline-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    background-size: 100% 200%;
    animation: lineShimmerV 2.8s linear infinite;
  }

  .pipeline-arrow--h .pipeline-packet {
    left: 50%;
    top: 0;
    margin-top: 0;
    margin-left: -4px;
    animation-name: packetFlowDown;
  }

  .pipeline-arrow--h .pipeline-packet::after {
    right: auto;
    left: 50%;
    top: -10px;
    width: 2px;
    height: 10px;
    margin-top: 0;
    margin-left: -1px;
    background: linear-gradient(180deg, transparent, var(--accent));
  }

  .pipeline-deliveries {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .fork-branches {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .fork-bar {
    display: none;
  }

  .fork-stem {
    height: 16px;
  }

  .fork-branch {
    height: 18px;
  }
}
