/* Primecore LLC - Shared Stylesheet
   Modern minimal design system */

:root {
  --color-bg: #ffffff;
  --color-surface: #f5f7fa;
  --color-ink: #0a1729;
  --color-ink-soft: #4a5568;
  --color-ink-muted: #9ca3af;
  --color-border: #e5e7eb;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-steel: #b0c4de;

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --max-width: 1200px;
  --content-width: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.65;
}

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

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 96px 0;
}

/* Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 30px;
  height: 28px;
  display: inline-block;
  flex-shrink: 0;
}

.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  background: linear-gradient(90deg, #6e7886 0%, #c8d0da 35%, #2563eb 75%, #0a2d8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.brand-text-sub {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  font-weight: 600;
  display: block;
  margin-top: 1px;
}

.brand-stack {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink-soft);
}

.nav-links a.active {
  color: var(--color-ink);
}

.nav-cta {
  background: var(--color-accent);
  color: white !important;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.nav-cta:hover {
  background: var(--color-accent-hover);
  opacity: 1;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-ink);
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  color: var(--color-ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

p.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--color-ink-soft);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-ink-muted);
  margin-bottom: 20px;
}

/* Hero */
.hero {
  padding: 120px 0 96px;
  background:
    radial-gradient(circle at 20% 10%, rgba(176, 196, 222, 0.45), transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.18), transparent 55%),
    radial-gradient(circle at 60% 90%, rgba(95, 162, 245, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 23, 41, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 23, 41, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent 70%);
  pointer-events: none;
}

.hero > .container,
.hero > .container-narrow {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

/* Gradient text effect for hero headlines */
.gradient-text {
  background: linear-gradient(135deg, #0a1729 0%, #1d4ed8 60%, #5fa2f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink-soft);
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(10, 23, 41, 0.04);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

.hero h1 {
  margin-bottom: 24px;
  max-width: 900px;
}

.hero .lead {
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--color-accent-hover);
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface);
  opacity: 1;
}

/* Grids */
.grid {
  display: grid;
  gap: 32px;
}

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

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  section { padding: 64px 0; }
  .hero { padding: 64px 0; }
}

/* Cards */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--color-ink);
}

.card-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-ink-muted);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
}

/* Section heading block */
.section-head {
  margin-bottom: 64px;
  max-width: 720px;
}

.section-head h2 {
  margin-bottom: 16px;
}

/* Banded section */
.section-alt {
  background: var(--color-surface);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 64px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--color-ink-soft);
}

@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; gap: 32px; }
}

/* Service list (services page) */
.service-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}

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

.service-row .num {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-muted);
  letter-spacing: 0.1em;
}

.service-row h3 {
  margin-bottom: 12px;
}

.service-row ul {
  list-style: none;
  padding: 0;
}

.service-row ul li {
  font-size: 15px;
  color: var(--color-ink-soft);
  padding: 6px 0;
  display: flex;
  align-items: start;
  gap: 10px;
}

.service-row ul li::before {
  content: "—";
  color: var(--color-ink-muted);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
}

/* Form */
.form {
  display: grid;
  gap: 20px;
  max-width: 560px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-ink);
  transition: border-color 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-ink);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Contact methods */
.contact-info {
  display: grid;
  gap: 28px;
}

.contact-item .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ink-muted);
  margin-bottom: 6px;
}

.contact-item .value {
  font-size: 18px;
  color: var(--color-ink);
  font-weight: 500;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 64px 0 32px;
  margin-top: 64px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ink);
  margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  padding: 4px 0;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 320px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
}

.footer-inner small {
  color: var(--color-ink-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--color-ink-soft);
}

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* Process flow */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.process-step {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  position: relative;
}

.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-ink);
}

.process-step p {
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}

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

/* Icon block */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(176, 196, 222, 0.3));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 20px;
  font-size: 22px;
}

/* Pricing tiers */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.tier {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tier:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 23, 41, 0.06);
}

