/* ==========================================================================
   Hypatia Analytics — design system
   Deep-space navy · glass surfaces · cyan→purple→magenta aurora accents
   Type: Manrope (display) · Geist (text) · Fragment Mono (labels)
   ========================================================================== */

:root {
  --bg: #070d1f;
  --bg-deep: #05091a;
  --bg-raise: #0a1436;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #d9d9da;
  --text-dim: #a1a6b6;
  --white: #ffffff;
  --cyan: #42b9e6;
  --purple: #a652dd;
  --magenta: #e78eff;
  --grad-btn: linear-gradient(270deg, #1765d1 0%, #8522c7 100%);
  --grad-accent: linear-gradient(90deg, #42b9e6 0%, #a652dd 55%, #e78eff 100%);
  --grad-wash: linear-gradient(180deg, rgba(166, 82, 221, 0.14) 0%, rgba(65, 184, 229, 0.14) 100%);
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Geist", "Segoe UI", sans-serif;
  --font-mono: "Fragment Mono", "Consolas", monospace;
  --radius: 16px;
  --radius-pill: 80px;
  --nav-h: 76px;
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Aurora field behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(66, 185, 230, 0.10), transparent 60%),
    radial-gradient(1000px 700px at 88% 10%, rgba(166, 82, 221, 0.10), transparent 60%),
    radial-gradient(800px 800px at 50% 110%, rgba(23, 101, 209, 0.10), transparent 60%),
    var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--magenta); }
ul { list-style: none; }
b, strong { color: var(--white); font-weight: 600; }

::selection { background: rgba(166, 82, 221, 0.45); color: #fff; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.container { width: min(1180px, 92vw); margin: 0 auto; }
section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }

/* --------------------------------------------------------------------------
   Labels, headings, accents
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
}

.grad-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--text-dim); margin-top: 14px; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 13, 31, 0.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.site-nav.scrolled {
  background: rgba(5, 9, 26, 0.85);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: min(1280px, 94vw);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.nav-links a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  transition: right 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--grad-btn);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(133, 34, 199, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(133, 34, 199, 0.5);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 44px; height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 9, 26, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 12px 5vw 22px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; border-bottom: none !important; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 10px 30px rgba(133, 34, 199, 0.35);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(133, 34, 199, 0.5);
}
.btn-ghost {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  color: var(--white);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--cyan);
  background: var(--panel-hover);
  transform: translateY(-3px);
}
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Glass cards
   -------------------------------------------------------------------------- */
.glass {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.glass.lift:hover {
  transform: translateY(-6px);
  border-color: rgba(66, 185, 230, 0.4);
  background: linear-gradient(180deg, rgba(166, 82, 221, 0.10) 0%, rgba(65, 184, 229, 0.10) 100%);
  box-shadow: var(--shadow-card);
}

/* --------------------------------------------------------------------------
   Hero (homepage)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 120px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 13, 31, 0.88) 0%, rgba(7, 13, 31, 0.55) 55%, rgba(7, 13, 31, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 13, 31, 0.35) 0%, rgba(7, 13, 31, 0.2) 55%, var(--bg) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-kicker { margin-bottom: 22px; }
.hero h1 { text-transform: uppercase; max-width: 700px; }
.hero-sub {
  margin-top: 22px;
  max-width: 520px;
  font-size: 1.1rem;
  color: var(--text-dim);
}
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  margin-top: clamp(48px, 7vh, 84px);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.stat-chip {
  padding: 20px 30px;
  min-width: 190px;
}
.stat-chip .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-chip .num::after { content: "+"; margin-left: 2px; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-chip .lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 8px;
}

.hero-cert {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 2.5vw, 42px);
  bottom: clamp(20px, 5vh, 48px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-cert .cert-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(52px, 5.4vw, 78px);
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.hero-cert img { max-height: 100%; width: auto; }
@media (max-width: 767px) {
  .hero-cert { position: static; margin-top: 40px; }
  .hero-cert .cert-card { height: 46px; }
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 0 56px;
}
.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 13, 31, 0.72) 0%, rgba(7, 13, 31, 0.45) 45%, var(--bg) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 16px;
  color: var(--text-dim);
}
.breadcrumb a { color: var(--cyan); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--text-dim); }

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.service-card { padding: 30px; overflow: hidden; display: flex; flex-direction: column; }

/* Icon panel — custom line-art icons on a faint dot grid */
.icon-panel {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(240px 130px at 50% 62%, rgba(66, 185, 230, 0.13), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.5px);
  background-size: auto, 18px 18px;
  overflow: hidden;
}
.icon-panel svg {
  width: 96px;
  height: 96px;
  transition: transform 0.35s ease;
}
.service-card:hover .icon-panel svg { transform: translateY(-4px) scale(1.06); }

.service-card .card-img {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16 / 10;
}
.service-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .card-img img { transform: scale(1.05); }
.service-card h4 { margin-bottom: 10px; }
.service-card p { color: var(--text-dim); font-size: 0.95rem; }

/* Check list */
.check-list { margin-top: 18px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--text);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--grad-wash);
  border: 1px solid rgba(66, 185, 230, 0.35);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.check-list li span { display: block; }

