/* Gustavo Barbosa — Landing pessoal
   Glass Green (hero) + Finex (dashboard) */

:root {
  --bg-primary: #030712;
  --bg-secondary: #07111F;
  --bg-deep: #030712;
  --bg-navy: #07111F;
  --bg-panel: #0B1F3A;
  --bg-card: rgba(10, 20, 35, 0.78);
  --bg-card-2: rgba(11, 31, 58, 0.72);
  --blue-deep: #0B1F3A;
  --blue-royal: #2563EB;
  --blue-electric: #38BDF8;
  --cyan: #22D3EE;
  --teal: #14B8A6;
  --teal-light: #5EEAD4;
  --accent: var(--blue-electric);
  --accent-soft: rgba(56, 189, 248, 0.15);
  --text: #F8FAFC;
  --text-primary: #F8FAFC;
  --text-muted: #CBD5E1;
  --text-secondary: #CBD5E1;
  --text-dim: #64748B;
  --border-glow: rgba(56, 189, 248, 0.28);
  --border-teal: var(--border-glow);
  --border-white: rgba(255, 255, 255, 0.1);
  --font-display: "Oswald", system-ui, sans-serif;
  --font-body: "Inter", "Manrope", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --container: min(1180px, calc(100% - 2.5rem));
  --nav-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}
body.no-custom-cursor { cursor: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { background: rgba(56, 189, 248, 0.35); color: #fff; }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 5rem 0; scroll-margin-top: 6rem; }
.section--dark { background: var(--bg-primary); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.section-lead {
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

/* Ambient */
.ambient-light,
.ambient-light-2,
.ambient-light-3 {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.ambient-light {
  top: 12%;
  left: 8%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  animation: ambientMove 8s ease-in-out infinite alternate;
}
.ambient-light-2 {
  bottom: 18%;
  right: 6%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  animation: ambientMove2 10s ease-in-out infinite alternate;
}
.ambient-light-3 {
  top: 45%;
  left: 50%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
  animation: ambientMove 12s ease-in-out infinite alternate-reverse;
}
@keyframes ambientMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -40px) scale(1.08); }
}
@keyframes ambientMove2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 50px) scale(0.92); }
}

/* Glow utilities */
.glow-teal { box-shadow: 0 0 20px rgba(56, 189, 248, 0.25), 0 0 40px rgba(56, 189, 248, 0.08); }
.glow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  transform-style: preserve-3d;
}
.glow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(56, 189, 248, 0.14);
}
.glow-border { border: 1px solid var(--border-glow); transition: all 0.3s ease; }
.glow-border:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes beamSpin { to { transform: rotate(360deg); } }
@keyframes linesSlide { 0% { background-position: 0 0; } 100% { background-position: 24px 0; } }
@keyframes shimmer { 0% { left: -100%; } 100% { left: 100%; } }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.animate-fade-in { animation: fadeIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards; opacity: 0; }
.animate-slide-up { animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; opacity: 0; }
.animate-scale-in { animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; opacity: 0; }
.animate-float { animation: float 6s ease-in-out infinite; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Custom cursor */
#cursor-ring,
#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
#cursor-ring {
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(56, 189, 248, 0.85);
  border-radius: 9999px;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.12), 0 0 30px rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(1px);
  transition: width 0.2s, height 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.06s, opacity 0.2s;
  opacity: 0.9;
}
#cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(34, 211, 238, 0.95);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
  opacity: 0.9;
}
@media (max-width: 1023px) {
  #cursor-ring, #cursor-dot, .cursor-segment { display: none !important; }
}
.card-image-hover { overflow: hidden; }
.card-image-hover img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}
.glow-card:hover .card-image-hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* Navbar */
.site-nav-wrap {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1140px, 100%);
  min-height: 64px;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  border-radius: 9999px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(56, 189, 248, 0.1);
}
.site-nav__brand { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.site-nav__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text-primary);
}
.site-nav__badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-nav__links {
  display: none;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.25s, text-shadow 0.25s;
}
.site-nav__links a:hover,
.site-nav__links a:focus-visible {
  color: var(--blue-electric);
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
  outline: none;
}
.site-nav__actions { display: flex; align-items: center; gap: 0.5rem; }
.site-nav__actions .btn-beam { display: none; }
@media (min-width: 900px) {
  .site-nav__actions .btn-beam { display: inline-flex; }
}
.site-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-white);
  border-radius: 9999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.site-nav__mobile {
  display: none;
  position: fixed;
  inset: 5.5rem 1rem auto;
  z-index: 99;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(5, 11, 18, 0.95);
  border: 1px solid var(--border-teal);
  backdrop-filter: blur(16px);
}
.site-nav__mobile.is-open { display: block; }
.site-nav__mobile a {
  display: block;
  padding: 0.65rem 0.5rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-nav__mobile a:last-child { border-bottom: 0; }

@media (min-width: 900px) {
  .site-nav__links { display: flex; }
  .site-nav__toggle { display: none; }
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2563EB, #0891B2, #14B8A6);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.28);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  left: -100%;
  transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glow);
}
.btn-secondary:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.15);
}
.btn-beam {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35), inset 0 0 10px rgba(56, 189, 248, 0.1);
  padding-inline: 1.35rem;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}
