﻿/* ═══════════════════════════════════════════
   AI PORTFOLIO — PREMIUM CSS
   Aesthetic: Professional Corporate · Purple Dark
   Fonts: Playfair Display + Plus Jakarta Sans
   ═══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg:        #0A0A0C;
  --bg-2:      #0F0F12;
  --bg-card:   #0A0A0C;
  --bg-card-h: #17171C;
  --border:    rgba(255,255,255,0.08);
  --border-p:  rgba(56,189,248,0.35);

  --purple:    #38BDF8;
  --purple-lt: #7DD3FC;
  --purple-dk: #0284C7;
  --purple-bg: rgba(56,189,248,0.10);

  --text:      #F0F4FA;
  --text-2:    #97A3B8;
  --text-3:    #58627A;

  --success:   #10B981;
  --danger:    #EF4444;

  --r:         12px;
  --r-sm:      8px;
  --r-lg:      20px;

  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --shadow-p:  0 8px 32px rgba(56,189,248,0.2);

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --trans: 0.22s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="light"] {
  --bg:        #F5F9FF;
  --bg-2:      #EAF2FF;
  --bg-card:   #F5F9FF;
  --bg-card-h: #EFF6FF;
  --border:    rgba(0,0,0,0.08);
  --border-p:  rgba(2,132,199,0.3);
  --text:      #101828;
  --text-2:    #48566E;
  --text-3:    #8893A8;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-p:  0 8px 32px rgba(2,132,199,0.12);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #060607; /* dark-mode deep-space base — no patches */
}
html[data-theme="light"] { background: var(--bg); }
body {
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── STARS CANVAS ── */
#starsCanvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
[data-theme="light"] #starsCanvas { display: none; }

/* Same background on every other page (canvas injected by js/bg-network.js).
   z-index -1 keeps it under normal page content; the body is made
   transparent so pages that set their own opaque body colour still show it. */
.bg-net-canvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
}
[data-theme="light"] .bg-net-canvas { display: none; }
html.bg-net body { background: transparent; }

/* Sections — semi-transparent so stars show through uniformly */
.section     { background: rgba(6,6,7,0.80);  position: relative; z-index: 1; }
.section-alt { background: rgba(6,6,7,0.80);  position: relative; z-index: 1; }
[data-theme="light"] .section     { background: var(--bg);  position: relative; z-index: 1; }
[data-theme="light"] .section-alt { background: var(--bg);  position: relative; z-index: 1; }

/* About Me — fully transparent so the stars canvas shows through unfiltered */
#about-me { background: transparent; }
[data-theme="light"] #about-me { background: transparent; }

/* Skills — fully transparent so the stars canvas shows through unfiltered */
#skills { background: transparent; }
[data-theme="light"] #skills { background: transparent; }

/* My Product — fully transparent so the stars canvas shows through unfiltered */
#my-product { background: transparent; }
[data-theme="light"] #my-product { background: transparent; }

/* Contact — fully transparent so the stars canvas shows through unfiltered */
#contact { background: transparent; }
[data-theme="light"] #contact { background: transparent; }

/* All fixed UI above canvas */
.navbar, .open-banner, .footer,
#fabResume, #priyaBtn, #priyaPanel { position: relative; z-index: 1; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); border: none; background: none; cursor: pointer; }
input, textarea, select { font-family: var(--font-body); }
img { max-width: 100%; display: block; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  background: linear-gradient(180deg, rgba(12,16,30,0.88) 0%, rgba(8,11,22,0.74) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(125,211,252,0.10);
  transition: var(--trans);
}
/* Gradient hairline along the bottom edge — brighter once the page has scrolled */
.navbar::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,.6) 20%, rgba(167,139,250,.6) 50%, rgba(244,114,182,.55) 80%, transparent);
  opacity: .5; pointer-events: none;
  transition: opacity .3s;
}
.navbar.scrolled {
  background: linear-gradient(180deg, rgba(8,11,22,0.94) 0%, rgba(6,9,18,0.88) 100%);
  box-shadow: 0 12px 36px rgba(0,0,0,.45);
}
.navbar.scrolled::after { opacity: 1; }
/* Reading-progress line (scroll-driven animation; browsers without support just skip it) */
.navbar::before {
  content: '';
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, #38BDF8, #A78BFA, #F472B6);
  transform: scaleX(0); transform-origin: left;
  pointer-events: none; z-index: 1;
}
@supports (animation-timeline: scroll()) {
  .navbar::before { animation: navProgress linear both; animation-timeline: scroll(root block); }
  @keyframes navProgress { to { transform: scaleX(1); } }
}
[data-theme="light"] .navbar {
  background: linear-gradient(180deg, rgba(248,251,255,0.92) 0%, rgba(238,245,255,0.82) 100%);
  border-bottom-color: rgba(2,132,199,0.15);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(245,249,255,0.96);
  box-shadow: 0 10px 30px rgba(15,40,80,.10);
}

.nav-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 24px; height: 64px; gap: 12px;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #0284C7, #38BDF8);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  box-shadow: 0 0 16px rgba(56,189,248,.28);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.nav-brand:hover .brand-mark { transform: scale(1.07) rotate(-3deg); box-shadow: 0 0 24px rgba(56,189,248,.5); }
.brand-mark.sm { width: 28px; height: 28px; font-size: 11px; border-radius: 6px; }
.brand-mark-photo {
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid rgba(125,211,252,.45);
  box-shadow: 0 0 0 3px rgba(56,189,248,.10);
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 700; font-size: 16.5px; letter-spacing: .2px;
  background: linear-gradient(90deg, #FFFFFF 0%, #BAE6FD 55%, #7DD3FC 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
[data-theme="light"] .brand-name {
  background: linear-gradient(90deg, #0B1B33 0%, #0369A1 100%);
  -webkit-background-clip: text; background-clip: text;
}

.nav-menu {
  display: flex; gap: 1px;
  flex: 1; justify-content: center;
  flex-wrap: nowrap;
}
.nav-item {
  position: relative;
  padding: 7px 11px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .15px;
  color: #A7B4CA;
  border-radius: 8px;
  transition: color .22s ease, background .22s ease;
  white-space: nowrap;
}
.nav-item:hover { color: #fff; background: rgba(56,189,248,.08); }
.nav-item.active { color: #BAE6FD; }
/* Underline grows from the centre on hover and stays on the active link.
   The two pill buttons (Ask PRIYA / Discuss) keep their own styling. */
.nav-item:not(.nav-priya-link):not(.nav-connect-btn)::after {
  content: '';
  position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #38BDF8, #A78BFA, #F472B6);
  transform: scaleX(0); transform-origin: center;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.nav-item:not(.nav-priya-link):not(.nav-connect-btn):hover::after,
.nav-item.active:not(.nav-priya-link):not(.nav-connect-btn)::after { transform: scaleX(1); }
[data-theme="light"] .nav-item { color: #48566E; }
[data-theme="light"] .nav-item:hover { color: #0B1B33; background: rgba(2,132,199,.08); }
[data-theme="light"] .nav-item.active { color: #0369A1; }

/* Entrance: links drop in one after another (skipped for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .nav-menu > * { animation: navItemIn .55s cubic-bezier(.22,1,.36,1) backwards; }
  .nav-menu > :nth-child(1) { animation-delay: .05s; }
  .nav-menu > :nth-child(2) { animation-delay: .10s; }
  .nav-menu > :nth-child(3) { animation-delay: .15s; }
  .nav-menu > :nth-child(4) { animation-delay: .20s; }
  .nav-menu > :nth-child(5) { animation-delay: .25s; }
  .nav-menu > :nth-child(6) { animation-delay: .30s; }
  .nav-menu > :nth-child(7) { animation-delay: .35s; }
  .nav-menu > :nth-child(8) { animation-delay: .40s; }
  @keyframes navItemIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}

/* ── Navbar "Products" dropdown ── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 11px;
  font-family: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: .15px; line-height: inherit;
  color: #A7B4CA;
  border-radius: 8px;
  transition: color .22s ease, background .22s ease;
  white-space: nowrap;
  cursor: pointer;
}
.nav-dropdown-trigger:hover { color: #fff; background: rgba(56,189,248,.08); }
.nav-dropdown-chevron { transition: transform 0.2s ease; flex-shrink: 0; }
.nav-dropdown.open .nav-dropdown-chevron { transform: rotate(180deg); }
.nav-dropdown.open .nav-dropdown-trigger { color: #fff; background: rgba(56,189,248,.12); }
[data-theme="light"] .nav-dropdown-trigger { color: #48566E; }
[data-theme="light"] .nav-dropdown-trigger:hover,
[data-theme="light"] .nav-dropdown.open .nav-dropdown-trigger { color: #0B1B33; background: rgba(2,132,199,.08); }

.nav-dropdown-panel {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, -8px);
  width: 320px;
  background: linear-gradient(180deg, rgba(16,22,40,.96), rgba(9,13,26,.96));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(125,211,252,.18);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 30px rgba(56,189,248,.08);
  padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 901;
}
.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  transition: background 0.15s ease;
}
.nav-dd-item:hover { background: rgba(56,189,248,.09); }

.nav-dd-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--dd-accent) 16%, transparent);
}

.nav-dd-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.nav-dd-name { font-size: 13px; font-weight: 600; color: var(--text); }
.nav-dd-tagline {
  font-size: 11px; color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.nav-dd-status {
  flex-shrink: 0;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
}
.nav-dd-status-live { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #6EE7B7; }
.nav-dd-status-soon { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3); color: #FCD34D; }

@media (max-width: 768px) {
  .nav-dropdown-panel {
    position: static; transform: none; width: 100%;
    opacity: 1; visibility: visible; pointer-events: auto;
    max-height: 0; overflow: hidden; padding: 0;
    border: none; box-shadow: none; background: transparent;
    transition: max-height 0.22s ease, padding 0.22s ease;
  }
  .nav-dropdown.open .nav-dropdown-panel {
    transform: none; left: auto;
    max-height: 400px; padding: 4px 0 4px 8px;
  }
}

.nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.theme-toggle:hover { border-color: rgba(125,211,252,.5); color: #BAE6FD; box-shadow: 0 0 16px rgba(56,189,248,.25); }
.theme-toggle:hover .theme-icon { display: inline-block; transform: rotate(25deg); }
.theme-icon { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }

.btn-outline-sm {
  padding: 7px 16px;
  border: 1px solid var(--border-p);
  color: var(--purple-lt);
  border-radius: 7px;
  font-size: 13px; font-weight: 600;
  transition: var(--trans);
}
.btn-outline-sm:hover { background: var(--purple-bg); }

.btn-admin-sm {
  padding: 7px 16px;
  background: var(--purple-dk);
  color: #fff;
  border-radius: 7px;
  font-size: 13px; font-weight: 600;
  transition: var(--trans);
}
.btn-admin-sm:hover { background: var(--purple); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--text-2); border-radius: 2px; transition: var(--trans);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600; font-size: 15px;
  border: none; cursor: pointer;
  transition: var(--trans);
}
.btn-primary:hover { background: var(--purple-lt); box-shadow: var(--shadow-p); }
.btn-primary.w-full { width: 100%; justify-content: center; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-p);
  color: var(--purple-lt);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600; font-size: 15px;
  transition: var(--trans);
}
.btn-secondary:hover { background: var(--purple-bg); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  color: var(--text-2);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500; font-size: 14px;
  transition: var(--trans); cursor: pointer;
}
.btn-outline:hover { border-color: var(--border-p); color: var(--text); }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── SECTION ── */
.section { padding: 100px 0; }
.section-alt { background: var(--bg); }

.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--purple-lt);
  background: var(--purple-bg);
  border: 1px solid var(--border-p);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-title em {
  font-style: italic;
  color: var(--purple-lt);
}
.section-sub { color: var(--text-2); font-size: 16px; max-width: 560px; }
.section-intro {
  color: var(--text-3); font-size: 0.95rem;
  max-width: 580px; line-height: 1.7;
  margin-bottom: 32px;
}

.section-head {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 24px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.section-head .section-title { margin-bottom: 0; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding: 130px 0 90px;
  overflow: hidden;
}
[data-theme="light"] .hero { background: var(--bg); }
.hero-bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 75% 50%, rgba(2,132,199,0.12), transparent),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(56,189,248,0.07), transparent);
  pointer-events: none;
}
/* Workspace photo behind the hero; left side fades to the page colour so the text stays readable */
.hero-bg-photo {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,12,.94) 0%, rgba(10,10,12,.78) 42%, rgba(10,10,12,.30) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%),
    url('../images/hero-workspace.webp') right center / cover no-repeat;
  pointer-events: none;
}
[data-theme="light"] .hero-bg-photo {
  background:
    linear-gradient(90deg, rgba(245,249,255,.96) 0%, rgba(245,249,255,.86) 45%, rgba(245,249,255,.45) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%),
    url('../images/hero-workspace.webp') right center / cover no-repeat;
}
@media (max-width: 860px) {
  .hero-bg-photo {
    background:
      linear-gradient(rgba(10,10,12,.82), rgba(10,10,12,.82)),
      linear-gradient(0deg, var(--bg) 0%, transparent 22%),
      url('../images/hero-workspace.webp') 70% center / cover no-repeat;
  }
  [data-theme="light"] .hero-bg-photo {
    background:
      linear-gradient(rgba(245,249,255,.9), rgba(245,249,255,.9)),
      url('../images/hero-workspace.webp') 70% center / cover no-repeat;
  }
}

.hero-container {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto; padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  align-items: start;
  gap: 64px;
}

.hero-container--no-photo {
  grid-template-columns: 1fr;
  max-width: 980px;
}

.hero-photo-col {
  display: flex;
  justify-content: center;
}

.hero-text-col {
  text-align: left;
}

.availability-badge {
  display: flex; align-items: center; gap: 9px;
  width: fit-content;
  margin: 0 0 26px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.35);
  color: #10B981;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 14.5px; font-weight: 600;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.4);
  animation: heroBadgePulse 2.4s ease-in-out infinite;
}
@keyframes heroBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}
.avail-dot {
  width: 7px; height: 7px;
  background: #10B981;
  border-radius: 50%;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero-heading {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin-bottom: 22px;
}
.heading-line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: heroLineIn 0.8s cubic-bezier(.16,1,.3,1) forwards;
}
.heading-line:nth-child(2) { animation-delay: 0.12s; }
.heading-line.accent {
  background: linear-gradient(100deg, var(--purple-lt) 0%, #38BDF8 50%, var(--purple-lt) 100%);
  background-size: 200% auto;
  background-clip: text; -webkit-background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: heroLineIn 0.8s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes heroLineIn { to { opacity: 1; transform: translateY(0); } }

.hero-tagline {
  font-family: var(--font-mono, monospace);
  font-size: 14.5px; letter-spacing: 0.3px;
  color: var(--purple-lt);
  margin-bottom: 18px;
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards 0.22s;
}

.hero-bio {
  font-size: 18px; color: var(--text-2);
  line-height: 1.7; margin-bottom: 34px; max-width: 560px;
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards 0.35s;
}
.hero-bio-highlight {
  color: var(--text);
  font-weight: 700;
}
@keyframes heroFadeIn { to { opacity: 1; } }

.hero-cta {
  display: flex; gap: 18px; margin-bottom: 40px; flex-wrap: wrap; justify-content: flex-start;
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards 0.5s;
}
.hero-cta .btn-primary {
  font-size: 16px; padding: 16px 30px;
  box-shadow: 0 8px 30px -8px color-mix(in srgb, var(--purple) 55%, transparent);
  transition: transform 0.25s cubic-bezier(.22,.68,0,1.2), box-shadow 0.25s ease;
}
.hero-cta .btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 36px -8px color-mix(in srgb, var(--purple) 65%, transparent); }
.hero-cta .btn-secondary { font-size: 16px; padding: 16px 28px; }

.hero-paths {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-start;
  margin-bottom: 36px;
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards 0.58s;
}
.hero-path {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
  text-decoration: none;
  text-align: left;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--trans), transform 0.25s cubic-bezier(.22,.68,0,1.2);
  flex: 1 1 200px;
  min-width: 180px;
}
.hero-path:hover {
  border-color: color-mix(in srgb, var(--purple) 40%, var(--border));
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.hero-path-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-3);
}
.hero-path-action {
  font-size: 13.5px; font-weight: 600; color: var(--purple-lt);
  line-height: 1.4;
}
@media (max-width: 640px) { .hero-path { flex: 1 1 100%; } }

/* Primary audience emphasis — "For Businesses" gets stronger contrast than
   the other (still fully functional) paths, without resizing the layout. */
.hero-path--primary {
  border-color: color-mix(in srgb, var(--purple-lt) 45%, var(--border));
  background: color-mix(in srgb, var(--purple-lt) 9%, var(--bg-card));
}
.hero-path--primary .hero-path-label { color: var(--purple-lt); }
.hero-path--primary .hero-path-action { color: var(--text); }
.hero-path--primary:hover {
  border-color: var(--purple-lt);
  box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--purple-lt) 45%, transparent), var(--shadow);
}

.hero-metrics {
  display: flex; align-items: stretch; gap: 16px; justify-content: flex-start; flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards 0.65s;
}
.metric {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 22px;
  transition: var(--trans), transform 0.25s cubic-bezier(.22,.68,0,1.2);
}
.metric:hover {
  border-color: color-mix(in srgb, var(--purple) 40%, var(--border));
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.metric-val {
  font-family: var(--font-head);
  font-size: 36px; font-weight: 800;
  color: var(--text); display: block;
  line-height: 1.1;
}
.metric-val::after { content: '+'; color: var(--purple-lt); font-size: 24px; }
.metric-lbl { font-size: 12.5px; color: var(--text-3); letter-spacing: 0.5px; font-weight: 500; }
.metric-sep { display: none; }

/* ── Currently Building widget ── */
.hero-building {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(56,189,248,0.07);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 100px;
  padding: 8px 18px 8px 14px;
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards 0.58s;
  font-size: 13px;
  max-width: 100%;
  overflow: hidden;
}
.hb-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--purple-lt);
  flex-shrink: 0;
  animation: hbPulse 2s ease-in-out infinite;
}
@keyframes hbPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56,189,248,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(56,189,248,0); }
}
.hb-label {
  color: var(--purple-lt); font-weight: 600; white-space: nowrap; flex-shrink: 0;
}
.hb-ticker {
  position: relative; overflow: hidden;
  height: 1.4em; flex: 1; min-width: 0;
}
.hb-item {
  display: block; color: var(--text-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s;
  position: absolute; top: 0; left: 0; right: 0;
}
.hb-item.active { opacity: 1; transform: translateY(0); }
.hb-item a { color: var(--text-2); text-decoration: none; }
.hb-item a:hover { color: var(--purple-lt); }

/* ── Hero profile photo ── */
.hero-photo-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 340px;
}
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 32px;
  background: radial-gradient(circle, rgba(56,189,248,0.30) 0%, rgba(56,189,248,0.10) 55%, transparent 75%);
  filter: blur(8px);
  z-index: 0;
}
.hero-photo-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid rgba(56,189,248,0.6);
  box-shadow: 0 0 0 8px rgba(56,189,248,0.12), 0 16px 40px rgba(0,0,0,0.5);
  position: relative; z-index: 1;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transform: scale(1.35);
  transform-origin: top center;
  display: block;
}

/* PROFILE CARD */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0 0 24px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow), 0 0 0 1px rgba(56,189,248,0.08);
  transition: var(--trans);
  overflow: hidden;
  position: relative;
}
.profile-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple-dk), var(--purple-lt), #06b6d4);
}
.profile-card:hover {
  border-color: rgba(56,189,248,0.45);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.15),
              0 12px 40px rgba(56,189,248,0.20),
              inset 0 1px 0 rgba(255,255,255,0.04);
  transform: translateY(-3px);
  transition: var(--trans);
}

/* Status bar */
.profile-status-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: rgba(16,185,129,0.06);
  border-bottom: 1px solid rgba(16,185,129,0.12);
  font-size: 12px;
}
.profile-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
  animation: pulse-green 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(16,185,129,0.08); }
}
.profile-status-text { color: var(--success); font-weight: 600; flex: 1; }
.profile-location { color: var(--text-3); font-size: 11px; white-space: nowrap; }

/* Photo */
.profile-img-wrap {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 24px auto 16px;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              linear-gradient(135deg, var(--purple-dk), var(--purple-lt), #06b6d4) border-box;
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(56,189,248,0.25);
}
.profile-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.profile-placeholder {
  position: absolute; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--purple-dk), var(--bg-2));
}
.profile-placeholder-initials {
  font-size: 36px; font-weight: 700;
  color: var(--purple-lt);
  font-family: var(--font-head);
}

/* Name & role */
.profile-info { padding: 0 20px; margin-bottom: 16px; }
.profile-info h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.profile-role { font-size: 12px; color: var(--purple-lt); line-height: 1.5; }

/* Mini stats */
.profile-stats-row {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin: 0 20px 16px;
  background: var(--bg-2); border-radius: var(--r);
  border: 1px solid var(--border); overflow: hidden;
}
.profile-stat { flex: 1; padding: 10px 4px; text-align: center; }
.profile-stat-val { display: block; font-size: 18px; font-weight: 700; color: var(--purple-lt); line-height: 1; }
.profile-stat-lbl { display: block; font-size: 10px; color: var(--text-3); margin-top: 3px; letter-spacing: 0.3px; }
.profile-stat-sep { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* Tags */
.profile-tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin: 0 20px 16px; }
.ptag {
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--purple-bg);
  border: 1px solid var(--border-p);
  color: var(--purple-lt);
}

