/* ============================================
   Parallax Intelligence — v7 "Dark Observatory"
   Sora + JetBrains Mono · grain overlay · glow blooms
   Asymmetric layouts · gradient borders · scroll drama
   ============================================ */

:root {
  --bg:          #020408;
  --surface:     #0a0e18;
  --surface-2:   #111827;
  --border:      #1a2035;
  --border-sub:  rgba(26, 32, 53, 0.5);
  --accent:      #4F8EF7;
  --accent-hover:#6BA0F9;
  --accent-glow: rgba(79, 142, 247, 0.08);
  --accent-bright: rgba(79, 142, 247, 0.5);
  --text:        #E8ECF4;
  --text-muted:  #7A8599;
  --dim:         #404A5C;
  --success:     #34D399;
  --warning:     #FBBF24;
  --danger:      #EF4444;

  --sans:  'Sora', -apple-system, system-ui, sans-serif;
  --mono:  'JetBrains Mono', 'SF Mono', monospace;

  --max-w: 1180px;
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ---- Film Grain Overlay ---- */

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

/* ---- Dotted Wave Surface ---- */

#dotted-surface {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#dotted-surface canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---- Glow Blooms ---- */

.glow-bloom {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  z-index: 0;
}

.glow-hero {
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(79, 142, 247, 0.12) 0%, transparent 70%);
  top: 10%;
  left: -5%;
}

.glow-platforms {
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(79, 142, 247, 0.08) 0%, transparent 70%);
  top: 30%;
  right: -10%;
}

.glow-contact {
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(79, 142, 247, 0.1) 0%, transparent 70%);
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
}

/* ---- Scroll Animations ---- */

.anim-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.anim-in.visible {
  opacity: 1;
  transform: none;
}

.anim-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.anim-left.visible {
  opacity: 1;
  transform: none;
}

.anim-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.anim-right.visible {
  opacity: 1;
  transform: none;
}

.anim-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.anim-scale.visible {
  opacity: 1;
  transform: none;
}

/* ---- Utility ---- */

.mono   { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.accent { color: var(--accent); }
.dim    { color: var(--dim); }

.section-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 580px;
  margin-top: 1rem;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

/* ---- Header ---- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.solid {
  background: rgba(2, 4, 8, 0.85);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
}

/* Wordmark */
.logo-mark {
  font-family: 'Unbounded', var(--sans);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.18em;
  color: var(--text);
  white-space: nowrap;
}

.logo-mark .ll {
  color: var(--accent);
  display: inline-block;
  transform: skewX(-13deg);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4375rem 0.875rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.header-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.header-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-left: 0.5rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.header-cta:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.header-cta-arrow {
  transition: transform 0.2s;
}

.header-cta:hover .header-cta-arrow {
  transform: translateX(3px);
}

/* ---- Hero ---- */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 8rem 2rem 6rem;
  position: relative;
}

.hero-content {
  max-width: 580px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  background: rgba(10, 14, 24, 0.6);
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(79, 142, 247, 0.5);
  animation: pulse 2.5s ease-in-out infinite;
}

.hero-h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Hero visual — floating dashboard preview */
.hero-visual {
  position: relative;
  z-index: 2;
  perspective: 1200px;
}

.hero-visual .dash-window {
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform 0.6s var(--ease);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(79, 142, 247, 0.06);
}

.hero-visual:hover .dash-window {
  transform: rotateY(-2deg) rotateX(1deg);
}

/* ---- Buttons ---- */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  box-shadow: 0 0 32px rgba(79, 142, 247, 0.2);
  transform: translateY(-1px);
}

.btn-sm { padding: 0.5625rem 1rem; font-size: 0.8125rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--text); }

.btn-arrow {
  transition: transform 0.2s;
}

.btn-ghost:hover .btn-arrow {
  transform: translateX(3px);
}

/* ---- Trust Strip ---- */

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
  background: rgba(2, 4, 8, 0.8);
  backdrop-filter: blur(20px);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.trust-strip-inner::-webkit-scrollbar { display: none; }

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.75rem 2.25rem;
  white-space: nowrap;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
  flex-shrink: 0;
}

