/* ============================================
   Spectra Studio — Sakib Hossen Portfolio
   Brand: #2E1248 #4B1E73 #8C5BFF #0F0F14
   ============================================ */

:root {
  --primary: #2E1248;
  --secondary: #4B1E73;
  --accent: #8C5BFF;
  --accent-text: #E9DEFF;
  --base: #0F0F14;
  --surface: rgba(22, 22, 29, 0.55);
  --surface-solid: #16161d;
  --text: #F5F3FF;
  --muted: #B7A9D9;
  --muted-2: #7E7399;
  --border: rgba(140, 91, 255, 0.22);
  --border-strong: rgba(140, 91, 255, 0.45);
  --glow: rgba(140, 91, 255, 0.35);
  --radius: 1.25rem;
  --radius-pill: 999px;
  --nav-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font);
}

/* Highlight text — readable in dark + light */
.text-accent {
  color: var(--accent-text) !important;
  font-weight: 650;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font);
  background: var(--base);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 5.5rem 0;
  isolation: isolate;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(46, 18, 72, 0.4);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--muted);
  max-width: 36rem;
  margin-inline: auto;
}

/* ---------- Glass buttons (soft frosted + outer glow like ref card) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.45rem;
  border-radius: 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    filter 0.28s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

/* soft top sheen */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.04) 28%,
    transparent 55%
  );
  pointer-events: none;
}

.btn-glass {
  color: var(--text);
  background:
    linear-gradient(160deg, rgba(40, 28, 70, 0.55), rgba(15, 15, 24, 0.72));
  border: 1px solid rgba(140, 91, 255, 0.28);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  box-shadow:
    0 0 0 1px rgba(140, 91, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(140, 91, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(140, 91, 255, 0.08);
}

.btn-glass:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 91, 255, 0.55);
  background:
    linear-gradient(160deg, rgba(55, 35, 95, 0.65), rgba(18, 14, 32, 0.78));
  box-shadow:
    0 0 0 1px rgba(140, 91, 255, 0.15),
    0 14px 36px rgba(0, 0, 0, 0.4),
    0 0 48px rgba(140, 91, 255, 0.35),
    0 0 80px rgba(140, 91, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary {
  color: #fff;
  background:
    linear-gradient(155deg,
      rgba(140, 91, 255, 0.55) 0%,
      rgba(75, 30, 115, 0.75) 45%,
      rgba(46, 18, 72, 0.9) 100%);
  border: 1px solid rgba(183, 169, 217, 0.35);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    0 0 0 1px rgba(140, 91, 255, 0.2),
    0 12px 32px rgba(46, 18, 72, 0.45),
    0 0 40px rgba(140, 91, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -8px 20px rgba(46, 18, 72, 0.35);
  text-shadow: 0 1px 10px rgba(15, 15, 20, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 222, 255, 0.5);
  box-shadow:
    0 0 0 1px rgba(140, 91, 255, 0.3),
    0 16px 40px rgba(46, 18, 72, 0.5),
    0 0 56px rgba(140, 91, 255, 0.5),
    0 0 90px rgba(140, 91, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.06);
}

.btn-whatsapp {
  color: #d8ffe8;
  background:
    linear-gradient(160deg, rgba(37, 211, 102, 0.22), rgba(15, 24, 20, 0.72));
  border: 1px solid rgba(37, 211, 102, 0.4);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow:
    0 0 0 1px rgba(37, 211, 102, 0.1),
    0 10px 28px rgba(0, 0, 0, 0.3),
    0 0 28px rgba(37, 211, 102, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 211, 102, 0.7);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.35),
    0 0 44px rgba(37, 211, 102, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.85rem;
  border-radius: 0.95rem;
}

/* nav / pill filters also get glass treatment */
.filter-btn {
  border-radius: 1rem !important;
}

.nav-links {
  box-shadow:
    0 0 24px rgba(140, 91, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-icon { width: 2.6rem; height: 2.6rem; padding: 0; border-radius: 1rem; }

/* ---------- Glass cards + ambient glow ---------- */
.glass {
  background:
    linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02) 40%, rgba(46,18,72,0.2)),
    rgba(15, 15, 20, 0.4);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(140, 91, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.glass::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(140, 91, 255, 0.35),
    transparent 40%,
    transparent 60%,
    rgba(75, 30, 115, 0.3)
  );
  -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;
  opacity: 0.45;
  pointer-events: none;
}

/* Soft page glow washes — gentle, no hard edges */
.section::after {
  content: "";
  position: absolute;
  width: min(560px, 75vw);
  height: min(560px, 75vw);
  border-radius: 50%;
  top: 8%;
  right: -14%;
  background: radial-gradient(circle, rgba(140,91,255,0.1), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
  animation: sectionGlow 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.section:nth-of-type(even)::after {
  left: -14%;
  right: auto;
  top: auto;
  bottom: 8%;
  background: radial-gradient(circle, rgba(75,30,115,0.14), transparent 70%);
}

@keyframes sectionGlow {
  from { transform: scale(1) translate(0, 0); opacity: 0.55; }
  to { transform: scale(1.08) translate(-12px, 18px); opacity: 0.85; }
}

/* ---------- Moving gradients ---------- */
.bg-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.bg-scene .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  will-change: transform;
}

.bg-scene .orb-1 {
  width: min(520px, 50vw);
  height: min(520px, 50vw);
  background: radial-gradient(circle, rgba(140,91,255,0.5), rgba(75,30,115,0.15) 50%, transparent 70%);
  top: -12%;
  left: 50%;
  transform: translateX(-50%);
  animation: floatA 14s ease-in-out infinite;
}

.bg-scene .orb-2 {
  width: min(400px, 42vw);
  height: min(400px, 42vw);
  background: radial-gradient(circle, rgba(46,18,72,0.9), transparent 70%);
  bottom: 0;
  left: 5%;
  animation: floatB 18s ease-in-out infinite;
}

.bg-scene .orb-3 {
  width: min(340px, 36vw);
  height: min(340px, 36vw);
  background: radial-gradient(circle, rgba(140,91,255,0.3), transparent 70%);
  bottom: 10%;
  right: 0;
  animation: floatC 16s ease-in-out infinite;
}

.bg-scene .arc {
  position: absolute;
  top: -22%;
  left: 50%;
  width: 120vw;
  height: 55vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 60% 40% at 50% 100%,
    rgba(140,91,255,0.5) 0%,
    rgba(75,30,115,0.22) 35%,
    transparent 70%);
  filter: blur(10px);
  animation: arcPulse 9s ease-in-out infinite;
}

.bg-scene .stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(245,243,255,0.7), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(140,91,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 48% 18%, rgba(245,243,255,0.55), transparent),
    radial-gradient(1px 1px at 66% 42%, rgba(245,243,255,0.5), transparent),
    radial-gradient(1px 1px at 78% 76%, rgba(140,91,255,0.55), transparent),
    radial-gradient(1.5px 1.5px at 88% 28%, rgba(245,243,255,0.45), transparent),
    radial-gradient(1px 1px at 8% 88%, rgba(140,91,255,0.4), transparent),
    radial-gradient(1px 1px at 92% 60%, rgba(245,243,255,0.4), transparent);
  animation: twinkle 7s ease-in-out infinite;
}

.bg-scene .mesh {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 50% 45% at 30% 40%, rgba(140,91,255,0.22), transparent 60%),
    radial-gradient(ellipse 45% 50% at 70% 55%, rgba(75,30,115,0.28), transparent 60%),
    radial-gradient(ellipse 55% 45% at 50% 15%, rgba(46,18,72,0.35), transparent 65%);
  filter: blur(56px);
  animation: meshFlow 22s ease-in-out infinite alternate;
  opacity: 0.85;
}

.bg-scene .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140,91,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,91,255,0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
  opacity: 0.7;
}