.btn-beam .beam-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: -1;
}
.btn-beam .beam-ring::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 0deg, transparent 0 300deg, var(--blue-electric) 360deg);
  animation: beamSpin 3s linear infinite;
}
.btn-beam .beam-ring::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: #050505;
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glow);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.tag:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(56, 189, 248, 0.08));
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.15);
  color: var(--cyan);
}
.tag--cred {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
}
.cred-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}
@media (max-width: 767px) {
  .cred-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cred-scroll::-webkit-scrollbar { display: none; }
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(37, 99, 235, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(56, 189, 248, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 45%, #020408 100%);
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.25rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(8px);
}
.hero-badge span:first-child {
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  background: rgba(37, 99, 235, 0.2);
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.65rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--text-primary);
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #38BDF8, #22D3EE, #14B8A6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 36rem;
  margin: 0 0 1.25rem;
  line-height: 1.7;
}
.hero-authority {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.hero-authority__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--cyan);
}
.hero-authority p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.hero-authority strong { color: var(--blue-electric); }
.hero-quote {
  margin: 0 0 1.5rem;
  padding: 0.25rem 0 0.25rem 1.1rem;
  border-left: 2px solid rgba(56, 189, 248, 0.55);
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
}
.hero-quote cite {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.hero-stat {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, background 0.3s ease;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cyan);
  margin-bottom: 0.15rem;
}

.hero-visual { position: relative; padding: 0.5rem; }
.hero-photo-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: visible;
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.32);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 50px rgba(56, 189, 248, 0.15);
}
.hero-photo-inner {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 580px;
}
.hero-float-tag {
  position: absolute;
  z-index: 3;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cyan);
  background: rgba(3, 7, 18, 0.82);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.hero-float-tag--1 { top: 8%; left: 6%; animation: float 5s ease-in-out infinite; }
.hero-float-tag--2 { top: 38%; right: 6%; animation: float 6.5s ease-in-out infinite 0.5s; }
.hero-float-tag--3 { top: 58%; left: 8%; animation: float 7s ease-in-out infinite 1s; }
.hero-float-tag--4 { bottom: 22%; left: 6%; animation: float 5.5s ease-in-out infinite 0.3s; }
.hero-float-tag--5 { bottom: 8%; right: 8%; animation: float 6s ease-in-out infinite 0.8s; }
.hero-stat:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
}
.hero-stat span { font-size: 0.75rem; color: var(--text-dim); }
.hero-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-photo-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 7, 18, 0.65) 100%);
  pointer-events: none;
}

/* Dashboard (Finex style) */
.dashboard-section {
  position: relative;
  z-index: 1;
  padding: 5rem 0 6rem;
  background: #000;
}
.dashboard-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 30%, rgba(56, 189, 248, 0.04), transparent 50%);
  pointer-events: none;
}
.dashboard-intro { text-align: center; margin-bottom: 2.5rem; }
.dashboard-intro .section-lead { margin-inline: auto; }

