/* ═══════════════════════════════════════════
   DocsRI — Premium Stylesheet
   Vibe: Ethereal Glass | Layout: Asymmetric Bento
   DESIGN_VARIANCE: 8 | MOTION_INTENSITY: 6 | VISUAL_DENSITY: 4
═══════════════════════════════════════════ */

/* ── Custom Properties ─────────────────── */
:root {
  --bg-base:      #0a0915; /* Deep void indigo/black */
  --bg-surface:   #121125; /* Dark jester violet/navy */
  --bg-elevated:  #1a1936; /* Rich circus purple/blue */
  --bg-card:      rgba(255, 255, 255, 0.03);
  --bg-card-hov:  rgba(255, 255, 255, 0.06);

  --accent:       #ff2b4c; /* Pomni Red */
  --accent-dim:   rgba(255, 43, 76, 0.15);
  --accent-glow:  rgba(255, 43, 76, 0.08);

  --accent-blue:      #2c7df7; /* Pomni Blue */
  --accent-blue-dim:  rgba(44, 125, 247, 0.15);
  --accent-gold:      #ffbd2e; /* Circus Gold/Yellow */
  --accent-purple:    #a78bfa; /* Jax Purple */

  --text-primary:   #f5f5fa;
  --text-secondary: rgba(245, 245, 250, 0.65);
  --text-muted:     rgba(245, 245, 250, 0.4);

  --border-hair:  rgba(255, 255, 255, 0.08);
  --border-card:  rgba(255, 255, 255, 0.06);

  --radius-card:  1.75rem;
  --radius-inner: calc(1.75rem - 6px);
  --radius-pill:  9999px;

  --ease-premium: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);

  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ── Reset & Base ──────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

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

/* ── Noise Overlay ─────────────────────── */
/* GPU-safe: fixed, pointer-events-none, pseudo via div */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
}

/* ── Background Orbs (mesh gradient) ──── */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 43, 76, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: orb-float-1 20s ease-in-out infinite alternate;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(44, 125, 247, 0.08) 0%, transparent 70%);
  bottom: 10%;
  left: -150px;
  animation: orb-float-2 25s ease-in-out infinite alternate;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 189, 46, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 40%;
  animation: orb-float-3 18s ease-in-out infinite alternate;
}

@keyframes orb-float-1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-80px, 80px) scale(1.15); }
}
@keyframes orb-float-2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, -60px) scale(1.1); }
}
@keyframes orb-float-3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-40px, 40px) scale(0.9); }
}

/* ── Main content above bg ─────────────── */
main, header, footer {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════
   NAVIGATION — Floating Island
══════════════════════════════════════════ */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem 0;
  pointer-events: none;
}

.nav-island {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 17, 23, 0.82);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.4);
  pointer-events: all;
  width: min(920px, calc(100% - 2rem));
  transition: box-shadow 0.4s var(--ease-out);
}

.nav-island:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(15,204,206,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent-dim);
  border: 1px solid rgba(15,204,206,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.logo-text {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

/* ── Buttons ─────────────────────────── */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), opacity 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

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

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    box-shadow: 0 0 0 3px var(--accent-dim), 0 4px 16px rgba(15,204,206,0.25);
    transform: translateY(-1px);
  }
  .btn-primary:hover .btn-icon-wrap {
    transform: translate(2px, -2px) scale(1.05);
  }
}

.btn-primary:active { transform: scale(0.98) translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-hair);
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.04);
  }
}

.btn-outline:active { transform: scale(0.98); }

.btn-lg {
  padding: 0.7rem 1.5rem 0.7rem 1.75rem;
  font-size: 0.9375rem;
}

.btn-icon-wrap {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-bounce);
}

.btn-icon-dark { background: rgba(0,0,0,0.12); }

.btn-ghost-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hair);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost-pill:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
}

.btn-white {
  background: #F0F4FF;
  color: #060810;
}

@media (hover: hover) and (pointer: fine) {
  .btn-white:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .btn-white:hover .btn-icon-wrap { transform: translate(2px, -2px) scale(1.05); }
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost-light:hover { color: #fff; }
}

.play-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: background 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost-pill:hover .play-icon { background: rgba(255,255,255,0.14); }
}