/* Links */
.profile-links { display: flex; gap: 8px; justify-content: center; padding: 0 20px; }
.profile-link {
  flex: 1; text-align: center;
  padding: 8px 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 11.5px; font-weight: 600;
  color: var(--text-2); transition: var(--trans);
  text-decoration: none;
}
.profile-link:hover { border-color: var(--border-p); color: var(--purple-lt); background: var(--purple-bg); }

/* ── DATETIME CARD ── */
.hero-right {
  display: flex; flex-direction: column; gap: 14px;
  align-items: stretch; width: 320px;
  align-self: center;
}
.datetime-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.datetime-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #06b6d4, var(--purple-lt), var(--purple-dk));
}
.dt-top {
  display: flex; align-items: baseline; gap: 8px;
  justify-content: center; margin-bottom: 4px;
}
.dt-clock {
  font-size: 36px; font-weight: 700; letter-spacing: 2px;
  font-family: 'Courier New', monospace;
  background: linear-gradient(135deg, var(--purple-lt), #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dt-ampm {
  font-size: 13px; font-weight: 700;
  color: var(--text-3); letter-spacing: 1px;
}
.dt-date {
  text-align: center; font-size: 12px;
  color: var(--text-3); margin-bottom: 16px;
  letter-spacing: 0.3px;
}

/* Calendar */
.dt-cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.dt-cal-month {
  font-size: 13px; font-weight: 600; color: var(--text-2);
}
.dt-cal-nav {
  background: none; border: 1px solid var(--border);
  color: var(--text-3); width: 26px; height: 26px;
  border-radius: 6px; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans); line-height: 1;
}
.dt-cal-nav:hover { border-color: var(--border-p); color: var(--purple-lt); }
.dt-cal-days-wrap { }
.dt-cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center; font-size: 10px;
  color: var(--text-3); letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.dt-cal-dow span { text-align: center; }
.dt-cal-days {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.dt-cal-day, .dt-cal-empty {
  height: 26px; width: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--text-2);
  border-radius: 6px; cursor: default;
  transition: var(--trans);
}
.dt-cal-day:hover {
  background: var(--purple-bg); color: var(--purple-lt);
}
.dt-today {
  background: linear-gradient(135deg, var(--purple-dk), var(--purple));
  color: #fff !important; font-weight: 700;
  box-shadow: 0 2px 10px rgba(56,189,248,0.4);
}

/* ══════════════════════════════════════════════════
   PROJECTS SECTION — ULTRA PREMIUM
══════════════════════════════════════════════════ */

/* Section floating orbs */
/* ════════════════════════════════════════════
   PROJECTS SECTION — ULTRA PREMIUM
════════════════════════════════════════════ */
.proj-sec { position: relative; overflow: hidden; background: transparent; }
.proj-sec-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.proj-sec-orb { position: absolute; border-radius: 50%; filter: blur(110px); }
.proj-sec-orb1 { width: 600px; height: 600px; background: radial-gradient(circle, #0EA5E9, transparent 70%);
  opacity: .05; top: -150px; right: -120px; }
.proj-sec-orb2 { width: 420px; height: 420px; background: radial-gradient(circle, #7DD3FC, transparent 70%);
  opacity: .045; bottom: -100px; left: -100px; }
.proj-sec-orb3 { width: 300px; height: 300px; background: radial-gradient(circle, #06b6d4, transparent 70%);
  opacity: .035; top: 45%; left: 40%; }
@keyframes pOrb1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-50px,40px)} }
@keyframes pOrb2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,-50px)} }
@keyframes pOrb3 { 0%,100%{transform:translate(-50%,-50%)} 50%{transform:translate(-44%,-44%)} }

/* ── Section header layout ── */
.proj-hd {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 48px;
}
.proj-hd-left { flex: 1; }
.proj-hd-right { flex-shrink: 0; padding-bottom: 4px; }

.proj-sec-sub {
  font-size: 14px; color: var(--text-3); margin-top: 8px; line-height: 1.65;
  max-width: 480px;
}

/* ── Stat row ── */
.proj-stats-row {
  display: flex; align-items: center; gap: 16px; margin-top: 20px;
}
.proj-stat {
  display: flex; flex-direction: column; gap: 2px;
}
.proj-stat-num {
  font-size: 22px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #7DD3FC, #38BDF8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-family: var(--font-head);
}
.proj-stat-lbl {
  font-size: 10px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.proj-stat-div {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
}

/* ── Filter bar — segmented control ── */
.filter-bar {
  display: flex; gap: 2px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 4px;
  backdrop-filter: blur(16px);
}
.filter-btn {
  padding: 8px 16px; border-radius: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2px;
  color: rgba(255,255,255,0.4); cursor: pointer; border: none;
  background: transparent; transition: all 0.2s ease;
  font-family: var(--font-body);
}
.filter-btn:hover { color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.04); }
.filter-btn.active {
  background: linear-gradient(135deg, rgba(2,132,199,0.55) 0%, rgba(14,165,233,0.45) 100%);
  color: #BAE6FD;
  box-shadow: 0 2px 12px rgba(2,132,199,0.3),
              inset 0 1px 0 rgba(255,255,255,0.12),
              inset 0 -1px 0 rgba(0,0,0,0.2);
}

/* ── Projects grid ── */
.projects-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px;
  align-items: stretch;
}

/* ══════════════════════════════════════
   PROJECT CARD — BASE
   Each card gets an accent pair (--pa / --pa2) from the palette below;
   surfaces use theme tokens so light mode works too.
══════════════════════════════════════ */
.project-card {
  --pa: #0284C7; --pa2: #38BDF8;
  position: relative;
  display: flex; flex-direction: column;
  border-radius: 22px;
  background:
    radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--pa) 12%, transparent), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, color-mix(in srgb, var(--pa2) 6%, transparent), transparent 60%),
    linear-gradient(180deg, var(--bg-card-h), var(--bg-card));
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 24px 50px -30px rgba(0,0,0,0.7);
  transition: transform 0.38s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.38s cubic-bezier(0.23,1,0.32,1),
              border-color 0.38s ease;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(20px);
}
/* Accent palette — rotates across cards */
.project-card:nth-child(6n+1) { --pa: #0284C7; --pa2: #38BDF8; }
.project-card:nth-child(6n+2) { --pa: #7C3AED; --pa2: #A855F7; }
.project-card:nth-child(6n+3) { --pa: #059669; --pa2: #34D399; }
.project-card:nth-child(6n+4) { --pa: #C67C1A; --pa2: #E0A94D; }
.project-card:nth-child(6n+5) { --pa: #DB2777; --pa2: #F472B6; }
.project-card:nth-child(6n+6) { --pa: #4F46E5; --pa2: #818CF8; }

/* Scroll entrance — fade up, staggered per card. Triggered once #projectsGrid
   (a .reveal element) scrolls into view; see main.js's generic revealObs. */
.projects-grid.visible .project-card {
  animation: projCardIn 0.6s cubic-bezier(.16,1,.3,1) forwards;
}
.projects-grid.visible .project-card:nth-child(1) { animation-delay: 0.04s; }
.projects-grid.visible .project-card:nth-child(2) { animation-delay: 0.10s; }
.projects-grid.visible .project-card:nth-child(3) { animation-delay: 0.16s; }
.projects-grid.visible .project-card:nth-child(4) { animation-delay: 0.22s; }
.projects-grid.visible .project-card:nth-child(5) { animation-delay: 0.28s; }
.projects-grid.visible .project-card:nth-child(6) { animation-delay: 0.34s; }
.projects-grid.visible .project-card:nth-child(7) { animation-delay: 0.40s; }
.projects-grid.visible .project-card:nth-child(8) { animation-delay: 0.46s; }
@keyframes projCardIn { to { opacity: 1; transform: translateY(0); } }

/* Accent hairline along the top edge */
.project-card::before {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent, var(--pa), var(--pa2), transparent);
  transition: opacity 0.35s;
  opacity: 0.7;
}

/* Shimmer sweep on hover */
.project-card::after {
  content: '';
  position: absolute; top: 0; left: -60%; width: 45%; height: 100%; z-index: 2;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-15deg);
  transition: left 0s;
  pointer-events: none;
}
.project-card:hover::after {
  left: 130%;
  transition: left 0.55s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--pa) 45%, var(--border));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 28px 56px -24px color-mix(in srgb, var(--pa) 45%, transparent),
    0 32px 64px -32px rgba(0,0,0,0.5);
}
.project-card:hover::before { opacity: 1; }
.project-card.hidden { display: none; }

/* ══ FEATURED CARD ══ */
.card-featured {
  border-color: color-mix(in srgb, var(--pa) 35%, var(--border));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 4px color-mix(in srgb, var(--pa) 7%, transparent),
    0 24px 60px -28px color-mix(in srgb, var(--pa) 45%, transparent);
}

/* ── Card number watermark ── */
.card-num-bg {
  position: absolute; top: 14px; right: 18px; z-index: 0;
  font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -2px;
  color: transparent;
  background: linear-gradient(160deg, color-mix(in srgb, var(--pa2) 22%, transparent), transparent 80%);
  -webkit-background-clip: text; background-clip: text;
  pointer-events: none; user-select: none;
  font-family: var(--font-head);
  transition: background 0.35s, transform 0.4s cubic-bezier(.22,.68,0,1.2);
}
.project-card:hover .card-num-bg {
  background: linear-gradient(160deg, color-mix(in srgb, var(--pa2) 40%, transparent), transparent 85%);
  -webkit-background-clip: text; background-clip: text;
  transform: translateY(-3px);
}

/* ── Card inner ── */
.card-inner {
  padding: 24px 24px 14px;
  display: flex; flex-direction: column; gap: 12px; flex: 1;
  position: relative; z-index: 1;
  text-align: left;
}

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

/* ── Icon ── */
.card-icon {
  font-size: 20px; line-height: 1;
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--pa), var(--pa2));
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 10px 22px -8px color-mix(in srgb, var(--pa) 70%, transparent);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease;
}
.project-card:hover .card-icon {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 14px 28px -8px color-mix(in srgb, var(--pa) 85%, transparent);
  transform: scale(1.08) rotate(-5deg);
}

/* ── Featured badge ── */
.card-badge.featured {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; white-space: nowrap;
  background: linear-gradient(135deg, var(--pa), var(--pa2));
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--pa) 70%, transparent);
  font-family: var(--font-body);
}

/* ── Category tag (regular cards) ── */
.card-cat {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px; white-space: nowrap;
  background: color-mix(in srgb, var(--pa) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pa) 28%, transparent);
  color: color-mix(in srgb, var(--pa2) 75%, var(--text));
  font-family: var(--font-body);
}

/* ── Title ── */
.card-title {
  font-size: 1.28rem; font-weight: 700; line-height: 1.25;
  color: var(--text); letter-spacing: -0.01em;
  font-family: var(--font-head);
  text-align: left;
  margin-top: 4px;
}
.project-card:hover .card-title {
  background: linear-gradient(90deg, var(--pa2), var(--text) 130%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* ── Description ── */
.card-desc {
  font-size: 13.5px; color: var(--text-2); line-height: 1.7; margin: 0;
  font-family: var(--font-body);
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* ── Key capability line ── */
.card-capability {
  display: flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--pa2) 85%, var(--text));
  margin: 0;
}
.card-capability-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--pa2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pa2) 20%, transparent);
}

/* ── Stack chips ── */
.card-stack { display: flex; gap: 6px; flex-wrap: wrap; text-align: left; }
.card-stack span {
  font-size: 10.5px; font-weight: 600; padding: 4px 10px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--text) 4%, transparent);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all 0.18s ease; letter-spacing: 0.02em;
  font-family: var(--font-body);
}
.card-stack span:hover {
  background: color-mix(in srgb, var(--pa) 16%, transparent);
  border-color: var(--pa);
  color: var(--text); transform: translateY(-1px);
}

/* ── Card footer / CTAs ── */
.card-links {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  padding: 14px 24px 20px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
  text-align: left;
}
.card-link {
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
  padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--text) 3%, transparent);
  color: var(--text-2);
  transition: all 0.2s ease;
  font-family: var(--font-body);
}
.card-link:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--pa) 50%, var(--border));
  transform: translateY(-1px);
}
.card-link.primary {
  color: #fff;
  border-color: rgba(255,255,255,0.16);
  background: linear-gradient(135deg, var(--pa), var(--pa2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 18px -10px color-mix(in srgb, var(--pa) 75%, transparent);
  display: inline-flex; align-items: center; gap: 5px;
}
.card-link.primary:hover {
  color: #fff;
  filter: brightness(1.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 12px 24px -10px color-mix(in srgb, var(--pa) 85%, transparent);
  transform: translateY(-2px);
}
.card-cta-arrow { display: inline-block; transition: transform 0.2s ease; }
.card-link.primary:hover .card-cta-arrow { transform: translateX(3px); }
.card-link.ai-ask {
  color: #ffffff;
  border-color: #38BDF8;
  background: #0284C7;
}
.card-link.ai-ask:hover {
  background: #075985;
  border-color: #7DD3FC;
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(56,189,248,0.35);
  transform: translateY(-2px);
}

/* ── SKILLS ── */
.skills-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.skill-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
}
.skill-group-title {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 24px;
}
.skill-bars { display: flex; flex-direction: column; gap: 18px; }
.skill-row {}
.skill-meta { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.skill-pct { color: var(--purple-lt); font-weight: 600; font-size: 13px; }
.skill-track {
  height: 6px; background: var(--border);
  border-radius: 100px; overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--purple-dk), var(--purple-lt));
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

.tech-cloud { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.tech-tag {
  padding: 6px 12px;
  background: var(--purple-bg);
  border: 1px solid var(--border-p);
  border-radius: 100px;
  font-size: 12.5px; font-weight: 500;
  color: var(--purple-lt);
  transition: var(--trans), transform 0.2s cubic-bezier(.22,.68,0,1.2);
  opacity: 0;
  transform: translateY(6px);
}
.tech-categories.visible .tech-tag { animation: techTagIn 0.4s ease forwards; }
.tech-categories.visible .tech-cat-card:nth-child(1) .tech-tag { animation-delay: 0.3s; }
.tech-categories.visible .tech-cat-card:nth-child(2) .tech-tag { animation-delay: 0.35s; }
.tech-categories.visible .tech-cat-card:nth-child(3) .tech-tag { animation-delay: 0.40s; }
.tech-categories.visible .tech-cat-card:nth-child(4) .tech-tag { animation-delay: 0.45s; }
.tech-categories.visible .tech-cat-card:nth-child(5) .tech-tag { animation-delay: 0.50s; }
.tech-categories.visible .tech-cat-card:nth-child(6) .tech-tag { animation-delay: 0.55s; }
@keyframes techTagIn { to { opacity: 1; transform: translateY(0); } }
.tech-cat-card .tech-tag:hover {
  background: color-mix(in srgb, var(--cat-accent) 18%, transparent);
  border-color: var(--cat-accent);
  color: var(--cat-accent);
  transform: translateY(-2px);
}
.tech-tag:hover { background: rgba(56,189,248,0.16); }

/* Primary chips — stronger emphasis for the 8 core technologies; interactive
   (hover/tap reveals a short description + which shipped project uses it). */
.stack-chip-wrap { position: relative; display: inline-flex; }
.tech-tag--primary {
  font: inherit;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 15px 7px 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--cat-accent) 14%, var(--purple-bg));
  border-color: color-mix(in srgb, var(--cat-accent) 42%, var(--border-p));
  display: inline-flex; align-items: center; gap: 6px;
}
.tech-tag--primary::after {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--cat-accent);
  opacity: 0.7;
}
.tech-tag--primary:hover,
.tech-tag--primary:focus-visible,
.tech-tag--primary.is-open {
  background: color-mix(in srgb, var(--cat-accent) 22%, transparent);
  border-color: var(--cat-accent);
  color: var(--cat-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--cat-accent) 60%, transparent);
}
.tech-tag--primary:focus-visible { outline: 2px solid var(--cat-accent); outline-offset: 2px; }

/* Shared floating tooltip — single instance, repositioned via JS next to
   whichever chip is active. Lives outside .tech-categories so a transformed
   ancestor never hijacks its fixed positioning. */
.tech-tip {
  position: fixed;
  max-width: min(260px, 84vw);
  background: var(--bg-card);
  border: 1px solid var(--border-p);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: none;
  z-index: 500;
  text-align: left;
}
.tech-tip.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.tech-tip-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.55; margin: 0 0 6px; }
.tech-tip-proof { font-size: 11px; color: var(--tip-accent, var(--purple-lt)); font-weight: 700; margin: 0; }
.tech-tip-proof:empty { display: none; }

/* ── KNOWLEDGE HUB ── */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  cursor: pointer; transition: var(--trans);
  position: relative; overflow: hidden;
}
.topic-card:hover {
  border-color: rgba(56,189,248,0.50);
  background: linear-gradient(145deg, #1c1a2e 0%, #191830 100%);
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.15),
              0 8px 28px rgba(56,189,248,0.20),
              inset 0 1px 0 rgba(255,255,255,0.04);
}
.topic-card.expanded { border-color: var(--border-p); background: var(--bg-card-h); }

.topic-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.topic-icon-name { display: flex; align-items: center; gap: 10px; }
.topic-icon { font-size: 22px; }
.topic-name { font-size: 16px; font-weight: 700; }
.topic-arrow { color: var(--text-3); font-size: 12px; transition: transform 0.2s; }
.topic-card.expanded .topic-arrow { transform: rotate(90deg); color: var(--purple-lt); }

.topic-desc { font-size: 13px; color: var(--text-2); margin-bottom: 14px; }

.topic-bar { height: 3px; background: var(--border); border-radius: 100px; margin-bottom: 14px; overflow: hidden; }
.topic-bar-fill { height: 100%; background: linear-gradient(90deg, var(--purple-dk), var(--purple-lt)); width: 0; transition: width 1.2s ease; border-radius: 100px; }

.topic-links { display: flex; gap: 8px; }
.tlink {
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
  background: var(--purple-bg); border: 1px solid var(--border-p);
  color: var(--purple-lt); transition: var(--trans);
}
.tlink:hover { background: rgba(56,189,248,0.2); }

.topic-expand {
  display: none; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.topic-card.expanded .topic-expand { display: block; }
.topic-expand h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-3); margin-bottom: 8px; }
.topic-expand p, .topic-expand li { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.topic-expand ul { padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }

/* ── TIMELINE ── */
.timeline {
  position: relative; max-width: 800px;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}

.tl-item {
  position: relative; margin-bottom: 48px;
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tl-item.visible { opacity: 1; transform: translateX(0); }

/* Premium timeline items override the base tl-item */
.tl-pitem { transform: translateY(24px) !important; }
.tl-pitem.visible { transform: translateY(0) !important; }

.tl-dot {
  position: absolute; left: -35px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--purple);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px var(--border-p);
}

.tl-date {
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--purple-lt); text-transform: uppercase;
  margin-bottom: 8px;
}

.tl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 28px;
  transition: var(--trans);
}
.tl-card:hover {
  border-color: rgba(56,189,248,0.50);
  background: linear-gradient(145deg, #1d1b30 0%, #191830 100%);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.15),
              0 6px 24px rgba(56,189,248,0.18),
              inset 0 1px 0 rgba(255,255,255,0.04);
  transform: translateY(-3px);
  transition: var(--trans);
}
.tl-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.tl-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; }
.tl-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tl-tags span {
  font-size: 11px; padding: 3px 10px; border-radius: 100px;
  background: var(--purple-bg); border: 1px solid var(--border-p); color: var(--purple-lt);
}

/* ── CHATBOT ── */
.chat-shell {
  display: grid; grid-template-columns: 260px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  max-height: 620px;
}

.chat-sidebar {
  border-right: 1px solid var(--border);
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 24px;
  overflow-y: auto; background: var(--bg-2);
}
.chat-sidebar::-webkit-scrollbar { width: 4px; }
.chat-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.sidebar-section {}
.sidebar-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
}

.model-list { display: flex; flex-direction: column; gap: 4px; }
.model-opt {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-2);
  transition: var(--trans); cursor: pointer; text-align: left;
  background: none; width: 100%;
}
.model-opt:hover { background: var(--bg-card); color: var(--text); }
.model-opt.active { background: var(--purple-bg); border: 1px solid var(--border-p); color: var(--purple-lt); }

.provider-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.5px;
  padding: 2px 6px; border-radius: 4px; text-transform: uppercase;
}
.provider-badge.groq { background: rgba(6,182,212,0.15); color: #06B6D4; }
.provider-badge.openai { background: rgba(16,163,127,0.15); color: #10A37F; }
.model-speed { font-size: 11px; color: var(--text-3); margin-left: auto; }

.clear-hist {
  font-size: 11px; color: var(--text-3); cursor: pointer;
  background: none; border: none; transition: var(--trans); font-family: var(--font-body);
}
.clear-hist:hover { color: var(--danger); }

.history-list { display: flex; flex-direction: column; gap: 2px; }
.history-empty { font-size: 12px; color: var(--text-3); text-align: center; padding: 12px 0; }

.history-group-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--text-3);
  padding: 10px 6px 4px; margin-top: 4px;
}
.history-group-label:first-child { padding-top: 2px; margin-top: 0; }

