/* ============================================
   MODERN PORTFOLIO - VARIABLES & RESET
   ============================================ */

:root {
  /* Colors */
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --success: #10b981;

  /* Backgrounds */
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1625;
  --bg-tertiary: #1a2234;
  --bg-card: rgba(26, 34, 52, 0.6);
  --bg-card-hover: rgba(26, 34, 52, 0.9);

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  /* Borders */
  --border-color: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(59, 130, 246, 0.4);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 100px 0;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */

.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 100%);
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  top: -250px;
  left: -250px;
  animation-delay: 0s;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  top: 50%;
  right: -300px;
  animation-delay: 5s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  bottom: -200px;
  left: 30%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(100px, -100px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 100px) scale(0.9);
  }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

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

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  position: relative;
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
}

.logo-icon:hover {
  transform: rotate(5deg) scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.938rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  padding: 8px 0;
}

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.938rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn i {
  position: relative;
  z-index: 1;
}

.btn span,
.btn > * {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), #7c3aed);
  color: white;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ============================================
   DEVELOPMENT NOTICE
   ============================================ */

.dev-notice {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(234, 179, 8, 0.05));
  border-bottom: 2px solid rgba(234, 179, 8, 0.3);
  padding: 12px 0;
  position: sticky;
  top: 70px;
  z-index: 999;
  backdrop-filter: blur(10px);
}

.dev-notice .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #fbbf24;
}

.dev-notice i {
  font-size: 1.1rem;
}

.dev-notice span {
  text-align: center;
}

@media (max-width: 720px) {
  .dev-notice {
    top: 60px;
    padding: 10px 0;
  }

  .dev-notice .container {
    font-size: 0.8rem;
    gap: 8px;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--primary-light);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
  line-height: 1.1;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 560px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

.hero-visual {
  position: relative;
  animation: fadeInUp 0.6s ease-out 1s both;
}

.profile-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.profile-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  animation: rotate 10s linear infinite;
}

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

.profile-img {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
  display: block;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.profile-info {
  text-align: center;
  position: relative;
  z-index: 1;
}

.profile-info h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.profile-info p {
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.profile-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.profile-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  font-size: 0.813rem;
  color: var(--primary-light);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.813rem;
  animation: bounce 2s ease-in-out infinite;
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--primary);
  border-radius: 12px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
  0%, 100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
}

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

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

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.text-block {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: var(--transition);
}

.text-block:hover {
  border-color: var(--border-hover);
  transform: translateX(8px);
}

.icon-box {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.text-block h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.text-block p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.highlight-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.highlight-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.highlight-card i {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: block;
}

.highlight-card h4 {
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.highlight-card ul {
  list-style: none;
  padding: 0;
}

.highlight-card li {
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.938rem;
}

.highlight-card li:last-child {
  border-bottom: none;
}

.highlight-card p {
  color: var(--text-secondary);
}

/* ============================================
   EXPERIENCE SECTION (TIMELINE)
   ============================================ */

.experience-section {
  background: var(--bg-primary);
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
}

.timeline-marker {
  position: absolute;
  left: -46px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border: 4px solid var(--bg-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
  z-index: 1;
}

.timeline-date {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.timeline-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  gap: 24px;
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: var(--border-hover);
  transform: translateX(8px);
}

.company-logo {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
}

.timeline-info h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.timeline-info h4 {
  font-size: 1rem;
  color: var(--primary-light);
  margin-bottom: 16px;
  font-weight: 600;
}

.role-description {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

.achievements {
  list-style: none;
  margin-bottom: 20px;
}

.achievements li {
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
}

.achievements li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--success);
}

.projects-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.projects-tags span {
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  font-size: 0.813rem;
  color: var(--primary-light);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects-section {
  background: var(--bg-secondary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.1) 100%);
  transform: translateX(-100%);
  transition: var(--transition);
}

.project-card:hover .project-image::before {
  transform: translateX(0);
}

.project-overlay {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  transform: scale(1.1);
  color: rgba(255, 255, 255, 0.4);
}

.project-content {
  padding: 28px;
}

.project-category {
  font-size: 0.813rem;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.project-content h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.project-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.project-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-tags span {
  padding: 5px 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--primary-light);
}

/* ============================================
   STAR LAUNDRY SECTION
   ============================================ */

.starlaundry-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.starlaundry-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.app-mockup {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: var(--transition);
}

.app-mockup:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
}

.mockup-screen {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  padding: 48px 32px;
  color: white;
  margin-bottom: 32px;
}

.mockup-screen i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.mockup-screen h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: white;
}

