/* Transversal — Linkrunner-inspired design system */
:root {
  --bg-deep: #000000;
  --bg-base: #050505;
  --bg-surface: #0c0c0c;
  --bg-elevated: #141414;
  --bg-glass: rgba(12, 12, 12, 0.85);
  --card-dark: #0f0f0f;

  --accent: #22c55e;
  --accent-bright: #4ade80;
  --accent-dim: rgba(34, 197, 94, 0.12);
  --accent-glow: rgba(34, 197, 94, 0.35);
  --indigo: #a78bfa;
  --indigo-dim: rgba(167, 139, 250, 0.12);
  --purple-btn: #2e2a52;
  --purple-btn-hover: #3d3868;
  --amber: #fbbf24;
  --amber-dim: rgba(251, 191, 36, 0.12);
  --coral: #fb7185;

  --text: #ffffff;
  --text-soft: #d4d4d8;
  --muted: #a1a1aa;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 80px rgba(34, 197, 94, 0.15);

  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --nav-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --section-pad: clamp(48px, 8vw, 100px);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  /* jump3d elements removed */
}

/* Ambient background */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(34, 197, 94, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 40%, rgba(139, 92, 246, 0.06), transparent),
    var(--bg-deep);
}

.grid-overlay { display: none; }

h1, h2, h3, h4, .display { font-family: var(--font-display); letter-spacing: -0.02em; }

a { color: inherit; }

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

/* ─── Reveal Animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: revealFadeIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes revealFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── NAV ─── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  background: rgba(6, 8, 15, 0.6);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-nav.scrolled {
  background: rgba(6, 8, 15, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-logo img { height: 36px; width: auto; transition: transform 0.25s var(--ease); filter: none; }
.nav-logo:hover img { transform: scale(1.03); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  box-shadow: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #f4f4f5;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.btn-purple {
  background: var(--purple-btn);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-purple:hover {
  background: var(--purple-btn-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-dim);
}

.btn-lg { padding: 16px 32px; font-size: 0.95rem; }

.btn-hero {
  padding: 18px 36px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 14px;
  background: linear-gradient(135deg, #34d399, #10b981, #059669);
  color: #022c1a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 12px 40px rgba(16, 185, 129, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

.btn-hero:hover { transform: translateY(-3px) scale(1.02); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ─── HERO (Linkrunner-style centered) ─── */
.hero {
  min-height: auto;
  padding: calc(var(--nav-h) + 56px) clamp(20px, 5vw, 64px) 48px;
  text-align: center;
}

.hero-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  gap: 56px;
}

.hero.hero-lr {
  text-align: left;
}

.hero-copy {
  flex: 1;
  max-width: 50%;
}

.hero-ctas-center {
  justify-content: flex-start;
}

.jump3d-dashboard { /* removed */ }

.hero-lr .hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-lr .hero-lead {
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  max-width: 640px;
  color: var(--muted);
}

.hero-ctas-center {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Make the CTA area under “Book Demo” look even (dashboard section) */
#insights + .cta-buttons,
#insights .cta-buttons,
#insights .btn {
  display: inline-flex;
}

#insights .cta-buttons {
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

#insights .cta-buttons .btn {
  border-radius: 14px;
  padding-left: 22px;
  padding-right: 22px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}



.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent-bright), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .penalty {
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.stat-chip {
  padding: 10px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.stat-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-bright);
}

.stat-chip span {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Jump3d/dashboard styles removed */

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-indicator::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.5s infinite;
}

.dash-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 340px;
}

.dash-side {
  padding: 16px 0;
  border-right: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.dash-nav {
  padding: 10px 18px;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}

.dash-nav.active {
  color: var(--text);
  background: var(--accent-dim);
  border-left: 2px solid var(--accent);
}

.dash-main {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateZ(12px);
}

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

.dash-kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}

.dash-kpi:hover {
  transform: translateZ(20px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.18);
}

.dash-kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--indigo));
}

.dash-kpi-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}

.dash-kpi-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.dash-kpi-delta { font-size: 0.65rem; margin-top: 4px; color: var(--muted); }
.dash-kpi-delta.up { color: var(--accent); }
.dash-kpi-delta.down { color: var(--coral); }

.dash-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
}

.dash-chart {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}

.dash-chart:hover {
  transform: translateZ(16px);
  border-color: rgba(255, 255, 255, 0.16);
}
.dash-chart h4 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
}