/* Progress bars */
.progress-row { margin-bottom: 24px; }
.progress-row .progress-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.progress-row h6 { font-family: var(--font-body); font-weight: 500; color: var(--white); font-size: 0.95rem; }
.progress-row .pct { font-family: var(--font-mono); font-size: 0.85rem; color: var(--magenta); }
.progress-track {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: var(--grad-accent);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tech / platform tiles */
.tech-tile { padding: 28px; text-align: center; }
.tech-tile .tech-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  min-height: 84px;
  margin-bottom: 8px;
}
.tech-tile .tech-icons img { max-height: 56px; width: auto; }
.tech-tile .tech-logo {
  display: flex;
  justify-content: center;
  margin: 14px 0 18px;
}
.tech-tile .tech-logo img {
  max-height: 54px;
  width: auto;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  padding: 8px 14px;
}
.tech-tile h5 { color: var(--white); }

/* Stats band */
.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(97, 185, 218, 0.08) 0%, rgba(166, 82, 221, 0.08) 100%);
  padding: 52px 0;
}
.stats-band .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 991px) { .stats-band .grid { grid-template-columns: repeat(2, 1fr); } }
.band-stat { text-align: center; }
.band-stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--white);
}
.band-stat .num::after { content: "+"; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band-stat p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Blog cards
   -------------------------------------------------------------------------- */
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-card .blog-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-card .blog-tag {
  position: absolute;
  left: 14px; top: 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(5, 9, 26, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.blog-card .blog-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.blog-card h4 { font-size: 1.15rem; margin-bottom: 12px; }
.blog-card h4 a { color: var(--white); }
.blog-card h4 a:hover { color: var(--magenta); }
.blog-card p { color: var(--text-dim); font-size: 0.92rem; flex: 1; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cyan);
}
.read-more:hover { color: var(--magenta); }
.read-more .arrow { transition: transform 0.25s ease; }
.read-more:hover .arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quote-card { padding: 30px; position: relative; }
.quote-card::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 6px;
}
.quote-card > p { color: var(--text); font-size: 0.97rem; }
.quote-card .who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.quote-card .who img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  background: var(--grad-accent) border-box;
}
.quote-card .who h5 { margin-bottom: 2px; }
.quote-card .who p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.45; }

/* --------------------------------------------------------------------------
   Sidebar layout (product pages)
   -------------------------------------------------------------------------- */
.with-sidebar {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.with-sidebar.right { grid-template-columns: 1fr 320px; }
@media (max-width: 991px) { .with-sidebar, .with-sidebar.right { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 22px; }
@media (max-width: 991px) { .sidebar { position: static; } }

.download-card { padding: 20px 22px; display: block; }
.download-card .dl-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-weight: 500;
}
.download-card .dl-icon {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  background: var(--grad-wash);
  border: 1px solid rgba(66, 185, 230, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Media frame for content images */
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
}
.media-frame img { width: 100%; }
.media-frame.pad { padding: 22px; }
.media-frame.pad img { border-radius: 8px; }
.media-frame.light { background: rgba(255, 255, 255, 0.92); }

/* Horizontal snap gallery */
.snap-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(560px, 84%);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
}
.snap-gallery > * { scroll-snap-align: start; }
.snap-gallery::-webkit-scrollbar { height: 8px; }
.snap-gallery::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 8px; }
.snap-gallery::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 8px; }

/* Two-column feature rows */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
@media (max-width: 991px) { .split { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(66, 185, 230, 0.14), transparent 65%),
    radial-gradient(600px 300px at 80% 100%, rgba(166, 82, 221, 0.16), transparent 65%),
    var(--panel);
}
.cta-band h2 { max-width: 640px; margin: 0 auto 14px; }
.cta-band p { color: var(--text-dim); max-width: 560px; margin: 0 auto 30px; }