.tier.featured {
  border-color: var(--color-accent);
  border-width: 2px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.03), white 60%);
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--color-accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
}

.tier h3 {
  margin-bottom: 8px;
}

.tier-tagline {
  font-size: 14px;
  color: var(--color-ink-soft);
  margin-bottom: 24px;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  line-height: 1;
  margin-bottom: 4px;
}

.tier-price .per {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink-soft);
  letter-spacing: 0;
}

.tier-meta {
  font-size: 13px;
  color: var(--color-ink-muted);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}

.tier-features li {
  font-size: 14px;
  color: var(--color-ink-soft);
  padding: 8px 0;
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}

.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--color-accent);
  font-weight: 700;
}

.tier .btn {
  width: 100%;
  justify-content: center;
}

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

/* Founder / team card */
.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 48px 40px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  max-width: 640px;
  margin: 0 auto;
}

.founder-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8ecf1, #b8c1cc 50%, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: white;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 12px 32px -8px rgba(10, 23, 41, 0.18), 0 0 0 4px white, 0 0 0 5px var(--color-border);
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.founder-info h3 {
  margin-bottom: 4px;
}

.founder-role {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.founder-info p {
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.65;
}

.founder-info p:last-child {
  margin-bottom: 0;
}

/* Legal pages — long-form prose */
.legal-page {
  padding: 64px 0 96px;
}

.legal-page h2 {
  font-size: 22px;
  margin-top: 48px;
  margin-bottom: 12px;
  color: var(--color-ink);
}

.legal-page h3 {
  font-size: 17px;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--color-ink);
}

.legal-page p,
.legal-page li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-ink-soft);
  margin-bottom: 12px;
}

.legal-page ul {
  margin-left: 22px;
  margin-bottom: 18px;
}

.legal-page ul li {
  margin-bottom: 6px;
}

.legal-page .last-updated {
  font-size: 13px;
  color: var(--color-ink-muted);
  font-style: italic;
  margin-bottom: 32px;
}

/* Trust badges in footer */
.trust-badges {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--color-ink-soft);
  font-weight: 500;
}

.trust-badge svg {
  width: 12px;
  height: 12px;
}

/* Hero dashboard visual */
.hero-dashboard {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow:
    0 1px 2px rgba(10, 23, 41, 0.04),
    0 20px 50px -20px rgba(10, 23, 41, 0.12),
    0 40px 80px -40px rgba(37, 99, 235, 0.18);
  position: relative;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transform-origin: center;
  transition: transform 0.6s ease;
}

.hero-dashboard:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.dash-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-live {
  font-size: 11px;
  color: var(--color-ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

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

.dash-metric .value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.dash-metric .delta {
  font-size: 11px;
  color: #16a34a;
  font-weight: 500;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.dash-metric .delta.down {
  color: var(--color-accent);
}

.dash-chart {
  position: relative;
  height: 120px;
  margin: 0 -4px;
}

.dash-chart svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.dash-chart .area {
  fill: url(#chartFill);
  opacity: 0;
  animation: fadeIn 1s ease-out 0.5s forwards;
}

.dash-chart .line {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 1.6s ease-out 0.3s forwards;
}

.dash-chart .dot {
  fill: white;
  stroke: var(--color-accent);
  stroke-width: 2;
  opacity: 0;
  animation: popIn 0.4s ease-out forwards;
}

.dash-chart .dot:nth-of-type(1) { animation-delay: 0.5s; }
.dash-chart .dot:nth-of-type(2) { animation-delay: 0.8s; }
.dash-chart .dot:nth-of-type(3) { animation-delay: 1.1s; }
.dash-chart .dot:nth-of-type(4) { animation-delay: 1.4s; }
.dash-chart .dot:nth-of-type(5) { animation-delay: 1.7s; }
.dash-chart .dot.highlight {
  fill: var(--color-accent);
  stroke: white;
  stroke-width: 3;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0); transform-origin: center; }
  60% { opacity: 1; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}

.dash-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 11px;
  color: var(--color-ink-muted);
}

.dash-floating {
  position: absolute;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(10, 23, 41, 0.08);
  font-size: 12px;
  font-weight: 500;
}

.dash-floating.tl {
  top: -16px;
  left: -24px;
  color: #16a34a;
  animation: float 4s ease-in-out infinite;
}

.dash-floating.br {
  bottom: -16px;
  right: -24px;
  animation: float 5s ease-in-out infinite 0.5s;
}

.dash-floating.br .big {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

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

@media (max-width: 980px) {
  .hero-dashboard { transform: none; }
  .hero-dashboard:hover { transform: none; }
  .dash-floating.tl, .dash-floating.br { display: none; }
}

/* Clients / "Trusted by" */
.clients-section {
  padding: 56px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: white;
}

.clients-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-ink-muted);
  margin-bottom: 32px;
}

.clients-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  min-height: 100px;
}

