/* ═══════════════════════════════════════════════════════════════════
   PORTFOLIO – DESIGN SYSTEM & GLOBAL STYLES
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─────────────────────────────────────────────── */
:root {
  --color-bg: #F7F7F8;
  --color-surface: #FFFFFF;
  --color-surface-2: #F0EFF5;
  --color-border: #E5E3EF;
  --color-text: #0F0A1E;
  --color-text-muted: #6B6880;
  --color-text-light: #9B98AA;

  --color-purple: #7C3AED;
  --color-purple-mid: #9D5CFF;
  --color-purple-light: #C4B5FD;
  --color-purple-pale: #F3EEFF;
  --color-purple-glow: rgba(124, 58, 237, 0.15);

  --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #C084FC 100%);
  --gradient-hero: linear-gradient(135deg, #7C3AED 0%, #9D5CFF 100%);
  --gradient-ring: linear-gradient(135deg, #7C3AED, #A855F7, #E879F9, #7C3AED);
  --gradient-text: linear-gradient(135deg, #7C3AED 0%, #A855F7 60%, #C084FC 100%);

  --shadow-sm: 0 1px 3px rgba(15, 10, 30, 0.06), 0 1px 2px rgba(15, 10, 30, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 10, 30, 0.08), 0 2px 6px rgba(15, 10, 30, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 10, 30, 0.10), 0 4px 12px rgba(15, 10, 30, 0.06);
  --shadow-xl: 0 24px 60px rgba(15, 10, 30, 0.12), 0 8px 20px rgba(15, 10, 30, 0.08);
  --shadow-purple: 0 8px 30px rgba(124, 58, 237, 0.25);
  --shadow-purple-lg: 0 16px 50px rgba(124, 58, 237, 0.30);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height: 72px;
}

/* ─── Reset & Base ───────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── Utility ─────────────────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── Scroll Animation System ─────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-animate="fade-left"] {
  transform: translateX(32px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate(0);
}

[data-delay="100"] {
  transition-delay: 100ms;
}

[data-delay="150"] {
  transition-delay: 150ms;
}

[data-delay="200"] {
  transition-delay: 200ms;
}

[data-delay="250"] {
  transition-delay: 250ms;
}

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

/* .btn:hover::before {
  opacity: 1;
} */

.btn:focus-visible {
  outline: 3px solid var(--color-purple-light);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gradient-hero);
  color: #fff;
  box-shadow: var(--shadow-purple);
}

.btn-primary::before {
  background: rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-outline::before {
  background: var(--color-purple-pale);
}

.btn-outline:hover {
  transform: translateY(-2px);
  background: #0d0d0d;
  border-color: #0d0d0d;
  color: #fff;
}

.btn-outline:active {
  transform: translateY(0);
}

/* ─── Section Base ────────────────────────────────────────────────── */
.section {
  padding: var(--space-3xl) 0;
}

.section-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-text);
}

.title-dot {
  color: var(--color-purple);
}

.section-subtitle {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.65;
}


/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(247, 247, 248, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--color-text);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.nav-logo:hover {
  color: var(--color-purple);
}

.nav-logo .dot {
  color: var(--color-purple);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: 0 auto;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-hero);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-link.active::after {
  width: 100%;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-text);
  color: #fff;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.nav-cta:hover {
  background: var(--color-purple);
  transform: scale(1.08);
  box-shadow: var(--shadow-purple);
}

.nav-cta:focus-visible {
  outline: 3px solid var(--color-purple-light);
  outline-offset: 3px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: var(--color-surface-2);
}

.bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.hamburger.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  background-color: var(--color-bg);
  /* Use solid color for better mobile performance */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Better for scrolling if content is long */
  align-items: flex-start;
  padding: var(--space-xl) var(--space-lg);
  opacity: 0;
  visibility: hidden;
  /* Use visibility instead of pointer-events for better reliability */
  transform: translateY(-10px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: 200;
  /* Higher than navbar link level to be safe */
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  width: 100%;
}

.mobile-link {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  padding: 0.5rem 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.mobile-link.active {
  color: var(--color-purple);
}

.mobile-link:hover {
  color: var(--color-purple);
  transform: scale(1.05);
}


/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  align-items: center;
  width: 100%;
}

/* Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.hero-greeting {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

/* Staggered word reveal */
.greeting-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(15px);
  will-change: opacity, transform;
  transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 150ms + 200ms);
}