@keyframes floatA {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-48%) translateY(24px) scale(1.06); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(36px,-24px) scale(1.1); }
}
@keyframes floatC {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-30px,18px) scale(1.08); }
}
@keyframes arcPulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}
@keyframes meshFlow {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(2%,-2%) scale(1.06); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(15, 15, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: min(170px, 42vw);
  object-fit: contain;
  object-position: left center;
  border-radius: 10px;
  filter: drop-shadow(0 0 16px rgba(140, 91, 255, 0.45));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 24px rgba(140, 91, 255, 0.7));
  transform: translateY(-1px);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  box-shadow: 0 0 24px rgba(140, 91, 255, 0.4);
  font-size: 0.95rem;
}

.logo span { color: var(--muted); font-weight: 500; font-size: 0.85rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(15, 15, 20, 0.45);
  backdrop-filter: blur(12px);
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.86rem;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(140, 91, 255, 0.16);
}

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(46, 18, 72, 0.45);
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: twinkle 2s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #E9DEFF, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .aka {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.hero .lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-card {
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(140,91,255,0.25), transparent 50%);
  pointer-events: none;
}

.hero-photo {
  aspect-ratio: 4/5;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(140,91,255,0.2), rgba(46,18,72,0.5)),
    var(--surface-solid);
  display: grid;
  place-items: center;
  position: relative;
}

.hero-photo .profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-photo .tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(15,15,20,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  z-index: 2;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.hero-meta div {
  padding: 0.75rem;
  border-radius: 0.85rem;
  background: rgba(15,15,20,0.45);
  border: 1px solid rgba(140,91,255,0.12);
}

.hero-meta strong {
  display: block;
  color: var(--accent);
  font-size: 1.1rem;
}

.hero-meta span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* ---------- Dashboard ---------- */
.dash-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.dash-main {
  padding: 1.25rem;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.dash-top h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #bbf7d0;
  font-size: 0.8rem;
}

.status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.metric {
  padding: 1.05rem 1rem;
  border-radius: 1.2rem;
  background: linear-gradient(160deg, rgba(40, 28, 70, 0.5), rgba(15, 15, 24, 0.7));
  border: 1px solid rgba(140, 91, 255, 0.28);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow:
    0 0 0 1px rgba(140, 91, 255, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(140, 91, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.metric::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(255,255,255,0.1), transparent 40%);
  pointer-events: none;
}

.metric:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 91, 255, 0.5);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(140, 91, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.metric strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.3rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(140, 91, 255, 0.45);
  position: relative;
  z-index: 1;
}

.metric span {
  color: var(--muted);
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
}

.chart-box {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(15,15,20,0.45);
  border: 1px solid rgba(140,91,255,0.12);
  overflow: hidden;
  position: relative;
}

.chart-box h4 {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: twinkle 1.2s ease-in-out infinite;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  height: 120px;
}

.bars span {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--accent), var(--secondary));
  opacity: 0.9;
  height: var(--h, 50%);
  transform-origin: bottom;
  position: relative;
  box-shadow: 0 0 16px rgba(140, 91, 255, 0.25);
  animation:
    barIntro 0.9s cubic-bezier(0.22, 1, 0.36, 1) both,
    barPulse 2.4s ease-in-out infinite;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) + 0.9s);
}

.bars span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 45%);
  opacity: 0.5;
  animation: barShine 2.4s ease-in-out infinite;
  animation-delay: inherit;
}

.bars-live span {
  transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.bar-labels {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.bar-labels span {
  flex: 1;
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted-2);
}

@keyframes barIntro {
  from { transform: scaleY(0); opacity: 0.2; }
  to { transform: scaleY(1); opacity: 0.9; }
}

@keyframes barPulse {
  0%, 100% {
    filter: brightness(1);
    box-shadow: 0 0 12px rgba(140, 91, 255, 0.2);
    transform: scaleY(1);
  }
  50% {
    filter: brightness(1.25);
    box-shadow: 0 0 22px rgba(140, 91, 255, 0.55);
    transform: scaleY(1.06);
  }
}

@keyframes barShine {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.65; }
}

.dash-side {
  display: grid;
  gap: 0.75rem;
}

.side-card {
  padding: 1rem 1.1rem;
}

.side-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-weight: 500;
}

.tool-row, .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tool, .tag {
  padding: 0.4rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid var(--border);
  background: rgba(140, 91, 255, 0.08);
  font-size: 0.8rem;
}

.activity {
  display: grid;
  gap: 0.55rem;
}

.activity li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: var(--muted);
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(140,91,255,0.08);
}

.activity li:last-child { border-bottom: 0; padding-bottom: 0; }
.activity strong { color: var(--text); font-weight: 500; }

.pulse-chip {
  animation: chipGlow 4s ease-in-out infinite;
}

.pulse-chip:nth-child(2) { animation-delay: 0.3s; }
.pulse-chip:nth-child(3) { animation-delay: 0.6s; }
.pulse-chip:nth-child(4) { animation-delay: 0.9s; }
.pulse-chip:nth-child(5) { animation-delay: 1.2s; }

@keyframes chipGlow {
  0%, 100% { border-color: rgba(140, 91, 255, 0.18); box-shadow: none; }
  50% { border-color: rgba(140, 91, 255, 0.55); box-shadow: 0 0 16px rgba(140, 91, 255, 0.2); }
}

/* ---------- Cosmos / galaxy / Earth ---------- */
.cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Keep content above cosmos without breaking fixed UI */
.section,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  z-index: 100;
}

.modal {
  z-index: 200;
}

.float-wa {
  z-index: 90;
}

.cosmos-stars {
  position: absolute;
  inset: 0;
  opacity: 0.7;
}