.client-logo:hover {
  background: white;
  border-color: var(--color-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 23, 41, 0.06);
  opacity: 1;
}

.client-logo .name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin-bottom: 4px;
}

.client-logo .tag {
  font-size: 11px;
  color: var(--color-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.client-logo .logo-img {
  max-height: 44px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
  filter: grayscale(20%);
  opacity: 0.92;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.client-logo:hover .logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo .wordmark-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin-bottom: 10px;
  display: block;
  height: 44px;
  line-height: 44px;
}

@media (max-width: 720px) {
  .clients-row { grid-template-columns: 1fr; }
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.testimonial:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 23, 41, 0.06);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 22px;
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.18;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-ink);
  margin-bottom: 28px;
  font-style: italic;
  flex: 1;
}

.testimonial-quote.placeholder {
  color: var(--color-ink-muted);
  font-style: italic;
  font-size: 14px;
  position: relative;
  padding-left: 0;
}

.testimonial-quote.placeholder::after {
  content: "Quote pending";
  display: inline-block;
  margin-left: 8px;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-accent);
  border-radius: 999px;
  vertical-align: middle;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  overflow: hidden;
  padding: 6px;
}

.testimonial-avatar img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.testimonial-avatar.wordmark {
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 4px;
  line-height: 1.05;
  text-align: center;
}

.testimonial-author .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.3;
}

.testimonial-author .role {
  font-size: 12px;
  color: var(--color-ink-muted);
}

.testimonial-author .role a {
  color: var(--color-accent);
}

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

/* Case results (anonymous case studies) */
.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: linear-gradient(155deg, white 0%, #f5f7fa 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.case-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5fa2f5, var(--color-accent), #0a2d8a);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(10, 23, 41, 0.12);
  border-color: var(--color-accent);
}

.case-vertical {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ink-muted);
  margin-bottom: 20px;
}

.case-headline {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-accent), #0a2d8a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 8px;
  line-height: 1.15;
}

.case-summary {
  font-size: 14px;
  color: var(--color-ink-soft);
  line-height: 1.55;
  margin-bottom: 24px;
  flex: 1;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.case-metric {
  text-align: left;
}

.case-metric .num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 2px;
}

.case-metric .lbl {
  font-size: 10px;
  color: var(--color-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 860px) {
  .case-results { grid-template-columns: 1fr; }
}

/* SVG service icons */
.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(95, 162, 245, 0.15), rgba(37, 99, 235, 0.08));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.svc-icon svg {
  width: 26px;
  height: 26px;
}

.card:hover .svc-icon {
  transform: scale(1.08) rotate(-3deg);
}

/* Scroll-in animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .dash-chart .line, .dash-chart .area, .dash-chart .dot { animation: none; opacity: 1; stroke-dashoffset: 0; }
  .gradient-text { animation: none; }
  .dash-live::before, .dash-floating.tl, .dash-floating.br { animation: none; }
}

/* Mobile nav (collapse) */
@media (max-width: 640px) {
  .nav-links { gap: 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .container, .container-narrow, .nav { padding-left: 20px; padding-right: 20px; }
}