/* ─── DASHBOARD PAGE ─── */
.dashboard-page {
  min-height: calc(100vh - var(--nav-h));
  background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.18), transparent 18%),
    radial-gradient(circle at 80% 10%, rgba(6, 182, 212, 0.12), transparent 18%),
    radial-gradient(circle at 30% 80%, rgba(236, 72, 153, 0.10), transparent 22%),
    linear-gradient(180deg, #05060d 0%, #06070f 35%, #070910 100%);
  padding: calc(var(--nav-h) + 24px) clamp(20px, 5vw, 64px) 40px;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  max-width: 1480px;
  margin: 0 auto;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 22px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(26px);
}

.sidebar-brand {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.95), rgba(56, 189, 248, 0.9));
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

.sidebar-brand strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

.sidebar-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.sidebar-nav {
  display: grid;
  gap: 12px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  font-size: 0.95rem;
  color: var(--text-soft);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 220ms var(--ease);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.nav-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.sidebar-quick-actions {
  display: grid;
  gap: 10px;
}

.sidebar-label,
.card-label,
.widget-label,
.metric-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.tag-btn,
.tag-pill {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease);
}

.tag-btn:hover,
.tag-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
}

.tag-pill.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.95), rgba(59, 130, 246, 0.92));
  border-color: transparent;
}

.sidebar-profile {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(168, 85, 247, 0.9));
  color: #fff;
  font-weight: 700;
}

.dashboard-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.dashboard-header h1 {
  font-size: clamp(2.35rem, 3.4vw, 3.6rem);
  line-height: 1.02;
  max-width: 720px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 320px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-input input {
  width: 100%;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.search-icon {
  font-size: 1rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr);
  gap: 30px;
}

.dashboard-main {
  display: grid;
  gap: 22px;
}

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

.metric-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.28);
}