.hero-greeting.revealed .greeting-word {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--color-text-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* ... remains same ... */
/* ─── Buttons ─────────────────────────────────────────────────────── */
/* ... remains same ... */

/* ─── Section Base ────────────────────────────────────────────────── */
/* ... remains same ... */

/* ─── Scroll Animation System ─────────────────────────────────────── */
/* ... remains same ... */

/* ═══════════════════════════════════════════════════
   NAVBAR (Z-Index Fix)
   ═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Much higher to stay on top */
  height: var(--nav-height);
  background: rgba(247, 247, 248, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

/* ... */


/* ═══════════════════════════════════════════════════
   RESPONSIVE – MOBILE REFINEMENTS
   ═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
    padding-top: var(--space-xl);
  }

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

  .hero-tagline {
    max-width: 100%;
  }

  .hero-visual {
    order: -1;
  }

  .portrait-wrapper {
    width: clamp(200px, 60vw, 320px);
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

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

  .skill-category {
    display: inline-block;
    margin-bottom: 0.5rem;
  }

  .footer-cta-heading {
    font-size: 2rem;
  }
}

/* Stats Row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.stat-number {
  font-size: 1.625rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--color-text);
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* Portrait */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-wrapper {
  position: relative;
  width: clamp(280px, 38vw, 440px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-ring {
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-full);
  background: var(--gradient-ring);
  background-size: 300% 300%;
  animation: ringRotate 4s linear infinite, ringPulse 3s ease-in-out infinite;
  z-index: 0;
}

@keyframes ringRotate {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes ringPulse {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }
}

.portrait-inner {
  position: relative;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: #1a0533;
  z-index: 1;
  transition: transform var(--transition-spring);
  cursor: default;
}

.portrait-wrapper:hover .portrait-inner {
  transform: perspective(600px) rotateX(4deg) rotateY(-4deg) scale(1.02);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(1.1);
  transition: filter var(--transition-slow);
}

.portrait-wrapper:hover .portrait-img {
  filter: grayscale(80%) contrast(1.05);
}

.portrait-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a0533, #2d1458);
}

.portrait-badge {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
  white-space: nowrap;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: #22C55E;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

/* Decorative Blobs */
.hero-blob {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-blob--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 70%);
  top: -100px;
  right: -100px;
  animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.10), transparent 70%);
  bottom: 0;
  left: -80px;
  animation: blobFloat 10s ease-in-out infinite reverse;
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

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


/* ═══════════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════════ */
.projects {
  background: var(--color-bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.project-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-purple);
  border-color: var(--color-purple-light);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.project-img-wrapper--quoteongo {
  background-color: #2D75E3;
}

.project-img-wrapper--rajasthan {
  background-color: #115e59;
}

.project-img-wrapper--senco {
  background-color: #EA3A3E;
}

.project-img-wrapper--impactkart {
  background: linear-gradient(180deg, #ffb35a, #ff8d08 50%, #e88007);
}

.project-img-wrapper--blooming-budz {
  background-color: #fbeff7;
}

.project-img-wrapper--mumbai-law {
  background-color: #f8f5f0;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
  transition: transform var(--transition-slow), filter var(--transition-slow);
}

.project-card:hover .project-img {
  transform: scale(1.06) translateY(-4px);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.25));
}

/* Colored placeholder canvases */
.project-img-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-img-placeholder--1 {
  background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 50%, #C4B5FD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img-placeholder--1::before {
  content: '';
  position: absolute;
  width: 65%;
  height: 75%;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: url('project_taskflow.png') center/cover;
}

.project-img-placeholder--1::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: 10px;
  width: 60px;
  height: 120px;
  background: var(--color-purple);
  border-radius: 40px;
  opacity: 0.7;
  transform: rotate(20deg);
}

.project-img-placeholder--2 {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #BAE6FD 100%);
}

.project-img-placeholder--2::before {
  content: '';
  position: absolute;
  inset: 12px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.project-img-placeholder--2::after {
  content: 'EcoCart';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(14, 116, 144, 0.5);
}

/* CSS trick for text in ::after */
.project-img-placeholder--2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(14, 116, 144, 0.4);
}

.project-img-placeholder--3 {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 50%, #FED7AA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(194, 65, 12, 0.35);
}

.project-img-placeholder--4 {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 50%, #BBF7D0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(21, 128, 61, 0.35);
}

.project-img-placeholder--3::before,
.project-img-placeholder--4::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
}

.project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.project-link-icon:hover {
  background: var(--gradient-hero);
  color: #fff;
  border-color: transparent;
  transform: rotate(-45deg) scale(1.1);
  box-shadow: var(--shadow-purple);
}

.project-tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  background: var(--color-purple-pale);
  color: var(--color-purple);
  border: 1px solid rgba(124, 58, 237, 0.12);
}

.project-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
}