.w-full { width: 100%; justify-content: center; }

/* ── Hamburger ───────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-hair);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.line {
  width: 16px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.35s var(--ease-premium), opacity 0.2s;
}

.line-1 { top: calc(50% - 4px); }
.line-2 { top: calc(50% + 3px); }

.hamburger.open .line-1 {
  transform: translateY(3.5px) rotate(45deg);
}
.hamburger.open .line-2 {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ── Mobile Overlay ──────────────────── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6, 8, 16, 0.95);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-overlay:not([hidden]) {
  opacity: 1;
  pointer-events: all;
}

.mobile-overlay[hidden] { display: flex; }

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
  width: 100%;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.mobile-link {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.mobile-overlay:not([hidden]) .mobile-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-overlay:not([hidden]) .stagger-1 { transition-delay: 0.05s; }
.mobile-overlay:not([hidden]) .stagger-2 { transition-delay: 0.1s; }
.mobile-overlay:not([hidden]) .stagger-3 { transition-delay: 0.15s; }
.mobile-overlay:not([hidden]) .stagger-4 { transition-delay: 0.2s; }
.mobile-overlay:not([hidden]) .stagger-5 { transition-delay: 0.25s; }

.mobile-cta {
  width: min(320px, 90%);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out) 0.3s, transform 0.4s var(--ease-out) 0.3s;
}

.mobile-overlay:not([hidden]) .mobile-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.9s var(--ease-out) 0.15s, transform 0.9s var(--ease-out) 0.15s;
}

.reveal-up.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: translate(0);
  filter: blur(0);
}

/* ══════════════════════════════════════════
   LAYOUT — Sections
══════════════════════════════════════════ */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.feature-section {
  padding: 7rem 0;
}

.alt-section {
  background: rgba(255,255,255,0.015);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.section-header {
  max-width: 680px;
  margin-bottom: 4rem;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.section-body {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 55ch;
}

/* ── Eyebrow Tag ─────────────────────── */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.875rem;
  background: var(--accent-dim);
  border: 1px solid rgba(15, 204, 206, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.text-accent { color: var(--accent); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero-section {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { max-width: 540px; }

.hero-heading {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.0;
  margin-bottom: 1.5rem;
}

.hero-body {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.stat-item { text-align: left; }

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-top: 0.1rem;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-hair);
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Dashboard Preview — Double-Bezel ── */
.dashboard-outer {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-card);
  padding: 6px;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.06),
    0 40px 80px rgba(0,0,0,0.5);
}

.dashboard-inner {
  background: var(--bg-surface);
  border-radius: var(--radius-inner);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-card);
}

.dash-dots { display: flex; gap: 5px; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #28C840; }

.dash-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-left: auto;
}

.dash-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.875rem; }

.dash-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 600;
}

.status-live {
  background: rgba(15, 204, 206, 0.1);
  color: var(--accent);
  border: 1px solid rgba(15,204,206,0.2);
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.dash-date { font-size: 0.6875rem; color: var(--text-muted); font-family: var(--font-mono); }

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
}

.metric-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-card);
  border-radius: 0.875rem;
  padding: 0.75rem;
}

.metric-accent {
  background: var(--accent-dim);
  border-color: rgba(15,204,206,0.2);
}