.metric-card strong {
  display: block;
  margin-top: 18px;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.metric-meta {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.glass-card {
  padding: 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(28px);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.glass-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.22);
}

.card-head,
.widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.card-head h2,
.widget-head h2 {
  font-size: 1.15rem;
  color: #fff;
  margin: 0;
}

.feed-card .feed-stack,
.project-card .project-grid {
  display: grid;
  gap: 14px;
}

.social-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-left h3 {
  font-size: 1.05rem;
  margin: 10px 0 8px;
  color: #fff;
}

.social-left p {
  color: var(--muted);
  line-height: 1.7;
}

.social-meta {
  font-size: 0.85rem;
  color: var(--muted);
  align-self: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-glow {
  background: rgba(56, 189, 248, 0.14);
  color: #8ed5fa;
}

.status-purple {
  background: rgba(168, 85, 247, 0.14);
  color: #d8b4fe;
}

.project-card .project-item {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-item strong {
  display: block;
  color: #fff;
  margin-bottom: 10px;
  font-size: 1rem;
}

.project-item p {
  color: var(--muted);
  line-height: 1.75;
}

.project-meta {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.85rem;
}

.dashboard-side {
  display: grid;
  gap: 20px;
}

.widget-card {
  padding: 24px;
}

.widget-value {
  font-size: 2.45rem;
  font-weight: 800;
  color: #fff;
  margin: 10px 0 14px;
}

.widget-copy {
  color: var(--muted);
  line-height: 1.75;
}

.widget-users {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.widget-users span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.more-users {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.95), rgba(56, 189, 248, 0.9));
}

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

.mini-list li {
  padding: 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.note-card p {
  color: var(--muted);
  line-height: 1.8;
}

.btn-ghost.small,
.btn.btn-ghost.small {
  padding: 10px 16px;
  font-size: 0.82rem;
}

@media (max-width: 1180px) {
  .dashboard-shell { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .dashboard-page { padding-top: calc(var(--nav-h) + 16px); }
  .dashboard-header { flex-direction: column; align-items: stretch; }
  .dashboard-actions { width: 100%; }
  .search-input { min-width: 100%; }
  .dashboard-grid { gap: 22px; }
  .metrics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .dashboard-sidebar { padding: 22px 18px; border-radius: 28px; }
  .dashboard-sidebar,
  .dashboard-content { gap: 20px; }
  .dashboard-header h1 { font-size: 2.2rem; }
  .tag-btn,
  .tag-pill { width: 100%; }
}

/* Stacks-like split hero + dashboard mock */
.stacks-section {
  padding: 56px clamp(20px, 5vw, 64px);
}
.stacks-grid {
  display: grid;
  grid-template-columns: 1fr 620px;
  gap: 28px;
  align-items: center;
}
.stacks-copy h2 {
  font-size: 2.4rem;
  margin: 0 0 12px;
}
.stacks-lead {
  color: var(--muted);
  margin-bottom: 18px;
}
.stacks-ctas a { margin-right: 12px; }

.stacks-mock .mock-shell {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  min-height: 320px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  position: relative;
}
.mock-sidebar { padding: 18px; background: rgba(0,0,0,0.03); }
.mock-logo { font-weight:700; color:#fff; margin-bottom:10px; }
.mock-sidebar nav a { display:block; padding:10px 12px; border-radius:10px; color:var(--text-soft); margin-bottom:8px; text-decoration:none; }
.mock-sidebar nav a.active { background: rgba(255,255,255,0.04); color:#fff; }
.mock-main { padding: 18px; display:flex; flex-direction:column; gap:14px; }
.mock-top { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.mock-search { background: rgba(255,255,255,0.02); padding:10px 14px; border-radius:10px; color:var(--muted); }
.pill { background: rgba(255,255,255,0.04); border: none; padding:8px 12px; border-radius:999px; color:#fff; }
.mock-cards { display:grid; grid-template-columns: 1fr 160px; gap:12px; align-items:start; }
.card { background: rgba(255,255,255,0.03); padding:14px; border-radius:12px; border:1px solid rgba(255,255,255,0.04); }
.card.big { grid-column: 1 / 2; min-height:160px; }
.card.small { min-height:80px; }
.card-row { display:flex; gap:10px; margin-top:12px; }
.thumb { width:76px; height:56px; background:linear-gradient(135deg,#e2e8f0,#c7d2fe); border-radius:8px; box-shadow:0 8px 18px rgba(0,0,0,0.2); overflow:hidden; }
.thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.card-row.small .mini { width:40px; height:28px; background:linear-gradient(135deg,#fef3c7,#fde68a); border-radius:6px; }
.muted { color:var(--muted); font-size:0.92rem; }

@media (max-width: 980px) {
  .stacks-grid { grid-template-columns: 1fr; }
  .stacks-mock { order: 2; }
}

/* Mock visual column */
.mock-visual { display:block; }
.mock-visual img { width:100%; height:100%; object-fit:cover; display:block; }

@media (max-width: 1100px) {
  .stacks-grid { grid-template-columns: 1fr; }
  .mock-visual { display:none; }
}

/* Feature hero / dashboard visual */
.feature-hero { padding: 60px clamp(18px, 5vw, 64px); }
.feature-grid { display: grid; grid-template-columns: 1fr 560px; gap: 28px; align-items: center; }
.feature-copy { max-width: 640px; }
.feature-copy .kicker { display:block; font-size:0.8rem; color:var(--muted); margin-bottom:10px; text-transform:uppercase; letter-spacing:0.12em; }
.feature-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin:0 0 12px; }
.feature-lead { color:var(--muted); margin-bottom:18px; }
.feature-ctas a { margin-right:12px; }
.feature-bullets { margin-top:18px; list-style:none; padding:0; color:var(--muted); }
.feature-bullets li { margin-bottom:8px; }

.feature-visual { position:relative; border-radius:14px; overflow:hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.36); min-height: 420px; background: rgba(0,0,0,0.04); }
.feature-visual img { width:100%; height:auto; display:block; object-fit:cover; }
.visual-badge { position:absolute; right:18px; bottom:18px; background: rgba(0,0,0,0.5); color:#fff; padding:8px 12px; border-radius:999px; display:flex; gap:10px; align-items:center; }
.visual-badge .avatars { display:flex; gap:6px; }
.visual-badge .avatars img { width:32px; height:32px; border-radius:50%; object-fit:cover; box-shadow:0 6px 14px rgba(0,0,0,0.4); }
.visual-badge .rating { font-size:0.9rem; margin-left:6px; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-visual { order:2; margin-top:18px; }
}

/* ─── SECTIONS ─── */
.section {
  padding: 100px clamp(20px, 5vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
}

.section-wide { max-width: none; }

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.5), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dashboard-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.dashboard-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 15%, rgba(56, 189, 248, 0.14), transparent 18%),
    radial-gradient(circle at 80% 22%, rgba(168, 85, 247, 0.12), transparent 16%),
    radial-gradient(circle at 50% 90%, rgba(34, 197, 94, 0.10), transparent 22%);
  pointer-events: none;
}

.dashboard-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 40%),
    linear-gradient(225deg, rgba(255, 255, 255, 0.025), transparent 48%);
  pointer-events: none;
}

.dashboard-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(310px, 380px) 1fr;
  gap: 28px;
  background: linear-gradient(160deg, rgba(10, 13, 24, 0.94), rgba(7, 9, 15, 0.88));
  border: 1px solid rgba(56, 189, 248, 0.22);
  backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 140px rgba(0, 0, 0, 0.48), inset 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 34px;
  overflow: hidden;
  animation: card-float 16s ease-in-out infinite;
}

.dashboard-card::before,
.dashboard-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.55;
  pointer-events: none;
}

.dashboard-card::before {
  width: 280px;
  height: 280px;
  top: -50px;
  left: -60px;
  background: rgba(59, 130, 246, 0.22);
  animation: pulse-glow 12s ease-in-out infinite;
}

.dashboard-card::after {
  width: 210px;
  height: 210px;
  bottom: -70px;
  right: -40px;
  background: rgba(168, 85, 247, 0.18);
  animation: orb-move 18s ease-in-out infinite;
}

.dashboard-card::before {
  box-shadow: 0 0 100px rgba(59, 130, 246, 0.25);
}

/* Dashboard preview styles removed per user request */

.dashboard-section .dashboard-summary {
  display: grid;
  gap: 18px;
}

.dashboard-main {
  position: relative;
  display: grid;
  gap: 18px;
}

.dashboard-main::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(56, 189, 248, 0.14);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.dash-chart {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(96, 165, 250, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 300px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dash-chart::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.08), transparent 12%);
  pointer-events: none;
}

.dash-chart h4 {
  margin-bottom: 18px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #a5f3fc;
  text-shadow: 0 0 14px rgba(59, 130, 246, 0.25);
}

.dashboard-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  z-index: 1;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.55; }
  50% { transform: scale(1.08) translateY(-6px); opacity: 0.65; }
}

@keyframes orb-move {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, 12px); }
}

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

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.30);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-chip span {
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.22);
  color: #a5f3fc;
  font-weight: 700;
}