.cosmos-stars-a {
  background-image:
    radial-gradient(1px 1px at 8% 12%, rgba(245,243,255,0.9), transparent),
    radial-gradient(1.5px 1.5px at 18% 40%, rgba(140,91,255,0.8), transparent),
    radial-gradient(1px 1px at 32% 22%, rgba(245,243,255,0.7), transparent),
    radial-gradient(1px 1px at 48% 70%, rgba(245,243,255,0.55), transparent),
    radial-gradient(1.5px 1.5px at 62% 18%, rgba(140,91,255,0.75), transparent),
    radial-gradient(1px 1px at 74% 55%, rgba(245,243,255,0.6), transparent),
    radial-gradient(1px 1px at 86% 30%, rgba(245,243,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 92% 78%, rgba(140,91,255,0.65), transparent),
    radial-gradient(1px 1px at 14% 82%, rgba(245,243,255,0.45), transparent),
    radial-gradient(1px 1px at 55% 45%, rgba(245,243,255,0.5), transparent);
  animation: starDrift 80s linear infinite;
}

.cosmos-stars-b {
  background-image:
    radial-gradient(1px 1px at 22% 15%, rgba(245,243,255,0.5), transparent),
    radial-gradient(1px 1px at 40% 60%, rgba(140,91,255,0.55), transparent),
    radial-gradient(1.5px 1.5px at 68% 35%, rgba(245,243,255,0.45), transparent),
    radial-gradient(1px 1px at 80% 88%, rgba(140,91,255,0.5), transparent),
    radial-gradient(1px 1px at 5% 50%, rgba(245,243,255,0.4), transparent);
  animation: starDrift 120s linear infinite reverse;
  opacity: 0.5;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  mix-blend-mode: screen;
}

.nebula.n1 {
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  top: -10%;
  right: -10%;
  background: radial-gradient(circle, rgba(140,91,255,0.45), rgba(75,30,115,0.15) 45%, transparent 70%);
  animation: nebulaDrift 22s ease-in-out infinite alternate;
}

.nebula.n2 {
  width: 45vw;
  height: 45vw;
  max-width: 520px;
  max-height: 520px;
  bottom: 5%;
  left: -8%;
  background: radial-gradient(circle, rgba(46,18,72,0.7), rgba(140,91,255,0.15) 50%, transparent 70%);
  animation: nebulaDrift 28s ease-in-out infinite alternate-reverse;
}

.nebula.n3 {
  width: 30vw;
  height: 30vw;
  max-width: 360px;
  max-height: 360px;
  top: 40%;
  left: 40%;
  background: radial-gradient(circle, rgba(140,91,255,0.25), transparent 70%);
  animation: nebulaDrift 18s ease-in-out infinite alternate;
}

/* Meteors — few, smooth 3D trails; hero meteor falls from top */
.meteor-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.meteor {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--len, 110px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(140, 91, 255, 0.12) 25%,
    rgba(245, 243, 255, 0.9) 75%,
    #fff 100%
  );
  opacity: 0;
  transform-origin: right center;
  filter:
    drop-shadow(0 0 6px rgba(140, 91, 255, 0.85))
    drop-shadow(0 0 12px rgba(140, 91, 255, 0.4));
  will-change: transform, opacity;
  animation: meteorFly var(--dur, 3.6s) cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: var(--delay, 0s);
}

/* Signature meteor from the top of the hero */
.meteor-hero {
  width: var(--len, 170px);
  height: 3px;
  filter:
    drop-shadow(0 0 8px rgba(140, 91, 255, 0.95))
    drop-shadow(0 0 22px rgba(140, 91, 255, 0.55))
    drop-shadow(0 0 40px rgba(75, 30, 115, 0.35));
  animation-timing-function: cubic-bezier(0.33, 0, 0.2, 1);
}

.meteor-hero::before {
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  right: -4px;
  box-shadow:
    0 0 14px rgba(255, 255, 255, 1),
    0 0 28px rgba(140, 91, 255, 0.95),
    0 0 48px rgba(140, 91, 255, 0.5);
}

.meteor-hero::after {
  inset: -6px 0;
  filter: blur(6px);
  opacity: 0.85;
}

.meteor::before {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #E9DEFF 40%, #8C5BFF 70%, transparent 100%);
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.9),
    0 0 24px rgba(140, 91, 255, 0.8),
    0 0 40px rgba(140, 91, 255, 0.4);
}

.meteor::after {
  content: "";
  position: absolute;
  inset: -4px 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(140, 91, 255, 0.28) 50%,
    rgba(245, 243, 255, 0.22)
  );
  filter: blur(4px);
  opacity: 0.7;
  z-index: -1;
}

@keyframes meteorFly {
  0% {
    opacity: 0;
    transform:
      translate3d(var(--x0), var(--y0), 40px)
      rotate(var(--angle))
      scaleX(0.25)
      scaleY(0.5);
  }
  12% {
    opacity: 1;
  }
  75% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform:
      translate3d(var(--x1), var(--y1), -20px)
      rotate(var(--angle))
      scaleX(1.05)
      scaleY(1);
  }
}

/* Soft ambient top glow (not a hard beam — blends with hero) */
.hero .bg-scene::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(280px, 40vw);
  height: 55%;
  background: radial-gradient(
    ellipse 50% 70% at 50% 0%,
    rgba(140, 91, 255, 0.22) 0%,
    rgba(140, 91, 255, 0.08) 40%,
    transparent 72%
  );
  filter: blur(28px);
  pointer-events: none;
  animation: topMeteorGlow 5s ease-in-out infinite;
  z-index: 0;
}

@keyframes topMeteorGlow {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}

.float-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(140, 91, 255, 0.7);
  box-shadow: 0 0 8px rgba(140, 91, 255, 0.6);
  animation: particleFloat linear infinite;
}

@keyframes starDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-40px); }
}

@keyframes nebulaDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -20px) scale(1.08); }
}

@keyframes shoot {
  0% { transform: translateX(0) translateY(0) rotate(-18deg); opacity: 0; }
  5% { opacity: 1; }
  30% { transform: translateX(60vw) translateY(18vh) rotate(-18deg); opacity: 0; }
  100% { opacity: 0; }
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0.6); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* Solar system (hero) — separate from globe */
.space-visuals {
  position: absolute;
  right: 1%;
  top: 58%;
  transform: translateY(-50%);
  width: min(380px, 44vw);
  height: min(300px, 40vw);
  z-index: 1;
  pointer-events: none;
  opacity: 0.88;
}

.space-visuals.solar-only {
  right: 0;
  top: auto;
  bottom: 6%;
  transform: none;
}

.solar-system {
  position: absolute;
  inset: 0;
  perspective: 900px;
  transform-style: preserve-3d;
}