.metric-label { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 0.375rem; }
.metric-value {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.metric-delta {
  font-size: 0.625rem;
  color: var(--text-muted);
}
.metric-delta.positive { color: #34d399; }

.dash-docs-list { display: flex; flex-direction: column; gap: 0.375rem; }

.docs-list-header { font-size: 0.6875rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.25rem; letter-spacing: 0.06em; text-transform: uppercase; }

.doc-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.625rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
  animation: slide-in 0.5s var(--ease-out) both;
}

.doc-item-1 { animation-delay: 0.2s; }
.doc-item-2 { animation-delay: 0.35s; }
.doc-item-3 { animation-delay: 0.5s; }

@keyframes slide-in {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.doc-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.doc-info { flex: 1; min-width: 0; }
.doc-name { font-size: 0.6875rem; font-weight: 600; color: var(--text-primary); font-family: var(--font-mono); }
.doc-sub  { font-size: 0.625rem; color: var(--text-muted); margin-top: 1px; }

.doc-status {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.status-ok   { background: rgba(52, 211, 153, 0.12); color: #34d399; border: 1px solid rgba(52,211,153,0.2); }
.status-warn { background: rgba(251, 191, 36, 0.12); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }

.dash-chart-wrap { }
.chart-label { font-size: 0.6875rem; color: var(--text-muted); margin-bottom: 0.375rem; }

.sparkline { width: 100%; height: 40px; }
.spark-fill { fill: url(#sparkGrad); }
.spark-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-line 1.5s var(--ease-out) 0.6s forwards;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

/* ── Float badges ────────────────────── */
.hero-visual { position: relative; }

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(13, 17, 23, 0.92);
  border: 1px solid var(--border-hair);
  border-radius: 0.875rem;
  padding: 0.625rem 0.875rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  white-space: nowrap;
  animation-fill-mode: both;
}

.float-badge-1 {
  bottom: -24px;
  left: -24px;
  animation: badge-float 4s ease-in-out infinite;
  animation-delay: 0s;
}

.float-badge-2 {
  top: -16px;
  right: -16px;
  animation: badge-float 4s ease-in-out infinite;
  animation-delay: 2s;
}

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

.float-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-badge-icon.success { background: rgba(52,211,153,0.15); color: #34d399; }
.float-badge-icon.warning { background: rgba(251,191,36,0.15); color: #fbbf24; }

.badge-title { font-size: 0.75rem; font-weight: 600; color: var(--text-primary); }
.badge-sub   { font-size: 0.6875rem; color: var(--text-muted); margin-top: 1px; }

/* ══════════════════════════════════════════
   IMPACT METRICS — Corporate animated section
   @high-end-visual-design: Double-bezel cards
   @design-taste-frontend: DESIGN_VARIANCE:8, monospace numbers
   @review-animations: transform+opacity, IntersectionObserver
══════════════════════════════════════════ */
.impact-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  background: rgba(255,255,255,0.012);
  position: relative;
  overflow: hidden;
}

/* Subtle grid lines background (corporate feel) */
.impact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 100% at 60% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 60% 50%, black 30%, transparent 100%);
}

.impact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: start;
  position: relative;
}

/* Left headline block */
.impact-headline {
  position: sticky;
  top: 7rem;
}

.impact-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.impact-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 32ch;
}

/* KPI Grid — asymmetric 2-column */
.impact-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

/* KPI Card — Double-Bezel architecture */
.kpi-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-card);
  border-radius: 1.5rem;
  padding: 5px;
  transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  outline: none;
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .kpi-card:hover {
    border-color: rgba(255,255,255,0.14);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(15,204,206,0.06);
  }
}

.kpi-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.kpi-card-inner {
  background: var(--bg-elevated);
  border-radius: calc(1.5rem - 5px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  height: 100%;
}

/* Wide card spans full width */
.kpi-card-wide {
  grid-column: 1 / 3;
}

/* Icon + trend row */
.kpi-icon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.kpi-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 0.75rem;
  background: var(--accent-dim);
  border: 1px solid rgba(15,204,206,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
}

.kpi-trend-up {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.18);
}

.kpi-trend-stable {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

/* KPI number */
.kpi-value {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.kpi-num {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.kpi-value-pct .kpi-num { color: var(--accent); }

.kpi-unit {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: 2px;
}

.kpi-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

/* Progress bar */
.kpi-bar-track {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.375rem;
}

.kpi-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.25), rgba(255,255,255,0.1));
  border-radius: 2px;
  transition: width 1.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.kpi-bar-fill.animated {
  width: var(--fill);
}

.kpi-bar-accent {
  background: linear-gradient(90deg, var(--accent), rgba(15,204,206,0.4));
}

/* Wide card horizontal layout */
.kpi-horizontal {
  flex-direction: row !important;
  align-items: center;
  gap: 2rem;
}

.kpi-wide-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.kpi-wide-divider {
  width: 1px;
  height: 64px;
  background: var(--border-card);
  flex-shrink: 0;
}

.kpi-wide-right { flex: 1; }

/* Compliance list */
.kpi-compliance-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.compliance-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.compliance-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   BENTO GRID — Facturación
══════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 6px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .bento-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
  }
}