.dashboard-chip.muted {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.10);
}

.dashboard-section .dashboard-summary {
  display: grid;
  gap: 18px;
}

.dash-score-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(15, 23, 42, 0.94));
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

.dash-score-card::after {
  content: '';
  position: absolute;
  right: -24px;
  top: -24px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.28), transparent 60%);
}

.dash-score-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #67e8f9;
  margin-bottom: 12px;
}

.dash-score-value {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 900;
  color: #fff;
  line-height: 0.95;
  text-shadow: 0 0 16px rgba(34, 197, 94, 0.4);
}

.dash-score-note {
  margin-top: 12px;
  color: #d4d4d8;
  font-size: 0.98rem;
}

.dashboard-section .dash-kpis {
  display: grid;
  gap: 14px;
}

.dash-kpi {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dash-kpi-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
}

.dash-kpi-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin: 10px 0 6px;
}

.dash-kpi-delta {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.dash-legend {
  display: grid;
  gap: 10px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  color: #cbd5e1;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.legend-dot.high { background: #fb7185; }
.legend-dot.medium { background: #fbbf24; }
.legend-dot.low { background: #34d399; }

.dashboard-section .dashboard-main {
  display: grid;
  gap: 18px;
}

.dash-chart {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 300px;
}

.dash-chart h4 {
  margin-bottom: 18px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.progress-row {
  display: grid;
  gap: 16px;
}

.progress-row span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.progress-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  border-radius: 999px;
}

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

.action-list li {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  color: #cbd5e1;
  line-height: 1.6;
}

.action-list li strong {
  color: #fff;
}

.chart-note {
  margin-top: 18px;
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .dashboard-card { grid-template-columns: 1fr; }
}

.chart-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .dashboard-section .dashboard-card { grid-template-columns: 1fr; }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* Policy spotlight */
.spotlight {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.news-card {
  max-width: 640px;
  margin: 32px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.news-caption {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Why DPDPA */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}

.penalty-card {
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.08), rgba(251, 113, 133, 0.04));
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.penalty-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15), transparent 70%);
  pointer-events: none;
}

.penalty-amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fcd34d, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.penalty-sub { color: var(--muted); margin-top: 8px; font-size: 0.95rem; }

.penalty-list {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.penalty-list li {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
  list-style: none;
}

.penalty-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent);
}

.why-steps { display: flex; flex-direction: column; gap: 16px; }

.why-step {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.25s, transform 0.25s;
  backdrop-filter: blur(8px);
}

.why-step:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateX(6px);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-bright);
  flex-shrink: 0;
}

