/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Light theme colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-muted: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-primary: #3b82f6;
  --accent-secondary: #1e40af;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.dark {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-muted: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-primary: #60a5fa;
  --accent-secondary: #3b82f6;
  --border-color: #334155;
  --gradient-secondary: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.dark .header {
  background: rgba(15, 23, 42, 0.95);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--bg-muted);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.back-link:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateX(-2px);
}

.logo {
  width: 2rem;
  height: 2rem;
  background: var(--gradient-primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.brand-text {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.1);
}

.nav-link.active {
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.nav-divider {
  width: 1px;
  height: 1.5rem;
  background: var(--border-color);
  margin: 0 0.5rem;
}

.nav-mobile {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-toggle,
.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover,
.theme-toggle:hover {
  background: var(--bg-muted);
  color: var(--text-primary);
}

.mobile-menu {
  display: none;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 1rem 0;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
}

.mobile-nav-link {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

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

.btn-outline {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--bg-muted);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  padding: 8rem 1rem 5rem;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  text-align: center;
}

.hero-content {
  max-width: 4xl;
  margin: 0 auto;
}

.profile-image {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid rgba(59, 130, 246, 0.2);
  box-shadow: var(--shadow-xl);
}

.status-indicator {
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
  width: 2rem;
  height: 2rem;
  background: #10b981;
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  box-shadow: var(--shadow-lg);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.badge i {
  color: var(--accent-primary);
}

/* Sections */
.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-muted);
}

/* Cards */
.card {
  background: var(--bg-primary);
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  transition: all 0.5s ease;
  overflow: hidden;
}

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

/* About Section */
.about {
  padding: 5rem 1rem;
  background: var(--gradient-secondary);
}

.about-card {
  padding: 3rem;
  max-width: 4xl;
  margin: 0 auto;
}

.about-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.about-intro {
  font-size: 1.25rem;
  font-weight: 600;
}

.about-content strong {
  color: var(--accent-primary);
}

.about-content em {
  color: var(--accent-primary);
  font-style: normal;
  font-weight: 600;
}

/* Experience Section */
.experience {
  padding: 5rem 1rem;
}

.experience-grid {
  display: grid;
  gap: 2rem;
  max-width: 4xl;
  margin: 0 auto;
}

.experience-card {
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.experience-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.experience-company {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.experience-duration {
  background: var(--bg-secondary);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.experience-list {
  list-style: none;
  padding: 0;
}

.experience-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.experience-list li::before {
  content: "•";
  color: var(--accent-primary);
  font-weight: bold;
  font-size: 1.25rem;
  margin-top: -0.125rem;
}

.experience-list strong {
  color: var(--accent-primary);
}

/* Logos Section */
.companies {
  padding: 4rem 1rem;
  background: var(--gradient-secondary);
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.company-logo {
  opacity: 0.6;
  transition: all 0.5s ease;
}

.company-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.company-logo img {
  max-height: 2.5rem;
  width: auto;
}

/* Projects Section */
.projects {
  padding: 5rem 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 6xl;
  margin: 0 auto;
}

.project-card {
  cursor: pointer;
  transition: all 0.5s ease;
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.project-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-content {
  padding: 1.5rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.project-card:hover .project-title {
  color: var(--accent-primary);
}

.project-icon {
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.project-card:hover .project-icon {
  color: var(--accent-primary);
  transform: scale(1.1);
}

.project-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

.tag {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Skills Section */
.skills {
  padding: 5rem 1rem;
  background: var(--gradient-secondary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 4xl;
  margin: 0 auto;
}

.skill-card {
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(59, 130, 246, 0.02) 100%);
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: scale(1.05);
}

.skill-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag {
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.skill-tag.primary {
  background: var(--accent-primary);
  color: white;
}

.skill-tag.outline {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.skill-tag.secondary {
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.skill-tag:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Contact Section */
.contact {
  padding: 5rem 1rem;
  text-align: center;
}

.contact-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 2xl;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* Footer */
.footer {
  padding: 3rem 1rem;
  border-top: 1px solid var(--border-color);
  background: var(--gradient-secondary);
  text-align: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-subtitle {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  opacity: 0.7;
}

/* Project Page Styles */
.project-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.project-hero {
  padding: 8rem 1rem 4rem;
  background: var(--gradient-secondary);
}

.project-hero-content {
  max-width: 4xl;
  margin: 0 auto;
  text-align: center;
}

.project-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-category {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.project-date {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.project-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.project-hero-image {
  margin-top: 3rem;
}

.project-hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
}

.project-content {
  padding: 4rem 1rem;
}

.project-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 4rem;
  max-width: 6xl;
  margin: 0 auto;
}

.project-sidebar {
  position: sticky;
  top: 6rem;
  height: fit-content;
}

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

.project-nav-link {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.project-nav-link:hover,
.project-nav-link.active {
  color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.1);
  border-left-color: var(--accent-primary);
}

.project-section {
  margin-bottom: 4rem;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.section-icon {
  color: var(--accent-primary);
  font-size: 1.5rem;
}

.content-card {
  background: var(--bg-primary);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.problem-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.problem-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.problem-item ul {
  list-style: none;
  padding: 0;
}

.problem-item li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.problem-item li::before {
  content: "•";
  color: var(--accent-primary);
  font-weight: bold;
  margin-top: 0.125rem;
}

.role-overview {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 0.75rem;
  border-left: 4px solid var(--accent-primary);
}

.role-overview h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.responsibilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.responsibility-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

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

.responsibility-item i {
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.responsibility-item h5 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

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

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.goal-category h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.kpi-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kpi-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 0.5rem;
}

.kpi-metric {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  min-width: 4rem;
}

.kpi-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.approach-timeline {
  position: relative;
}

.approach-timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-primary);
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-marker {
  width: 2rem;
  height: 2rem;
  background: var(--accent-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.execution-overview {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 0.75rem;
  border-left: 4px solid var(--accent-primary);
}

.execution-overview p {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin: 0;
}

.collaboration-details {
  display: grid;
  gap: 2rem;
}

.collab-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 0.5rem;
  text-align: center;
}

.team-member i {
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.team-member span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.collab-section ul {
  list-style: none;
  padding: 0;
}

.collab-section li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.collab-section li::before {
  content: "•";
  color: var(--accent-primary);
  font-weight: bold;
  margin-top: 0.125rem;
}

.launch-strategy {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 0.75rem;
  border-left: 4px solid var(--accent-primary);
}

.launch-strategy h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.impact-metrics h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.metric-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.metric-card.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
}

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

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.metric-status {
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.retrospective-grid {
  display: grid;
  gap: 2rem;
}

.retro-section {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border-left: 4px solid;
}

.retro-section.success {
  background: rgba(16, 185, 129, 0.05);
  border-left-color: #10b981;
}

.retro-section.challenge {
  background: rgba(245, 158, 11, 0.05);
  border-left-color: #f59e0b;
}

.retro-section.improvement {
  background: rgba(59, 130, 246, 0.05);
  border-left-color: var(--accent-primary);
}

.retro-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.retro-section.success h4 {
  color: #10b981;
}

.retro-section.challenge h4 {
  color: #f59e0b;
}

.retro-section.improvement h4 {
  color: var(--accent-primary);
}

.retro-section ul {
  list-style: none;
  padding: 0;
}

.retro-section li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.retro-section li::before {
  content: "•";
  font-weight: bold;
  margin-top: 0.125rem;
}

.retro-section.success li::before {
  color: #10b981;
}

.retro-section.challenge li::before {
  color: #f59e0b;
}

.retro-section.improvement li::before {
  color: var(--accent-primary);
}

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

.artifact-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

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

.artifact-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.artifact-icon i {
  font-size: 1.25rem;
  color: var(--accent-primary);
}

.artifact-content h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.artifact-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.artifact-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
}

.artifact-link:hover {
  color: var(--accent-secondary);
  transform: translateX(2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    display: flex;
  }

  .hero {
    padding: 6rem 1rem 3rem;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

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

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

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .project-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-sidebar {
    position: static;
    order: -1;
  }

  .project-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .project-nav-link {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .project-nav-link:hover,
  .project-nav-link.active {
    border-left: none;
    border-bottom-color: var(--accent-primary);
  }

  .goals-grid,
  .problem-details,
  .responsibilities-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero {
    padding: 5rem 0.75rem 2rem;
  }

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

  .content-card {
    padding: 1.5rem;
  }

  .experience-card,
  .skill-card {
    padding: 1.5rem;
  }

  .project-hero {
    padding: 6rem 0.75rem 3rem;
  }

  .project-content {
    padding: 3rem 0.75rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-muted);
}

::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.5);
}

/* Selection */
::selection {
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent-primary);
}

/* Focus styles */
*:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Animation classes */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