.trust-val {
  font-family: var(--mono);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.trust-label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---- What We Do ---- */

.what-we-do {
  padding: 8rem 2rem;
  position: relative;
  z-index: 2;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header .section-title {
  max-width: 640px;
}

/* Pillars — editorial numbered layout */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.pillar {
  position: relative;
  padding: 2.5rem 2.25rem;
  background: transparent;
  border: 1px solid var(--border);
  border-right: none;
  transition: background 0.3s;
  overflow: hidden;
}

.pillar:last-child { border-right: 1px solid var(--border); }
.pillar:first-child { border-radius: 12px 0 0 12px; }
.pillar:last-child  { border-radius: 0 12px 12px 0; }

.pillar:hover {
  background: rgba(79, 142, 247, 0.03);
}

/* Large faded number behind pillar content */
.pillar::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: var(--mono);
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(79, 142, 247, 0.04);
  pointer-events: none;
  z-index: 0;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(79, 142, 247, 0.2);
  border-radius: 8px;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.pillar h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.pillar p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* ---- Platforms / Dashboard Showcase ---- */

.platforms {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

/* Gradient border card with glass background */
.platform-card {
  position: relative;
  margin-bottom: 5rem;
  padding: 1px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.15), rgba(79, 142, 247, 0.02) 50%, rgba(79, 142, 247, 0.08));
  transition: background 0.4s;
}

.platform-card:hover {
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.25), rgba(79, 142, 247, 0.05) 50%, rgba(79, 142, 247, 0.15));
}

.platform-card:last-child {
  margin-bottom: 0;
}

.platform-card-inner {
  background: rgba(5, 8, 15, 0.95);
  border-radius: 15px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle top-edge light */
.platform-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 142, 247, 0.3), transparent);
}

.platform-header {
  margin-bottom: 2rem;
}

.platform-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.platform-badge {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(52, 211, 153, 0.1);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.platform-badge-next {
  background: rgba(79, 142, 247, 0.1);
  color: var(--accent);
  border-color: rgba(79, 142, 247, 0.2);
}

.platform-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.platform-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.platform-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

.platform-verticals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.vertical-tag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.vertical-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- Dashboard Window ---- */

.dash-window {
  background: rgba(5, 8, 15, 0.9);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.dash-titlebar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(17, 24, 39, 0.5);
  border-bottom: 1px solid var(--border);
}

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

.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.dash-title {
  font-size: 0.6875rem;
  color: var(--dim);
  letter-spacing: 0.02em;
}

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

.dash-sidebar {
  background: rgba(10, 14, 24, 0.6);
  border-right: 1px solid var(--border);
  padding: 0.75rem 0;
}

.dash-nav-item {
  padding: 0.5rem 1rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--dim);
  cursor: default;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.dash-nav-item.active {
  color: var(--text);
  border-left-color: var(--accent);
  background: rgba(79, 142, 247, 0.04);
}

.dash-main {
  padding: 0;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.dash-breadcrumb {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.dash-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.dash-widget {
  background: rgba(2, 4, 8, 0.8);
  padding: 1rem 1.25rem;
}

.dash-widget-wide {
  grid-column: 1 / -1;
}

.dash-widget-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.5rem;
}

.dash-widget-val {
  display: block;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.dash-widget-delta {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  margin-top: 0.25rem;
}

.dash-sparkline {
  margin-top: 0.75rem;
}

.dash-sparkline svg {
  width: 100%;
  height: 30px;
}

.dash-sparkline polyline {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.5s var(--ease);
}

.anim-in.visible .dash-sparkline polyline,
.anim-scale.visible .dash-sparkline polyline {
  stroke-dashoffset: 0;
}

/* -- Dashboard Bars -- */

.dash-bars {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 0.25rem;
}

.dash-bar-row {
  display: grid;
  grid-template-columns: 80px 1fr 36px;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.6875rem;
}

.dash-bar-track {
  height: 5px;
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
}

.dash-bar-fill {
  height: 100%;
  background: var(--dim);
  border-radius: 3px;
  width: 0;
  transition: width 1s var(--ease);
}

/* Animate bars when parent card becomes visible */
.anim-in.visible .dash-bar-fill,
.anim-scale.visible .dash-bar-fill {
  width: var(--bar-w);
}

.dash-bar-fill.highlight {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(79, 142, 247, 0.3);
}

.dash-bar-row span:last-child {
  text-align: right;
}

/* -- Dashboard Heatmap -- */

.dash-heatmap {
  margin-top: 0.25rem;
}

.heatmap-header,
.heatmap-row {
  display: grid;
  grid-template-columns: 36px repeat(4, 1fr);
  gap: 3px;
}

.heatmap-header {
  margin-bottom: 3px;
}

.heatmap-header span,
.heatmap-row > .mono {
  font-size: 0.5625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.125rem;
  color: var(--dim);
}

.hc {
  font-family: var(--mono);
  font-size: 0.625rem;
  padding: 0.375rem 0.125rem;
  text-align: center;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
}

.hc-hot     { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.hc-warm    { background: rgba(251, 191, 36, 0.1); color: var(--warning); }
.hc-neutral { background: rgba(138, 148, 166, 0.08); color: var(--text-muted); }
.hc-cool    { background: rgba(52, 211, 153, 0.08); color: rgba(52, 211, 153, 0.7); }
.hc-cold    { background: rgba(52, 211, 153, 0.15); color: var(--success); }

/* -- Dashboard Rate Table -- */

.dash-rate-table {
  margin-top: 0.25rem;
}

.rate-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.5fr;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.6875rem;
  border-bottom: 1px solid var(--border-sub);
}

.rate-row:last-child { border-bottom: none; }

.rate-header {
  color: var(--dim);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
}

.rate-you {
  background: rgba(79, 142, 247, 0.04);
  border-radius: 4px;
  padding: 0.4rem 0.25rem;
}

.rate-you span { color: var(--text); }

/* ---- Who We Are ---- */

.who-we-are {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.who-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}

.who-text .section-title {
  margin-bottom: 1.25rem;
}

.who-text p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.who-credentials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.3s, background 0.3s;
}

.credential:hover {
  border-color: rgba(79, 142, 247, 0.2);
  background: rgba(79, 142, 247, 0.03);
}

.credential-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 142, 247, 0.04);
  border: 1px solid rgba(79, 142, 247, 0.15);
  border-radius: 10px;
  flex-shrink: 0;
}