.why-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.why-step p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

/* Features bento */
.bento-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.bento-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.bento-card:hover {
  border-color: rgba(16, 185, 129, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.bento-card.featured {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.1), rgba(129, 140, 248, 0.06));
  border-color: rgba(16, 185, 129, 0.2);
}

.bento-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.bento-tag.teal { background: var(--accent-dim); color: var(--accent-bright); border: 1px solid rgba(16, 185, 129, 0.2); }
.bento-tag.indigo { background: var(--indigo-dim); color: var(--indigo); border: 1px solid rgba(129, 140, 248, 0.2); }
.bento-tag.amber { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(251, 191, 36, 0.2); }

.bento-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.bento-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

.bento-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }

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

.feature-mini {
  padding: 28px;
}

.feature-mini .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.icon-teal { background: var(--accent-dim); }
.icon-indigo { background: var(--indigo-dim); }
.icon-amber { background: var(--amber-dim); }

.feature-mini h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-mini p { font-size: 0.82rem; }
.feature-mini .foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.75rem; font-weight: 600; }
.foot-teal { color: var(--accent); }
.foot-indigo { color: var(--indigo); }
.foot-amber { color: var(--amber); }

.tag-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.tag-pill {
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--accent-dim);
  color: var(--accent-bright);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

/* Insights */
.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.stat-card.teal { background: linear-gradient(160deg, var(--accent-dim), transparent); border-color: rgba(16, 185, 129, 0.2); }
.stat-card.indigo { background: linear-gradient(160deg, var(--indigo-dim), transparent); border-color: rgba(129, 140, 248, 0.2); }
.stat-card.amber { background: linear-gradient(160deg, var(--amber-dim), transparent); border-color: rgba(251, 191, 36, 0.2); }
.stat-card.coral { background: linear-gradient(160deg, rgba(251, 113, 133, 0.1), transparent); border-color: rgba(251, 113, 133, 0.2); }

.stat-card .val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
}

.stat-card.teal .val { color: var(--accent-bright); }
.stat-card.indigo .val { color: var(--indigo); }
.stat-card.amber .val { color: var(--amber); }
.stat-card.coral .val { color: var(--coral); font-size: 1.1rem; padding-top: 8px; }

.stat-card .lbl { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }

.insights-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
}

.panel h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.risk-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.risk-item:last-child { margin-bottom: 0; }
.risk-item.r1 { background: rgba(251, 113, 133, 0.06); border-color: rgba(251, 113, 133, 0.15); }
.risk-item.r2 { background: var(--amber-dim); border-color: rgba(251, 191, 36, 0.15); }
.risk-item.r3 { background: var(--indigo-dim); border-color: rgba(129, 140, 248, 0.15); }

.risk-rank {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.risk-item h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; }
.risk-item p { font-size: 0.76rem; color: var(--muted); line-height: 1.5; }

/* Feature grid (compact) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-tile {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s var(--ease);
}

.feature-tile:hover {
  border-color: rgba(16, 185, 129, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-tile .icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px; }
.feature-tile h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.feature-tile p { font-size: 0.8rem; color: var(--muted); line-height: 1.55; }

.badge {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}

.badge-teal { background: var(--accent-dim); color: var(--accent); }
.badge-indigo { background: var(--indigo-dim); color: var(--indigo); }
.badge-amber { background: var(--amber-dim); color: var(--amber); }

/* CTA */
.cta-block {
  text-align: center;
  padding: 100px clamp(20px, 5vw, 64px);
  position: relative;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(16, 185, 129, 0.12), transparent);
  pointer-events: none;
}

.cta-block .section-desc { margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* Contact form */
.contact-section {
  text-align: center;
  padding: 80px clamp(20px, 5vw, 64px);
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.contact-form {
  max-width: 520px;
  margin: 32px auto 0;
  display: flex;
  gap: 10px;
}

.contact-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus { border-color: var(--accent); }

.form-msg { margin-top: 14px; font-size: 0.95rem; font-weight: 500; }

.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #042f1e;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.site-footer {
  padding: 64px clamp(20px, 5vw, 64px) 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-base);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 360px;
}