/* History item — div container with main button + action buttons */
.history-item {
  display: flex; align-items: center;
  border-radius: 7px; transition: var(--trans);
  position: relative; overflow: hidden;
}
.history-item:hover { background: var(--bg-card); }
.history-item.active {
  background: rgba(124,58,237,0.12);
  border-left: 2px solid var(--purple-lt);
}
.history-item-main {
  flex: 1; min-width: 0;
  display: flex; align-items: center;
  padding: 7px 6px 7px 8px;
  background: none; border: none; cursor: pointer;
  font-size: 12.5px; color: var(--text-2);
  font-family: var(--font-body); text-align: left;
  transition: var(--trans);
}
.history-item:hover .history-item-main { color: var(--text); }
.history-item.active .history-item-main { color: var(--purple-lt); }
.history-item-text {
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Action buttons (pin / rename / delete) — hidden until hover */
.history-item-actions {
  display: flex; align-items: center; gap: 1px;
  opacity: 0; transition: var(--trans);
  padding-right: 4px; flex-shrink: 0;
}
.history-item:hover .history-item-actions { opacity: 1; }
.hist-action-btn {
  background: none; border: none; cursor: pointer;
  padding: 3px 5px; border-radius: 4px;
  font-size: 12px; color: var(--text-3);
  transition: var(--trans); line-height: 1;
}
.hist-action-btn:hover { background: var(--bg-card-h); color: var(--text); }
.hist-action-btn.del-btn:hover { color: var(--danger); background: rgba(239,68,68,0.1); }
.hist-action-btn.pin-btn.pinned { color: var(--purple-lt); opacity: 1; }

.quick-btns { display: flex; flex-direction: column; gap: 6px; }
.quick-btns button {
  padding: 8px 12px; border-radius: 7px;
  font-size: 12px; color: var(--text-2);
  border: 1px solid var(--border);
  text-align: left; cursor: pointer; transition: var(--trans);
  background: none; font-family: var(--font-body);
}
.quick-btns button:hover { border-color: var(--border-p); color: var(--text); }

/* CHAT MAIN */
.chat-main { display: flex; flex-direction: column; min-height: 0; }

.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.chat-status { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.status-indicator {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10B981; animation: pulse-green 2s infinite;
}
.new-chat-btn {
  font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-2); cursor: pointer; transition: var(--trans); font-family: var(--font-body);
}
.new-chat-btn:hover { border-color: var(--border-p); color: var(--purple-lt); }

.chat-messages {
  flex: 1; overflow-y: auto;
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 20px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.chat-msg { display: flex; gap: 12px; align-items: flex-start; animation: fadeUp 0.25s ease; }
.chat-msg.user { flex-direction: row-reverse; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.msg-avatar {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.ai-avatar { background: linear-gradient(135deg, var(--purple-dk), var(--purple-lt)); color: #fff; }
.user-avatar { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-2); }

.msg-body {
  max-width: 520px; padding: 14px 16px;
  border-radius: 4px 12px 12px 12px;
  font-size: 14px; line-height: 1.7;
}
.chat-msg.ai .msg-body {
  background: linear-gradient(135deg, rgba(22,20,42,0.95) 0%, rgba(18,16,36,0.95) 100%);
  border: 1px solid rgba(14,165,233,0.22);
  box-shadow: 0 2px 12px rgba(14,165,233,0.10),
              inset 0 1px 0 rgba(255,255,255,0.03);
}
.chat-msg.user .msg-body {
  background: linear-gradient(135deg, rgba(2,132,199,0.40) 0%, rgba(56,189,248,0.28) 100%);
  border: 1px solid rgba(56,189,248,0.38);
  border-radius: 12px 4px 12px 12px;
  box-shadow: 0 2px 14px rgba(56,189,248,0.16),
              inset 0 1px 0 rgba(255,255,255,0.05);
}
.msg-body p { margin: 0; }
.msg-body strong { color: var(--purple-lt); }
.msg-body em { color: var(--text-2); }
.msg-body code { font-family: ui-monospace, Consolas, monospace; font-size: 0.9em; padding: 1px 6px; border-radius: 5px; background: rgba(56,189,248,0.10); border: 1px solid var(--border); }

/* Markdown tables in AI replies (rendered by chat.js renderMdTables) */
.md-table-wrap { overflow-x: auto; margin: 10px 0; border: 1px solid var(--border); border-radius: 10px; }
.md-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.5; }
.md-table th, .md-table td { padding: 8px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.md-table th { background: rgba(56,189,248,0.08); color: var(--purple-lt); font-weight: 600; white-space: nowrap; }
.md-table tr:last-child td { border-bottom: none; }

.typing-dots { display: flex; gap: 4px; padding: 4px 0; }
.typing-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-3); animation: bounce 1.2s infinite ease;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%,100% { transform: translateY(0); opacity:.4; } 50% { transform: translateY(-4px); opacity:1; } }

.chat-input-row {
  display: flex; gap: 10px;
  padding: 16px 20px; border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.chat-input {
  flex: 1; background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 9px; color: var(--text);
  padding: 12px 16px; font-size: 14px; outline: none; transition: var(--trans);
}
.chat-input:focus { border-color: var(--border-p); }
.chat-input::placeholder { color: var(--text-3); }
.chat-send-btn {
  background: var(--purple); color: #fff;
  padding: 12px 22px; border-radius: 9px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: var(--trans); font-family: var(--font-body);
}
.chat-send-btn:hover { background: var(--purple-lt); }
.chat-send-btn:disabled { opacity: 0.5; pointer-events: none; }

/* ── CONTACT ── */
/* ── LEGACY contact classes (kept for JS refs) ── */
.contact-layout { display: none; }
.contact-form   { display: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.form-field input, .form-field textarea {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-sm); color: var(--text);
  padding: 12px 14px; font-size: 14px; outline: none; transition: var(--trans); resize: none;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--border-p); }
.form-status { font-size: 14px; text-align: center; padding: 10px; border-radius: 7px; display: none; }
.form-status.success { background: rgba(16,185,129,0.1); color: #10B981; border: 1px solid rgba(16,185,129,0.3); display: block; }
.form-status.error   { background: rgba(239,68,68,0.1); color: #EF4444; border: 1px solid rgba(239,68,68,0.3); display: block; }
.ct-form .form-status {
  font-size: 13.5px; font-weight: 600; padding: 13px 16px; border-radius: 12px;
  opacity: 0; transform: translateY(-4px);
  animation: ctStatusIn 0.35s cubic-bezier(0.4,0,0.2,1) forwards;
}
.ct-form .form-status.success {
  background: rgba(16,185,129,0.10);
  box-shadow: inset 0 1px 0 rgba(16,185,129,0.15), 0 4px 16px -4px rgba(16,185,129,0.25);
}
.ct-form .form-status.error {
  background: rgba(239,68,68,0.10);
  box-shadow: inset 0 1px 0 rgba(239,68,68,0.15), 0 4px 16px -4px rgba(239,68,68,0.25);
}
@keyframes ctStatusIn { to { opacity: 1; transform: translateY(0); } }
.mt-24 { margin-top: 24px; display: inline-flex; }
.resume-dl-group { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   ULTRA PREMIUM CONTACT SECTION
   ═══════════════════════════════════════════ */

.ct-header { text-align: center; margin-bottom: 64px; }
.ct-subtitle {
  font-size: 17px; color: var(--text-2); line-height: 1.75;
  max-width: 500px; margin: 12px auto 0;
}

/* ── Bento grid ── */
.ct-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

/* ── Left column: contact info ── */
.ct-info { display: flex; flex-direction: column; gap: 14px; }

.ct-avail-card, .ct-info-link {
  position: relative; border-radius: 16px;
  background: linear-gradient(145deg, rgba(18,16,36,0.95) 0%, rgba(14,12,28,0.95) 100%);
  border: 1px solid rgba(14,165,233,0.20);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.03);
  transition: all 0.24s cubic-bezier(0.4,0,0.2,1);
}
.ct-avail-card:hover, .ct-info-link:hover {
  border-color: rgba(56,189,248,0.45);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.15),
              0 10px 28px rgba(56,189,248,0.16),
              inset 0 1px 0 rgba(255,255,255,0.05);
}

.ct-avail-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }

/* ── Availability card ── */
.ct-avail-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
  animation: ctDotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes ctDotPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.25); }
  50%     { box-shadow: 0 0 0 6px rgba(16,185,129,0.08); }
}
.bt-avail-body { display: flex; flex-direction: column; gap: 6px; }
.ct-avail-text { font-size: 13.5px; font-weight: 600; color: #34d399; }
.ct-avail-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 100px;
  background: rgba(16,185,129,0.15); color: #6ee7b7;
  text-transform: uppercase; width: fit-content;
}

/* ── Contact links ── */
.ct-info-link {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; overflow: hidden;
}
.ct-info-link::before {
  content: '';
  position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(90deg, rgba(14,165,233,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.25s;
}
.ct-info-link:hover::before { opacity: 1; }
.ct-card-li:hover { border-color: rgba(10,102,194,0.55); }
.ct-card-gh:hover { border-color: rgba(200,200,200,0.35); }

.ct-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(145deg, rgba(14,165,233,0.20) 0%, rgba(56,189,248,0.12) 100%);
  border: 1px solid rgba(14,165,233,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #7DD3FC; flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(14,165,233,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: all 0.22s;
}
.ct-card:hover .ct-card-icon {
  background: linear-gradient(145deg, rgba(56,189,248,0.30) 0%, rgba(14,165,233,0.20) 100%);
  box-shadow: 0 4px 16px rgba(56,189,248,0.25);
}
.ct-card-li .ct-card-icon  { color: #38BDF8; }
.ct-card-gh .ct-card-icon  { color: #e2e8f0; }

.ct-card-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ct-card-label { font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-3); }
.ct-card-value { font-size: 14px; font-weight: 500; color: var(--text); }

.ct-card-arrow {
  font-size: 18px; color: var(--text-3);
  transition: all 0.22s; flex-shrink: 0;
}
.ct-info-link:hover .ct-card-arrow { color: var(--purple-lt); transform: translateX(4px); }

/* ── Quick facts row ── */
.ct-facts-row {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(18,16,36,0.95) 0%, rgba(14,12,28,0.95) 100%);
  border: 1px solid rgba(14,165,233,0.20);
}
.ct-fact {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-2);
}
.ct-fact-icon { font-size: 16px; flex-shrink: 0; }

/* ── Form panel ── */
@property --ct-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.ct-form-panel {
  position: relative; border-radius: 22px;
  background: linear-gradient(160deg, #0f0d25 0%, #0c0a1e 55%, #09071a 100%);
  box-shadow: 0 20px 64px rgba(0,0,0,0.55),
              inset 0 1px 0 rgba(56,189,248,0.08);
  padding: 2px;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.4s ease;
}
.ct-form-panel::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--ct-angle),
    rgba(56,189,248,0.75), rgba(124,58,237,0.55), transparent 35%,
    transparent 65%, rgba(56,189,248,0.75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.ct-form-panel:focus-within::before { opacity: 1; }
.ct-form-panel:focus-within { box-shadow: 0 24px 72px rgba(0,0,0,0.6), 0 0 48px -12px rgba(56,189,248,0.35); }

.ct-form-panel-inner {
  position: relative; z-index: 2;
  border-radius: 20px;
  background: linear-gradient(160deg, #0f0d25 0%, #0c0a1e 55%, #09071a 100%);
  padding: 40px;
}
.ct-form-glow {
  position: absolute; pointer-events: none;
  top: -60px; right: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.14) 0%, transparent 70%);
  z-index: 0;
}
.ct-form-title {
  position: relative; z-index: 1;
  font-size: 18px; font-weight: 700; color: var(--text);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(14,165,233,0.15);
  display: flex; align-items: center; gap: 10px;
}
.ct-form-title::before {
  content: '✉';
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(14,165,233,0.2), rgba(56,189,248,0.15));
  border: 1px solid rgba(14,165,233,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 10px rgba(14,165,233,0.15);
}
.ct-form { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.ct-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: flex; flex-direction: column; gap: 7px; }
.ct-field label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--text-3);
  transition: color 0.22s ease;
}
.ct-field:focus-within label { color: var(--purple-lt); }
.ct-field input, .ct-field textarea, .ct-field select {
  background: rgba(8,11,20,0.7);
  border: 1px solid rgba(14,165,233,0.20);
  border-radius: 12px; color: var(--text);
  padding: 13px 16px; font-size: 14px;
  outline: none; transition: all 0.25s cubic-bezier(0.4,0,0.2,1); resize: none;
  font-family: var(--font-body);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.02);
}
.ct-field input:hover, .ct-field textarea:hover, .ct-field select:hover {
  border-color: rgba(56,189,248,0.35);
}
.ct-field input:focus, .ct-field textarea:focus, .ct-field select:focus {
  border-color: rgba(56,189,248,0.65);
  background: rgba(14,10,28,0.85);
  box-shadow: 0 0 0 4px rgba(56,189,248,0.14),
              inset 0 2px 8px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}
.ct-field input::placeholder, .ct-field textarea::placeholder { color: var(--text-3); }
.ct-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2338bdf8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.ct-field select option {
  /* Some browsers (notably Chrome/Edge on Windows) ignore a custom
     background on <option> and force the native popup to a light
     background regardless — declaring a light-text color here would then
     render invisible (light-on-light). Dark text stays readable either way. */
  background: #ffffff;
  color: #0f172a;
}

.ct-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 17px 28px;
  border-radius: 14px; border: none; cursor: pointer;
  font-size: 15px; font-weight: 700; letter-spacing: 0.3px;
  font-family: var(--font-body); color: #fff;
  background: linear-gradient(135deg, #075985 0%, #38BDF8 50%, #7C3AED 100%);
  background-size: 200% auto;
  box-shadow: 0 4px 20px rgba(56,189,248,0.40), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden;
}
.ct-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.14) 50%, transparent 70%);
  transform: translateX(-100%) skewX(-12deg);
  transition: none;
}
.ct-submit:hover:not(:disabled) {
  background-position: right center;
  box-shadow: 0 8px 34px rgba(56,189,248,0.55), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px) scale(1.01);
}
.ct-submit:active:not(:disabled) { transform: translateY(0) scale(0.99); }
.ct-submit:disabled { opacity: 0.75; cursor: not-allowed; }
.ct-submit:hover:not(:disabled)::before { animation: shimmerSweep 0.65s ease forwards; }
.ct-submit-icon { font-size: 18px; transition: transform 0.22s; }
.ct-submit:hover:not(:disabled) .ct-submit-icon { transform: translateX(4px); }