.credential-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.125rem;
}

.credential-desc {
  display: block;
  font-size: 0.75rem;
}

/* ---- Contact ---- */

.contact {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.contact-inner {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
  position: relative;
}

.contact-inner .section-title {
  margin-bottom: 1rem;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ---- Newsletter ---- */

.newsletter {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.newsletter-left .section-title {
  margin-bottom: 1rem;
}

.newsletter-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 380px;
}

.newsletter-form input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form input::placeholder { color: var(--dim); }

.newsletter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 2.5rem;
}

.newsletter-list li {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.newsletter-list li .mono {
  font-size: 0.6875rem;
  flex-shrink: 0;
}

/* ---- Footer ---- */

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

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-wordmark {
  font-family: 'Unbounded', var(--sans);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.footer-wordmark .ll {
  color: var(--accent);
  display: inline-block;
  transform: skewX(-13deg);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--dim);
  max-width: 240px;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

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

.footer-col-title {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.8125rem;
  color: var(--dim);
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.6875rem;
  color: var(--dim);
}

.footer-legal {
  font-size: 0.625rem;
  color: var(--dim);
  opacity: 0.6;
  max-width: 400px;
  text-align: right;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual .dash-window {
    transform: none;
  }

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

  .pillar { border-right: 1px solid var(--border); border-radius: 0; }
  .pillar:first-child { border-radius: 12px 12px 0 0; }
  .pillar:last-child  { border-radius: 0 0 12px 12px; }

  .who-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .newsletter-list {
    padding-top: 0;
  }

  .dash-body {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: flex;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0;
  }

  .dash-nav-item {
    border-left: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }

  .dash-nav-item.active {
    border-left-color: transparent;
    border-bottom-color: var(--accent);
  }
}

@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }

  .header-link { display: none; }

  .hero { padding: 7rem 1.25rem 4rem; }
  .hero-h1 { font-size: 2.25rem; }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .trust-item {
    padding: 1rem 1.25rem;
    gap: 0.125rem;
  }

  .what-we-do { padding: 4rem 1.25rem; }
  .platforms { padding: 4rem 1.25rem; }
  .who-we-are { padding: 4rem 1.25rem; }
  .contact { padding: 4rem 1.25rem; }
  .newsletter { padding: 3rem 1.25rem; }

  .platform-card-inner { padding: 1.5rem; }

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

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

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

  .footer-legal {
    text-align: center;
    max-width: none;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #dotted-surface { display: none; }

  .anim-in, .anim-left, .anim-right, .anim-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dash-status-dot {
    animation: none;
  }
}