/* ═══════════════════════════════════════════════════
   CAREER JOURNEY TIMELINE
   ═══════════════════════════════════════════════════ */
.experience {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.career-timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 50px;
  /* Space for the line */
}

/* The Vertical Line */
.timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  /* Grows via JS */
  background: var(--gradient-hero);
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px var(--color-purple-glow);
  transition: height 0.1s ease-out;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Dots on the line */
.timeline-dot-wrapper {
  position: absolute;
  left: -42px;
  /* Center-aligned with line (line at 20px, dot centered) */
  top: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--color-bg);
  border: 3px solid var(--color-border);
  border-radius: 50%;
  transition: all var(--transition-base);
  position: relative;
}

.timeline-item.active .timeline-dot {
  background: var(--color-purple);
  border-color: var(--color-purple-light);
  box-shadow: 0 0 15px var(--color-purple);
  transform: scale(1.2);
}

/* Card Content */
.timeline-content {
  padding: 2.25rem;
  transition: all var(--transition-slow);
}

.timeline-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1.25rem;
}

.timeline-date {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-purple);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.timeline-role {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1.3;
}

.timeline-at {
  font-weight: 500;
  color: var(--color-text-muted);
  opacity: 0.85;
}

.timeline-bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-bullets li {
  position: relative;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  padding-left: 1.5rem;
}

.timeline-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.8;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .career-timeline-container {
    padding-left: 35px;
  }

  .timeline-line {
    left: 14px;
  }

  .timeline-dot-wrapper {
    left: -32px;
  }

  .timeline-content {
    padding: 1.75rem;
  }

  .timeline-role {
    font-size: 1.2rem;
  }
}


/* ═══════════════════════════════════════════════════
   CAPABILITY MATRIX (SKILLS REDESIGN)
   ═══════════════════════════════════════════════════ */
.capability-matrix {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.matrix-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.luxury-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  transition: all var(--transition-base);
}

.luxury-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

/* Signature Capabilities */
.signature-capabilities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.capability-card {
  padding: 2rem 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.capability-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.capability-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.capability-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.capability-tag {
  margin-top: auto;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  background: var(--color-purple-pale);
  color: var(--color-purple);
  width: fit-content;
  border-radius: var(--radius-full);
}

.matrix-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

/* Visual Matrix */
.visual-matrix-container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.matrix-header-row {
  display: grid;
  grid-template-columns: 180px repeat(3, 1fr);
  border-bottom: 1.5px solid var(--color-border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.matrix-corner {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.matrix-level-label {
  text-align: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text);
}

.matrix-row {
  display: grid;
  grid-template-columns: 180px repeat(3, 1fr);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
}

.matrix-category {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.matrix-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0 0.5rem;
}

.matrix-cell.highlight {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(139, 92, 246, 0.05));
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-md);
}

.skill-pill {
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  cursor: help;
  position: relative;
  transition: all var(--transition-base);
}

.skill-pill:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: var(--color-purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

/* Tooltip on Pill */
.skill-pill::after {
  content: attr(data-usage);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  padding: 0.5rem 0.875rem;
  background: #0d0d0d;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.skill-pill:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

/* Engineering Vitals (Bento Grid Alternative to Radar) */
.vitals-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
}

.vitals-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.vitals-header h4 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.vitals-header p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.vitals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.vitals-widget {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  min-height: 160px;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.widget-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  flex: 1;
  line-height: 1.4;
}

.widget-status,
.widget-trend,
.widget-count {
  flex-shrink: 0;
  white-space: nowrap;
}

.widget-status {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.status-green {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.widget-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.04em;
}

.widget-value small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.widget-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.widget-count {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-purple);
}

.widget-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.widget-item {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.widget-item::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--color-purple);
  border-radius: 50%;
}

.widget-trend {
  font-size: 0.75rem;
  font-weight: 800;
  color: #22c55e;
}

.widget-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checklist-item {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checklist-item.done::before {
  content: '✓';
  color: #22c55e;
  font-weight: 900;
}

@media (max-width: 480px) {
  .vitals-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 1024px) {
  .signature-capabilities {
    grid-template-columns: repeat(3, 1fr);
  }

  .matrix-content-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .signature-capabilities {
    grid-template-columns: 1fr;
  }

  .matrix-header-row,
  .matrix-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
  }

  .matrix-cell {
    justify-content: flex-start;
    padding: 0;
  }

  .matrix-level-label {
    display: none;
  }

  .matrix-category {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-purple);
  }
}


/* ═══════════════════════════════════════════════════
   MY STORY
   ═══════════════════════════════════════════════════ */
.story {
  background: var(--color-surface);
}