.form-status {
  position: relative; z-index: 1;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

@media (max-width: 900px) {
  .ct-split { grid-template-columns: minmax(0, 1fr); }
  .ct-split > * { min-width: 0; }
  .ct-form-panel-inner { padding: 28px 22px; }
  .ct-form-grid { grid-template-columns: 1fr; }
}

/* ── NAV CONNECT BUTTON ── primary call-to-action */
.nav-connect-btn {
  background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 55%, #7DD3FC 100%);
  border: 1px solid rgba(186,230,253,0.55);
  border-radius: 20px;
  padding: 6px 16px 6px 18px !important;
  color: #04182B !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 0.2px;
  font-family: var(--font-body);
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: all 0.24s cubic-bezier(0.4,0,0.2,1) !important;
  box-shadow: 0 4px 18px rgba(56,189,248,0.35), inset 0 1px 0 rgba(255,255,255,0.35);
}
.nav-connect-btn::before {           /* light sweep every few seconds */
  content: '';
  position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: npShine 5s ease-in-out 1.5s infinite;
}
.nav-connect-btn::after {
  content: '→';
  display: inline-block; margin-left: 7px;
  transition: transform .2s ease;
}
.nav-connect-btn:hover {
  background: linear-gradient(135deg, #38BDF8 0%, #7DD3FC 100%) !important;
  border-color: #fff !important;
  color: #021019 !important;
  box-shadow: 0 8px 28px rgba(56,189,248,0.55), inset 0 1px 0 rgba(255,255,255,0.5);
  transform: translateY(-1px);
}
.nav-connect-btn:hover::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .nav-connect-btn::before { animation: none; } }

/* ═══════════════════════════════════════
   PRIYA AI MEGA DROPDOWN
═══════════════════════════════════════ */
.nav-priya-toggle {
  display: flex; align-items: center; gap: 5px; cursor: pointer;
  background: linear-gradient(135deg,rgba(14,165,233,.15),rgba(236,72,153,.12));
  border: 1px solid rgba(14,165,233,.35); border-radius: 20px;
  padding: 5px 14px !important; font-weight: 600; user-select: none;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.nav-priya-toggle:hover,
.nav-priya-dd.open .nav-priya-toggle {
  background: linear-gradient(135deg,rgba(14,165,233,.28),rgba(236,72,153,.22));
  border-color: rgba(236,72,153,.5);
  box-shadow: 0 0 18px rgba(14,165,233,.25);
}
.nav-priya-spark { font-size: 11px; color: #4ade80; display: inline-block; }
.nav-priya-chevron { font-size: 9px; opacity: .7; transition: transform .2s; }
.nav-priya-dd.open .nav-priya-chevron { transform: rotate(180deg); }

.nav-priya-mega {
  position: absolute; top: calc(100% + 14px); right: -20px;
  width: 580px; max-width: calc(100vw - 32px);
  background: rgba(7,7,20,.94); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(14,165,233,.25); border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.7), 0 0 0 1px rgba(14,165,233,.1);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px) scale(.98);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 400;
}
.nav-priya-dd:hover .nav-priya-mega,
.nav-priya-dd.open  .nav-priya-mega {
  opacity: 1; pointer-events: all; transform: translateY(0) scale(1);
}
.npm-glow-ring {
  position: absolute; inset: -1px; border-radius: 20px; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0%, #0EA5E9 20%, #ec4899 40%, #38BDF8 60%, transparent 80%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
  opacity: .4;
}
.npm-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(14,165,233,.12);
  background: linear-gradient(135deg,rgba(14,165,233,.07),rgba(236,72,153,.04));
}
.npm-header-left { display: flex; align-items: center; gap: 12px; }
.npm-logo-wrap {
  position: relative; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
}
.npm-logo-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(135deg,#0EA5E9,#ec4899); opacity: .18;
}
.npm-logo-icon {
  font-size: 15px; position: relative; z-index: 1;
  background: linear-gradient(135deg,#38BDF8,#f472b6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.npm-title {
  font-size: 14px; font-weight: 800; letter-spacing: 1.5px;
  background: linear-gradient(90deg,#7DD3FC,#38BDF8,#f472b6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.npm-subtitle { font-size: 10px; color: #475569; margin-top: 1px; }
.npm-live-pill {
  display: flex; align-items: center; gap: 5px;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2);
  border-radius: 100px; padding: 3px 10px;
  font-size: 10px; font-weight: 600; color: #86efac;
}
.npm-live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
  animation: npmDotPulse 1.5s ease-in-out infinite;
}
@keyframes npmDotPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(.65)} }
.npm-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(14,165,233,.07); padding: 1px;
}
.npm-feat {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 15px; cursor: pointer; position: relative; overflow: hidden;
  background: rgba(7,7,20,.72); transition: background .18s;
}
.npm-feat::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(14,165,233,.08),rgba(236,72,153,.05));
  opacity: 0; transition: opacity .18s;
}
.npm-feat:hover { background: rgba(15,15,38,.88); }
.npm-feat:hover::before { opacity: 1; }
.npm-feat-icon-wrap {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; position: relative; z-index: 1;
  transition: transform .2s;
}
.npm-feat:hover .npm-feat-icon-wrap { transform: scale(1.12) rotate(-4deg); }
.npm-col-blue   { background:rgba(59,130,246,.14); border:1px solid rgba(59,130,246,.24); }
.npm-col-violet { background:rgba(56,189,248,.14); border:1px solid rgba(56,189,248,.24); }
.npm-col-green  { background:rgba(34,197,94,.11);  border:1px solid rgba(34,197,94,.22); }
.npm-col-amber  { background:rgba(245,158,11,.11); border:1px solid rgba(245,158,11,.22); }
.npm-col-pink   { background:rgba(236,72,153,.11); border:1px solid rgba(236,72,153,.22); }
.npm-col-cyan   { background:rgba(6,182,212,.11);  border:1px solid rgba(6,182,212,.22); }
.npm-feat-body  { flex:1; min-width:0; position:relative; z-index:1; }
.npm-feat-title { font-size:11.5px; font-weight:700; color:#e2e8f0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.npm-feat-desc  { font-size:10px; color:#44546a; margin-top:3px; line-height:1.45; }
.npm-feat:hover .npm-feat-desc { color:#64748b; }
.npm-badge {
  flex-shrink:0; font-size:9px; font-weight:700; padding:2px 7px; border-radius:100px;
  letter-spacing:.3px; display:flex; align-items:center; gap:4px;
  white-space:nowrap; position:relative; z-index:1; margin-top:2px; align-self:flex-start;
}
.npm-badge-purple { background:rgba(56,189,248,.14); border:1px solid rgba(56,189,248,.28); color:#BAE6FD; }
.npm-badge-indigo { background:rgba(14,165,233,.14);  border:1px solid rgba(14,165,233,.28); color:#7DD3FC; }
.npm-badge-live   { background:rgba(34,197,94,.09);   border:1px solid rgba(34,197,94,.24); color:#86efac; }
.npm-badge-dot    { width:5px; height:5px; border-radius:50%; background:#22c55e; animation:npmDotPulse 1.5s ease-in-out infinite; }
.npm-cta {
  padding: 13px 20px;
  border-top: 1px solid rgba(14,165,233,.1);
  background: linear-gradient(135deg,rgba(14,165,233,.04),rgba(236,72,153,.02));
}
.npm-cta-btn {
  width:100%; padding:9px 20px; border-radius:11px; border:none;
  background: linear-gradient(135deg,#0EA5E9 0%,#38BDF8 50%,#ec4899 100%);
  color:#fff; font-size:12.5px; font-weight:700; letter-spacing:.3px; cursor:pointer;
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center; gap:8px;
  box-shadow: 0 4px 18px rgba(14,165,233,.38);
  transition: transform .2s, box-shadow .2s;
}
.npm-cta-btn:hover { transform:translateY(-1px); box-shadow:0 6px 28px rgba(14,165,233,.52); }
.npm-cta-shine {
  position:absolute; inset:0;
  background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.18) 50%,transparent 62%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.npm-cta-btn:hover .npm-cta-shine { transform: translateX(200%); }

@media (max-width: 900px) {
  .nav-priya-mega { width: calc(100vw - 20px); right: -8px; }
  .npm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-priya-mega {
    position: static; transform: none !important; opacity: 1;
    pointer-events: none; display: none;
    border-radius: 12px; margin-top: 6px; width: 100%;
  }
  .nav-priya-dd.open .nav-priya-mega { display: block; pointer-events: all; }
  .npm-glow-ring { display: none; }
  .npm-grid { grid-template-columns: 1fr; }
}

/* ── NAV PRIYA LINK ── */
.nav-priya-link {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, rgba(56,189,248,.16), rgba(167,139,250,.16) 60%, rgba(244,114,182,.14));
  border: 1px solid rgba(125,211,252,.38);
  border-radius: 20px;
  padding: 4px 15px 4px 11px !important;
  color: #E0F2FE !important;
  font-weight: 700;
  transition: background .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.nav-priya-link:hover {
  background: linear-gradient(135deg, rgba(56,189,248,.3), rgba(167,139,250,.28) 60%, rgba(244,114,182,.24));
  border-color: rgba(186,230,253,.6);
  box-shadow: 0 0 20px rgba(56,189,248,.35);
  color: #fff !important;
  transform: translateY(-1px);
}
/* A soft light sweep crosses the pill every few seconds */
.nav-priya-link::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: npShine 5s ease-in-out infinite;
}
@keyframes npShine { 0%, 60% { left: -70%; } 100% { left: 140%; } }
.nav-priya-link .nav-priya-spark {
  width: 15px; height: 15px; flex: none;
  filter: drop-shadow(0 0 4px rgba(56,189,248,.6));
  animation: npTwinkle 2.8s ease-in-out infinite;
}
@keyframes npTwinkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.18) rotate(20deg); }
}
[data-theme="light"] .nav-priya-link {
  background: linear-gradient(135deg, rgba(2,132,199,.12), rgba(124,58,237,.10) 60%, rgba(219,39,119,.08));
  border-color: rgba(2,132,199,.4);
  color: #0B3A5B !important;
}
[data-theme="light"] .nav-priya-link:hover { color: #021019 !important; box-shadow: 0 0 18px rgba(2,132,199,.25); }
@media (prefers-reduced-motion: reduce) {
  .nav-priya-link::after,
  .nav-priya-link .nav-priya-spark { animation: none; }
}

/* ═══════════════════════════════════════
   PRIYA AI FEATURES SECTION (premium)
═══════════════════════════════════════ */
.priya-sec { position: relative; overflow: hidden; }
.priya-sec-bg { position: absolute; inset: 0; pointer-events: none; }
.priya-sec-orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .18;
}
.priya-sec-orb1 { width: 500px; height: 500px; background: #0EA5E9; top: -120px; left: -100px; }
.priya-sec-orb2 { width: 400px; height: 400px; background: #ec4899; bottom: -80px; right: -60px; }
.priya-sec-orb3 { width: 300px; height: 300px; background: #06b6d4; top: 40%;  left: 50%; }
@keyframes psoMove1 { 0%,100%{transform:translate(0,0)}   50%{transform:translate(40px,30px)} }
@keyframes psoMove2 { 0%,100%{transform:translate(0,0)}   50%{transform:translate(-30px,-40px)} }
@keyframes psoMove3 { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,20px)} }

/* Header logo */
.priya-sec-header {
  display: flex; align-items: center; gap: 24px; margin-bottom: 28px;
}
.priya-sec-logo-wrap {
  position: relative; width: 64px; height: 64px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.priya-sec-logo-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, #0EA5E9, #38BDF8, #ec4899, #0EA5E9);
  opacity: .6;
  -webkit-mask: radial-gradient(farthest-side,transparent calc(100% - 2px),#fff 0);
  mask: radial-gradient(farthest-side,transparent calc(100% - 2px),#fff 0);
}
.priya-sec-logo-ring2 {
  position: absolute; inset: 5px; border-radius: 50%;
  background: linear-gradient(135deg,rgba(14,165,233,.15),rgba(236,72,153,.1));
  border: 1px solid rgba(14,165,233,.2);
}
.priya-sec-logo-icon {
  position: relative; z-index: 1; font-size: 22px;
  background: linear-gradient(135deg,#38BDF8,#f472b6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Status bar */
.priya-sec-statusbar {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(14,165,233,.07); border: 1px solid rgba(14,165,233,.18);
  border-radius: 100px; padding: 7px 18px; margin-bottom: 40px;
  font-size: 12px; color: #64748b;
}
.priya-sec-stat { display: flex; align-items: center; gap: 6px; }
.priya-sec-stat-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 8px #22c55e; animation: psDotPulse 1.8s ease-in-out infinite;
}
@keyframes psDotPulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.priya-sec-divider { width: 1px; height: 14px; background: rgba(14,165,233,.2); }
.priya-sec-stat #priyaSecRepos { color: #7DD3FC; font-weight: 700; }

/* Cards grid */
.priya-sec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 44px;
}
.priya-sec-card {
  position: relative; overflow: hidden; cursor: pointer;
  background: linear-gradient(145deg, rgba(10,10,30,.7), rgba(15,15,40,.6));
  border: 1px solid rgba(14,165,233,.18); border-radius: 20px;
  padding: 24px 22px 20px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  backdrop-filter: blur(10px);
}
[data-theme="light"] .priya-sec-card {
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(240,247,255,.85));
  border: 1px solid rgba(14,165,233,.22);
  box-shadow: 0 4px 20px rgba(14,165,233,.08);
}
.priya-sec-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14,165,233,.45);
  box-shadow: 0 16px 48px rgba(14,165,233,.18), 0 0 0 1px rgba(14,165,233,.1);
}
.priya-sc-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(14,165,233,.15) 0%, transparent 65%);
  transition: opacity .25s;
}
.priya-sec-card:hover .priya-sc-glow { opacity: 1; }

/* Card top row */
.priya-sc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.priya-sc-icon {
  width: 44px; height: 44px; border-radius: 12px; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.priya-sec-card:hover .priya-sc-icon { transform: scale(1.1) rotate(-4deg); }
.psci-blue   { background:rgba(59,130,246,.14);  border:1px solid rgba(59,130,246,.25); }
.psci-violet { background:rgba(56,189,248,.14);  border:1px solid rgba(56,189,248,.25); }
.psci-green  { background:rgba(34,197,94,.12);   border:1px solid rgba(34,197,94,.22); }
.psci-amber  { background:rgba(245,158,11,.12);  border:1px solid rgba(245,158,11,.22); }
.psci-pink   { background:rgba(236,72,153,.12);  border:1px solid rgba(236,72,153,.22); }
.psci-cyan   { background:rgba(6,182,212,.12);   border:1px solid rgba(6,182,212,.22); }

/* Badges */
.priya-sc-badge {
  font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 100px;
  letter-spacing: .3px; display: flex; align-items: center; gap: 5px;
}
.psb-purple { background:rgba(56,189,248,.14); border:1px solid rgba(56,189,248,.28); color:#BAE6FD; }
.psb-indigo { background:rgba(14,165,233,.14);  border:1px solid rgba(14,165,233,.28); color:#7DD3FC; }
.psb-live   { background:rgba(34,197,94,.1);    border:1px solid rgba(34,197,94,.25); color:#86efac; }
.psb-dot    { width:6px; height:6px; border-radius:50%; background:#22c55e; }

/* Card text */
.priya-sc-title {
  font-size: 15px; font-weight: 700; color: #e2e8f0;
  margin: 0 0 8px; line-height: 1.3;
}
[data-theme="light"] .priya-sc-title { color: #1A1830; }
.priya-sc-desc {
  font-size: 13px; color: #475569; line-height: 1.6; margin: 0 0 16px;
}
.priya-sec-card:hover .priya-sc-desc { color: #64748b; }
[data-theme="light"] .priya-sc-desc { color: #48566E; }
[data-theme="light"] .priya-sec-card:hover .priya-sc-desc { color: #1A1830; }

/* Tech tags row */
.priya-sc-footer { display: flex; flex-wrap: wrap; gap: 5px; }
.priya-sc-tag {
  font-size: 10px; font-weight: 500; padding: 2px 8px; border-radius: 100px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  color: #475569; transition: color .18s, border-color .18s;
}
.priya-sec-card:hover .priya-sc-tag { color: #64748b; border-color: rgba(255,255,255,.12); }
[data-theme="light"] .priya-sc-tag {
  background: rgba(2,132,199,.06); border-color: rgba(2,132,199,.15); color: #48566E;
}
[data-theme="light"] .priya-sec-card:hover .priya-sc-tag { color: #1A1830; border-color: rgba(2,132,199,.3); }

/* Ask PRIYA — specific jobs */
.priya-sec-jobs { text-align: center; margin-bottom: 28px; }
.priya-sec-jobs-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: #64748b; margin: 0 0 6px;
}
[data-theme="light"] .priya-sec-jobs-label { color: #48566E; }
.priya-sec-jobs-sub {
  font-size: 13px; color: #475569; margin: 0 0 14px;
}
[data-theme="light"] .priya-sec-jobs-sub { color: #64748b; }
.priya-sec-jobs-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.priya-job-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  border-radius: 100px; padding: 10px 18px;
  font-size: 13.5px; font-weight: 600; color: #cbd5e1; cursor: pointer;
  transition: transform .2s cubic-bezier(.22,.68,0,1.2), border-color .2s, background .2s, color .2s;
}
.priya-job-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(56,189,248,.45);
  background: rgba(56,189,248,.08);
  color: #fff;
}
[data-theme="light"] .priya-job-btn {
  background: rgba(2,132,199,.05); border-color: rgba(2,132,199,.18); color: #1A1830;
}
[data-theme="light"] .priya-job-btn:hover {
  border-color: rgba(2,132,199,.4); background: rgba(2,132,199,.1);
}
.priya-job-icon { font-size: 15px; }
@media (max-width: 640px) { .priya-job-btn { flex: 1 1 100%; justify-content: center; } }

/* CTA */
.priya-sec-cta { text-align: center; }
.priya-sec-cta-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 50%, #ec4899 100%);
  border: none; border-radius: 50px; padding: 15px 40px;
  font-size: 16px; font-weight: 700; color: #fff; cursor: pointer;
  overflow: hidden; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 28px rgba(14,165,233,.4);
}
.priya-sec-cta-btn:hover { transform: scale(1.04); box-shadow: 0 10px 40px rgba(14,165,233,.55); }
.priya-sec-cta-shine {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,transparent 35%,rgba(255,255,255,.22) 50%,transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.priya-sec-cta-btn:hover .priya-sec-cta-shine { transform: translateX(200%); }
.priya-sec-cta-ring {
  position: absolute; inset: -2px; border-radius: 50px;
  background: conic-gradient(from 0deg,#0EA5E9,#ec4899,#06b6d4,#0EA5E9);
  opacity: 0; transition: opacity .2s; z-index: -1;
}
.priya-sec-cta-btn:hover .priya-sec-cta-ring { opacity: .4; }
.priya-sec-cta-hint { margin-top: 14px; font-size: 13px; color: #334155; }
.priya-sec-cta-hint strong { color: #7DD3FC; }

@media (max-width: 900px) { .priya-sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) {
  .priya-sec-grid { grid-template-columns: 1fr; }
  .priya-sec-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .priya-sec-statusbar { flex-wrap: wrap; border-radius: 12px; }
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 40px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-3);
}
.footer-brand { font-weight: 600; color: var(--text-2); }

/* ── FOOTER (expanded, multi-column) ── */
.footer-lg { padding: 64px 40px 0; }
.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-col-brand { padding-right: 20px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand-photo {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; border: 1.5px solid var(--border-p);
}
.footer-col-brand .footer-brand { font-size: 16px; font-family: var(--font-head); }
.footer-tagline {
  font-size: 13.5px; color: var(--text-3); line-height: 1.65;
  max-width: 340px; margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-2); transition: var(--trans);
}
.footer-social a:hover { color: var(--purple-lt); border-color: var(--border-p); transform: translateY(-2px); }

.footer-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 16px;
}
.footer-link {
  display: block; font-size: 13.5px; color: var(--text-2);
  margin-bottom: 12px; transition: color .18s;
  width: fit-content;
}
.footer-link:hover { color: var(--purple-lt); }
.footer-link-static { color: var(--text-3); cursor: default; }
.footer-link-static:hover { color: var(--text-3); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--text-3);
  flex-wrap: wrap; gap: 8px;
}

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-col-brand { grid-column: 1 / -1; padding-right: 0; }
}
@media (max-width: 560px) {
  .footer-lg { padding: 48px 20px 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(28px) scale(0.985);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

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

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .card-num-bg { font-size: 44px; }
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-layout { grid-template-columns: 1fr; }
  .proj-hd { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 1100px) {
  .skills-layout { grid-template-columns: 1fr; }
  .proj-hd { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 900px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { width: 100%; max-width: 360px; margin: 0 auto; }
  .profile-card, .datetime-card { width: 100%; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .chat-shell { grid-template-columns: 1fr; max-height: none; }
  .chat-sidebar { display: none; }
}
@media (max-width: 1100px) {
  .brand-name { display: none; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .nav-menu.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: linear-gradient(180deg, rgba(12,16,30,.99), rgba(8,11,22,.99)); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); padding: 18px 20px 22px; border-bottom: 1px solid rgba(125,211,252,.18); box-shadow: 0 24px 50px rgba(0,0,0,.5); gap: 4px; z-index: 899; }
  .nav-menu.open .nav-item { padding: 11px 14px; font-size: 14.5px; }
  .nav-item:not(.nav-priya-link):not(.nav-connect-btn)::after { display: none; }
  .nav-item.active { background: rgba(56,189,248,.12); }
  [data-theme="light"] .nav-menu.open { background: rgba(245,249,255,.98); }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero-container { padding: 0 20px; }
  .projects-grid { grid-template-columns: 1fr !important; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── CHAT LINKS (clickable links in AI responses) ── */
.chat-link {
  color: var(--purple-lt);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(125,211,252,0.3);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.chat-link:hover {
  color: #fff;
  border-bottom-color: var(--purple-lt);
}

/* ══════════════════════════════════════════
   NAME CARD — ABOUT SECTION
══════════════════════════════════════════ */
.about-hd { max-width: 640px; margin: 0 auto 8px; text-align: center; }
.about-hd .section-intro { margin-left: auto; margin-right: auto; }

.namecard-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 40px 0 16px;
}

/* ── Left panel ── */
.namecard-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  background: transparent;
  border: none;
  border-radius: 24px;
  padding: 52px 32px;
  position: sticky;
  top: 90px;
  box-shadow: none;
  transition: var(--trans);
}
.namecard-left .namecard-chat { width: 100%; }
.namecard-left .nc-chat-msgs  { max-height: 420px; min-height: 280px; }
.namecard-left .race-card     { width: 100%; }
.namecard-photo-ring {
  width: 130px; height: 130px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--purple-dk), #ec4899);
  flex-shrink: 0;
}
.namecard-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--bg-card);
}
.namecard-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}
.namecard-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--purple-lt);
  margin: 0;
  letter-spacing: 0.02em;
}
.namecard-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
  border-top: none;
  border-bottom: none;
  padding: 14px 0;
  width: 100%;
}
.namecard-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.namecard-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: var(--trans);
}
.namecard-social-btn:hover {
  border-color: var(--border-p);
  color: var(--text);
  background: transparent;
}
.namecard-social-li:hover { color: #0a66c2; border-color: #0a66c2; }

/* ── Right panel ── */
.namecard-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.namecard-bio {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  padding: 0;
  background: transparent;
  border: none;
  border-left: 2px solid var(--border-p);
  padding-left: 24px;
}
.namecard-bio strong { color: var(--purple-lt); font-weight: 700; }

.namecard-caps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.namecard-cap {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 4px;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  transition: var(--trans);
}
.namecard-caps .namecard-cap:last-child { border-bottom: 1px solid var(--border); }
.namecard-cap:hover {
  border-color: var(--border);
  background: transparent;
  box-shadow: none;
  transform: none;
  padding-left: 12px;
}
.namecard-cap-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.9;
  transition: var(--trans);
}
.namecard-cap:hover .namecard-cap-icon { transform: scale(1.1); }
.namecard-cap-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  transition: color .2s;
}
.namecard-cap:hover .namecard-cap-title { color: var(--purple-lt); }
.namecard-cap-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Mini PRIYA chat in namecard ── */
/* ── Mini PRIYA Chat — Ultra Premium ── */
.namecard-chat {
  width: 100%;
  position: relative;
  background: #06040f;
  border: 1px solid transparent;
  border-radius: 20px;
  margin-top: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(14,165,233,0.15),
              0 12px 48px rgba(0,0,0,0.70),
              0 0 80px rgba(14,165,233,0.06);
}

/* Animated conic border ring */
.nc-border-ring {
  position: absolute; inset: 0; border-radius: 20px; pointer-events: none; z-index: 0;
  background: conic-gradient(from 0deg, rgba(14,165,233,0.7), rgba(56,189,248,0.4), rgba(236,72,153,0.3), rgba(6,182,212,0.3), rgba(14,165,233,0.7));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}

/* Floating orbs */
.nc-bg-orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.nc-bg-orb1 {
  width: 160px; height: 160px;
  top: -40px; left: -40px;
  background: radial-gradient(circle, rgba(14,165,233,0.22) 0%, transparent 70%);
}
.nc-bg-orb2 {
  width: 120px; height: 120px;
  bottom: 20px; right: -30px;
  background: radial-gradient(circle, rgba(56,189,248,0.18) 0%, transparent 70%);
}
.nc-bg-orb3 {
  width: 80px; height: 80px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(6,182,212,0.10) 0%, transparent 70%);
}
@keyframes ncOrb1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(20px,15px) scale(1.15); }
  66%     { transform: translate(-10px,25px) scale(0.9); }
}
@keyframes ncOrb2 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(-18px,-12px) scale(1.2); }
  70%     { transform: translate(12px,-20px) scale(0.85); }
}
@keyframes ncOrb3 {
  0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: 1.0; transform: translate(-50%,-50%) scale(1.3); }
}

/* Subtle dot grid overlay */
.nc-bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(56,189,248,0.12) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* All inner content above bg layers */
.nc-chat-header,
.nc-chat-msgs,
.nc-chat-input-row { position: relative; z-index: 1; }

/* ── Race Mode card ── */
.race-card {
  width: 100%;
  position: relative;
  background: transparent;
  border: none;
  border-radius: 20px;
  margin-top: 4px;
  overflow: hidden;
  box-shadow: none;
}
.race-titlebar,
.race-body,
.race-footer { position: relative; z-index: 1; }

