/* Base & Variables */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.8);

  --accent-violet: #6366f1;
  /* Indigo 500 */
  --accent-fuchsia: #d946ef;
  /* Fuchsia 500 */

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --border-subtle: rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: auto;
  /* Managed by Lenis */
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.font-bold {
  font-weight: 700;
}

.text-xl {
  font-size: 1.25rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-120 {
  margin-top: 120px;
}

.inline-block {
  display: inline-block;
}

/* Grid System */
.grid {
  display: grid;
  gap: 24px;
}

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

.gap-lg {
  gap: 48px 32px;
}

/* Background Orbs */
.bg-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.orb-1 {
  width: 600px;
  height: 600px;
  top: -100px;
  left: -100px;
  background: rgba(99, 102, 241, 0.15);
  animation: float 15s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  bottom: 0;
  right: -100px;
  background: rgba(217, 70, 239, 0.1);
  animation: float-reverse 20s ease-in-out infinite;
}

.orb-3 {
  width: 800px;
  height: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.05), rgba(217, 70, 239, 0.05));
  animation: pulse 10s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(40px, -40px);
  }
}

@keyframes float-reverse {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-30px, 50px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 50;
}

.nav-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1.125rem;
}

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-fuchsia));
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo::after {
  content: '';
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-links a:not(.magnetic-btn) {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:not(.magnetic-btn):hover {
  color: var(--accent-violet);
}

@media (max-width: 768px) {
  .nav-links a:not(.magnetic-btn) {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.125rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-fuchsia) 100%);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 20px -6px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 12px 24px -8px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.05);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 8px 16px -6px rgba(15, 23, 42, 0.1);
}

.magnetic-btn {
  display: inline-block;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 24px 100px;
  z-index: 10;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

.profile-img-container {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 24px;
}

.profile-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--accent-violet);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.ping-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-violet);
  position: relative;
}

.ping-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--accent-violet);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.highlight {
  color: var(--accent-violet);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Sections */
.features {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-violet);
  margin-bottom: 12px;
}

.eyebrow.fuchsia-text {
  color: var(--accent-fuchsia);
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 24px -10px rgba(15, 23, 42, 0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(99, 102, 241, 0.15),
      transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.card:hover::before {
  opacity: 1;
}

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

.card:hover {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.15);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent-violet);
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.card-icon.fuchsia {
  color: var(--accent-fuchsia);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* List Items */
.list-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: white;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
}

.list-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-secondary);
}

.list-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.list-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  z-index: 10;
}

.portfolio-showcase {
  max-width: 900px;
  margin: 0 auto;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px -15px rgba(99, 102, 241, 0.2);
}

.portfolio-img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.05);
}

.portfolio-details {
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: white;
}

.portfolio-details h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.portfolio-details p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Mock Dashboard inside Showcase */
.mock-dashboard {
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  display: flex;
  overflow: hidden;
  position: absolute;
  /* fill wrapper */
  inset: 0;
}

.mock-sidebar {
  width: 25%;
  background: var(--bg-primary);
  border-right: 1px solid var(--border-subtle);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-nav-item {
  height: 28px;
  border-radius: 6px;
  background: var(--bg-secondary);
  transition: all 0.3s;
}

.mock-nav-item.active {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.mock-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mock-header {
  height: 64px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.mock-title {
  width: 140px;
  height: 20px;
  background: var(--bg-secondary);
  border-radius: 4px;
}

.mock-profile {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
}

.mock-content {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mock-stats {
  display: flex;
  gap: 24px;
}

.mock-stat-card {
  flex: 1;
  height: 90px;
  background: var(--bg-primary);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.mock-stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: skeleton-wave 2s infinite;
}

.mock-chart {
  flex: 1;
  background: var(--bg-primary);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  padding: 32px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.mock-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent-violet), var(--accent-fuchsia));
  border-radius: 6px 6px 0 0;
  height: 0%;
  /* animates to --height */
  opacity: 0.8;
}

/* Stagger animation class for ScrollTrigger (added by JS) or use simple CSS animation */
.portfolio-showcase.is-inview .mock-bar {
  animation: grow-bar 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mock-bar:nth-child(1) {
  animation-delay: 0.1s;
}

.mock-bar:nth-child(2) {
  animation-delay: 0.2s;
}

.mock-bar:nth-child(3) {
  animation-delay: 0.3s;
}

.mock-bar:nth-child(4) {
  animation-delay: 0.4s;
}

.mock-bar:nth-child(5) {
  animation-delay: 0.5s;
}

.mock-bar:nth-child(6) {
  animation-delay: 0.6s;
}

.mock-bar:nth-child(7) {
  animation-delay: 0.7s;
}

@keyframes grow-bar {
  to {
    height: var(--height);
  }
}

@keyframes skeleton-wave {
  100% {
    left: 200%;
  }
}

/* About Section */
.about {
  padding: 100px 0;
  position: relative;
  z-index: 10;
  background: white;
}

.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image-card {
  position: relative;
  padding: 8px;
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.about-image-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.7s ease;
}

.about-image-card:hover img {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.4s ease;
}

.about-image-card:hover .about-badge {
  opacity: 1;
  transform: translateY(0);
}

.badge-sub {
  font-size: 0.875rem;
  color: var(--accent-violet);
  font-weight: 500;
  margin-top: 4px;
}

.about-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.experience-list {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.exp-item:hover {
  transform: translateY(-2px);
  transition: transform 0.2s;
}

.exp-company {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.exp-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-violet);
}

/* Ventures Section */
.ventures {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
}

.venture-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.venture-card::before {
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(217, 70, 239, 0.12),
      transparent 40%);
}

.venture-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.venture-header .card-icon {
  margin-bottom: 0;
  width: 48px;
  height: 48px;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.venture-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent-violet);
  color: white;
  border-color: transparent;
}

.venture-card:hover .card-icon.fuchsia {
  background: var(--accent-fuchsia);
}

.venture-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.venture-role {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-fuchsia);
  background: rgba(217, 70, 239, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Footer */
.footer {
  background: white;
  position: relative;
  z-index: 10;
}

.footer-cta {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(to bottom, white, #f8fafc);
}

.footer-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.footer-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.footer-bottom {
  padding: 64px 24px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 250px;
  line-height: 1.6;
}

.footer-links h6 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-violet);
}

.footer-copyright {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  flex-wrap: wrap;
  gap: 16px;
}

.socials {
  display: flex;
  gap: 16px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 20px;
  text-decoration: none;
  transition: all 0.2s;
}

.socials a:hover {
  background: var(--accent-violet);
  color: white;
  border-color: transparent;
}