.story-container {
  max-width: 800px;
}

.story-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.story-body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.story-link {
  color: var(--color-purple);
  font-weight: 600;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--transition-fast);
}

.story-link:hover {
  border-bottom-color: var(--color-purple);
}

.story-highlight {
  color: var(--color-purple);
  font-weight: 600;
}


/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

/* CTA Block */
.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border);
}

.footer-cta-label {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-purple);
  letter-spacing: -0.01em;
}

.footer-cta-heading {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--color-text);
  max-width: 520px;
}

.footer-cta-btns {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Footer Bottom */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-purple);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-base);
  background: var(--color-surface);
}

.social-icon:hover {
  border-color: var(--color-purple-light);
  color: var(--color-purple);
  background: var(--color-purple-pale);
  transform: translateY(-3px);
  box-shadow: var(--shadow-purple);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  text-align: right;
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE – TABLET
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .experience-layout {
    grid-template-columns: 180px 1fr;
  }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .hero-tagline {
    max-width: 100%;
  }

  .hero-visual {
    order: -1;
  }

  .portrait-wrapper {
    width: clamp(220px, 55vw, 320px);
  }

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

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 5rem;
    --space-2xl: 4rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-container {
    justify-content: space-between;
  }

  .hamburger {
    display: flex;
  }

  .experience-layout {
    grid-template-columns: 1fr;
  }

  .company-list {
    flex-direction: row;
    border-left: none;
    border-bottom: 2px solid var(--color-border);
    overflow-x: auto;
    padding-bottom: 0;
    gap: 0;
    position: relative;
    top: auto;
  }

  .company-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    white-space: nowrap;
  }

  .company-btn::before {
    display: none;
  }

  .company-btn.active {
    background: var(--color-purple-pale);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }

  .company-indicator {
    display: none;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-nav {
    justify-content: center;
  }

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

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

@media (max-width: 480px) {
  :root {
    --space-lg: 1.5rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .portrait-wrapper {
    width: clamp(200px, 70vw, 280px);
  }

  .portrait-wrapper {
    width: clamp(200px, 70vw, 280px);
  }
}

/* ═══════════════════════════════════════════════════
   CONTACT PAGE SPECIFIC
   ═══════════════════════════════════════════════════ */
.contact-hero {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  min-height: calc(100vh - 150px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
  align-items: flex-start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 0;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-purple);
  transition: all var(--transition-base);
}

.contact-info-item:hover .info-icon {
  background: var(--color-purple-pale);
  border-color: var(--color-purple-light);
  transform: translateY(-2px);
}

.info-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.info-text:hover {
  color: var(--color-purple);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--color-surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-purple-mid);
  background: #fff;
  box-shadow: 0 0 0 4px var(--color-purple-glow);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .contact-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }
}


/* ═══════════════════════════════════════════════════
   TESTIMONIALS – AUTO-SCROLL CAROUSEL
   ═══════════════════════════════════════════════════ */
.testimonials {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

/* Carousel Wrapper — full width, edge fades */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0 2rem;
}

/* Edge fade gradients */
.carousel-wrapper::before,
.carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
}

/* Track — infinite scroll via CSS animation */
.carousel-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: carouselScroll 35s linear infinite;
  will-change: transform;
}

.carousel-wrapper:hover .carousel-track {
  animation-play-state: paused;
}

@keyframes carouselScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

/* ─── Testimonial Card ─────────────────────────────── */
.testimonial-card {
  flex-shrink: 0;
  width: 380px;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 24px rgba(15, 10, 30, 0.06),
    0 1px 4px rgba(15, 10, 30, 0.03);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.1),
    0 4px 16px rgba(15, 10, 30, 0.08);
  border-color: rgba(124, 58, 237, 0.2);
}

/* Card Header */
.tc-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.tc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.tc-meta {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.tc-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.tc-role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Stars */
.tc-stars {
  font-size: 0.75rem;
  color: var(--color-purple);
  letter-spacing: 3px;
}

/* Quote */
.tc-quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  font-style: italic;
  flex: 1;
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .testimonial-card {
    width: 320px;
    padding: 1.75rem;
  }

  .carousel-wrapper::before,
  .carousel-wrapper::after {
    width: 60px;
  }
}

@media (max-width: 600px) {
  .testimonial-card {
    width: 280px;
    padding: 1.5rem;
  }

  .carousel-wrapper::before,
  .carousel-wrapper::after {
    width: 32px;
  }

  .tc-quote {
    font-size: 0.875rem;
  }

  .carousel-track {
    gap: 1rem;
    animation-duration: 25s;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    animation: none;
  }
}