.race-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 20px;
  border-bottom: none;
}
.race-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.race-dot-r { background: #ef4444; }
.race-dot-y { background: #f59e0b; }
.race-dot-g { background: #22c55e; }
.race-titlebar-label {
  margin-left: 8px; flex: 1;
  font-size: 12.5px; color: var(--text-3);
  font-family: var(--font-mono, monospace);
}
.race-live-badge {
  font-size: 10px; font-weight: 800; letter-spacing: 0.8px;
  padding: 3px 10px; border-radius: 100px;
  background: rgba(250,204,21,0.15); color: #facc15;
  border: 1px solid rgba(250,204,21,0.35);
}

.race-body { padding: 18px 20px 8px; display: flex; flex-direction: column; gap: 16px; }

.race-prompt { display: flex; align-items: flex-start; gap: 10px; }
.race-prompt-avatar {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.race-prompt-text { font-size: 13.5px; color: var(--text); line-height: 1.5; padding-top: 2px; }

.race-row {
  padding-bottom: 14px; border-bottom: none;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.race-row.race-row-active,
.race-row.race-row-done { opacity: 1; transform: translateY(0); }
.race-row:last-child { border-bottom: none; }

.race-row-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.race-model-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.race-model-badge {
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px;
}
.race-badge-green  { background: rgba(52,211,153,0.14); color: #34d399; border: 1px solid rgba(52,211,153,0.30); }
.race-badge-purple { background: rgba(139,140,246,0.16); color: #a5b4fc; border: 1px solid rgba(139,140,246,0.32); }
.race-badge-orange { background: rgba(251,146,60,0.14); color: #fb923c; border: 1px solid rgba(251,146,60,0.30); }
.race-toks { margin-left: auto; font-size: 11px; color: var(--text-3); }

.race-answer {
  font-size: 13px; color: var(--text-2); line-height: 1.6;
  min-height: calc(1.6em * 3);
}
.race-answer::after {
  content: '▋'; color: var(--purple-lt);
  animation: raceCursorBlink 0.85s step-end infinite;
}
.race-row.race-row-done .race-answer::after { content: ' ✓'; color: #34d399; animation: none; }
@keyframes raceCursorBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.race-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 20px; border-top: none;
}
.race-footer-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.8px;
  color: var(--text-3); text-transform: uppercase; flex-shrink: 0;
}
.race-usage-bar {
  flex: 1; display: flex; gap: 4px; height: 6px; max-width: 220px;
}
.race-usage-seg {
  flex: 1; border-radius: 4px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.race-usage-seg.race-usage-filled { transform: scaleX(1); }
.race-usage-green  { background: #34d399; }
.race-usage-purple { background: #8b8cf6; }
.race-usage-orange { background: #fb923c; }

.nc-chat-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(10,14,26,0.92) 0%, rgba(8,11,20,0.88) 100%);
  border-bottom: 1px solid rgba(14,165,233,0.18);
  backdrop-filter: blur(12px);
}

/* Animated gradient border on photo */
.nc-header-photo {
  width: 52px; height: 52px;
  min-width: 52px; min-height: 52px;
  border-radius: 50%;
  object-fit: cover; object-position: center;
  display: block; flex-shrink: 0;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 2px rgba(14,165,233,0.5),
              0 0 12px rgba(56,189,248,0.4);
}

.nc-header-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nc-header-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; }
.nc-header-tag  {
  font-size: 11px; font-weight: 500;
  background: linear-gradient(90deg, #7DD3FC, #38BDF8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: inline-block;
}
.nc-tag-cursor {
  -webkit-text-fill-color: #38BDF8;
  animation: ncCursorBlink 0.85s step-end infinite;
}
@keyframes ncCursorBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

.nc-chat-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.2);
  animation: ncDotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes ncDotPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(74,222,128,0.2); }
  50%     { box-shadow: 0 0 0 6px rgba(74,222,128,0.06); }
}

.nc-chat-msgs {
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 10px;
  max-height: 224px; overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(14,165,233,0.3) transparent;
  background: transparent;
}
.nc-chat-msgs::-webkit-scrollbar { width: 3px; }
.nc-chat-msgs::-webkit-scrollbar-thumb { background: rgba(14,165,233,0.35); border-radius: 4px; }

.nc-msg {
  font-size: 14px; line-height: 1.6;
  padding: 10px 14px; border-radius: 14px;
  max-width: 92%; word-break: break-word;
  position: relative; animation: ncMsgPop 0.25s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes ncMsgPop {
  from { opacity: 0; transform: scale(0.88) translateY(6px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.nc-bot {
  background: linear-gradient(135deg, rgba(30,24,62,0.80) 0%, rgba(20,16,48,0.70) 100%);
  border: 1px solid rgba(14,165,233,0.28);
  color: var(--text);
  border-bottom-left-radius: 3px;
  align-self: flex-start;
  box-shadow: 0 2px 12px rgba(14,165,233,0.14), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
}
.nc-user {
  background: linear-gradient(135deg, rgba(2,132,199,0.55) 0%, rgba(56,189,248,0.38) 100%);
  border: 1px solid rgba(125,211,252,0.38);
  color: #f1f0f7;
  border-bottom-right-radius: 3px;
  align-self: flex-end; text-align: right;
  box-shadow: 0 2px 14px rgba(56,189,248,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
}

.nc-typing {
  display: flex; gap: 5px; align-items: center;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(30,24,62,0.75) 0%, rgba(20,16,48,0.65) 100%);
  border: 1px solid rgba(14,165,233,0.22);
  border-radius: 14px; border-bottom-left-radius: 3px;
  align-self: flex-start; backdrop-filter: blur(4px);
}
.nc-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, #38BDF8, #38BDF8);
  animation: ncDot 1.2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(129,140,248,0.5);
}
.nc-typing span:nth-child(2) { animation-delay: .22s; }
.nc-typing span:nth-child(3) { animation-delay: .44s; }
@keyframes ncDot {
  0%,80%,100% { transform: scale(0.5); opacity: 0.35; }
  40%         { transform: scale(1.1); opacity: 1; }
}

.nc-chat-input-row {
  display: flex;
  border-top: 1px solid rgba(14,165,233,0.15);
  background: linear-gradient(90deg, rgba(10,7,22,0.92) 0%, rgba(8,5,18,0.92) 100%);
  backdrop-filter: blur(12px);
}
.nc-input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 14px 16px; font-size: 14px; color: var(--text);
  font-family: var(--font-body);
}
.nc-input::placeholder { color: var(--text-3); }
.nc-send-btn {
  padding: 0 18px;
  background: linear-gradient(135deg, rgba(14,165,233,0.25) 0%, rgba(56,189,248,0.18) 100%);
  border: none; border-left: 1px solid rgba(14,165,233,0.18);
  color: #7DD3FC; font-size: 18px; cursor: pointer;
  transition: all .22s; position: relative; overflow: hidden;
}
.nc-send-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(56,189,248,0.4), rgba(236,72,153,0.25));
  opacity: 0; transition: opacity .22s;
}
.nc-send-btn:hover { color: #fff; }
.nc-send-btn:hover::after { opacity: 1; }
.nc-send-btn span { position: relative; z-index: 1; }

/* ── Namecard prompt suggestion buttons ── */
.nc-prompts {
  display: flex; flex-direction: column; gap: 8px;
  padding: 4px 2px;
  animation: ncMsgPop 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
.nc-prompt-btn {
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left;
  padding: 10px 14px; border-radius: 12px;
  font-size: 13px; font-weight: 500; color: #BAE6FD;
  font-family: var(--font-body);
  background: linear-gradient(135deg, rgba(30,24,62,0.70) 0%, rgba(20,16,48,0.55) 100%);
  border: 1px solid rgba(14,165,233,0.25);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 2px 10px rgba(14,165,233,0.08), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
}
.nc-prompt-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(56,189,248,0.12) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.2s;
}
.nc-prompt-btn:hover {
  border-color: rgba(56,189,248,0.55);
  color: #BAE6FD;
  transform: translateX(4px);
  box-shadow: 0 4px 18px rgba(56,189,248,0.20), inset 0 1px 0 rgba(255,255,255,0.06);
}
.nc-prompt-btn:hover::before { opacity: 1; }

/* Responsive */
@media (max-width: 960px) {
  .namecard-wrap { grid-template-columns: 1fr; }
  .namecard-left { position: static; flex-direction: row; text-align: left; border-radius: 16px; padding: 24px; }
  .namecard-meta { flex-direction: row; gap: 16px; border-top: none; border-bottom: none; padding: 0; }
  .namecard-socials { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .namecard-left { flex-direction: column; text-align: center; }
  .namecard-meta { flex-direction: column; }
  .hero-photo-wrap { max-width: 220px; }
}
@media (max-width: 860px) {
  .hero-container {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 36px;
    text-align: center;
  }
  .hero-text-col { text-align: center; }
  .hero-cta, .hero-metrics { justify-content: center; }
  .metric { text-align: center; }
  .availability-badge { margin: 0 auto 32px; }
  .hero-bio { margin-left: auto; margin-right: auto; }
  .hero-photo-col { margin-top: 0; }
}


/* ═══════════════════════════════════════════
   NEW FEATURES CSS
   ═══════════════════════════════════════════ */

/* ── OPEN-TO-WORK BANNER ── */
.open-banner {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 950;
  background: linear-gradient(90deg, var(--purple-dk), var(--purple));
  color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 0 48px 0 16px;
  font-size: 13px; font-weight: 500;
  max-height: 40px;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}
.banner-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 6px #4ade80;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}
.banner-dismiss {
  position: absolute; right: 16px;
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 14px; cursor: pointer; padding: 4px 8px;
  transition: color 0.2s;
}
.banner-dismiss:hover { color: #fff; }
body.has-banner .navbar { top: 40px; }
body.has-banner .hero { padding-top: 164px; }

/* ── FAB RESUME BUTTON ── */
.fab-resume {
  position: fixed; bottom: 32px; right: 32px;
  z-index: 800;
  background: var(--purple);
  color: #fff;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-p);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--trans);
  pointer-events: none;
}
.fab-resume.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fab-resume:hover { background: var(--purple-lt); transform: translateY(-2px); }

/* ── HERO OUTLINE BUTTON ── */
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px;
  border: 1px solid var(--border-p);
  border-radius: 8px;
  color: var(--purple-lt);
  font-size: 15px; font-weight: 600;
  transition: var(--trans);
}
.btn-outline:hover { background: rgba(56,189,248,0.1); }


/* ── GITHUB STATS BADGE ── */
.github-stats[data-github] { min-height: 1.6em; }  /* reserve the line the star count fills in later — no layout shift */
.github-stats {
  font-size: 11px;
  color: var(--text-3);
  margin: 6px 0;
  min-height: 16px;
}
.gh-stars { color: var(--purple-lt); }

/* ── GITHUB ACTIVITY FEED ── */
.activity-feed {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 24px;
}
.activity-loading, .activity-empty {
  color: var(--text-3); font-size: 14px; padding: 20px 0;
}
.activity-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  transition: var(--trans);
}
.activity-item:hover { border-color: var(--border-p); }
.act-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--purple);
  margin-top: 5px;
  flex-shrink: 0;
}
.act-content {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px;
  flex: 1; font-size: 13px;
}
.act-repo {
  color: var(--purple-lt); font-weight: 600;
}
.act-repo:hover { text-decoration: underline; }
.act-msg { color: var(--text-2); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-date { color: var(--text-3); font-size: 11px; white-space: nowrap; }
.activity-more {
  display: inline-block;
  margin-top: 16px;
  color: var(--purple-lt);
  font-size: 13px;
  font-weight: 600;
}
.activity-more:hover { text-decoration: underline; }

/* ── SKILL BADGE GRID ── */
.skill-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 48px;
  max-width: 920px;
}
.skill-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple);
  border-radius: var(--r);
  cursor: default;
  transition: var(--trans), transform 0.3s cubic-bezier(.22,.68,0,1.2);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
}
.skill-badge-grid.visible .skill-badge {
  animation: skillBadgeIn 0.55s cubic-bezier(.16,1,.3,1) forwards;
}
.skill-badge-grid .skill-badge:nth-child(1) { animation-delay: 0.04s; }
.skill-badge-grid .skill-badge:nth-child(2) { animation-delay: 0.10s; }
.skill-badge-grid .skill-badge:nth-child(3) { animation-delay: 0.16s; }
.skill-badge-grid .skill-badge:nth-child(4) { animation-delay: 0.22s; }
.skill-badge-grid .skill-badge:nth-child(5) { animation-delay: 0.28s; }
.skill-badge-grid .skill-badge:nth-child(6) { animation-delay: 0.34s; }
@keyframes skillBadgeIn { to { opacity: 1; transform: translateY(0); } }
.skill-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(56,189,248,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.22s;
}
.skill-badge:hover {
  border-left-color: var(--purple-lt);
  border-color: rgba(56,189,248,0.45);
  background: linear-gradient(90deg, rgba(30,26,50,0.95) 0%, rgba(24,23,42,0.95) 100%);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.15),
              0 4px 20px rgba(56,189,248,0.18),
              inset 0 1px 0 rgba(255,255,255,0.04);
  transform: translateX(6px) translateY(0) !important;
}
.skill-badge:hover::before { opacity: 1; }
.sb-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.2);
}
.skill-badge:hover .sb-icon { transform: scale(1.2) rotate(-6deg); }
.sb-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* ── GITHUB CONTRIBUTION HEATMAP ── */
.gh-heatmap-wrap {
  margin-top: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.gh-stats-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.gh-stat {
  font-size: 13px;
  color: var(--text-3);
}
.gh-stat strong {
  color: var(--text);
  font-weight: 700;
}
.gh-profile-link {
  margin-left: auto;
  font-size: 12px;
  color: var(--purple-lt);
  font-weight: 600;
  text-decoration: none;
}
.gh-profile-link:hover { text-decoration: underline; }
.gh-grid-wrap {
  display: flex;
  gap: 6px;
}
.gh-day-labels {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 30px;
  margin-right: 10px;
}
.gh-day-label {
  height: 24px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 24px;
  margin-bottom: 5px;
  white-space: nowrap;
}
.gh-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.gh-month-labels {
  display: grid;
  grid-template-columns: repeat(var(--week-count, 26), 29px);
  margin-bottom: 6px;
  height: 22px;
  padding-left: 62px;
}
.gh-month-lbl {
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: visible;
  align-self: center;
  grid-row: 1;
}
.gh-weeks {
  display: flex;
  gap: 5px;
}
.gh-week {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gh-cell {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  cursor: default;
  transition: opacity 0.2s;
}
.gh-cell:hover { opacity: 0.75; }
.gh-cell.level-0 { background: var(--bg-card); border: 1px solid var(--border); }
.gh-cell.level-1 { background: #0e4429; border: none; }
.gh-cell.level-2 { background: #006d32; border: none; }
.gh-cell.level-3 { background: #26a641; border: none; }
.gh-cell.level-4 { background: #39d353; border: none; }
.gh-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-3);
  justify-content: flex-end;
}
.gh-legend-cell {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 4px; user-select: none; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 10px; box-shadow: 0 16px 48px rgba(0,0,0,0.45);
  opacity: 0; pointer-events: none; transition: opacity 0.18s, transform 0.18s; z-index: 300;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open  .nav-dropdown-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }

/* Wide 2-column layout */
.nav-dropdown-wide { display: flex; gap: 0; min-width: 400px; }
.nav-dd-col { flex: 1; display: flex; flex-direction: column; }
.nav-dd-col-divider { width: 1px; background: var(--border); margin: 0 8px; flex-shrink: 0; }
.nav-dd-group-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-3); padding: 6px 10px 4px;
}
.nav-dd-divider { height: 1px; background: var(--border); margin: 5px 8px; }

.nav-dropdown-item {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px;
  color: var(--text-2); font-size: 13px; font-weight: 500;
  border-radius: 8px; text-decoration: none; transition: var(--trans); white-space: nowrap;
}
.nav-dropdown-item:hover { background: rgba(56,189,248,0.12); color: var(--purple-lt); }
.nav-dropdown-item.active { color: var(--purple-lt); font-weight: 700; }
.nav-dropdown-toggle.active { color: var(--purple-lt); }

@media (max-width: 768px) {
  .nav-dropdown-menu { position: static; transform: none !important; opacity: 1; pointer-events: all;
    box-shadow: none; background: transparent; border: none; padding: 0 0 0 14px; display: none; min-width: unset; }
  .nav-dropdown-wide { flex-direction: column; }
  .nav-dropdown.open .nav-dropdown-menu { display: flex; }
  .nav-dd-col-divider { display: none; }
  .nav-dd-group-label { padding: 8px 10px 2px; }
  .nav-dropdown-item { padding: 7px 10px; }
}

/* ── STREAMING CURSOR ── */
.chat-msg.streaming .stream-content::after {
  content: '▋';
  animation: blink-cursor 0.7s infinite;
  color: var(--purple-lt);
  font-size: 14px;
}
@keyframes blink-cursor { 50% { opacity: 0; } }

@media (max-width: 640px) {
  .skill-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .fab-resume { bottom: 20px; right: 20px; padding: 10px 16px; font-size: 13px; }
  .open-banner { font-size: 11px; }
  .banner-text { display: none; }
  .open-banner::after { content: "Open to AI/ML Roles · Available now"; }
  .gh-cell { width: 9px; height: 9px; }
}

/* ══════════════════════════════════════════
   TECH CATEGORY CARDS
══════════════════════════════════════════ */
.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
@media (max-width: 900px) { .tech-categories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tech-categories { grid-template-columns: 1fr; } }

.tech-cat-card {
  --cat-accent: var(--purple);
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 2px solid var(--cat-accent);
  border-radius: 14px;
  padding: 18px 20px;
  overflow: hidden;
  transition: var(--trans), transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(20px);
}
.tech-categories.visible .tech-cat-card {
  animation: techCardIn 0.6s cubic-bezier(.16,1,.3,1) forwards;
}
.tech-categories .tech-cat-card:nth-child(1) { animation-delay: 0.05s; }
.tech-categories .tech-cat-card:nth-child(2) { animation-delay: 0.11s; }
.tech-categories .tech-cat-card:nth-child(3) { animation-delay: 0.17s; }
.tech-categories .tech-cat-card:nth-child(4) { animation-delay: 0.23s; }
.tech-categories .tech-cat-card:nth-child(5) { animation-delay: 0.29s; }
.tech-categories .tech-cat-card:nth-child(6) { animation-delay: 0.35s; }
@keyframes techCardIn { to { opacity: 1; transform: translateY(0); } }
.tech-cat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 140% 60% at 50% -10%, color-mix(in srgb, var(--cat-accent) 12%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.tech-cat-card:hover {
  border-color: var(--border-p);
  border-top-color: var(--cat-accent);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -14px color-mix(in srgb, var(--cat-accent) 40%, transparent), var(--shadow);
}
.tech-cat-card:hover::before { opacity: 1; }
.tech-cat-card--llm      { --cat-accent: #38BDF8; }
.tech-cat-card--agents   { --cat-accent: #A78BFA; }
.tech-cat-card--data     { --cat-accent: #0284C7; }
.tech-cat-card--backend  { --cat-accent: #7DD3FC; }
.tech-cat-card--cloud    { --cat-accent: #34D399; }
.tech-cat-card--eval     { --cat-accent: #FBBF24; }
.tech-cat-header {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.tech-cat-icon {
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--cat-accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--cat-accent) 30%, transparent);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease;
}
.tech-cat-card:hover .tech-cat-icon {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 4px 14px -2px color-mix(in srgb, var(--cat-accent) 55%, transparent);
}
.tech-cat-title {
  position: relative; z-index: 1;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cat-accent);
}

/* ══════════════════════════════════════════
   GITHUB ACTIVITY — FIXES & RECENT EVENTS
══════════════════════════════════════════ */
.activity-error {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.gh-recent-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  margin: 24px 0 12px;
}

.gh-recent-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gh-recent-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  transition: var(--trans);
}
.gh-recent-item:hover { background: var(--bg-card); }

.gh-event-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.gh-event-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.gh-event-text {
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.5;
  flex: 1;
}

.gh-event-time {
  font-size: 0.72rem;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .gh-event-body { flex-direction: column; gap: 2px; }
}

/* ═══════════════════════════════════════════════════
   GITHUB ACTIVITY SECTION — ULTRA PREMIUM
═══════════════════════════════════════════════════ */

/* Section background orbs */
/* ══════════════════════════════════════════
   GITHUB ACTIVITY — Redesigned
══════════════════════════════════════════ */
.act-section { position: relative; overflow: hidden; }
.act-sec-bg  { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.act-sec-orb { position: absolute; border-radius: 50%; filter: blur(100px); }
.act-sec-orb1 {
  width: 560px; height: 560px; background: #0EA5E9; opacity: .08;
  top: -160px; left: -100px;
}
.act-sec-orb2 {
  width: 420px; height: 420px; background: #7DD3FC; opacity: .07;
  bottom: -100px; right: -60px;
}
.act-sec-orb3 {
  width: 300px; height: 300px; background: #06b6d4; opacity: .06;
  top: 50%; left: 55%; transform: translate(-50%,-50%);
}
@keyframes actOrb1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,30px)} }
@keyframes actOrb2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,-40px)} }
@keyframes actOrb3 { 0%,100%{transform:translate(-50%,-50%)} 50%{transform:translate(-50%,-40%)} }

/* ── Section header row ── */
.act-section-hd {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 32px;
  position: relative; z-index: 1;
}
.act-section-sub {
  font-size: 14px; color: var(--text-3); margin-top: 6px; line-height: 1.6;
}
.act-gh-profile-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 12px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.3);
  color: #7DD3FC; font-size: 13px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: all 0.2s;
}
.act-gh-profile-btn:hover {
  background: rgba(14,165,233,0.2);
  border-color: rgba(14,165,233,0.6);
  color: #BAE6FD;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,165,233,0.2);
}
.act-ghbtn-arrow { font-size: 15px; transition: transform 0.2s; }
.act-gh-profile-btn:hover .act-ghbtn-arrow { transform: translate(2px,-2px); }

/* ── Hero stats strip ── */
.act-hero-strip {
  display: flex; align-items: stretch;
  background: rgba(10,10,30,0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.act-hero-strip::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #0EA5E9, #7DD3FC, #06b6d4, #7DD3FC, #0EA5E9);
}

.act-hs-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px;
  padding: 24px 16px;
  position: relative;
  transition: background 0.2s;
}
.act-hs-item:hover { background: rgba(14,165,233,0.07); }
.act-hs-streak { background: rgba(251,146,60,0.04); }
.act-hs-streak:hover { background: rgba(251,146,60,0.08); }

.act-hs-icon-wrap { font-size: 20px; line-height: 1; margin-bottom: 2px; }
.act-hs-val {
  font-size: 32px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #BAE6FD 0%, #38BDF8 50%, #38BDF8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(56,189,248,.4));
}
.act-hs-streak .act-hs-val {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 8px rgba(251,146,60,.4));
}
.act-hs-lbl {
  font-size: 10px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}
.act-hs-div {
  width: 1px; align-self: stretch; margin: 16px 0;
  background: linear-gradient(to bottom, transparent, rgba(56,189,248,.3), transparent);
}

/* ── Layout ── */
.activity-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  position: relative; z-index: 1;
}
@media (max-width: 900px) {
  .activity-layout { grid-template-columns: 1fr; }
  .act-section-hd { flex-direction: column; align-items: flex-start; }
  .act-hero-strip { flex-wrap: wrap; }
  .act-hs-item { min-width: 50%; }
}