.bento-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.bento-card-inner {
  background: var(--bg-elevated);
  border-radius: var(--radius-inner);
  padding: 1.75rem;
  height: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.bento-large { grid-column: 1; grid-row: 1; }
.bento-tall  { grid-column: 2; grid-row: 1 / 3; }
.bento-wide  { grid-column: 1; grid-row: 2; }
.bento-small { display: none; } /* Hidden in this layout */

.bento-badge {
  display: inline-flex;
  padding: 0.2rem 0.625rem;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  width: fit-content;
}

.bento-heading {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.3;
}

.bento-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.bento-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: var(--accent-dim);
  border: 1px solid rgba(15, 204, 206, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.bento-horizontal {
  flex-direction: row !important;
  align-items: center;
  gap: 1.5rem;
}

.doc-types-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.doc-type-chip {
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .doc-type-chip:hover {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: rgba(15,204,206,0.2);
  }
}

.ats-progress-wrap { margin-top: auto; }
.ats-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.ats-bar-label span { font-family: var(--font-mono); color: var(--accent); }
.ats-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.ats-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(15,204,206,0.6));
  border-radius: 3px;
  animation: bar-grow 1.2s var(--ease-out) 0.5s both;
}
@keyframes bar-grow {
  from { width: 0 !important; }
}
.ats-bar-sub { font-size: 0.625rem; color: var(--text-muted); margin-top: 0.375rem; }

/* Code snippet */
.code-snippet {
  background: var(--bg-base);
  border: 1px solid var(--border-card);
  border-radius: 0.875rem;
  padding: 1rem 1.25rem;
  flex-shrink: 0;
}
.code-snippet pre {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.8;
  white-space: pre;
}
.code-kw      { color: var(--accent); font-weight: 700; }
.code-key     { color: #a78bfa; }
.code-str     { color: #34d399; }
.code-num     { color: #fb923c; }
.code-comment { color: var(--text-muted); font-style: italic; }

/* ══════════════════════════════════════════
   SPLIT FEATURE — Documentos
══════════════════════════════════════════ */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.split-content { max-width: 480px; }

.feature-list { display: flex; flex-direction: column; gap: 0.875rem; margin: 1.75rem 0 2rem; }

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Docs Browser — Double-Bezel */
.docs-browser-outer {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-card);
  padding: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 32px 64px rgba(0,0,0,0.45);
}

.docs-browser-inner {
  background: var(--bg-surface);
  border-radius: var(--radius-inner);
  overflow: hidden;
}

.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-card);
}

.browser-dots { display: flex; gap: 4px; }
.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.browser-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.browser-filters {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-card);
}

.filter-chip {
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  color: var(--text-muted);
  cursor: default;
  border: 1px solid transparent;
}

.filter-active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(15,204,206,0.2);
}

.browser-table { padding: 0.5rem; }

.table-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  align-items: center;
}