.footer-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.footer-links-inline a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-inline a:hover { color: var(--accent); }

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact-item .lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 2px;
}

.footer-contact-item a {
  color: var(--accent-bright);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-contact-item a:hover { text-decoration: underline; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* FAQ embed */
.faq-embed {
  padding: 0;
  max-width: none;
}

.faq-embed iframe {
  width: 100%;
  border: none;
  display: block;
  min-height: 900px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Form pages (demo, etc.) */
.form-page {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
}

.form-card-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 80px;
}

.form-card {
  width: 100%;
  max-width: 480px;
  padding: 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.form-card h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}

.form-card .form-desc {
  text-align: center;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.65;
  font-size: 0.95rem;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-card .btn-primary { width: 100%; margin-top: 8px; padding: 16px; }

.form-card .btn-primary.loading .btn-text { display: none; }
.form-card .btn-primary.loading .spinner { display: block; margin: 0 auto; }

.form-msg { margin-top: 14px; text-align: center; font-size: 0.95rem; font-weight: 500; }

/* Policy page */
.policy-wrap {
  max-width: 800px;
  margin: calc(var(--nav-h) + 48px) auto 80px;
  padding: 40px 48px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.policy-wrap h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.policy-wrap .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }

.policy-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-bright);
  margin: 28px 0 12px;
}

.policy-wrap p, .policy-wrap li {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.policy-wrap ul { padding-left: 20px; margin-bottom: 16px; }

/* Sub-pages shared */
.page-shell {
  min-height: 100vh;
  padding-top: var(--nav-h);
}

.page-hero {
  text-align: center;
  padding: 64px clamp(20px, 5vw, 64px) 48px;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── TRUSTED BY MARQUEE ─── */
.trusted-section {
  padding: 40px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.trusted-section h3 {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

.trusted-track-wrap {
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.trusted-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.trusted-track:hover { animation-play-state: paused; }

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

.trusted-logo {
  flex-shrink: 0;
  padding: 12px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
}

.trusted-logo span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

/* Logo images for Trusted section */
.trusted-logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* ─── TESTIMONIALS CAROUSEL (Linkrunner) ─── */
.testimonials-section {
  padding: var(--section-pad) clamp(20px, 5vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

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

.testimonial-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--card-dark);
  border-color: rgba(255, 255, 255, 0.2);
}

.carousel-btn svg { width: 18px; height: 18px; }

.carousel-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.55s var(--ease);
}

.testimonial-card {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 280px;
  min-height: 380px;
  background: var(--card-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 200px;
  width: 320px;
  height: 100%;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.testimonial-content {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  text-align: left;
}

.testimonial-quote {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  letter-spacing: -0.01em;
}

.testimonial-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 12px 22px;
  background: var(--purple-btn);
  color: #fff;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}

.testimonial-cta:hover { background: var(--purple-btn-hover); }

.testimonial-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 32px;
}

.metric-pill {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 140px;
}

.metric-pill strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.metric-pill span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

.testimonial-photo {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, #1a2e1a 0%, #0a0a0a 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.testimonial-photo .avatar-fallback {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  background: linear-gradient(180deg, #1a3d2a 0%, #0d0d0d 60%);
}

.testimonial-author {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--muted);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.15);
}

/* ─── WHO WE ARE ─── */
.who-section {
  padding: var(--section-pad) clamp(20px, 5vw, 64px);
  background: linear-gradient(180deg, transparent, rgba(34, 197, 94, 0.03), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.who-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.who-hero-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}

.who-hero-block h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
}

.who-hero-block .lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.who-visual {
  background: var(--card-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.who-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, var(--accent-glow), transparent 50%);
}

.who-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.who-stat {
  text-align: center;
  padding: 20px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.who-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-bright);
}

.who-stat span {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

.who-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.who-pillar {
  padding: 24px;
  background: var(--card-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.25s;
}

.who-pillar:hover { border-color: rgba(34, 197, 94, 0.3); }

.who-pillar h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.who-pillar p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

.who-audience h3 {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

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

.audience-card {
  display: flex;
  gap: 18px;
  padding: 28px;
  background: var(--card-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.audience-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(34, 197, 94, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.audience-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.audience-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { flex-direction: column; align-items: center; text-align: center; }
  .hero-copy { max-width: 100%; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-stats, .hero-ctas { justify-content: center; }
  .hero-ctas-center { justify-content: center; }
  .why-grid, .bento-hero, .insights-panels { grid-template-columns: 1fr; }
  .bento-stack { grid-template-rows: auto; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid-3, .features-grid { grid-template-columns: 1fr 1fr; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    gap: 14px;
    background: transparent;
    border-bottom: none;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: none; }
  /* Removed jump3d responsive sizing */
  .stat-grid, .bento-grid-3, .features-grid { grid-template-columns: 1fr; }
  .dash-kpis, .dash-charts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { flex-direction: column; }
  .insights-header { flex-direction: column; align-items: flex-start; }
  .testimonial-card { grid-template-columns: 1fr; }
  .testimonial-photo { min-height: 220px; }
  .testimonial-photo .avatar-fallback { min-height: 220px; }
  .who-hero-block { grid-template-columns: 1fr; }
  .who-pillars { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .carousel-btn { display: none; }
}

@media (max-width: 480px) {
  .who-pillars { grid-template-columns: 1fr; }
  .who-stat-row { grid-template-columns: 1fr; }
  .testimonial-metrics { flex-direction: column; }
  /* Removed jump3d mobile sizing */
}

/* ══ COMPARISON TABLE ══════════════════════════════════════ */
.comparison-section {
  padding: var(--section-pad) clamp(20px, 5vw, 64px);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.comparison-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.comparison-header {
  max-width: 720px;
}
.comparison-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 12px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.comparison-table th, 
.comparison-table td {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
}
.comparison-table th {
  background: var(--bg-elevated);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 2px solid var(--border);
}
.comparison-table td {
  color: var(--text-soft);
  font-size: 0.95rem;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.feature-name {
  font-weight: 600;
  color: var(--text) !important;
  width: 25%;
}
.col-traditional {
  width: 37.5%;
  color: var(--muted) !important;
}
.col-transversal {
  width: 37.5%;
  background: rgba(34, 197, 94, 0.02);
  border-left: 1px solid rgba(34, 197, 94, 0.1);
  border-right: 1px solid rgba(34, 197, 94, 0.1);
}
.comparison-table tr:hover .col-transversal {
  background: rgba(34, 197, 94, 0.04);
}
.tab-header {
  font-weight: 700;
  font-size: 1rem;
}
.accent-header {
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  gap: 8px;
}
.table-logo {
  height: 28px;
  width: auto;
}
.status-icon {
  margin-right: 8px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.75rem;
}
.icon-cross {
  color: var(--coral);
  background: rgba(251, 113, 133, 0.12);
}
.icon-check {
  color: var(--accent-bright);
  background: var(--accent-dim);
}
.text-check {
  color: var(--text) !important;
}
.text-cross {
  color: var(--muted) !important;
}
@media (max-width: 768px) {
  .comparison-table th, 
  .comparison-table td {
    padding: 16px;
  }
  .feature-name {
    width: 30%;
  }
  .col-traditional,
  .col-transversal {
    width: 35%;
  }
}

/* ─── High Fidelity Mini Dashboard Mockup ─────────────────── */
.hero-dashboard-mockup {
  flex: 1;
  max-width: 50%;
  width: 100%;
  background: #060608;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 100px rgba(34, 197, 94, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  margin-top: 16px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.hero-dashboard-mockup:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 120px rgba(34, 197, 94, 0.08);
}

/* Mockup Header (OS Window Style) */
.mockup-header {
  background: #0c0c10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  position: relative;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.mockup-dots .dot.red { background: #ef4444; }
.mockup-dots .dot.yellow { background: #f59e0b; }
.mockup-dots .dot.green { background: #10b981; }

.mockup-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Mockup Body */
.mockup-body {
  padding: 16px;
  background: #020204;
}

.mini-dashboard {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 8px;
}

.mini-db-main-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.mini-db-tabs {
  display: flex;
  gap: 12px;
}

.mini-db-tab {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  padding-bottom: 4px;
}

.mini-db-tab.active {
  color: #fff;
  border-bottom: 1.5px solid var(--accent);
}

/* Mini Grid System */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mini-card {
  background: #0b0b0f;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-card.span-3 { grid-column: span 3; }
.mini-card.span-1 { grid-column: span 1; }
.mini-card.tall { grid-row: span 1; }

.mini-card-header {
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.mini-flex-row {
  display: flex;
  gap: 8px;
}

.mini-subcard {
  flex: 1;
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-subcard-title {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-soft);
}

.mini-progress-bg {
  height: 3px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 2px;
  overflow: hidden;
}

.mini-progress-fill {
  height: 100%;
}

.mini-subcard-pct {
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  text-align: right;
}

.mini-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6rem;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.mini-badge {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.15);
  color: var(--amber);
  font-size: 0.55rem;
  padding: 1px 4px;
  border-radius: 3px;
}

.mini-big-num-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.mini-big-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.mini-trend {
  font-size: 0.55rem;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 3px;
}

.mini-trend.down {
  color: var(--coral);
  background: rgba(251, 113, 133, 0.08);
}

.mini-failing-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
}

.mini-failing-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.55rem;
  color: var(--muted);
}

.mini-donut-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-kpi-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.mini-muted {
  font-size: 0.55rem;
  color: var(--muted);
}

.mini-bar-forecast {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-bar-row {
  height: 4px;
  background: rgba(255,255,255,0.03);
  border-radius: 2px;
  overflow: hidden;
}

.mini-bar-fill {
  height: 100%;
  background: #3b82f6;
  border-radius: 2px;
}

.mini-task-status-row {
  margin-top: 4px;
}

.mini-task-badge {
  font-size: 0.55rem;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 3px;
}

.mini-task-badge.red {
  color: var(--coral);
  background: rgba(251, 113, 133, 0.08);
  border: 1px solid rgba(251, 113, 133, 0.15);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-dashboard-mockup {
    width: 100%;
    max-width: 580px;
  }
}

@media (max-width: 1024px) {
  .hero-dashboard-mockup {
    max-width: 100%;
    width: 100%;
    margin: 48px auto 0;
  }
}

@media (max-width: 480px) {
  .mini-grid {
    grid-template-columns: 1fr;
  }
  .mini-card.span-3 {
    grid-column: span 1;
  }
  .mini-flex-row {
    flex-direction: column;
  }
}

/* ─── High Fidelity Mini Dashboard Mockup Live Effects & Sizing ─── */

/* Pulsing live dot */
.mini-db-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  animation: pulse-ring 1.8s infinite ease-in-out;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* Progress bar dynamic slide-in animation on load */
@keyframes loadBar {
  from { width: 0%; }
}

.mini-progress-fill {
  animation: loadBar 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.mini-bar-fill {
  animation: loadBar 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* SVG donut segment drawing animation on load */
@keyframes drawDonut {
  from { stroke-dashoffset: 100.5; }
}

.mini-donut-row svg circle[stroke-dasharray] {
  animation: drawDonut 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Grid mini card hover lifting & glowing */
.mini-card {
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 94, 0.18);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 18px rgba(34, 197, 94, 0.04);
}

/* Mini subcards subtle scaling on hover */
.mini-subcard {
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.mini-subcard:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.08);
  background: #15151b;
}

/* Failing items hover transition */
.mini-failing-row {
  transition: color 0.2s ease, transform 0.2s ease;
}

.mini-failing-row:hover {
  color: var(--text) !important;
  transform: translateX(2px);
}

/* Timeline items hover highlight */
.mini-list-item {
  transition: color 0.2s ease, transform 0.2s ease;
}

.mini-list-item:hover {
  color: var(--text) !important;
  transform: translateX(2px);
}

/* Rotator word animation style */
.rotator-word {
  display: inline-block;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

/* ─── Cookie Consent Banner ────────────────────────────────── */
.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 640px;
  background: rgba(9, 10, 15, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(34, 197, 94, 0.02);
  backdrop-filter: blur(16px) saturate(180%);
  padding: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(150px) scale(0.92);
  opacity: 0;
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.cookie-consent-banner.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cookie-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.cookie-close-btn:hover {
  color: #fff;
}

.cookie-consent-header {
  display: flex;
  align-items: center;
}

.cookie-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.cookie-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.cookie-btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  border: none;
}

.cookie-btn.accept {
  background: var(--accent);
  color: #06080f;
  border: 1px solid var(--accent);
}

.cookie-btn.accept:hover {
  background: var(--accent-bright, #53e8b4);
  border-color: var(--accent-bright, #53e8b4);
  transform: translateY(-1px);
}

.cookie-btn.customise {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn.customise:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 576px) {
  .cookie-consent-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 100%;
    padding: 20px;
  }
}