/* ── Cards ── */
.act-heatmap-card,
.act-feed-card {
  position: relative;
  background: rgba(8,8,22,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(14,165,233,0.18);
  border-radius: 22px;
  padding: 28px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.act-heatmap-card:hover,
.act-feed-card:hover {
  border-color: rgba(14,165,233,0.35);
  box-shadow: 0 12px 40px rgba(14,165,233,0.12);
}
/* Inner glow */
.act-heatmap-card::after,
.act-feed-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: 22px;
  background: radial-gradient(ellipse at 20% 0%, rgba(14,165,233,.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Top accent line per card */
.act-card-accent-line {
  position: absolute; top: 0; left: 28px; right: 28px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,.7), rgba(125,211,252,.7), transparent);
  border-radius: 0 0 4px 4px;
}

/* Card header */
.act-card-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.act-card-hd-left { display: flex; flex-direction: column; gap: 4px; }
.act-card-title {
  font-size: 15px; font-weight: 700;
  background: linear-gradient(90deg, #f1f0f7 0%, #BAE6FD 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.act-card-sub { font-size: 11px; color: var(--text-3); font-weight: 500; }

/* Live pill */
.act-live-pill {
  display: flex; align-items: center; gap: 7px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 5px 13px; border-radius: 100px;
  font-size: 10.5px; font-weight: 700; color: #34d399;
  box-shadow: 0 0 12px rgba(16,185,129,0.1);
  position: relative; z-index: 1;
}
.act-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #10B981;
  animation: actpulse 2s ease-in-out infinite;
}
@keyframes actpulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}

/* ── Heatmap ── */
.act-heatmap-wrap {
  display: flex; gap: 6px;
  position: relative; z-index: 1;
  overflow: hidden;
}
.act-hm-days {
  display: flex; flex-direction: column;
  padding-top: 20px;   /* align with month labels height */
  flex-shrink: 0;
}
.act-hm-day {
  height: 17px;        /* 13px cell + 4px gap */
  display: flex; align-items: center;
  font-size: 9px; color: var(--text-3);
  font-weight: 500; letter-spacing: 0.3px;
  line-height: 1; width: 24px;
}
.act-hm-day:last-child { height: 13px; }

.act-hm-grid-wrap { flex: 1; overflow-x: auto; min-width: 0; }
.act-hm-grid-wrap::-webkit-scrollbar { height: 4px; }
.act-hm-grid-wrap::-webkit-scrollbar-track { background: rgba(255,255,255,.04); border-radius: 2px; }
.act-hm-grid-wrap::-webkit-scrollbar-thumb { background: rgba(56,189,248,.35); border-radius: 2px; }

.act-hm-months {
  display: flex; gap: 4px;
  margin-bottom: 4px; height: 16px; align-items: flex-end;
}
.act-hm-month-label {
  width: 13px; font-size: 9px; color: var(--text-3);
  font-weight: 600; white-space: nowrap; overflow: visible;
  letter-spacing: 0.3px; flex-shrink: 0;
}

.act-heatmap {
  display: flex; gap: 4px;
  position: relative;
}
.act-heatmap-col { display: flex; flex-direction: column; gap: 4px; }
.act-heatmap-cell {
  width: 13px; height: 13px; border-radius: 3px;
  flex-shrink: 0; cursor: default;
  transition: transform 0.12s, box-shadow 0.12s;
}
.act-heatmap-cell:hover { transform: scale(1.6); z-index: 2; }
.act-heatmap-loading { font-size: 12px; color: var(--text-3); padding: 32px 0; }

/* Contribution levels */
.act-c0 { background: rgba(255,255,255,0.05); }
.act-c1 { background: rgba(14,165,233,0.28); }
.act-c2 { background: rgba(14,165,233,0.55); }
.act-c3 { background: rgba(56,189,248,0.82); box-shadow: 0 0 3px rgba(56,189,248,.4); }
.act-c4 { background: #7DD3FC; box-shadow: 0 0 7px rgba(125,211,252,.7), 0 0 14px rgba(125,211,252,.25); }
.act-heatmap-cell.act-c4:hover { box-shadow: 0 0 12px rgba(125,211,252,.9); }

/* Legend */
.act-heatmap-legend {
  display: flex; align-items: center; gap: 5px;
  margin-top: 12px; justify-content: flex-end;
  position: relative; z-index: 1;
}
.act-legend-label { font-size: 10px; color: var(--text-3); }
.act-legend-cell { width: 12px; height: 12px; border-radius: 3px; }

/* ── Feed ── */
.act-feed {
  display: flex; flex-direction: column; gap: 8px;
  min-height: 200px; position: relative; z-index: 1;
}
.act-feed-loading { font-size: 12px; color: var(--text-3); padding: 24px 0; }

.act-event {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px;
  background: rgba(14,165,233,0.05);
  border: 1px solid rgba(14,165,233,0.1);
  border-radius: 14px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  overflow: hidden;
}
.act-event::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, #0EA5E9, #7DD3FC, #06b6d4);
}
.act-event:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 24px rgba(14,165,233,0.18);
  border-color: rgba(14,165,233,0.28);
  background: rgba(14,165,233,0.1);
}
.act-event-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(14,165,233,0.2), rgba(56,189,248,0.25));
  border: 1px solid rgba(56,189,248,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.act-event-body { flex: 1; min-width: 0; }
.act-event-repo {
  font-size: 12.5px; font-weight: 700;
  background: linear-gradient(90deg, #f1f0f7, #BAE6FD);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.act-event-msg {
  font-size: 11px; color: var(--text-2); margin-top: 3px; line-height: 1.45;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.act-event-time {
  font-size: 10px; white-space: nowrap; flex-shrink: 0; margin-top: 2px;
  color: #38BDF8; font-weight: 600;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.18);
  padding: 2px 8px; border-radius: 100px;
}

/* View all */
.act-view-all {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; padding: 9px 18px;
  font-size: 12px; font-weight: 600; color: #7DD3FC;
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 10px; text-decoration: none;
  transition: all 0.2s; position: relative; z-index: 1;
}
.act-view-all:hover {
  background: rgba(14,165,233,0.16);
  border-color: rgba(14,165,233,0.4);
  color: #BAE6FD; gap: 9px;
  box-shadow: 0 4px 16px rgba(14,165,233,0.15);
}

/* Profile card last-seen badge */
.profile-last-seen {
  font-size: 10.5px; font-weight: 600; color: #10B981;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
  padding: 2px 8px; border-radius: 100px;
}


/* ═══════════════════════════════════════════
   PREMIUM HOVER & SHIMMER SYSTEM
   ═══════════════════════════════════════════ */

/* Shimmer sweep keyframe — used on all premium cards */
@keyframes shimmerSweep {
  0%   { transform: translateX(-100%) skewX(-12deg); }
  100% { transform: translateX(220%)  skewX(-12deg); }
}

/* Apply shimmer sweep to capability cards, topic cards, tl-cards */
.namecard-cap, .topic-card, .tl-card, .skill-badge, .chat-welcome-card {
  overflow: hidden;
}
.namecard-cap::before,
.topic-card::before,
.tl-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 45%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.04) 50%,
    transparent 80%
  );
  opacity: 0;
  transition: none;
  pointer-events: none;
  z-index: 2;
}
.namecard-cap:hover::before,
.topic-card:hover::before,
.tl-card:hover::before {
  opacity: 1;
  animation: shimmerSweep 0.65s ease forwards;
}

/* Ensure tl-card has position:relative for shimmer */
.tl-card { position: relative; }

/* Namecard bio hover */
.namecard-bio {
  transition: var(--trans);
}

/* Namecard right panel premium look */
.namecard-right {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Skill group hover */
.skill-group {
  transition: var(--trans);
}
.skill-group:hover {
  border-color: rgba(56,189,248,0.35);
  box-shadow: 0 4px 20px rgba(56,189,248,0.12),
              inset 0 1px 0 rgba(255,255,255,0.03);
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════════
   PREMIUM MY JOURNEY TIMELINE
   ═══════════════════════════════════════════ */

.section-sub {
  font-size: 16px; color: var(--text-2);
  max-width: 520px; margin: -8px 0 52px;
  line-height: 1.7;
}
.tl-premium {
  position: relative;
  display: flex; flex-direction: column; gap: 0;
  max-width: 960px; margin: 0 auto;
}
.tl-premium::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent 0%, rgba(14,165,233,0.7) 8%, rgba(56,189,248,0.8) 30%, rgba(14,165,233,0.7) 60%, rgba(56,189,248,0.6) 80%, transparent 100%);
  box-shadow: 0 0 12px rgba(56,189,248,0.4);
}
.tl-pitem {
  display: grid; grid-template-columns: 1fr 56px 1fr;
  align-items: center; gap: 0; margin-bottom: 40px;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.tl-pitem.visible { opacity: 1; transform: translateY(0); }
.tl-pitem-left .tl-pcard  { grid-column: 1; grid-row: 1; padding-right: 32px; }
.tl-pitem-left .tl-pnode  { grid-column: 2; grid-row: 1; justify-self: center; }
.tl-pitem-right .tl-pnode { grid-column: 2; grid-row: 1; justify-self: center; }
.tl-pitem-right .tl-pcard { grid-column: 3; grid-row: 1; padding-left: 32px; }

.tl-pnode {
  position: relative; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; flex-shrink: 0;
}
.tl-pnode-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(56,189,248,0.5);
  animation: tlRingPulse 2.8s ease-in-out infinite;
}
@keyframes tlRingPulse {
  0%,100% { transform: scale(1);    border-color: rgba(56,189,248,0.5); box-shadow: 0 0 0 0 rgba(56,189,248,0); }
  50%     { transform: scale(1.12); border-color: rgba(56,189,248,0.9); box-shadow: 0 0 16px 4px rgba(56,189,248,0.3); }
}
.tl-pnode-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(145deg, #13102a, #1a1535);
  border: 1.5px solid rgba(56,189,248,0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; position: relative; z-index: 1;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12), 0 0 20px rgba(56,189,248,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}
.tl-pcard {
  position: relative;
  background: linear-gradient(145deg, #111028 0%, #0e0d22 100%);
  border: 1px solid rgba(14,165,233,0.22); border-radius: 18px; overflow: hidden;
  transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.45), inset 0 1px 0 rgba(56,189,248,0.07);
}
.tl-pcard:hover {
  border-color: rgba(56,189,248,0.55); transform: translateY(-5px) scale(1.01);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.18), 0 12px 40px rgba(56,189,248,0.22), inset 0 1px 0 rgba(255,255,255,0.06);
}
.tl-pcard:hover .tl-pcard-glow { opacity: 1; }
.tl-pcard-glow {
  position: absolute; inset: 0; border-radius: 18px; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 20% 0%, rgba(56,189,248,0.12) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.35s;
}
.tl-pcard-inner { padding: 26px 28px; position: relative; z-index: 1; }
.tl-pcard-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; gap: 10px; flex-wrap: wrap;
}
.tl-ptype {
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 12px; border-radius: 100px;
}
.tl-ptype-freelance { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.30); color: #34d399; }
.tl-ptype-work      { background: rgba(14,165,233,0.12); border: 1px solid rgba(14,165,233,0.30); color: #7DD3FC; }
.tl-ptype-edu       { background: rgba(245,158,11,0.10); border: 1px solid rgba(245,158,11,0.28); color: #fbbf24; }
.tl-pyear { font-size: 12px; font-weight: 600; letter-spacing: 0.4px; color: var(--text-3); text-transform: uppercase; }
.tl-pcompany { font-size: 11.5px; font-weight: 600; color: var(--text-3); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.tl-ptitle { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.tl-pdesc  { font-size: 14px; color: var(--text-2); line-height: 1.75; margin-bottom: 16px; }
.tl-pdesc-list {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.tl-pdesc-list li {
  position: relative; padding-left: 18px;
  font-size: 13.5px; color: var(--text-2); line-height: 1.55;
}
.tl-pdesc-list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #7DD3FC, #0EA5E9);
  box-shadow: 0 0 6px rgba(56,189,248,0.5);
}
.tl-ptags  { display: flex; gap: 6px; flex-wrap: wrap; }
.tl-ptags span {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2px;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(14,165,233,0.10); border: 1px solid rgba(14,165,233,0.25);
  color: var(--purple-lt); transition: all 0.18s;
}
.tl-ptags span:hover { background: rgba(56,189,248,0.22); border-color: rgba(56,189,248,0.50); transform: translateY(-1px); }

@media (max-width: 768px) {
  .tl-premium::before { left: 24px; }
  .tl-pitem, .tl-pitem-left, .tl-pitem-right { grid-template-columns: 48px 1fr; }
  .tl-pitem-left .tl-pnode, .tl-pitem-right .tl-pnode { grid-column: 1; grid-row: 1; justify-self: center; }
  .tl-pitem-left .tl-pcard, .tl-pitem-right .tl-pcard { grid-column: 2; grid-row: 1; padding-left: 16px; padding-right: 0; }
}


/* ═══════════════════════════════════════════
   PREMIUM PRIYA VOICE BUTTON
   ═══════════════════════════════════════════ */

/* Signature motion: one breathing "live, tap me" ping. Everything else
   on this button is static — layering 8+ independent infinite animations
   here read as noisy rather than premium. */
.priya-logo-halo1 {
  position: absolute; inset: -20px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(37,99,235,0), rgba(124,58,237,0.18), rgba(236,72,153,0.12), rgba(6,182,212,0.10), rgba(37,99,235,0));
}

.priya-logo-halo2 {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.18);
}

.priya-logo-halo3 {
  position: absolute; inset: -28px; border-radius: 50%;
  border: 1px solid rgba(14,165,233,0.10);
}

.priya-logo-spin-ring {
  background: conic-gradient(from 0deg, #0284C7 0%, #0284C7 20%, #EC4899 40%, #06B6D4 60%, #10B981 80%, #0284C7 100%);
}
.priya-logo-spin-ring2 {
  position: absolute; inset: 4px; border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(6,182,212,0.5) 0%, rgba(124,58,237,0.5) 33%, rgba(236,72,153,0.4) 66%, rgba(6,182,212,0.5) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff 0);
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff 0);
}

.priya-logo-glow1 {
  inset: -10px;
  background: radial-gradient(circle, rgba(124,58,237,0.45) 0%, rgba(37,99,235,0.15) 50%, transparent 70%);
}
.priya-logo-glow2 {
  inset: -18px;
  background: radial-gradient(circle, rgba(236,72,153,0.20) 0%, rgba(6,182,212,0.12) 40%, transparent 70%);
}

.priya-logo-orbit3 { display: none; }

.priya-logo-core {
  background: linear-gradient(145deg, #0d1424, #162040, #0d1424);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 -1px 0 rgba(0,0,0,0.3), 0 0 28px rgba(37,99,235,0.4), 0 0 50px rgba(124,58,237,0.15);
}

.priya-logo-mic {
  font-size: 26px;
  filter: drop-shadow(0 0 6px rgba(14,165,233,0.7));
}

.priya-logo-label {
  font-size: 10px; font-weight: 900; letter-spacing: 4px;
  background: linear-gradient(90deg,#38BDF8,#F472B6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  opacity: 0.95;
}

.priya-wave-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(56,189,248,0.55);
  animation: priyaWaveEmit 2.4s ease-out infinite;
  pointer-events: none;
}
.priya-wave-ring:nth-child(2) { animation-delay: 0.8s; }
.priya-wave-ring:nth-child(3) { animation-delay: 1.6s; }
@keyframes priyaWaveEmit {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

#priyaBtn:hover .priya-logo-core {
  transform: scale(1.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 0 48px rgba(124,58,237,0.7), 0 0 80px rgba(236,72,153,0.25);
}

/* ══════════════════════════════════════════
   HIRE ME — service cards for business visitors
══════════════════════════════════════════ */
.hire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
@media (max-width: 900px) { .hire-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hire-grid { grid-template-columns: 1fr; } }

.hire-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 2px solid var(--purple);
  border-radius: 14px;
  padding: 22px 22px 20px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: var(--trans), transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease;
}
.hire-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 140% 60% at 50% -10%, color-mix(in srgb, var(--purple) 12%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.hire-card:hover {
  border-color: var(--border-p);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -14px color-mix(in srgb, var(--purple) 40%, transparent), var(--shadow);
}
.hire-card:hover::before { opacity: 1; }
.hire-card-icon {
  position: relative; z-index: 1;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--purple-bg);
  border: 1px solid color-mix(in srgb, var(--purple) 30%, transparent);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
}
.hire-card:hover .hire-card-icon { transform: scale(1.1) rotate(-6deg); }
.hire-card-title {
  position: relative; z-index: 1;
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  margin: 0;
}
.hire-card-desc {
  position: relative; z-index: 1;
  font-size: 0.88rem; color: var(--text-2); line-height: 1.6;
  margin: 0;
}
.hire-card-best {
  position: relative; z-index: 1;
  font-size: 0.8rem; color: var(--text-3); line-height: 1.5;
}
.hire-card-best strong { color: var(--text-2); }
.hire-card-proof {
  position: relative; z-index: 1;
  font-size: 0.78rem; font-weight: 600; color: var(--purple-lt);
  margin-top: auto; padding-top: 6px;
}
.hire-cta-row { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 36px; }
.hire-cta-prompt { font-size: 1rem; font-weight: 600; color: var(--text-2); margin: 0; }

/* Projects section bottom CTA */
.proj-bottom-cta { margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.07); }
.proj-bottom-cta-sub {
  font-size: 0.9rem; color: var(--text-3); line-height: 1.65;
  max-width: 480px; text-align: center; margin: -6px 0 4px;
}

/* Stack section footer */
.stack-footer { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--border); }
.stack-principle {
  font-family: var(--font-head);
  font-size: 1.05rem; font-style: italic;
  color: var(--text-2);
  text-align: center;
  max-width: 560px;
  margin: 0;
}
.stack-cta-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.stack-see-projects {
  font-size: 0.92rem; font-weight: 600;
  color: var(--purple-lt);
  transition: var(--trans);
}
.stack-see-projects:hover { color: var(--text); }

/* Numbered card variant */
.hire-grid--numbered { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .hire-grid--numbered { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hire-grid--numbered { grid-template-columns: 1fr; } }
.hire-card--numbered { gap: 14px; padding: 26px 22px 24px; }
.hire-card-num {
  position: relative; z-index: 1;
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 800;
  color: var(--purple-lt);
  opacity: 0.75;
}
.hire-card--numbered:hover .hire-card-num { opacity: 1; }
.hire-card-tags {
  position: relative; z-index: 1;
  font-size: 0.82rem; color: var(--text-3); line-height: 1.6;
  margin: 0;
}
.hire-card-cta {
  position: relative; z-index: 1;
  font-size: 0.82rem; font-weight: 700; color: var(--purple-lt);
  text-decoration: none;
  margin-top: auto; padding-top: 10px;
  transition: color 0.2s ease;
}
.hire-card-cta:hover { color: var(--purple); text-decoration: underline; }

/* ══════════════════════════════════════════
   WHY WORK WITH ME
══════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--purple);
  border-radius: 14px;
  padding: 22px 18px 20px;
  transition: var(--trans), transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease;
}
.why-card:hover {
  border-color: var(--border-p);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -14px color-mix(in srgb, var(--purple) 40%, transparent), var(--shadow);
}
.why-card-icon {
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--purple-bg);
  border: 1px solid color-mix(in srgb, var(--purple) 30%, transparent);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
}
.why-card:hover .why-card-icon { transform: scale(1.1) rotate(-6deg); }
.why-card-title {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin: 0;
}
.why-card-desc {
  font-size: 0.85rem; color: var(--text-2); line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════
   HOW I WORK
══════════════════════════════════════════ */
.hiw-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 32px;
  position: relative;
}
.hiw-track--six { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) { .hiw-track, .hiw-track--six { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 560px) { .hiw-track, .hiw-track--six { grid-template-columns: 1fr; gap: 20px; } }

.hiw-step {
  position: relative;
  padding: 0 18px;
  text-align: left;
}
.hiw-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px; right: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--purple) 0%, transparent 60%);
  transform: translateX(50%);
  z-index: 0;
}
@media (max-width: 900px) { .hiw-step:not(:last-child)::after { display: none; } }

.hiw-step-num {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800; font-size: 16px;
  margin-bottom: 14px;
}
.hiw-step-title {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin: 0 0 6px;
}
.hiw-step-desc {
  font-size: 0.85rem; color: var(--text-2); line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════
   PRICING
══════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  align-items: stretch;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
  transition: var(--trans), transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease;
}
.pricing-card:hover {
  border-color: var(--border-p);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -14px color-mix(in srgb, var(--purple) 40%, transparent), var(--shadow);
}
.pricing-card--featured {
  border-color: var(--purple);
  background: linear-gradient(180deg, color-mix(in srgb, var(--purple) 6%, var(--bg)), var(--bg));
}
.pricing-badge {
  position: absolute; top: -12px; left: 26px;
  background: var(--purple);
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 12px; border-radius: 100px;
}
.pricing-tier {
  font-size: 0.95rem; font-weight: 700; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.pricing-amount { display: flex; flex-direction: column; gap: 2px; }
.pricing-from { font-size: 0.78rem; color: var(--text-3); }
.pricing-value {
  font-family: var(--font-head);
  font-size: 2.2rem; font-weight: 800; color: var(--text);
  line-height: 1.1;
}
.pricing-desc {
  font-size: 0.88rem; color: var(--text-2); line-height: 1.6;
  margin: 0;
}
.pricing-note {
  margin-top: 28px;
  text-align: center;
  font-size: 0.85rem; color: var(--text-3);
}
.pricing-note a { color: var(--purple-lt); font-weight: 600; text-decoration: none; }
.pricing-note a:hover { text-decoration: underline; }

.pricing-grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .pricing-grid--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid--four { grid-template-columns: 1fr; } }

