:root {
  --bg: #040308;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: #f2f4fb;
  --muted: #aeb5c4;
  --accent: #d6b6ff;
  --accent-strong: #caa0ff;
  --gradient: radial-gradient(circle at 20% 20%, rgba(202, 160, 255, 0.16), transparent 34%), radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.07), transparent 32%), linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  --card-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-shell {
  background-image: var(--gradient);
  padding: 48px clamp(24px, 4vw, 56px) 64px;
  position: relative;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.32;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(202, 160, 255, 0.18), transparent 18%), radial-gradient(circle at calc(100% - var(--mouse-x, 50%)) calc(100% - var(--mouse-y, 50%)), rgba(255, 255, 255, 0.08), transparent 20%);
  filter: blur(48px);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 8px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

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

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(202, 160, 255, 0.2), rgba(12, 7, 22, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  font-size: 16px;
}

.brand-text h1 {
  font-size: 22px;
  letter-spacing: -0.01em;
}

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

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.25);
}

.pill.solid {
  background: linear-gradient(135deg, #d6b6ff, #a86dff);
  color: #0c0814;
  border: none;
}

.pill.ghost {
  background: rgba(202, 160, 255, 0.12);
}

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

.hero-text h2 {
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.lede {
  font-size: 17px;
  margin-bottom: 16px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.cred-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.chip {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 360px;
  border-radius: 26px;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.14), rgba(5, 6, 10, 0.4)), linear-gradient(145deg, rgba(202, 160, 255, 0.14), rgba(255, 255, 255, 0.03));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(5, 6, 10, 0) 55%), repeating-radial-gradient(circle at 50% 50%, rgba(202, 160, 255, 0.05) 0, rgba(202, 160, 255, 0.05) 1px, transparent 1px, transparent 6px);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.5;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.5;
  animation: drift 14s ease-in-out infinite;
}

.bubble-a {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(202, 160, 255, 0.2), transparent 70%);
  top: 12%;
  left: 12%;
}

.bubble-b {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(202, 160, 255, 0.14), transparent 70%);
  bottom: 10%;
  right: 8%;
  animation-duration: 16s;
}

.bubble-c {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  top: 30%;
  right: 20%;
  animation-duration: 18s;
}

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

.floating-card {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: min(280px, 80%);
  padding: 16px;
  border-radius: 14px;
  background: rgba(5, 6, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.headshot {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: radial-gradient(circle at 30% 30%, rgba(202, 160, 255, 0.4), rgba(12, 8, 20, 0.9));
  z-index: 3;
}

.headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-card ul {
  padding-left: 18px;
  margin: 8px 0 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: 24px 0;
}

.section-header h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.card {
  padding: 20px;
  border-radius: 16px;
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.card h4 {
  margin-bottom: 10px;
}

.card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.showcase-card {
  padding: 20px;
  border-radius: 18px;
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.showcase-card h4 {
  margin-bottom: 10px;
}

.showcase-card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.mini-card {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 8px;
}

.icon {
  font-size: 20px;
}

.testimonials {
  margin-top: 8px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.testimonial-card {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.quote {
  color: #e8ecf5;
  margin-bottom: 10px;
}

.person {
  color: var(--muted);
  font-size: 13px;
}

.timeline {
  margin-top: 10px;
}

.footer {
  margin-top: 32px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.1));
  color: #040405;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer .nav-actions .pill.solid {
  background: #040405;
  color: #f6f8fb;
}

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

  .hero-visual {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -18px, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-10px, 14px, 0) scale(1);
  }
}
