@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  --accent: #2563eb;
  --accent-2: #0ea5e9;
  --dark: #0b0f1a;
  --glass: rgba(255, 255, 255, 0.78);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    'Plus Jakarta Sans',
    system-ui,
    -apple-system,
    sans-serif;
  position: relative;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.15rem;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body::before,
body::after {
  content: '';
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.22;
  z-index: -1;
}

body::before {
  top: -140px;
  left: -140px;
  background: radial-gradient(circle, var(--accent-2), transparent 65%);
}

body::after {
  bottom: -180px;
  right: -160px;
  background: radial-gradient(circle, var(--accent), transparent 65%);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1.5rem 0 0.75rem;
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-pill {
  background: #2f2f2f;
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-link {
  font-weight: 500;
  color: #f8fafc;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9rem;
}

.text-center {
  text-align: center;
}

.space-top {
  margin-top: 1.5rem;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-grid {
  align-items: center;
}

.hero-image {
  display: grid;
  place-items: center;
}

.hero-modern {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.scroll-indicator {
  display: grid;
  place-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  color: #1f2937;
  font-weight: 600;
}

.scroll-arrow {
  font-size: 1.8rem;
  line-height: 1;
  animation: bounce 1.4s infinite;
}

.about-section {
  margin-top: 2rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.hero-photo-wrap {
  display: grid;
  place-items: center;
}

.hero-photo {
  width: min(420px, 80vw);
  height: min(420px, 80vw);
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #ffffff;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
}

.hero-copy {
  max-width: 520px;
}

.hero-modern .hero-copy {
  text-align: center;
}

.hero-modern .hero-actions {
  justify-content: center;
}

.hero-modern .hero-socials {
  justify-content: center;
}

.hero-eyebrow {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  margin-bottom: 0.25rem;
}

.hero-role {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.hero-role {
  font-size: 1.2rem;
  font-weight: 600;
  background: linear-gradient(90deg, #2563eb, #9333ea);
  -webkit-background-clip: text;
  color: transparent;
  margin: 0 0 0.75rem;
}

.hero-typing {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid rgba(15, 23, 42, 0.7);
  padding-right: 0.2rem;
  animation:
    typing 3.4s steps(14, end) 1 both,
    caret 3.4s step-end 1 both;
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.hero-summary {
  margin: 0 0 1.75rem;
}

.hero-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.hero-social:hover {
  transform: translateY(-2px);
}

.hero-btn {
  background: #ffffff;
  color: #0b0f1a;
  border: 2px solid #0b0f1a;
  box-shadow: inset 0 0 0 1px #0b0f1a;
}

.hero-btn:hover {
  background: #0b0f1a;
  color: #ffffff;
}

.hero-btn-active {
  background: #0b0f1a;
  color: #ffffff;
  border-color: #0b0f1a;
}

.hero-btn-active:hover {
  background: #0b0f1a;
  color: #ffffff;
}

.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.9rem;
}

.about-card h3 {
  margin-bottom: 0.2rem;
}

.about-divider {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.mockup {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 12px;
  overflow-x: auto;
}

.vision-page {
  background:
    radial-gradient(
      600px 300px at -10% -20%,
      rgba(56, 189, 248, 0.18),
      transparent 60%
    ),
    radial-gradient(
      520px 280px at 110% 0%,
      rgba(147, 51, 234, 0.18),
      transparent 62%
    ),
    #ffffff;
}

.vision-hero {
  position: relative;
  padding: 2.2rem;
  border-radius: 28px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: linear-gradient(135deg, #ffffff, #eef2ff 55%, #f8fafc);
  box-shadow: 0 28px 60px rgba(37, 99, 235, 0.18);
  overflow: hidden;
}

.vision-hero::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 180deg,
    rgba(14, 165, 233, 0.22),
    rgba(37, 99, 235, 0.18),
    rgba(147, 51, 234, 0.24),
    transparent 70%
  );
  filter: blur(40px);
  opacity: 0.6;
  z-index: 0;
  animation: hero-glow 16s linear infinite;
}

.vision-hero > * {
  position: relative;
  z-index: 1;
}

.vision-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.8rem;
  color: #2563eb;
  margin: 0 0 0.5rem;
}

.vision-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  margin-bottom: 0.7rem;
}

.vision-lead {
  max-width: 60ch;
  margin-bottom: 1.4rem;
}

.vision-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.vision-chip {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
}

.vision-section {
  position: relative;
  overflow: hidden;
}

.vision-card {
  position: relative;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: linear-gradient(135deg, #ffffff, #eef2ff 60%, #ffffff);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.14);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.vision-grid .vision-card {
  height: 100%;
}

.vision-card::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.vision-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 28px 60px rgba(37, 99, 235, 0.22);
}

.vision-card:hover::after {
  opacity: 1;
}

.vision-card-wide {
  border-color: rgba(147, 51, 234, 0.2);
  background: linear-gradient(120deg, #ffffff, #f5f3ff 55%, #ffffff);
}

.vision-card-focus {
  border-color: rgba(147, 51, 234, 0.28);
  background: linear-gradient(140deg, #ffffff, #ede9fe 60%, #ffffff);
}

.vision-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.vision-wide-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.vision-section .section-title {
  position: relative;
  display: inline-block;
  padding-right: 0.5rem;
}

.vision-section .section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #9333ea);
  animation: glow-line 2.8s ease-in-out infinite;
}

.hero-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: var(--card);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.profile-photo {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.card-hover {
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-body {
  padding: 1.5rem;
}

.card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  background: #f8fafc;
}

.skill-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: var(--card);
  font-size: 0.95rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border: 2px solid #0b0f1a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #ffffff;
  color: #0b0f1a;
  box-shadow: inset 0 0 0 1px #0b0f1a;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease,
    color 150ms ease,
    border-color 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  background: #0b0f1a;
  color: #ffffff;
  border-color: #0b0f1a;
}

.btn-primary {
  background: #0b0f1a;
  border-color: #0b0f1a;
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: #0b0f1a;
  border-color: #0b0f1a;
}

.btn-sm {
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
}

.nav-pill .btn-outline {
  border-radius: 999px;
  padding: 0.5rem 1.3rem;
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-pill .btn-outline:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #111827;
}

.btn.hero-btn {
  background: #ffffff;
  color: #0b0f1a;
  border: 2px solid #0b0f1a;
  box-shadow: inset 0 0 0 1px #0b0f1a;
}

.btn.hero-btn:hover {
  background: #0b0f1a;
  border-color: #0b0f1a;
  color: #ffffff;
}

.btn.hero-btn.hero-btn-active {
  background: #0b0f1a;
  color: #ffffff;
  border-color: #0b0f1a;
}

.input,
.textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  font: inherit;
  background: #ffffff;
}

.input:focus,
.textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.5);
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.form-field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.label {
  font-weight: 600;
}

.link-stack {
  display: grid;
  gap: 1rem;
}

.link-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  border: 2px solid #0f172a;
  background: #ffffff;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 45px rgba(15, 23, 42, 0.12);
}

.link-card--dark {
  background: #0b0f1a;
  color: #ffffff;
  border-color: #0b0f1a;
}

.link-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 180deg, #22d3ee, #3b82f6, #9333ea, #ec4899);
  color: #ffffff;
}

.link-text {
  font-size: 1.1rem;
  font-weight: 600;
}

.bullet-list {
  list-style: disc;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.page-hero {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  margin-bottom: 2rem;
}

.empty-state {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  background: #f8fafc;
}

.is-hidden {
  display: none;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

main {
  animation: rise-in 0.6s ease both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(90deg, #f8fafc, #eef2ff, #f8fafc);
  padding: 0.65rem 0;
}

.skill-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.skill-marquee:hover .skill-track {
  animation-play-state: paused;
}

.skill-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: #ffffff;
  font-size: 0.95rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes hero-glow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes glow-line {
  0%,
  100% {
    filter: drop-shadow(0 0 0px rgba(147, 51, 234, 0));
    opacity: 0.8;
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(147, 51, 234, 0.35));
    opacity: 1;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 14ch;
  }
}

@keyframes caret {
  0%,
  70% {
    border-color: rgba(15, 23, 42, 0.7);
  }
  100% {
    border-color: transparent;
  }
}

@media (max-width: 980px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    margin: 0 auto;
  }

  .hero-socials {
    justify-content: center;
  }

  .vision-wide-body {
    grid-template-columns: 1fr;
  }

  .vision-hero {
    padding: 1.8rem;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 2.5rem 0;
  }

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

/* Spotlight modal */
.spotlight-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1050;
}

.spotlight-backdrop.is-open {
  display: flex;
}

.spotlight {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  max-width: 900px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.spotlight-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.spotlight-body {
  padding: 1rem;
  max-height: 70vh;
  overflow-y: auto;
}

.spotlight-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}