.dashboard-mockup {
  position: relative;
  max-width: 72rem;
  margin-inline: auto;
  height: min(680px, 85vh);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-white);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
  display: flex;
  background: #0A0A0C;
}
.dashboard-sidebar {
  display: none;
  width: 240px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  background: #0A0A0C;
  flex-direction: column;
}
.dashboard-sidebar__brand {
  height: 4rem;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.dashboard-sidebar nav { flex: 1; padding: 0 0.75rem; overflow-y: auto; }
.dashboard-sidebar nav p {
  padding: 0.5rem 0.75rem;
  margin: 0.75rem 0 0.25rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4b5563;
}
.dashboard-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.15rem;
  border-radius: 0.5rem;
  font-size: 0.82rem;
  color: #9ca3af;
  transition: background 0.2s, color 0.2s;
}
.dashboard-sidebar a:hover,
.dashboard-sidebar a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.dashboard-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #050505;
  min-width: 0;
}
.dashboard-header {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(16px);
}
.dashboard-header h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.dashboard-header p {
  margin: 0;
  font-size: 0.72rem;
  color: #6b7280;
}
.dashboard-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dashboard-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-electric);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
  animation: pulseDot 2s ease infinite;
}
.dashboard-body {
  flex: 1;
  overflow: auto;
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  align-content: start;
}
.dash-card {
  padding: 1.1rem;
  border-radius: 0.85rem;
  background: #0A0A0C;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.dash-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.dash-card--highlight {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(56, 189, 248, 0.08));
  border-color: rgba(56, 189, 248, 0.35);
}
.dash-card__label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin-bottom: 0.35rem;
}
.dash-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
}
.dash-card p {
  margin: 0;
  font-size: 0.78rem;
  color: #9ca3af;
  line-height: 1.5;
}
.dash-card svg.icon-bg {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  opacity: 0.06;
  width: 48px;
  height: 48px;
}
.dash-progress {
  margin-top: 0.75rem;
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.dash-progress span {
  display: block;
  height: 100%;
  width: 78%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
}

@media (min-width: 768px) {
  .dashboard-sidebar { display: flex; }
  .dash-card--highlight { grid-column: span 2; }
}

/* Feature cards — Open Source LLM / Langfuse pattern */
.cards-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 1.75rem;
  border-radius: 2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.45s ease, border-color 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease;
}
.feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(56, 189, 248, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(56, 189, 248, 0.08);
}
.feature-card__blob {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.feature-card:hover .feature-card__blob { opacity: 0.85; }
.feature-card__blob--blue { top: -10%; right: -5%; background: rgba(37, 99, 235, 0.35); }
.feature-card__blob--cyan { bottom: -10%; left: -5%; background: rgba(34, 211, 238, 0.28); }
.feature-card__blob--teal { top: 40%; left: 35%; background: rgba(20, 184, 166, 0.22); }
.feature-card__blob--royal { top: 0; right: 20%; background: rgba(56, 189, 248, 0.3); }
.feature-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.feature-card__top svg,
.feature-card__top i { width: 28px; height: 28px; color: rgba(255, 255, 255, 0.45); flex-shrink: 0; }
.feature-card__tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(37, 99, 235, 0.12);
  color: rgba(125, 211, 252, 0.95);
  white-space: nowrap;
}
.feature-card__tag--cyan { background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.22); color: #67e8f9; }
.feature-card__tag--teal { background: rgba(20, 184, 166, 0.1); border-color: rgba(20, 184, 166, 0.22); color: #5eead4; }
.feature-card__body { position: relative; z-index: 1; flex: 1; }
.feature-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.88);
  letter-spacing: -0.01em;
}
.feature-card__desc {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.42);
}
.feature-card__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 1.25rem;
  letter-spacing: -0.06em;
}
.feature-card__stat {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  transition: color 0.35s ease;
}
.feature-card:hover .feature-card__stat { color: #bae6fd; }
.feature-card__stat-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.28);
  font-weight: 300;
}
.feature-card__thumb {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  height: 72px;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.9), rgba(3, 7, 18, 0.95));
}
.feature-card__thumb svg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.85;
}

/* Impact numbers */
.impact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.impact-item {
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
}
.impact-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}
.impact-item span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Positioning */
.positioning {
  text-align: center;
  padding: 6rem 0;
  background:
    radial-gradient(ellipse 50% 80% at 50% 50%, rgba(20, 184, 166, 0.08), transparent 65%),
    var(--bg-deep);
}
.positioning .section-title { max-width: 18ch; margin-inline: auto; }
.positioning .highlight {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--blue-electric);
  margin: 1rem 0 1.5rem;
}
.positioning p {
  max-width: 40rem;
  margin-inline: auto;
  color: var(--text-muted);
}

/* Projects */
.project-card {
  padding: 1.75rem;
  border-radius: 1rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}
.project-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.project-card p { margin: 0; color: var(--text-muted); flex: 1; }
.project-card .project-tag {
  margin-top: 1rem;
  align-self: flex-start;
}

/* Talks tags */
.talk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

/* Timeline */
.timeline {
  display: grid;
  gap: 0.85rem;
}
.timeline-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-white);
}
.timeline-year {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--teal);
  min-width: 3rem;
}
.timeline-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* About split */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
.about-photo {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-teal);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
}
.contact-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-teal);
  color: var(--text-muted);
  transition: all 0.25s ease;
}
.contact-link:hover {
  color: var(--teal-light);
  border-color: rgba(20, 184, 166, 0.45);
  transform: translateX(4px);
}
.form-card { padding: 1.75rem; border-radius: 1rem; }
.form-grid {
  display: grid;
  gap: 1rem;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border-white);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
}
.form-grid input:focus-visible,
.form-grid select:focus-visible,
.form-grid textarea:focus-visible {
  outline: 2px solid rgba(20, 184, 166, 0.45);
  border-color: rgba(20, 184, 166, 0.45);
}
.form-grid textarea { min-height: 120px; resize: vertical; }

/* Footer */
.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}