.pricing-grid--six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .pricing-grid--six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .pricing-grid--six { grid-template-columns: 1fr; } }

/* "What I Build For You" cards — small eyebrow category + real title,
   on top of the existing pricing-card shell. */
.pricing-card-category {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--purple-lt);
}
.pricing-card-title {
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 700; color: var(--text);
  margin: -8px 0 0;
}
.pricing-timeline {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--text-3);
  padding-top: 10px; border-top: 1px solid var(--border);
}
.pricing-timeline strong { color: var(--text-2); font-weight: 600; }

/* Scroll entrance — fade up, staggered per card (mirrors .project-card / .tech-cat-card) */
.pricing-grid--six .pricing-card {
  opacity: 0; transform: translateY(20px);
}
.pricing-grid--six.visible .pricing-card {
  animation: pricingCardIn 0.6s cubic-bezier(.16,1,.3,1) forwards;
}
.pricing-grid--six .pricing-card:nth-child(1) { animation-delay: 0.05s; }
.pricing-grid--six .pricing-card:nth-child(2) { animation-delay: 0.11s; }
.pricing-grid--six .pricing-card:nth-child(3) { animation-delay: 0.17s; }
.pricing-grid--six .pricing-card:nth-child(4) { animation-delay: 0.23s; }
.pricing-grid--six .pricing-card:nth-child(5) { animation-delay: 0.29s; }
.pricing-grid--six .pricing-card:nth-child(6) { animation-delay: 0.35s; }
.pricing-grid--six .pricing-card:nth-child(7) { animation-delay: 0.41s; }
.pricing-grid--six .pricing-card:nth-child(8) { animation-delay: 0.47s; }
@keyframes pricingCardIn { to { opacity: 1; transform: translateY(0); } }

/* CTA arrow nudge on hover (reuses .card-cta-arrow from the Projects section) */
.pricing-cta:hover .card-cta-arrow { transform: translateX(3px); }

.pricing-examples {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.pricing-examples li {
  font-size: 0.82rem; color: var(--text-2); line-height: 1.5;
  padding-left: 16px; position: relative;
}
.pricing-examples li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--purple-lt); font-weight: 700; font-size: 0.78em;
}
.pricing-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  width: 100%;
  margin-top: auto;
  background: none;
  border: 1px solid var(--border-p);
  color: var(--purple-lt);
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 0.85rem; font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--trans);
}
.pricing-cta:hover { background: rgba(56,189,248,0.08); }
.pricing-card--featured .pricing-cta { border-color: var(--purple); background: var(--purple); color: #fff; }
.pricing-card--featured .pricing-cta:hover { background: var(--purple-lt); border-color: var(--purple-lt); }

/* ── "What I Build For You" — premium skin ──
   Same visual language as the product / project cards: per-card accent pair
   (--pa / --pa2), layered tinted surface, top hairline, numbered watermark. */
.pricing-grid--six { counter-reset: pcard; gap: 22px; }
.pricing-grid--six .pricing-card {
  --pa: #0284C7; --pa2: #38BDF8;
  counter-increment: pcard;
  gap: 16px;
  padding: 30px 28px 26px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--pa) 12%, transparent), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, color-mix(in srgb, var(--pa2) 6%, transparent), transparent 60%),
    linear-gradient(180deg, var(--bg-card-h), var(--bg-card));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 50px -30px rgba(0,0,0,0.7);
}
.pricing-grid--six .pricing-card:nth-child(6n+1) { --pa: #0284C7; --pa2: #38BDF8; }
.pricing-grid--six .pricing-card:nth-child(6n+2) { --pa: #7C3AED; --pa2: #A855F7; }
.pricing-grid--six .pricing-card:nth-child(6n+3) { --pa: #059669; --pa2: #34D399; }
.pricing-grid--six .pricing-card:nth-child(6n+4) { --pa: #C67C1A; --pa2: #E0A94D; }
.pricing-grid--six .pricing-card:nth-child(6n+5) { --pa: #DB2777; --pa2: #F472B6; }
.pricing-grid--six .pricing-card:nth-child(6n+6) { --pa: #4F46E5; --pa2: #818CF8; }
.pricing-grid--six .pricing-card::before {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent, var(--pa), var(--pa2), transparent);
  opacity: 0.7;
  transition: opacity 0.35s;
}
.pricing-grid--six .pricing-card::after {
  content: counter(pcard, decimal-leading-zero);
  position: absolute; top: 16px; right: 22px; z-index: -1;
  font-family: var(--font-head);
  font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -2px;
  color: transparent;
  background: linear-gradient(160deg, color-mix(in srgb, var(--pa2) 24%, transparent), transparent 80%);
  -webkit-background-clip: text; background-clip: text;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.22,.68,0,1.2);
}
.pricing-grid--six .pricing-card:hover {
  border-color: color-mix(in srgb, var(--pa) 45%, var(--border));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08),
    0 28px 56px -24px color-mix(in srgb, var(--pa) 45%, transparent),
    0 32px 64px -32px rgba(0,0,0,0.5);
}
.pricing-grid--six .pricing-card:hover::before { opacity: 1; }
.pricing-grid--six .pricing-card:hover::after { transform: translateY(-3px); }

.pricing-grid--six .pricing-card--featured {
  border-color: color-mix(in srgb, var(--pa) 50%, var(--border));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 4px color-mix(in srgb, var(--pa) 8%, transparent),
    0 28px 60px -26px color-mix(in srgb, var(--pa) 50%, transparent);
}
.pricing-grid--six .pricing-badge {
  top: 24px; left: auto; right: 96px;
  background: linear-gradient(135deg, var(--pa), var(--pa2));
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 12px;
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--pa) 70%, transparent);
}

.pricing-grid--six .pricing-card-category {
  align-self: flex-start;
  font-size: 9.5px; letter-spacing: 0.14em;
  padding: 5px 11px; border-radius: 100px;
  background: color-mix(in srgb, var(--pa) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pa) 28%, transparent);
  color: color-mix(in srgb, var(--pa2) 75%, var(--text));
}
.pricing-grid--six .pricing-card-title {
  font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em;
  margin: 2px 0 0;
}
.pricing-grid--six .pricing-card:hover .pricing-card-title {
  background: linear-gradient(90deg, var(--pa2), var(--text) 130%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.pricing-grid--six .pricing-desc { font-size: 0.9rem; line-height: 1.7; }

.pricing-grid--six .pricing-examples { gap: 9px; }
.pricing-grid--six .pricing-examples li { padding-left: 26px; font-size: 0.85rem; }
.pricing-grid--six .pricing-examples li::before {
  top: 2px;
  width: 17px; height: 17px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: var(--pa2);
  background: color-mix(in srgb, var(--pa) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--pa) 30%, transparent);
}

.pricing-grid--six .pricing-timeline {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.pricing-grid--six .pricing-timeline strong {
  color: var(--text);
  padding: 3px 10px; border-radius: 100px;
  background: color-mix(in srgb, var(--text) 5%, transparent);
  border: 1px solid var(--border);
}
.pricing-grid--six .pricing-amount {
  flex-direction: row; align-items: baseline; justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--pa) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--pa) 18%, var(--border));
}
.pricing-grid--six .pricing-from {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.pricing-grid--six .pricing-value {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--text) 30%, var(--pa2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.pricing-grid--six .pricing-cta {
  border-radius: 12px;
  border-color: color-mix(in srgb, var(--pa) 45%, var(--border));
  color: color-mix(in srgb, var(--pa2) 80%, var(--text));
  background: color-mix(in srgb, var(--pa) 6%, transparent);
}
.pricing-grid--six .pricing-cta:hover,
.pricing-grid--six .pricing-card--featured .pricing-cta {
  border-color: rgba(255,255,255,0.16);
  background: linear-gradient(135deg, var(--pa), var(--pa2));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 10px 22px -10px color-mix(in srgb, var(--pa) 80%, transparent);
}
.pricing-grid--six .pricing-card--featured .pricing-cta:hover { filter: brightness(1.1); }

/* ══════════════════════════════════════════
   DEVELOPER RESOURCES
══════════════════════════════════════════ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 700px) { .resource-grid { grid-template-columns: 1fr; } }

.resource-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
  transition: var(--trans), transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease;
}
.resource-card:hover {
  border-color: var(--border-p);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -14px color-mix(in srgb, var(--purple) 40%, transparent), var(--shadow);
}
.resource-card--featured {
  border-color: var(--purple);
  background: linear-gradient(180deg, color-mix(in srgb, var(--purple) 6%, var(--bg)), var(--bg));
}
.resource-badge {
  position: absolute; top: -12px; left: 26px;
  background: var(--purple); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 12px; border-radius: 100px;
}
.resource-icon { font-size: 1.8rem; }
.resource-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0; }
.resource-price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--purple-lt); }
.resource-desc { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; margin: 0; }
.resource-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.resource-list li { font-size: 0.83rem; color: var(--text-2); padding-left: 18px; position: relative; }
.resource-list li::before { content: '·'; position: absolute; left: 3px; color: var(--purple-lt); font-weight: 800; }
.resource-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 12px; margin-top: 8px;
  border-radius: 10px; border: 1px solid var(--border-p);
  background: none; color: var(--purple-lt);
  font-size: 0.88rem; font-weight: 700; font-family: var(--font-body);
  cursor: pointer; transition: var(--trans);
}
.resource-btn:hover { background: rgba(56,189,248,0.08); }
.resource-card--featured .resource-btn { background: var(--purple); color: #fff; border-color: var(--purple); }
.resource-card--featured .resource-btn:hover { background: var(--purple-lt); }

/* Free learning-site promo (learn.aiwithpriyabrat.com) — sits above the paid kits */
.learn-promo {
  margin-top: 32px; padding: 28px 26px; border-radius: 16px; text-align: center;
  border: 1px solid var(--border-p);
  background: linear-gradient(180deg, color-mix(in srgb, var(--purple) 7%, var(--bg)), var(--bg));
}
.learn-promo-badge {
  display: inline-block; background: var(--success); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; padding: 4px 12px; border-radius: 100px;
}
.learn-promo-title { font-size: 1.25rem; font-weight: 700; color: var(--text); margin: 10px 0 6px; }
.learn-promo-desc { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; max-width: 560px; margin: 0 auto; }
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; text-align: left; }
@media (max-width: 760px) { .learn-grid { grid-template-columns: 1fr; } }
.learn-card {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border); text-decoration: none;
  transition: var(--trans), transform 0.3s ease;
}
.learn-card:hover { border-color: var(--border-p); transform: translateY(-3px); }
.learn-card-icon { font-size: 1.4rem; }
.learn-card-name { font-weight: 700; color: var(--text); font-size: 0.98rem; }
.learn-card-desc { font-size: 0.82rem; color: var(--text-2); line-height: 1.5; }
.learn-promo-btn { display: inline-flex; text-decoration: none; }
.nav-ext { font-size: 0.75em; margin-left: 2px; opacity: 0.7; }

/* Navbar "Learn" link: gradient graduation cap + a floating FREE badge.
   The badge is absolutely positioned so it adds no width to the (already full) navbar. */
.nav-learn-link { display: inline-flex; align-items: center; gap: 5px; }
.nav-learn-icon {
  width: 15px; height: 15px; flex: none;
  filter: drop-shadow(0 0 5px rgba(110, 231, 183, .45));
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.nav-learn-link:hover .nav-learn-icon,
.nav-learn-link:focus-visible .nav-learn-icon { transform: translateY(-1px) rotate(-10deg) scale(1.08); }
.nav-learn-badge {
  position: absolute; top: -5px; right: -6px; overflow: hidden;
  padding: 1px 5px; border-radius: 999px;
  font-size: 8.5px; font-weight: 800; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase;
  color: #04261A; background: linear-gradient(135deg, #A7F3D0, #34D399);
  box-shadow: 0 0 0 2px rgba(8, 11, 22, .9), 0 2px 8px rgba(52, 211, 153, .35);
  pointer-events: none;
}
[data-theme="light"] .nav-learn-badge { box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(5, 150, 105, .3); }
/* a slow shine across the badge */
.nav-learn-badge::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: navLearnShine 4.5s ease-in-out infinite;
}
@keyframes navLearnShine { 0%, 72% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.nav-learn-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Navbar "Solutions" link reuses the Learn styles above: amber bolt + a HIRE badge */
.nav-sol-icon { filter: drop-shadow(0 0 5px rgba(251, 146, 60, .45)); }
.nav-sol-badge {
  color: #3B1405; background: linear-gradient(135deg, #FDE68A, #FB923C);
  box-shadow: 0 0 0 2px rgba(8, 11, 22, .9), 0 2px 8px rgba(251, 146, 60, .35);
}
[data-theme="light"] .nav-sol-badge { box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(234, 88, 12, .3); }
.nav-sol-badge::after { animation-delay: 2.2s; }
/* Mobile menu: badge sits inline after the text instead of floating */
@media (max-width: 768px) {
  .nav-learn-badge { position: static; margin-left: 4px; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-learn-badge::after { animation: none; display: none; }
  .nav-learn-icon { transition: none; }
}

/* Learning-site promo strip (partials/_learn_promo.html) — tool pages and blog */
.learn-strip {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 36px 0 8px; padding: 16px 20px; border-radius: 14px;
  border: 1px solid var(--border-p);
  background: linear-gradient(90deg, color-mix(in srgb, var(--purple) 9%, var(--bg)), var(--bg));
}
.learn-strip-icon { font-size: 1.6rem; }
.learn-strip-text { flex: 1 1 260px; display: flex; flex-direction: column; gap: 3px; }
.learn-strip-text strong { color: var(--text); font-size: 0.98rem; }
.learn-strip-text span { color: var(--text-2); font-size: 0.86rem; line-height: 1.5; }
.learn-strip-btn {
  padding: 10px 18px; border-radius: 10px; background: var(--purple); color: #04121f;
  font-weight: 700; font-size: 0.88rem; text-decoration: none; white-space: nowrap; transition: var(--trans);
}
.learn-strip-btn:hover { background: var(--purple-lt); }
@media (max-width: 560px) { .learn-strip-btn { flex: 1 1 100%; text-align: center; } }

.resource-waitlist-form {
  max-width: 480px; margin: 28px auto 0;
  text-align: center;
}
.resource-waitlist-form p { font-size: 13.5px; color: var(--text-2); margin: 0 0 14px; }
.resource-waitlist-form form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.resource-waitlist-form input {
  flex: 1; min-width: 200px;
  background: rgba(8,11,20,0.5); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); padding: 11px 14px; font-size: 14px; font-family: var(--font-body); outline: none;
}
.resource-waitlist-form input:focus { border-color: var(--border-p); }
.resource-waitlist-status { font-size: 12.5px; margin-top: 10px; display: none; }
.resource-waitlist-status.success { display: block; color: #10B981; }
.resource-waitlist-status.error { display: block; color: #EF4444; }

/* ══════════════════════════════════════════
   PROOF, NOT PROMISES
══════════════════════════════════════════ */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
@media (max-width: 700px) { .proof-grid { grid-template-columns: 1fr; } }

.proof-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 2px solid var(--purple);
  border-radius: 14px;
  padding: 26px 24px;
  text-decoration: none;
  transition: var(--trans), transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease;
}
.proof-card:hover {
  border-color: var(--border-p);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -14px color-mix(in srgb, var(--purple) 40%, transparent), var(--shadow);
}
.proof-card-num {
  font-family: var(--font-head);
  font-size: 2.5rem; font-weight: 800;
  color: var(--purple-lt);
  line-height: 1;
}
.proof-card-label {
  font-size: 0.95rem; font-weight: 700; color: var(--text);
}
.proof-card-sub {
  font-size: 0.8rem; color: var(--text-3); line-height: 1.5;
}

/* ══════════════════════════════════════════
   AI SOLUTION QUALIFICATION MODAL
══════════════════════════════════════════ */
.qf-overlay {
  position: fixed; inset: 0;
  background: rgba(5,7,14,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.qf-overlay.open {
  opacity: 1; visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}
.qf-modal {
  position: relative;
  width: 100%; max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(160deg, #0f0d25 0%, #0c0a1e 55%, #09071a 100%);
  border: 1px solid rgba(56,189,248,0.22);
  border-radius: 22px;
  box-shadow: 0 24px 72px rgba(0,0,0,0.6), 0 0 48px -12px rgba(56,189,248,0.25);
  padding: 40px;
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), opacity 0.35s ease;
}
.qf-overlay.open .qf-modal { transform: translateY(0) scale(1); opacity: 1; }

.qf-close {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  color: var(--text-2); font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.qf-close:hover { background: rgba(239,68,68,0.15); color: #EF4444; border-color: rgba(239,68,68,0.3); }

.qf-progress { display: flex; gap: 8px; margin-bottom: 28px; }
.qf-progress-dot {
  flex: 1; height: 4px; border-radius: 100px;
  background: rgba(255,255,255,0.08);
  transition: background 0.3s ease;
}
.qf-progress-dot.active, .qf-progress-dot.done { background: var(--purple); }

.qf-step { display: none; }
.qf-step.active { display: block; animation: qfStepIn 0.35s cubic-bezier(0.4,0,0.2,1); }
@keyframes qfStepIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }

.qf-title { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.qf-sub { font-size: 13.5px; color: var(--text-3); margin: 0 0 24px; line-height: 1.5; }

.qf-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qf-options--stack { grid-template-columns: 1fr; }
.qf-option {
  display: flex; align-items: center; gap: 10px;
  background: rgba(8,11,20,0.6);
  border: 1px solid rgba(14,165,233,0.18);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px; font-weight: 600; color: var(--text-2);
  font-family: var(--font-body);
  cursor: pointer; text-align: left;
  transition: all 0.2s ease;
}
.qf-option:hover { border-color: rgba(56,189,248,0.4); background: rgba(14,10,28,0.7); color: var(--text); }
.qf-option.selected { border-color: var(--purple); background: rgba(56,189,248,0.12); color: var(--text); box-shadow: 0 0 0 2px rgba(56,189,248,0.15); }
.qf-opt-icon { font-size: 18px; flex-shrink: 0; }

.qf-textarea {
  width: 100%; resize: none;
  background: rgba(8,11,20,0.6);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 12px; color: var(--text);
  padding: 14px 16px; font-size: 14px; font-family: var(--font-body);
  outline: none; transition: all 0.22s;
  margin-bottom: 20px;
}
.qf-textarea:focus { border-color: rgba(56,189,248,0.55); box-shadow: 0 0 0 3px rgba(56,189,248,0.12); }
.qf-textarea::placeholder { color: var(--text-3); }

.qf-step-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qf-back {
  background: none; border: none; color: var(--text-3); font-size: 13.5px; font-weight: 600;
  cursor: pointer; padding: 8px 0; transition: color 0.2s ease;
}
.qf-back:hover { color: var(--purple-lt); }
.qf-next {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #075985 0%, #38BDF8 50%, #7C3AED 100%);
  color: #fff; border: none; border-radius: 12px;
  padding: 13px 22px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(56,189,248,0.35);
}
.qf-next:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(56,189,248,0.5); }

/* Recommendation step */
.qf-rec-icon { font-size: 40px; margin-bottom: 14px; }
.qf-rec-desc { font-size: 14.5px; color: var(--text-2); line-height: 1.7; margin: 0 0 20px; }
.qf-rec-tier {
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(56,189,248,0.08);
  border: 1px solid var(--border-p);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.qf-rec-tier-name { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-3); }
.qf-rec-tier-price { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--text); }
.qf-rec-tier-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.qf-rec-link { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--purple-lt); text-decoration: none; margin-bottom: 24px; }
.qf-rec-link:hover { text-decoration: underline; }

.qf-lead-form { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--border); }
.qf-field { display: flex; flex-direction: column; gap: 6px; }
.qf-field label { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-3); }
.qf-field input {
  background: rgba(8,11,20,0.6);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 10px; color: var(--text);
  padding: 12px 14px; font-size: 14px; font-family: var(--font-body);
  outline: none; transition: all 0.22s;
}
.qf-field input:focus { border-color: rgba(56,189,248,0.55); box-shadow: 0 0 0 3px rgba(56,189,248,0.12); }
.qf-field input::placeholder { color: var(--text-3); }
.qf-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 15px 24px;
  border-radius: 12px; border: none; cursor: pointer;
  font-size: 14.5px; font-weight: 700; color: #fff;
  font-family: var(--font-body);
  background: linear-gradient(135deg, #075985 0%, #38BDF8 50%, #7C3AED 100%);
  box-shadow: 0 4px 20px rgba(56,189,248,0.40);
  transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}
.qf-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(56,189,248,0.55); }
.qf-submit:disabled { opacity: 0.7; cursor: not-allowed; }

#qfOverlay .qf-lead-form .form-status {
  font-size: 13px; font-weight: 600; padding: 12px 14px; border-radius: 10px;
}

@media (max-width: 560px) {
  .qf-modal { padding: 28px 22px; }
  .qf-options { grid-template-columns: 1fr; }
}

#priyaBtn:hover .priya-logo-halo1     { opacity: 1; }