.solar-system .sun {
  position: absolute;
  top: 48%;
  left: 48%;
  width: 14px;
  height: 14px;
  margin: -7px;
  border-radius: 50%;
  background: radial-gradient(circle, #F5F3FF 0%, #8C5BFF 45%, #4B1E73 100%);
  box-shadow:
    0 0 16px rgba(140, 91, 255, 0.9),
    0 0 40px rgba(140, 91, 255, 0.45),
    0 0 70px rgba(75, 30, 115, 0.35);
  z-index: 5;
  animation: sunPulse 3s ease-in-out infinite;
}

.ellipse {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(183, 169, 217, 0.28);
  border-radius: 50%;
  transform-style: preserve-3d;
  box-shadow: 0 0 12px rgba(140, 91, 255, 0.05);
}

.ellipse .body {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  margin: -3px;
  border-radius: 50%;
  background: #E9DEFF;
  box-shadow: 0 0 10px rgba(140, 91, 255, 0.85), 0 0 18px rgba(140, 91, 255, 0.4);
}

.ellipse.e1 {
  width: 18%; height: 18%;
  margin: -9% 0 0 -9%;
  transform: rotateX(68deg) rotateZ(-12deg);
  animation: ellipseSpin 8s linear infinite;
}
.ellipse.e2 {
  width: 28%; height: 28%;
  margin: -14% 0 0 -14%;
  transform: rotateX(68deg) rotateZ(8deg);
  animation: ellipseSpin 12s linear infinite reverse;
}
.ellipse.e3 {
  width: 38%; height: 38%;
  margin: -19% 0 0 -19%;
  transform: rotateX(68deg) rotateZ(-18deg);
  animation: ellipseSpin 16s linear infinite;
}
.ellipse.e4 {
  width: 50%; height: 50%;
  margin: -25% 0 0 -25%;
  transform: rotateX(68deg) rotateZ(22deg);
  animation: ellipseSpin 22s linear infinite reverse;
}
.ellipse.e5 {
  width: 62%; height: 62%;
  margin: -31% 0 0 -31%;
  transform: rotateX(68deg) rotateZ(-6deg);
  animation: ellipseSpin 28s linear infinite;
}
.ellipse.e6 {
  width: 74%; height: 74%;
  margin: -37% 0 0 -37%;
  transform: rotateX(68deg) rotateZ(15deg);
  animation: ellipseSpin 36s linear infinite reverse;
}
.ellipse.e7 {
  width: 86%; height: 86%;
  margin: -43% 0 0 -43%;
  transform: rotateX(68deg) rotateZ(-25deg);
  animation: ellipseSpin 44s linear infinite;
}
.ellipse.e8 {
  width: 98%; height: 98%;
  margin: -49% 0 0 -49%;
  transform: rotateX(68deg) rotateZ(10deg);
  animation: ellipseSpin 54s linear infinite reverse;
}

.ellipse.e1 .body { width: 4px; height: 4px; margin: -2px; background: #B7A9D9; }
.ellipse.e3 .body { background: #8C5BFF; }
.ellipse.e5 .body { width: 7px; height: 7px; margin: -3.5px; background: #F5F3FF; }
.ellipse.e7 .body { width: 5px; height: 5px; margin: -2.5px; }

/* Planet body orbits on the ring edge */
.ellipse .body {
  animation: planetCounter none;
  offset-path: none;
  /* keep planet fixed on left of ellipse while ellipse rotates = orbit look */
}

/* Dotted globe showcase — own section card (not merged with orbits) */
.globe-showcase {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.globe-copy h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.globe-copy p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 28rem;
}

.dot-globe-main {
  width: min(220px, 40vw);
  height: min(220px, 40vw);
  opacity: 0.95;
  filter: drop-shadow(0 0 28px rgba(140, 91, 255, 0.4));
  animation: globeFloat 6s ease-in-out infinite;
}

@keyframes globeFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 16px rgba(140,91,255,0.9), 0 0 40px rgba(140,91,255,0.45); }
  50% { transform: scale(1.15); box-shadow: 0 0 22px rgba(140,91,255,1), 0 0 55px rgba(140,91,255,0.55); }
}

@keyframes ellipseSpin {
  to { transform: rotateX(68deg) rotateZ(calc(var(--rz, 0deg) + 360deg)); }
}

/* bake rotateZ offsets into animation via separate initial - use full transform in keyframes */
.ellipse.e1 { animation-name: spinE1; }
.ellipse.e2 { animation-name: spinE2; }
.ellipse.e3 { animation-name: spinE3; }
.ellipse.e4 { animation-name: spinE4; }
.ellipse.e5 { animation-name: spinE5; }
.ellipse.e6 { animation-name: spinE6; }
.ellipse.e7 { animation-name: spinE7; }
.ellipse.e8 { animation-name: spinE8; }

@keyframes spinE1 {
  from { transform: rotateX(68deg) rotateZ(-12deg); }
  to { transform: rotateX(68deg) rotateZ(348deg); }
}
@keyframes spinE2 {
  from { transform: rotateX(68deg) rotateZ(8deg); }
  to { transform: rotateX(68deg) rotateZ(-352deg); }
}
@keyframes spinE3 {
  from { transform: rotateX(68deg) rotateZ(-18deg); }
  to { transform: rotateX(68deg) rotateZ(342deg); }
}
@keyframes spinE4 {
  from { transform: rotateX(68deg) rotateZ(22deg); }
  to { transform: rotateX(68deg) rotateZ(-338deg); }
}
@keyframes spinE5 {
  from { transform: rotateX(68deg) rotateZ(-6deg); }
  to { transform: rotateX(68deg) rotateZ(354deg); }
}
@keyframes spinE6 {
  from { transform: rotateX(68deg) rotateZ(15deg); }
  to { transform: rotateX(68deg) rotateZ(-345deg); }
}
@keyframes spinE7 {
  from { transform: rotateX(68deg) rotateZ(-25deg); }
  to { transform: rotateX(68deg) rotateZ(335deg); }
}
@keyframes spinE8 {
  from { transform: rotateX(68deg) rotateZ(10deg); }
  to { transform: rotateX(68deg) rotateZ(-350deg); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Glass cards float slightly */
.glass {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.dash-main.glass:hover,
.side-card.glass:hover,
.hero-card.glass:hover {
  border-color: var(--border-strong);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(140, 91, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 960px) {
  .space-visuals {
    opacity: 0.35;
    right: -8%;
    bottom: 2%;
    width: min(260px, 72vw);
    height: min(200px, 48vw);
  }
  .globe-showcase {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .logo-img { height: 38px; }
}

/* ---------- Experience ---------- */
.timeline {
  display: grid;
  gap: 1rem;
  max-width: 820px;
  margin-inline: auto;
}

.exp-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  padding: 1.35rem;
  position: relative;
}

.exp-year {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.exp-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.exp-card .role {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.exp-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 820px;
  margin: 1.5rem auto 0;
}

.edu-card {
  padding: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.edu-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: linear-gradient(145deg, rgba(140, 91, 255, 0.2), rgba(46, 18, 72, 0.45));
  border: 1px solid rgba(140, 91, 255, 0.35);
  box-shadow: 0 0 20px rgba(140, 91, 255, 0.2);
  animation: eduIconPulse 4s ease-in-out infinite;
}

.edu-icon svg {
  width: 22px;
  height: 22px;
}

.edu-card h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.edu-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes eduIconPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(140, 91, 255, 0.15); }
  50% { box-shadow: 0 0 28px rgba(140, 91, 255, 0.4); }
}

/* ---------- Work showcase ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  transition: 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--text);
  border-color: rgba(140, 91, 255, 0.65);
  background: linear-gradient(135deg, rgba(140, 91, 255, 0.28), rgba(75, 30, 115, 0.25));
  box-shadow:
    0 0 24px rgba(140, 91, 255, 0.25),
    0 0 48px rgba(140, 91, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.work-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--border);
  background: rgba(15,15,20,0.5);
  border-radius: var(--radius);
  position: relative;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(140, 91, 255, 0.08);
  transition: box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(140, 91, 255, 0.55);
  box-shadow:
    0 24px 55px rgba(0,0,0,0.45),
    0 0 40px rgba(140,91,255,0.22),
    0 0 80px rgba(140,91,255,0.1);
}

.work-card:hover::after {
  box-shadow:
    inset 0 0 0 1px rgba(140, 91, 255, 0.45),
    inset 0 0 40px rgba(140, 91, 255, 0.08);
}

.work-card .thumb {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #1a1a22;
}

.work-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.work-card:hover .thumb img { transform: scale(1.06); }

.work-card .body {
  padding: 0.95rem 1rem 1.1rem;
}

.work-card .cat {
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.work-card h3 {
  font-size: 1rem;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.work-card p {
  color: var(--muted);
  font-size: 0.84rem;
}

.work-card.hidden { display: none; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  padding: 1.6rem 1.35rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  border-color: var(--border-strong);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.4),
    0 0 50px rgba(140,91,255,0.22),
    0 0 100px rgba(140,91,255,0.12);
  transform: translateY(-8px);
  background:
    linear-gradient(165deg, rgba(140,91,255,0.12), rgba(15,15,20,0.5) 45%),
    rgba(15, 15, 20, 0.45);
}

.price-card.featured::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(140,91,255,0.35), transparent 65%);
  pointer-events: none;
  animation: sectionGlow 7s ease-in-out infinite alternate;
  z-index: 0;
}

.price-card > * { position: relative; z-index: 1; }

.price-card.featured::before {
  content: "Recommended";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(140,91,255,0.2);
  border: 1px solid var(--border);
  color: #E9DEFF;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.price-card .price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.price-card .desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

.price-card ul {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  flex: 1;
}

.price-card li {
  color: var(--muted);
  font-size: 0.9rem;
  padding-left: 1.3rem;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.price-note {
  text-align: center;
  color: var(--muted-2);
  font-size: 0.88rem;
  margin-top: 1.5rem;
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.contact-card,
.contact-form-card {
  padding: 1.6rem;
}

.contact-card h3,
.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Labeled social chips — clearer than two identical Facebook icons */
.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.85rem 0.5rem 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(140, 91, 255, 0.28);
  background: linear-gradient(160deg, rgba(40, 28, 70, 0.5), rgba(15, 15, 24, 0.72));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(140, 91, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--text);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.social-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 91, 255, 0.55);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.3),
    0 0 32px rgba(140, 91, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.social-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(145deg, var(--secondary), var(--accent));
  box-shadow: 0 0 14px rgba(140, 91, 255, 0.35);
  flex-shrink: 0;
}

.social-chip-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-chip-icon.fb {
  background: linear-gradient(145deg, #3b5998, #8C5BFF);
}

.social-chip-icon.studio {
  background: linear-gradient(145deg, #2E1248, #8C5BFF);
  font-family: var(--font-display);
}

.social-chip-icon.be {
  background: linear-gradient(145deg, #1769ff, #4B1E73);
  font-size: 0.72rem;
}

.social-chip-icon.ig {
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
}

.social-chip-icon.pin {
  background: linear-gradient(145deg, #e60023, #4B1E73);
}

.social-chip-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.social-chip-text strong {
  font-size: 0.84rem;
  font-weight: 650;
}

.social-chip-text small {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.12rem;
}

/* legacy icon circles (if any remain) */
.social {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--muted);
}

.social svg { width: 18px; height: 18px; fill: currentColor; }

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: rgba(15,15,20,0.55);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(140,91,255,0.15);
}

.form-grid textarea { min-height: 110px; resize: vertical; }
.form-grid select option { background: #16161d; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  background: rgba(15,15,20,0.8);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer p {
  color: var(--muted-2);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links a:hover { color: var(--accent); }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 8, 12, 0.78);
  backdrop-filter: blur(10px);
}

.modal.open { display: flex; }

.modal-panel {
  width: min(900px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  border-radius: 1.35rem;
  border: 1px solid var(--border);
  background: rgba(18, 14, 28, 0.95);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 50px rgba(140,91,255,0.12);
}

.modal-panel img {
  width: 100%;
  max-height: 55vh;
  object-fit: contain;
  background: #0a0a0e;
}

.modal-body { padding: 1.25rem 1.4rem 1.5rem; }

.modal-body .cat {
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.modal-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.modal-body p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.modal-close {
  position: sticky;
  top: 0.75rem;
  float: right;
  margin: 0.75rem 0.75rem 0 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(15,15,20,0.8);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 1.2rem;
  z-index: 2;
}

/* ---------- Floating contact ---------- */
.float-wa {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.float-wa:hover { transform: scale(1.06); }
.float-wa svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .dash-grid,
  .contact-wrap,
  .pricing-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured { transform: none; }

  .work-grid { grid-template-columns: repeat(2, 1fr); }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(var(--nav-h) + 0.4rem);
    left: 1rem;
    right: 1rem;
    padding: 0.75rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: rgba(15,15,20,0.95);
    backdrop-filter: blur(16px);
  }

  .menu-toggle { display: flex; }

  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics .metric:last-child { grid-column: 1 / -1; }

  .exp-card { grid-template-columns: 1fr; gap: 0.4rem; }
  .edu-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .nav-actions .btn span.hide-sm { display: none; }
  .hero-meta { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Process section ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.process-card {
  padding: 1.35rem 1.2rem;
  position: relative;
  overflow: hidden;
}

.process-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.65rem;
  text-shadow: 0 0 18px rgba(140, 91, 255, 0.45);
}

.process-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.process-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---------- Tools proof ---------- */
.tools-proof {
  margin-top: 1.35rem;
}

.tools-proof-block {
  padding: 1.25rem 1.4rem;
  margin-top: 0.5rem;
}

.tools-proof-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.55rem;
}

.tools-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tools-proof-row span {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(140, 91, 255, 0.3);
  background: linear-gradient(160deg, rgba(40, 28, 70, 0.45), rgba(15, 15, 24, 0.55));
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(140, 91, 255, 0.1), inset 0 1px 0 rgba(255,255,255,0.08);
}

.tools-proof-note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.reply-hint {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.reply-hint strong {
  color: #bbf7d0;
  font-weight: 650;
}

.reply-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 0 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.1);
  color: #bbf7d0;
  font-size: 0.84rem;
}

.reply-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.quick-wa {
  margin-bottom: 1.1rem;
}

.quick-wa-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.quick-wa-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* ---------- Pricing clarity ---------- */
.pricing-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.35rem;
}

.pricing-meta strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.pricing-meta p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.pricing-meta span,
.pricing-meta em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

.price-list-in {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  flex: 1;
}

.price-list-in li {
  color: var(--muted);
  font-size: 0.9rem;
  padding-left: 1.25rem;
  position: relative;
}

.price-list-in li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.price-out {
  font-size: 0.8rem;
  color: var(--muted-2);
  line-height: 1.45;
  margin-bottom: 1.1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(15, 15, 20, 0.45);
  border: 1px dashed rgba(140, 91, 255, 0.2);
}

.price-out strong {
  color: var(--muted);
}

/* ---------- Calm mode ---------- */
.calm-toggle[aria-pressed="true"] {
  border-color: rgba(140, 91, 255, 0.6);
  box-shadow: 0 0 24px rgba(140, 91, 255, 0.25);
  color: #E9DEFF;
}

body.calm-mode .cosmos,
body.calm-mode .meteor-field,
body.calm-mode .space-visuals,
body.calm-mode .bg-scene .orb,
body.calm-mode .bg-scene .arc,
body.calm-mode .bg-scene .stars,
body.calm-mode .bg-scene .mesh,
body.calm-mode .bg-scene .grid,
body.calm-mode .hero .bg-scene::before,
body.calm-mode .float-particles {
  display: none !important;
}

body.calm-mode .section::after {
  opacity: 0.35;
  animation: none !important;
}

body.calm-mode .meteor,
body.calm-mode .bars span,
body.calm-mode .pulse-chip,
body.calm-mode .dot-globe-main,
body.calm-mode .ellipse,
body.calm-mode .sun,
body.calm-mode .edu-icon {
  animation: none !important;
}

body.calm-mode .bars-live span {
  transition: none;
}

body.calm-mode .glass::before {
  opacity: 0.3;
}

body.calm-mode .btn-primary {
  animation: none;
}

@media (max-width: 960px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .calm-label {
    font-size: 0.78rem;
  }
}

/* Auto calm-leaning on small screens (still can toggle) */
@media (max-width: 700px) {
  body:not(.calm-mode):not(.force-motion) .meteor-field .meteor:not(.meteor-hero) {
    display: none;
  }
  body:not(.calm-mode):not(.force-motion) .nebula.n3,
  body:not(.calm-mode):not(.force-motion) .float-particles {
    opacity: 0.35;
  }
}

/* ---------- Modern socials (platform brand colors) ---------- */
.socials-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.soc {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--surface, rgba(255,255,255,0.04));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 148px;
}

.soc:hover {
  transform: translateY(-2px);
}

.soc-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}

.soc-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.soc-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.soc-meta strong {
  font-size: 0.86rem;
  font-weight: 700;
}

.soc-meta small {
  font-size: 0.7rem;
  opacity: 0.8;
  margin-top: 0.1rem;
}

/* Facebook blue */
.soc-fb {
  border-color: rgba(24, 119, 242, 0.35);
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.14), rgba(24, 119, 242, 0.04));
  color: #E8F1FF;
}
.soc-fb .soc-icon { background: #1877F2; box-shadow: 0 0 16px rgba(24, 119, 242, 0.45); }
.soc-fb:hover { box-shadow: 0 8px 24px rgba(24, 119, 242, 0.25); border-color: #1877F2; }

/* Spectra page — brand purple */
.soc-studio {
  border-color: rgba(140, 91, 255, 0.4);
  background: linear-gradient(135deg, rgba(140, 91, 255, 0.16), rgba(46, 18, 72, 0.25));
  color: #F0E9FF;
}
.soc-studio .soc-icon { background: linear-gradient(145deg, #4B1E73, #8C5BFF); box-shadow: 0 0 16px rgba(140, 91, 255, 0.45); }
.soc-studio:hover { box-shadow: 0 8px 24px rgba(140, 91, 255, 0.28); border-color: #8C5BFF; }

/* Behance blue */
.soc-be {
  border-color: rgba(23, 105, 255, 0.35);
  background: linear-gradient(135deg, rgba(23, 105, 255, 0.14), rgba(23, 105, 255, 0.04));
  color: #E8F0FF;
}
.soc-be .soc-icon { background: #1769FF; box-shadow: 0 0 16px rgba(23, 105, 255, 0.45); }
.soc-be:hover { box-shadow: 0 8px 24px rgba(23, 105, 255, 0.25); border-color: #1769FF; }

/* Instagram gradient */
.soc-ig {
  border-color: rgba(225, 48, 108, 0.35);
  background: linear-gradient(135deg, rgba(245, 133, 41, 0.12), rgba(221, 42, 123, 0.1), rgba(129, 52, 175, 0.1));
  color: #FFEAF2;
}
.soc-ig .soc-icon {
  background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af 80%, #515bd4);
  box-shadow: 0 0 16px rgba(221, 42, 123, 0.4);
}
.soc-ig:hover { box-shadow: 0 8px 24px rgba(221, 42, 123, 0.25); border-color: #dd2a7b; }

/* Pinterest red */
.soc-pin {
  border-color: rgba(230, 0, 35, 0.35);
  background: linear-gradient(135deg, rgba(230, 0, 35, 0.14), rgba(230, 0, 35, 0.04));
  color: #FFECEE;
}
.soc-pin .soc-icon { background: #E60023; box-shadow: 0 0 16px rgba(230, 0, 35, 0.4); }
.soc-pin:hover { box-shadow: 0 8px 24px rgba(230, 0, 35, 0.22); border-color: #E60023; }

/* ---------- Toolkit showcase ---------- */
.toolkit-showcase {
  padding: 1.5rem 1.4rem 1.35rem;
  margin-top: 0.5rem;
}

.toolkit-head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.toolkit-head h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.35rem 0 0.4rem;
}

.toolkit-head p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 34rem;
  margin: 0 auto;
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.toolkit-card {
  padding: 1.15rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(140, 91, 255, 0.28);
  background: linear-gradient(165deg, rgba(140, 91, 255, 0.1), rgba(15, 15, 20, 0.45));
  box-shadow: 0 10px 28px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.toolkit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(140, 91, 255, 0.55);
  box-shadow: 0 16px 36px rgba(0,0,0,0.28), 0 0 32px rgba(140, 91, 255, 0.18);
}

.toolkit-card-hot {
  border-color: rgba(140, 91, 255, 0.55);
  background: linear-gradient(165deg, rgba(140, 91, 255, 0.22), rgba(46, 18, 72, 0.4));
  box-shadow: 0 12px 32px rgba(140, 91, 255, 0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}

.toolkit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.toolkit-icon.ps { background: linear-gradient(145deg, #001e36, #31a8ff); box-shadow: 0 0 18px rgba(49, 168, 255, 0.35); }
.toolkit-icon.ai { background: linear-gradient(145deg, #330000, #ff9a00); box-shadow: 0 0 18px rgba(255, 154, 0, 0.35); }
.toolkit-icon.ae { background: linear-gradient(145deg, #00005b, #9999ff); box-shadow: 0 0 18px rgba(153, 153, 255, 0.35); }
.toolkit-icon.ai-tools { background: linear-gradient(145deg, #2E1248, #8C5BFF); box-shadow: 0 0 20px rgba(140, 91, 255, 0.45); font-size: 1.2rem; }

.toolkit-card h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.toolkit-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.toolkit-foot {
  text-align: center;
  margin-top: 1rem !important;
}

/* ---------- Interests ---------- */
.interest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.interest-card {
  padding: 1.35rem 1.25rem;
}

.interest-card-wide {
  grid-column: 1 / -1;
}

.interest-icon {
  font-size: 1.5rem;
  margin-bottom: 0.65rem;
  filter: grayscale(0.1);
}

.interest-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.interest-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ---------- Theme switch (Day / Night) ---------- */
.mode-switch {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.mode-track {
  position: relative;
  width: 58px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(140, 91, 255, 0.35);
  background: linear-gradient(160deg, rgba(40, 28, 70, 0.7), rgba(15, 15, 24, 0.85));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 16px rgba(140, 91, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
}

.mode-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, #8C5BFF, #4B1E73);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 0 12px rgba(140, 91, 255, 0.4);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mode-icon {
  font-size: 0.72rem;
  line-height: 1;
  z-index: 1;
  opacity: 0.7;
}

html.theme-light .mode-thumb {
  transform: translateX(26px);
  background: linear-gradient(145deg, #f5f5f5, #d0d0d0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

html.theme-light .mode-track {
  background: linear-gradient(160deg, #f0f0f0, #e2e2e2);
  border-color: rgba(0,0,0,0.12);
}

/* ========== LIGHT / DAY MODE (black & white bright) ========== */
html.theme-light {
  color-scheme: light;
}

html.theme-light body {
  --primary: #1a1a1a;
  --secondary: #2a2a2a;
  --accent: #111111;
  --base: #f4f4f5;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --text: #111111;
  --muted: #5c5c66;
  --muted-2: #8a8a96;
  --border: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.22);
  --glow: rgba(0, 0, 0, 0.08);
  background: #f4f4f5;
  color: #111111;
}

html.theme-light .cosmos,
html.theme-light .meteor-field,
html.theme-light .space-visuals,
html.theme-light .bg-scene .orb,
html.theme-light .bg-scene .arc,
html.theme-light .bg-scene .stars,
html.theme-light .bg-scene .mesh,
html.theme-light .bg-scene .grid,
html.theme-light .hero .bg-scene::before,
html.theme-light .nebula,
html.theme-light .shooting-star,
html.theme-light .float-particles {
  opacity: 0.12 !important;
}

html.theme-light .nav.scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: rgba(0,0,0,0.08);
}

html.theme-light .nav-links {
  background: rgba(255,255,255,0.75);
  border-color: rgba(0,0,0,0.1);
}

html.theme-light .nav-links a { color: #5c5c66; }
html.theme-light .nav-links a:hover,
html.theme-light .nav-links a.active {
  color: #111;
  background: rgba(0,0,0,0.06);
}

html.theme-light .logo-img {
  filter: drop-shadow(0 0 0 transparent) grayscale(0.15);
  mix-blend-mode: multiply;
}

html.theme-light .glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(255,255,255,0.78));
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}

html.theme-light .glass::before {
  background: linear-gradient(135deg, rgba(0,0,0,0.12), transparent 40%, transparent 60%, rgba(0,0,0,0.08));
  opacity: 0.5;
}

html.theme-light .btn-glass {
  color: #111;
  background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(240,240,242,0.9));
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06), inset 0 1px 0 #fff;
}

html.theme-light .btn-glass:hover {
  border-color: rgba(0,0,0,0.22);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

html.theme-light .btn-primary {
  color: #fff;
  background: linear-gradient(155deg, #222 0%, #000 100%);
  border-color: rgba(0,0,0,0.4);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  text-shadow: none;
  animation: none;
}

html.theme-light .btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
}

html.theme-light .btn-whatsapp {
  color: #064e3b;
  background: linear-gradient(160deg, rgba(37, 211, 102, 0.2), rgba(255,255,255,0.85));
  border-color: rgba(37, 211, 102, 0.45);
}

html.theme-light .hero h1 em {
  background: linear-gradient(135deg, #111, #555);
  -webkit-background-clip: text;
  background-clip: text;
}

html.theme-light .metric,
html.theme-light .toolkit-card,
html.theme-light .filter-btn,
html.theme-light .chip,
html.theme-light .tool,
html.theme-light .tag {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
  color: #111;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

html.theme-light .metric strong,
html.theme-light .process-num,
html.theme-light .exp-year,
html.theme-light .work-card .cat,
html.theme-light .price,
html.theme-light a:hover {
  color: #111;
}

html.theme-light .metric strong {
  text-shadow: none;
  color: #000;
}

html.theme-light .section-head .eyebrow,
html.theme-light .hero-badge,
html.theme-light .status-pill {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
  color: #444;
}

html.theme-light .status-pill { color: #166534; border-color: rgba(22,101,52,0.25); background: rgba(34,197,94,0.1); }

html.theme-light .footer {
  background: #fff;
  border-top-color: rgba(0,0,0,0.08);
}

html.theme-light .work-card {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
}

html.theme-light .work-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.2);
}

html.theme-light .modal {
  background: rgba(255,255,255,0.72);
}

html.theme-light .modal-panel {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
  color: #111;
}

html.theme-light .form-grid input,
html.theme-light .form-grid select,
html.theme-light .form-grid textarea {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
  color: #111;
}

html.theme-light .price-card.featured {
  background: linear-gradient(165deg, rgba(0,0,0,0.04), #fff 50%);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

html.theme-light .price-out {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.1);
}

html.theme-light .reply-badge {
  color: #166534;
  background: rgba(34,197,94,0.12);
  border-color: rgba(22,101,52,0.25);
}

html.theme-light .reply-hint strong { color: #166534; }

html.theme-light .toolkit-icon.ps,
html.theme-light .toolkit-icon.ai,
html.theme-light .toolkit-icon.ae,
html.theme-light .toolkit-icon.ai-tools {
  /* keep brand tool colors in light mode for recognition */
}

html.theme-light .soc-fb { color: #0a2540; background: rgba(24,119,242,0.08); }
html.theme-light .soc-studio { color: #1a1030; background: rgba(140,91,255,0.1); }
html.theme-light .soc-be { color: #0a2540; background: rgba(23,105,255,0.08); }
html.theme-light .soc-ig { color: #3b0a20; background: rgba(221,42,123,0.08); }
html.theme-light .soc-pin { color: #3b000a; background: rgba(230,0,35,0.08); }

html.theme-light .menu-toggle {
  border-color: rgba(0,0,0,0.12);
  background: #fff;
}
html.theme-light .menu-toggle span { background: #111; }

html.theme-light .edu-icon {
  color: #111;
  background: #f0f0f0;
  border-color: rgba(0,0,0,0.1);
  box-shadow: none;
}

html.theme-light .section::after {
  background: radial-gradient(circle, rgba(0,0,0,0.04), transparent 70%) !important;
}

@media (max-width: 960px) {
  .toolkit-grid { grid-template-columns: 1fr 1fr; }
  .interest-grid { grid-template-columns: 1fr; }
  .interest-card-wide { grid-column: auto; }
}

@media (max-width: 560px) {
  .toolkit-grid { grid-template-columns: 1fr; }
  .soc { min-width: calc(50% - 0.4rem); }
}

/* ========== Light mode text / contrast fixes ========== */
html.theme-light {
  --accent-text: #0a0a0a;
  --accent: #111111;
  --text: #111111;
  --muted: #4a4a52;
  --muted-2: #6b6b76;
}

html.theme-light .text-accent {
  color: #000 !important;
  font-weight: 700;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.08) 60%);
}

html.theme-light body,
html.theme-light p,
html.theme-light li,
html.theme-light span,
html.theme-light label,
html.theme-light h1,
html.theme-light h2,
html.theme-light h3,
html.theme-light h4 {
  color: inherit;
}

html.theme-light .section-head h2,
html.theme-light .hero h1,
html.theme-light .logo,
html.theme-light .dash-top h3,
html.theme-light .contact-card h3,
html.theme-light .contact-form-card h3,
html.theme-light .price-card h3,
html.theme-light .process-card h3,
html.theme-light .interest-card h3,
html.theme-light .toolkit-card h4,
html.theme-light .toolkit-head h3,
html.theme-light .exp-card h3,
html.theme-light .work-card h3,
html.theme-light .edu-card h4,
html.theme-light .globe-copy h3,
html.theme-light .modal-body h3 {
  color: #0a0a0a !important;
}

html.theme-light .section-head p,
html.theme-light .hero .lead,
html.theme-light .hero .aka,
html.theme-light .desc,
html.theme-light .process-card p,
html.theme-light .interest-card p,
html.theme-light .toolkit-card p,
html.theme-light .toolkit-head p,
html.theme-light .tools-proof-note,
html.theme-light .price-note,
html.theme-light .soft-note,
html.theme-light .exp-card p,
html.theme-light .exp-card .role,
html.theme-light .edu-card p,
html.theme-light .work-card p,
html.theme-light .work-card .body p,
html.theme-light .contact-card p,
html.theme-light .globe-copy p,
html.theme-light .activity li,
html.theme-light .chart-box h4,
html.theme-light .side-card h4,
html.theme-light .metric span,
html.theme-light .hero-meta span,
html.theme-light .modal-body p,
html.theme-light .footer p,
html.theme-light .footer-links a,
html.theme-light .bar-labels span,
html.theme-light .price-list-in li,
html.theme-light .price-out,
html.theme-light .pricing-meta p,
html.theme-light .pricing-meta strong,
html.theme-light .form-grid label {
  color: #4a4a52 !important;
}

html.theme-light .price-out strong,
html.theme-light .pricing-meta strong {
  color: #111 !important;
}

html.theme-light .process-num,
html.theme-light .exp-year,
html.theme-light .work-card .cat,
html.theme-light .price,
html.theme-light .metric strong,
html.theme-light .hero-meta strong,
html.theme-light .activity strong,
html.theme-light .tools-proof-label,
html.theme-light .quick-wa-label {
  color: #0a0a0a !important;
}

html.theme-light .price {
  color: #000 !important;
  font-weight: 800;
}

html.theme-light .price-list-in li::before {
  color: #111 !important;
}

html.theme-light .chip,
html.theme-light .tool,
html.theme-light .tag,
html.theme-light .filter-btn,
html.theme-light .tools-proof-row span {
  color: #1a1a1a !important;
  background: #fff !important;
  border-color: rgba(0,0,0,0.12) !important;
}

html.theme-light .filter-btn.active,
html.theme-light .filter-btn:hover {
  color: #000 !important;
  background: #ececef !important;
  border-color: rgba(0,0,0,0.22) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06) !important;
}

html.theme-light .nav-links a {
  color: #4a4a52 !important;
}
html.theme-light .nav-links a:hover,
html.theme-light .nav-links a.active {
  color: #000 !important;
  background: rgba(0,0,0,0.06) !important;
}

html.theme-light .section-head .eyebrow,
html.theme-light .hero-badge {
  color: #333 !important;
  background: rgba(0,0,0,0.05) !important;
  border-color: rgba(0,0,0,0.1) !important;
}

html.theme-light .hero-photo .tag {
  color: #f5f5f5 !important;
  background: rgba(10,10,12,0.72) !important;
}

html.theme-light .reply-hint {
  color: #4a4a52 !important;
}
html.theme-light .reply-hint strong {
  color: #166534 !important;
}

/* Social pills — dark text on light tinted chips */
html.theme-light .soc-fb,
html.theme-light .soc-studio,
html.theme-light .soc-be,
html.theme-light .soc-ig,
html.theme-light .soc-pin {
  color: #111 !important;
}
html.theme-light .soc-meta strong { color: #0a0a0a !important; }
html.theme-light .soc-meta small { color: #555 !important; opacity: 1; }

html.theme-light .soc-fb {
  background: #e8f1ff !important;
  border-color: rgba(24, 119, 242, 0.35) !important;
}
html.theme-light .soc-studio {
  background: #f3eeff !important;
  border-color: rgba(100, 60, 200, 0.3) !important;
}
html.theme-light .soc-be {
  background: #eaf1ff !important;
  border-color: rgba(23, 105, 255, 0.3) !important;
}
html.theme-light .soc-ig {
  background: #fff0f6 !important;
  border-color: rgba(221, 42, 123, 0.3) !important;
}
html.theme-light .soc-pin {
  background: #ffecef !important;
  border-color: rgba(230, 0, 35, 0.3) !important;
}

/* Keep platform icon circles colorful with white glyphs */
html.theme-light .soc-icon { color: #fff !important; }

html.theme-light .footer-links a { color: #4a4a52 !important; }
html.theme-light .footer-links a:hover { color: #000 !important; }

html.theme-light .modal-body .cat { color: #333 !important; }

html.theme-light .live-dot + *,
html.theme-light .chart-box h4 {
  color: #4a4a52 !important;
}

html.theme-light .side-card h4 {
  color: #555 !important;
}

html.theme-light .activity li span {
  color: #6b6b76 !important;
}

html.theme-light .calm-toggle {
  color: #111 !important;
}
html.theme-light .calm-toggle[aria-pressed="true"] {
  color: #000 !important;
  border-color: rgba(0,0,0,0.25) !important;
  box-shadow: 0 0 16px rgba(0,0,0,0.08) !important;
}

html.theme-light .edu-icon {
  color: #111 !important;
  background: #f0f0f2 !important;
  border-color: rgba(0,0,0,0.1) !important;
}

html.theme-light .interest-icon {
  filter: none;
}

html.theme-light .pricing-meta span,
html.theme-light .pricing-meta em {
  color: #000 !important;
  font-weight: 700;
}

html.theme-light .btn-glass {
  color: #111 !important;
}
html.theme-light .btn-primary {
  color: #fff !important;
}
html.theme-light .btn-whatsapp {
  color: #064e3b !important;
}

/* Chart box — clean day mode */
html.theme-light .chart-box {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px) !important;
  background-size: 100% 24px, 24px 100% !important;
  background-position: 0 100%, 0 0 !important;
}

html.theme-light .chart-box h4 {
  color: #333 !important;
  font-weight: 600 !important;
}

html.theme-light .live-dot {
  background: #16a34a !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2), 0 0 8px rgba(22, 163, 74, 0.45) !important;
}

html.theme-light .bars {
  background: transparent;
  border-radius: 0.5rem;
  padding: 0.25rem 0.15rem 0;
}

html.theme-light .bars span {
  background: linear-gradient(180deg, #3a3a3a 0%, #111111 100%) !important;
  opacity: 1 !important;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  border: 1px solid rgba(0, 0, 0, 0.15);
  filter: none !important;
  animation: barIntro 0.9s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

html.theme-light .bars span::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 50%) !important;
  opacity: 0.7 !important;
  animation: none !important;
}

html.theme-light .bars-live span {
  /* keep height wave; no purple pulse filter */
}

html.theme-light .bar-labels span {
  color: #5a5a64 !important;
  font-weight: 600 !important;
}

html.theme-light .dot-globe-main {
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.12)) grayscale(0.2);
}

html.theme-light .solar-system .sun {
  background: radial-gradient(circle, #222, #888) !important;
  box-shadow: 0 0 16px rgba(0,0,0,0.2) !important;
}
html.theme-light .ellipse {
  border-color: rgba(0,0,0,0.15) !important;
}
html.theme-light .ellipse .body {
  background: #222 !important;
  box-shadow: 0 0 8px rgba(0,0,0,0.25) !important;
}