.mockup-screen p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.starlaundry-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  transition: var(--transition);
}

.stat-box:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: translateX(8px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
}

.stat-details strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.stat-details span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.detail-block,
.tech-stack,
.features-list,
.architecture-highlight {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.detail-block:hover,
.tech-stack:hover,
.features-list:hover,
.architecture-highlight:hover {
  border-color: var(--border-hover);
}

.detail-block h3,
.tech-stack h3,
.features-list h3,
.architecture-highlight h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.detail-block h3 i,
.tech-stack h3 i,
.features-list h3 i,
.architecture-highlight h3 i {
  color: var(--primary);
}

.detail-block p,
.architecture-highlight p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.architecture-note {
  margin-top: 12px;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-muted);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 10px;
  font-size: 0.938rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.tech-item:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: translateX(4px);
}

.tech-item i {
  font-size: 1.5rem;
  color: var(--primary);
}

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

.features-list li {
  display: flex;
  align-items: start;
  gap: 12px;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li i {
  color: var(--success);
  margin-top: 4px;
}

.starlaundry-achievements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.achievement-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.achievement-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
}

.achievement-card i {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: block;
}

.achievement-card h4 {
  margin-bottom: 12px;
  font-size: 1.125rem;
}

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

/* ============================================
   SKILLS SECTION
   ============================================ */

.skills-section {
  background: var(--bg-primary);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.skill-category {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition);
}

.skill-category:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.category-header i {
  font-size: 2rem;
  color: var(--primary);
}

.category-header h3 {
  font-size: 1.25rem;
}

.category-description {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.skill-item {
  margin-bottom: 24px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.skill-info span:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.skill-level {
  font-size: 0.813rem;
  color: var(--primary-light);
  background: rgba(59, 130, 246, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
}

.skill-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 10px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.skill-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.codes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.code-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
}

.code-badge:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.code-badge i {
  font-size: 2rem;
  color: var(--primary);
}

.code-badge span {
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.contact-card {
  display: flex;
  align-items: start;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateX(8px);
}

.contact-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.contact-details h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.contact-details p,
.contact-details a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--primary);
}

.availability {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  font-size: 0.813rem;
  color: var(--success);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.social-btn i {
  width: 24px;
  text-align: center;
  font-size: 1.25rem;
}

.social-btn:hover {
  border-color: var(--primary);
  transform: translateX(8px);
}

.social-btn.linkedin:hover {
  background: rgba(10, 102, 194, 0.1);
  border-color: #0a66c2;
}

.social-btn.github:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #ffffff;
}

.social-btn.email:hover {
  background: rgba(234, 88, 12, 0.1);
  border-color: #ea580c;
}

.cta-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  text-align: center;
  transition: var(--transition);
}

.cta-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.cta-card i {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  display: block;
}

.cta-card h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}

.cta-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-primary);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 400px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-column a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

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

.footer-note {
  font-size: 0.813rem;
  opacity: 0.7;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

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

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

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    flex-direction: column;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 32px;
    gap: 16px;
    border-left: 1px solid var(--border-color);
    transition: var(--transition);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

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

  .starlaundry-achievements {
    grid-template-columns: 1fr;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-cta {
    flex-direction: column;
  }

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

  .scroll-indicator {
    display: none;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline-marker {
    left: -26px;
  }

  .timeline-card {
    flex-direction: column;
  }

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

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

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

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

/* Delay classes */
[data-aos-delay="0"] { transition-delay: 0s; }
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }

/* ============================================
   PROJECT MEDIA STYLES
   ============================================ */

.project-image img,
.project-image video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This makes the media cover the area without distortion */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0; /* Ensures it stays behind any overlay text if you add it later */
}