.table-header {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.animated-row {
  font-size: 0.6875rem;
  opacity: 0;
  animation: row-appear 0.4s var(--ease-out) both;
}

.row-1 { animation-delay: 0.1s; }
.row-2 { animation-delay: 0.2s; }
.row-3 { animation-delay: 0.3s; }
.row-4 { animation-delay: 0.4s; }
.row-5 { animation-delay: 0.5s; }

@keyframes row-appear {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.row-doc  { font-family: var(--font-mono); color: var(--text-primary); font-size: 0.6875rem; }
.row-date { color: var(--text-muted); }
.row-status {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.s-auth   { background: rgba(52,211,153,0.1); color: #34d399; }
.s-pending { background: rgba(251,191,36,0.1); color: #fbbf24; }
.s-sent   { background: rgba(99,102,241,0.1); color: #818cf8; }

/* ══════════════════════════════════════════
   FIRMA ELECTRÓNICA
══════════════════════════════════════════ */
.firma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Phone mockup — Double-Bezel */
.phone-mockup-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.phone-outer {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hair);
  border-radius: 3rem;
  padding: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04);
  width: fit-content;
  margin: 0 auto;
}

.phone-inner {
  background: var(--bg-surface);
  border-radius: calc(3rem - 8px);
  width: 260px;
  min-height: 520px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.04);
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: var(--bg-base);
  border-radius: 0 0 1rem 1rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.phone-screen {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0 0.25rem;
}

.phone-icons { display: flex; gap: 0.25rem; color: var(--text-primary); }

.phone-app-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.app-logo-sm {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent);
  color: #060810;
  font-size: 0.625rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-title-sm {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.app-notif {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sign-document-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-card);
  border-radius: 1rem;
  padding: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sign-doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: var(--accent-dim);
  border: 1px solid rgba(15,204,206,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.sign-doc-name { font-size: 0.8125rem; font-weight: 600; color: var(--text-primary); }
.sign-doc-from { font-size: 0.6875rem; color: var(--text-muted); margin-top: 2px; }

.sign-pad-area {
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 0.875rem;
  padding: 0.75rem;
}

.sign-pad-label { font-size: 0.6rem; color: var(--text-muted); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.06em; }

.signature-svg { width: 100%; height: 60px; }

.sig-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: draw-sig 2s var(--ease-out) 1s both;
}

@keyframes draw-sig {
  to { stroke-dashoffset: 0; }
}

.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.phone-btn-secondary, .phone-btn-primary {
  padding: 0.6rem;
  border-radius: 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out), opacity 0.15s;
}

.phone-btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
}

.phone-btn-primary {
  background: var(--accent);
  color: #060810;
}

.phone-btn-secondary:active, .phone-btn-primary:active { transform: scale(0.97); }

.phone-cert-info {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.625rem;
  color: var(--text-muted);
  justify-content: center;
  padding: 0.25rem;
}

.app-store-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .store-badge:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }
}

.firma-features { display: flex; flex-direction: column; gap: 2rem; padding-top: 1rem; }

.firma-feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-card);
}

.firma-feature-item:last-child { border-bottom: none; padding-bottom: 0; }

.firma-feature-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.6;
  flex-shrink: 0;
  padding-top: 0.25rem;
}

.firma-feature-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.375rem; letter-spacing: -0.02em; }
.firma-feature-desc  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* ══════════════════════════════════════════
   MOBILE BENTO
══════════════════════════════════════════ */
.mobile-bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.mobile-bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 6px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .mobile-bento-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
  }
}

.mobile-bento-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mobile-bento-main { grid-column: 1; grid-row: 1 / 3; }
.mobile-bento-wide  { grid-column: 2 / 4; }

.offline-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.5rem 0.75rem;
  background: rgba(15,204,206,0.06);
  border: 1px solid rgba(15,204,206,0.12);
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  color: var(--accent);
}

.offline-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.offline-dot-on {
  background: var(--accent);
  animation: pulse-live 1.5s ease-in-out infinite;
}

/* QR Preview */
.qr-preview {
  width: 80px;
  height: 80px;
  border: 1.5px solid var(--border-card);
  border-radius: 0.625rem;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.qr-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--accent);
  border-style: solid;
}

.qr-tl { top: 6px; left: 6px; border-width: 2px 0 0 2px; }
.qr-tr { top: 6px; right: 6px; border-width: 2px 2px 0 0; }
.qr-bl { bottom: 6px; left: 6px; border-width: 0 0 2px 2px; }
.qr-br { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; }

.qr-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  top: 10%;
  animation: qr-scan 2s ease-in-out infinite;
}

@keyframes qr-scan {
  0%   { top: 10%; opacity: 1; }
  50%  { top: 80%; opacity: 1; }
  100% { top: 10%; opacity: 1; }
}

/* ══════════════════════════════════════════
   PRICING
══════════════════════════════════════════ */
.pricing-section { padding: 7rem 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 6px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .pricing-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.1); }
}

.pricing-featured {
  border-color: rgba(15,204,206,0.25);
  background: linear-gradient(180deg, rgba(15,204,206,0.06) 0%, var(--bg-card) 100%);
  transform: translateY(-8px);
}

@media (hover: hover) and (pointer: fine) {
  .pricing-featured:hover { transform: translateY(-11px); }
}