/* ═══════════════════════════════════════
   COMMAND PALETTE (Ctrl/Cmd+K) — sitewide
   Markup is injected by js/command-palette.js on every page.
═══════════════════════════════════════ */
body.cmdk-lock { overflow: hidden; }
.cmdk-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(4,6,14,.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 12vh 16px 16px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, visibility .18s;
}
.cmdk-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.cmdk-panel {
  width: 100%; max-width: 560px; max-height: 60vh;
  background: linear-gradient(180deg, rgba(16,22,40,.98), rgba(9,13,26,.98));
  border: 1px solid rgba(125,211,252,.22);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(56,189,248,.12);
  overflow: hidden;
  display: flex; flex-direction: column;
  transform: translateY(-14px) scale(.97); transition: transform .2s cubic-bezier(.22,1,.36,1);
}
.cmdk-overlay.open .cmdk-panel { transform: none; }
.cmdk-input-row {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.07); flex-shrink: 0;
}
.cmdk-input-icon { font-size: 15px; color: #7DD3FC; flex-shrink: 0; }
.cmdk-input {
  flex: 1; background: none; border: none; outline: none;
  color: #F0F4FA; font-size: 15px; font-family: var(--font-body); min-width: 0;
}
.cmdk-input::placeholder { color: #58627A; }
.cmdk-esc {
  font-size: 10.5px; font-weight: 700; color: #94a3b8;
  border: 1px solid rgba(255,255,255,.14); border-radius: 5px; padding: 2px 6px; flex-shrink: 0;
}
.cmdk-list { overflow-y: auto; padding: 6px; }
.cmdk-item {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px; border: none;
  background: none; color: #CBD5E1; cursor: pointer; text-align: left;
  font-family: var(--font-body);
}
.cmdk-item.active { background: rgba(56,189,248,.12); }
.cmdk-item-icon { font-size: 16px; flex-shrink: 0; width: 22px; text-align: center; }
.cmdk-item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cmdk-item-label { font-size: 13.5px; font-weight: 600; color: #F0F4FA; }
.cmdk-item-hint { font-size: 11px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmdk-item-go { font-size: 12px; color: #38BDF8; opacity: 0; flex-shrink: 0; }
.cmdk-item.active .cmdk-item-go { opacity: .8; }
.cmdk-empty { padding: 22px 12px; text-align: center; color: #64748b; font-size: 13px; }

/* Persistent floating trigger, bottom-left, on every page — sitewide so it
   doesn't depend on each page's own (very varied) navbar markup. */
.cmdk-fab {
  position: fixed; left: 20px; bottom: 20px; z-index: 9990;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(16,22,40,.94), rgba(9,13,26,.94));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(125,211,252,.22);
  border-radius: 100px; padding: 9px 16px 9px 12px; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  color: #cbd5e1; font-size: 12.5px; font-family: var(--font-body);
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease, border-color .2s, box-shadow .2s;
}
.cmdk-fab.show { opacity: 1; transform: none; }
.cmdk-fab:hover { border-color: rgba(125,211,252,.5); box-shadow: 0 12px 34px rgba(56,189,248,.18), 0 10px 30px rgba(0,0,0,.45); }
.cmdk-fab svg { flex-shrink: 0; opacity: .85; }
.cmdk-fab kbd {
  font-size: 10.5px; font-weight: 700; color: #7DD3FC;
  border: 1px solid rgba(125,211,252,.35); border-radius: 5px; padding: 2px 6px;
  background: rgba(56,189,248,.08);
}
/* Icon-only on phones — "Ctrl K" means nothing on a touchscreen */
@media (max-width: 640px) {
  .cmdk-fab span.cmdk-fab-label, .cmdk-fab kbd { display: none; }
  .cmdk-fab { width: 42px; height: 42px; padding: 0; justify-content: center; gap: 0; }
}

/* ── Voice navigation (static/js/voice-nav.js) — sits above the "Jump anywhere" pill ── */
.vnav-fab {
  position: fixed; left: 20px; bottom: 72px; z-index: 9990;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: linear-gradient(135deg, rgba(16,22,40,.94), rgba(9,13,26,.94));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(125,211,252,.22); color: #cbd5e1;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s, border-color .2s, color .2s;
}
.vnav-fab.show { opacity: 1; transform: none; }
.vnav-fab:hover { border-color: rgba(125,211,252,.5); color: #fff; }
.vnav-fab:focus-visible { outline: 2px solid #38BDF8; outline-offset: 3px; }
.vnav-fab .vnav-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.vnav-fab.on { color: #fff; border-color: rgba(239,68,68,.6); box-shadow: 0 0 0 0 rgba(239,68,68,.45), 0 10px 30px rgba(0,0,0,.45); animation: vnavPulse 1.8s ease-out infinite; }
.vnav-fab.on .vnav-dot { background: #EF4444; }
.vnav-fab.paused .vnav-dot { background: #FBBF24; }
@keyframes vnavPulse { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,.45), 0 10px 30px rgba(0,0,0,.45); } 100% { box-shadow: 0 0 0 14px rgba(239,68,68,0), 0 10px 30px rgba(0,0,0,.45); } }

.vnav-pill {
  position: fixed; left: 72px; bottom: 76px; z-index: 9990; max-width: min(420px, calc(100vw - 92px));
  display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 12px;
  background: rgba(9,13,26,.95); border: 1px solid rgba(125,211,252,.25); color: #e2e8f0;
  font-size: 13px; font-family: var(--font-body); box-shadow: 0 10px 30px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.vnav-pill.show { opacity: 1; transform: none; pointer-events: auto; }
.vnav-pill-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.vnav-pill-help {
  flex-shrink: 0; font: inherit; font-size: 11.5px; font-weight: 700; color: #7DD3FC; cursor: pointer;
  background: rgba(56,189,248,.1); border: 1px solid rgba(125,211,252,.3); border-radius: 8px; padding: 4px 8px;
}

.vnav-help {
  position: fixed; left: 20px; bottom: 124px; z-index: 9991; width: min(380px, calc(100vw - 40px));
  max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain;
  background: rgba(9,13,26,.97); border: 1px solid rgba(125,211,252,.25); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.55); color: #e2e8f0; font-family: var(--font-body);
  padding: 14px 16px; display: none;
}
.vnav-help.show { display: block; }
.vnav-help-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.vnav-help-head button { background: none; border: none; color: #94a3b8; cursor: pointer; font-size: 14px; }
.vnav-help h4 { margin: 12px 0 6px; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: #7DD3FC; }
.vnav-help ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.vnav-help li { display: flex; flex-direction: column; font-size: 13px; }
.vnav-help li span { color: #fff; font-weight: 600; }
.vnav-help li em { font-style: normal; color: #94a3b8; font-size: 12px; }

[data-theme="light"] .vnav-fab, [data-theme="light"] .vnav-pill, [data-theme="light"] .vnav-help {
  background: rgba(255,255,255,.97); color: #1e293b; border-color: rgba(2,132,199,.25);
  box-shadow: 0 10px 30px rgba(15,23,42,.15);
}
[data-theme="light"] .vnav-help li span { color: #0f172a; }
[data-theme="light"] .vnav-help li em { color: #64748b; }
[data-theme="light"] .vnav-pill-help { color: #0369a1; }
[data-theme="light"] .vnav-help h4 { color: #0369a1; }

.vnav-mode {
  flex-shrink: 0; font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  color: #0A0A0C; background: #FBBF24; border-radius: 6px; padding: 3px 7px;
}
.vnav-marks { position: fixed; inset: 0; z-index: 9989; pointer-events: none; display: none; }
.vnav-marks.show { display: block; }
.vnav-mark {
  position: fixed; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px;
  display: grid; place-items: center; font: 800 11.5px/1 var(--font-body); font-variant-numeric: tabular-nums;
  color: #0A0A0C; background: #FBBF24; border: 1.5px solid #0A0A0C; box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.vnav-flash { outline: 3px solid #FBBF24 !important; outline-offset: 4px; border-radius: 6px; transition: outline-color 1.2s; }
@media (prefers-reduced-motion: reduce) { .vnav-fab.on { animation: none; } }
@media (max-width: 640px) {
  .vnav-fab { bottom: 70px; }
  .vnav-pill { left: 70px; bottom: 74px; max-width: calc(100vw - 86px); }
}

/* ── Hero: resume link + instant JD-fit widget (index.html) ── */
.hero-resume-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-2); font-size: 13.5px; font-weight: 600;
  padding: 8px 4px; transition: color .2s;
}
.hero-resume-link:hover { color: var(--purple-lt); }

.jd-hero {
  max-width: 640px; margin: -8px 0 28px;
  background: color-mix(in srgb, var(--purple-lt) 6%, var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--purple-lt) 30%, var(--border));
  border-radius: 16px; padding: 18px 20px 20px;
  animation: heroFadeIn .35s ease;
}
.jd-hero-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.jd-hero-title { font-size: 13.5px; font-weight: 700; color: var(--purple-lt); }
.jd-hero-close { color: var(--text-3); font-size: 14px; cursor: pointer; padding: 2px 6px; }
.jd-hero-close:hover { color: var(--text); }
.jd-hero-textarea {
  width: 100%; min-height: 84px; max-height: 160px; resize: vertical;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; color: var(--text); font-size: 13.5px; font-family: var(--font-body);
  outline: none; transition: border-color .2s;
}
.jd-hero-textarea:focus { border-color: color-mix(in srgb, var(--purple-lt) 50%, var(--border)); }
.jd-hero-bar { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.jd-hero-btn { padding: 9px 20px; font-size: 13.5px; }
.jd-hero-btn:disabled { opacity: .6; cursor: default; }
.jd-hero-full { font-size: 12px; color: var(--text-3); }
.jd-hero-full:hover { color: var(--purple-lt); }
.jd-hero-result {
  margin-top: 14px; padding: 14px 16px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--border);
  font-size: 13px; line-height: 1.7; color: var(--text-2);
  white-space: pre-wrap; max-height: 260px; overflow-y: auto;
}
.jd-hero-result .jd-caret { display:inline-block; width:2px; height:1em; background:var(--purple-lt); vertical-align:text-bottom; animation: jdCaretBlink .8s steps(1) infinite; margin-left:1px; }
@keyframes jdCaretBlink { 50% { opacity: 0; } }

/* ── Exit-intent: resume + updates lead magnet (index.html) ── */
.exit-overlay {
  position: fixed; inset: 0; z-index: 9997;
  background: rgba(4,6,14,.68);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, visibility .25s;
}
.exit-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.exit-modal {
  position: relative; width: 100%; max-width: 400px;
  background: linear-gradient(160deg, rgba(16,22,40,.98), rgba(9,13,26,.98));
  border: 1px solid rgba(125,211,252,.25);
  border-radius: 20px; padding: 30px 26px 24px; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 50px rgba(56,189,248,.12);
  transform: scale(.92) translateY(10px); transition: transform .28s cubic-bezier(.34,1.56,.64,1);
}
.exit-overlay.open .exit-modal { transform: none; }
.exit-close { position: absolute; top: 14px; right: 14px; color: #64748b; font-size: 14px; padding: 4px; cursor: pointer; background: none; border: none; }
.exit-close:hover { color: #fff; }
.exit-icon { font-size: 34px; margin-bottom: 6px; }
.exit-title { font-family: var(--font-head); font-size: 21px; font-weight: 700; color: #F0F4FA; margin-bottom: 6px; }
.exit-sub { font-size: 13px; color: #94a3b8; line-height: 1.6; margin-bottom: 20px; }
.exit-download-btn { width: 100%; justify-content: center; }
.exit-or { font-size: 11px; color: #475569; margin: 14px 0; text-transform: uppercase; letter-spacing: 1px; }
.exit-email-form { display: flex; gap: 8px; }
.exit-email-inp {
  flex: 1; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px; padding: 10px 12px; color: #F0F4FA; font-size: 13px; outline: none; min-width: 0;
}
.exit-email-inp:focus { border-color: rgba(56,189,248,.5); }
.exit-email-btn {
  background: linear-gradient(135deg,#0EA5E9,#38BDF8); color: #04182B; font-weight: 700;
  padding: 10px 16px; border-radius: 9px; font-size: 12.5px; white-space: nowrap; cursor: pointer; border: none;
}
.exit-email-btn:hover { filter: brightness(1.08); }
.exit-email-btn:disabled { opacity: .6; cursor: default; }
.exit-status { font-size: 12px; margin-top: 10px; min-height: 16px; }
.exit-status.ok  { color: #4ade80; }
.exit-status.err { color: #f87171; }
.exit-note { font-size: 10.5px; color: #475569; margin-top: 14px; }
@media (max-width: 480px) { .exit-email-form { flex-direction: column; } }.vnav-settings { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 8px 0 4px; border-bottom: 1px solid rgba(125,211,252,.15); margin-bottom: 4px; font-size: 12.5px; }
.vnav-settings label { display: inline-flex; align-items: center; gap: 6px; color: #cbd5e1; cursor: pointer; }
.vnav-settings select { font: inherit; font-size: 12.5px; color: #e2e8f0; background: rgba(15,23,42,.9); border: 1px solid rgba(125,211,252,.3); border-radius: 6px; padding: 3px 6px; }
.vnav-help-foot { margin: 12px 0 0; font-size: 12px; color: #94a3b8; }
[data-theme="light"] .vnav-settings label { color: #334155; }
[data-theme="light"] .vnav-settings select { color: #0f172a; background: #fff; border-color: rgba(2,132,199,.3); }
[data-theme="light"] .vnav-help-foot { color: #64748b; }
/* Voice control — mic level ring, push-to-talk, tips */
.vnav-fab::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(239,68,68,.75); opacity: 0;
  transform: scale(calc(1 + var(--vnav-level, 0) * .35)); transition: transform .08s linear, opacity .2s;
}
.vnav-fab.on::after { opacity: calc(.25 + var(--vnav-level, 0)); }
.vnav-fab.ptt { color: #7DD3FC; border-color: rgba(125,211,252,.5); }
.vnav-ptt {
  flex-shrink: 0; font: inherit; font-size: 11.5px; font-weight: 800; cursor: pointer; touch-action: none; user-select: none;
  color: #0A0A0C; background: #38BDF8; border: none; border-radius: 8px; padding: 6px 10px;
}
.vnav-ptt.held { background: #EF4444; color: #fff; }
.vnav-tip { flex-basis: 100%; margin: 2px 0 0; font-size: 11.5px; color: #94a3b8; line-height: 1.45; }
[data-theme="light"] .vnav-tip { color: #64748b; }
@media (prefers-reduced-motion: reduce) { .vnav-fab::after { transition: none; } }
/* Pricing card → "Chat with your website" demo link */
.pricing-demo-link { display: block; margin-top: 10px; text-align: center; font-size: 13px; font-weight: 600; color: var(--purple-lt); }
.pricing-demo-link:hover { text-decoration: underline; }
/* ── Free AI tools welcome card (static/js/tools-welcome.js) ── */
.tw-card {
  position: fixed; left: 20px; bottom: 128px; z-index: 9992; width: min(370px, calc(100vw - 40px));
  background: linear-gradient(160deg, rgba(16,22,40,.98), rgba(9,13,26,.98)); color: #e2e8f0;
  border: 1px solid rgba(125,211,252,.28); border-radius: 16px; padding: 18px 18px 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(56,189,248,.05); font-family: var(--font-body);
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.tw-card.show { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .3s ease, transform .3s ease; }
.tw-no-motion .tw-card { transition: none; transform: none; }
.tw-close { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 8px; border: none; background: none; color: #94a3b8; cursor: pointer; font-size: 14px; }
.tw-close:hover { color: #fff; background: rgba(255,255,255,.06); }
.tw-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; padding-right: 26px; }
.tw-wave { font-size: 26px; line-height: 1; }
.tw-head strong { display: block; font-size: 16.5px; color: #fff; }
.tw-sub { font-size: 12px; color: #94a3b8; }
.tw-tabs { display: flex; gap: 4px; background: rgba(255,255,255,.04); border-radius: 10px; padding: 3px; margin-bottom: 10px; }
.tw-tab { flex: 1; border: none; background: none; color: #94a3b8; font: inherit; font-size: 12px; font-weight: 700; padding: 7px 4px; border-radius: 8px; cursor: pointer; transition: background .2s, color .2s; }
.tw-tab:hover { color: #e2e8f0; }
.tw-tab.active { background: rgba(56,189,248,.16); color: #7DD3FC; }
.tw-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tw-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); color: inherit; text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.tw-item:hover { border-color: rgba(125,211,252,.45); background: rgba(56,189,248,.07); transform: translateX(2px); }
.tw-item:focus-visible, .tw-tab:focus-visible, .tw-close:focus-visible, .tw-later:focus-visible { outline: 2px solid #38BDF8; outline-offset: 2px; }
.tw-icon { font-size: 22px; width: 32px; text-align: center; flex-shrink: 0; }
.tw-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.tw-name { font-size: 14px; font-weight: 700; color: #f1f5f9; }
.tw-desc { font-size: 12.5px; color: #94a3b8; line-height: 1.4; }
.tw-badge { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #0A0A0C; background: #FBBF24; border-radius: 5px; padding: 1px 6px; margin-left: 4px; vertical-align: 2px; }
.tw-go { color: #7DD3FC; font-weight: 800; }
.tw-learn {
  display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border-radius: 10px;
  font-size: 12.5px; color: #e2e8f0; text-decoration: none;
  background: rgba(16,185,129,.10); border: 1px solid rgba(16,185,129,.35);
}
.tw-learn > span:nth-child(2) { flex: 1; }
.tw-learn:hover { background: rgba(16,185,129,.18); }
.tw-learn:focus-visible { outline: 2px solid #38BDF8; outline-offset: 2px; }
[data-theme="light"] .tw-learn { color: #065f46; }
.tw-later { display: block; margin: 8px auto 0; border: none; background: none; color: #64748b; font: inherit; font-size: 12px; cursor: pointer; padding: 4px 8px; }
.tw-later:hover { color: #cbd5e1; }
[data-theme="light"] .tw-card { background: #fff; color: #1e293b; border-color: rgba(2,132,199,.25); box-shadow: 0 24px 60px rgba(15,23,42,.18); }
[data-theme="light"] .tw-head strong, [data-theme="light"] .tw-name { color: #0f172a; }
[data-theme="light"] .tw-sub, [data-theme="light"] .tw-desc, [data-theme="light"] .tw-tab { color: #64748b; }
[data-theme="light"] .tw-tabs { background: #f1f5f9; }
[data-theme="light"] .tw-tab.active { background: #e0f2fe; color: #0369a1; }
[data-theme="light"] .tw-item { border-color: #e2e8f0; background: #f8fafc; }
[data-theme="light"] .tw-item:hover { border-color: rgba(2,132,199,.45); background: #f0f9ff; }
[data-theme="light"] .tw-go { color: #0369a1; }
@media (max-width: 640px) {
  .tw-card { left: 0; right: 0; bottom: 0; width: auto; border-radius: 18px 18px 0 0; z-index: 9995; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .tw-card:not(.show) { transform: translateY(100%); }
  /* The sheet covers the bottom of the screen — hide the floating buttons underneath it while it's open. */
  body.tw-open #priyaBtn, body.tw-open .vnav-fab, body.tw-open .vnav-pill, body.tw-open .cmdk-fab { visibility: hidden; }
}
/* Phones: keep the voice bubble clear of PRIYA's orb, and give the tools card a proper close target */
.vnav-help-short { display: none; }
@media (max-width: 640px) {
  .vnav-pill { max-width: calc(100vw - 160px); }
  .vnav-help-long { display: none; }
  .vnav-help-short { display: inline; }
  .vnav-pill-help { width: 30px; height: 30px; padding: 0; border-radius: 50%; font-size: 14px; }
  .tw-close { width: 40px; height: 40px; top: 6px; right: 6px; font-size: 16px; }
}

/* ═══════════════════════════════════════
   NAVBAR — compact layout (index.html)
   Customise the navbar here; the links themselves are configured
   in the `nav` block at the top of the <header> in index.html.
═══════════════════════════════════════ */
:root {
  --nav-h: 64px;            /* bar height */
  --nav-max: 1280px;        /* content width */
  --nav-font: 13.5px;       /* link text size */
  --nav-pad-x: 12px;        /* horizontal padding per link */
  --nav-gap: 2px;           /* space between links */
  --nav-actions-gap: 8px;   /* space between PRIYA / CTA / theme buttons */
  --nav-priya-collapse: 1180px; /* (reference) below this, Ask PRIYA shows its icon only */
}
.nav-inner { height: var(--nav-h); max-width: var(--nav-max); gap: 20px; }
.nav-menu { gap: var(--nav-gap); }
.nav-menu .nav-item,
.nav-menu .nav-dropdown-trigger { font-size: var(--nav-font); padding: 7px var(--nav-pad-x); }
.nav-actions { gap: var(--nav-actions-gap); margin-left: auto; }
.nav-actions .nav-priya-link { padding: 6px 14px 6px 11px !important; font-size: 13px; }
.nav-actions .nav-connect-btn { padding: 7px 16px 7px 18px !important; }
.nav-more-panel { width: 290px; left: auto; right: 0; transform: translateY(-8px); }
.nav-dropdown.open .nav-more-panel { transform: none; }
.nav-mobile-only { display: none; }

@media (max-width: 1180px) {
  .nav-actions .nav-priya-text { display: none; }
  .nav-actions .nav-priya-link { padding: 8px !important; }
}
@media (max-width: 768px) {
  .nav-desktop-only { display: none; }
  .nav-menu.open { top: var(--nav-h); }
  .nav-menu.open .nav-mobile-only { display: block; margin-top: 10px; text-align: center; }
  .nav-more-panel { width: 100%; }
}
.footer-privacy { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-privacy:hover { color: var(--purple-lt); }