/* Founder */
.founder-photo-wrap {
  position: relative;
  width: min(340px, 78vw);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.founder-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-card);
}
.founder-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 2px dashed rgba(166, 82, 221, 0.5);
  z-index: 1;
  animation: spin 40s linear infinite;
}
.founder-photo-wrap::after {
  content: "";
  position: absolute;
  right: -14px; bottom: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--grad-wash);
  z-index: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.founder-role { color: var(--magenta); font-weight: 500; margin-top: 6px; }
.founder-quote {
  margin: 26px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid;
  border-image: var(--grad-accent) 1;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
}

/* Video pop button */
.video-feature {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-feature img { width: 100%; }
.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--grad-btn);
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(133, 34, 199, 0.5);
  animation: pulse 2.4s infinite;
  transition: transform 0.25s ease;
}
.play-btn:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(133, 34, 199, 0.5); }
  70% { box-shadow: 0 0 0 26px rgba(133, 34, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(133, 34, 199, 0); }
}
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 5, 14, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vw;
}
.video-modal.open { display: flex; }
.video-modal video {
  width: min(960px, 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
}
.video-modal .close {
  position: absolute;
  top: 26px; right: 30px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */
.contact-form { display: grid; gap: 18px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 767px) { .contact-form .row2 { grid-template-columns: 1fr; } }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 15px 18px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-dim); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--cyan);
  background: var(--panel-hover);
}
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.contact-form select option { background: var(--bg-raise); color: var(--white); }
.contact-form textarea { min-height: 180px; resize: vertical; }
.form-success { text-align: center; padding: 50px 20px; }
.form-success h2 { margin-bottom: 12px; }
.form-success p { color: var(--text-dim); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: clamp(50px, 7vw, 80px) 0 0;
  margin-top: clamp(40px, 6vw, 80px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--text-dim); max-width: 320px; font-size: 0.93rem; }
.footer-col h4 {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text); font-size: 0.93rem; }
.footer-col a:hover { color: var(--magenta); }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 60px);
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text); }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .founder-photo-wrap::before { animation: none; }
  .play-btn { animation: none; }
}

/* --------------------------------------------------------------------------
   Blog sidebar widgets & article
   -------------------------------------------------------------------------- */
.widget-title {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.widget-box { padding: 24px; }
.search-form { display: flex; gap: 10px; }
.search-form input {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--white);
  font-family: var(--font-body);
  padding: 11px 18px;
  outline: none;
  min-width: 0;
}
.search-form input:focus { border-color: var(--cyan); }
.search-form button {
  background: var(--grad-btn);
  border: none;
  color: #fff;
  width: 44px; height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  cursor: pointer;
}
.recent-post { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.recent-post:last-child { margin-bottom: 0; }
.recent-post img {
  width: 64px; height: 64px;
  flex: 0 0 64px;
  border-radius: 10px;
  object-fit: cover;
}
.recent-post time {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.recent-post h5 { font-size: 0.9rem; line-height: 1.35; }
.recent-post h5 a { color: var(--white); }
.recent-post h5 a:hover { color: var(--magenta); }
.cat-list li { margin-bottom: 6px; }
.cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  border-radius: 10px;
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease;
}
.cat-list a:hover { background: var(--panel-hover); color: var(--white); }
.cat-list .post_count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--grad-wash);
  border: 1px solid rgba(66, 185, 230, 0.35);
  color: var(--cyan);
  min-width: 28px;
  text-align: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.article-body { max-width: 760px; }
.article-body h4 { margin: 34px 0 12px; }
.article-body ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.article-body ul li { margin-bottom: 8px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 20px 0 26px;
}
.article-meta .tag {
  background: var(--grad-wash);
  border: 1px solid rgba(66, 185, 230, 0.35);
  color: var(--cyan);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}
.article-meta .tag:hover { color: var(--magenta); }

/* Utility */
.text-dim { color: var(--text-dim); }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   Publications & technology lists
   -------------------------------------------------------------------------- */
.pub-list { list-style: none; }
.pub-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.55;
}
.pub-list li:last-child { border-bottom: none; }
.pub-list li b { color: var(--white); font-weight: 600; }
.pub-list li b a { color: var(--white); }
.pub-list li b a:hover { color: var(--magenta); }
.pub-list .pub-meta {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.tech-list { list-style: none; }
.tech-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
  font-size: 0.93rem;
}
.tech-list li:last-child { border-bottom: none; }
.blog-card h4 { color: var(--white); }