.pricing-card-inner {
  background: var(--bg-elevated);
  border-radius: var(--radius-inner);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.pricing-badge-top {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #060810;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.875rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.plan-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.plan-currency { font-size: 1.125rem; font-weight: 600; color: var(--text-secondary); }
.plan-amount   { font-size: 3rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.04em; line-height: 1; }
.plan-period   { font-size: 0.875rem; color: var(--text-muted); }
.plan-custom   { font-size: 1.625rem; letter-spacing: -0.03em; }

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 1rem;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.plan-features li { display: flex; gap: 0.625rem; }
.plan-features li span { color: var(--text-muted); flex-shrink: 0; }

/* ══════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════ */
.cta-final { padding: 7rem 0; }

.cta-card {
  background: linear-gradient(135deg, rgba(15,204,206,0.1) 0%, rgba(99,102,241,0.06) 50%, rgba(15,204,206,0.06) 100%);
  border: 1px solid rgba(15,204,206,0.2);
  border-radius: var(--radius-card);
  padding: 6px;
}

.cta-card-inner {
  background: linear-gradient(135deg, rgba(6,8,16,0.95) 0%, rgba(13,17,23,0.98) 100%);
  border-radius: var(--radius-inner);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cta-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(15,204,206,0.12);
  top: -150px;
  right: -100px;
}

.cta-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(99,102,241,0.08);
  bottom: -100px;
  left: -50px;
}

.eyebrow-light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}

.cta-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  position: relative;
}

.cta-body {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.55);
  max-width: 44ch;
  margin: 0 auto 2.5rem;
  position: relative;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border-card);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 28ch;
  line-height: 1.6;
}

.footer-logo .logo-text { font-size: 0.875rem; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .footer-link:hover { color: var(--text-primary); }
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--border-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-sri strong { color: var(--text-secondary); }

/* ══════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  .reveal-up, .reveal-right { opacity: 1; transform: none; filter: none; transition: none; }
  .float-badge { animation: none; }
  .qr-scan-line { animation: none; }
  .eyebrow-dot { animation: none; }
  .status-pulse { animation: none; }
  .offline-dot-on { animation: none; }
  .spark-line { animation: none; stroke-dashoffset: 0; }
  .ats-bar-fill, .kpi-bar-fill { animation: none; width: var(--fill, 0) !important; }
  .sig-path { animation: none; stroke-dashoffset: 0; }
  .doc-item { animation: none; opacity: 1; transform: none; }
  .animated-row { animation: none; opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .impact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .impact-headline { position: static; }
  .impact-kpi-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .split-feature { grid-template-columns: 1fr; gap: 3rem; }
  .firma-grid { grid-template-columns: 1fr; }
  .phone-mockup-wrap { display: none; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-large { grid-column: 1 / 3; }
  .bento-tall  { grid-column: 1; grid-row: 2; }
  .bento-wide  { grid-column: 2; grid-row: 2; }
}

@media (max-width: 768px) {
  .impact-inner { padding: 0 1rem; }
  .impact-kpi-grid { grid-template-columns: 1fr; }
  .kpi-card-wide { grid-column: 1; }
  .kpi-horizontal { flex-direction: column !important; }
  .kpi-wide-divider { width: 100%; height: 1px; }

  .nav-links { display: none; }
  .btn-ghost  { display: none; }
  .hamburger  { display: flex; }

  .hero-section { padding: 7rem 0 4rem; }
  .hero-inner { padding: 0 1rem; }
  .hero-heading { font-size: 2.5rem; }

  .feature-section { padding: 5rem 0; }
  .section-inner { padding: 0 1rem; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-column: 1; }
  .bento-tall  { grid-column: 1; grid-row: auto; }
  .bento-wide  { grid-column: 1; grid-row: auto; }
  .bento-horizontal { flex-direction: column !important; }

  .mobile-bento { grid-template-columns: 1fr 1fr; }
  .mobile-bento-main { grid-column: 1 / 3; }
  .mobile-bento-wide { grid-column: 1 / 3; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-featured { transform: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }

  .hero-stats { gap: 1rem; }
  .stat-divider { display: none; }

  .firma-features { padding-top: 0; }

  .cta-card-inner { padding: 3rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 2rem; }
  .section-heading { font-size: 1.75rem; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .kpi-num { font-size: 1.75rem; }
}

