/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --crimson: #fc3054;
  --crimson-light: #fc1878;
  --violet: #8418f0;
  --blue: #546cfc;
  --bg-dark: #050505;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-subtle-strong: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #d4d4d8;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --text-faint: #52525b;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

::selection {
  background: rgba(252, 48, 84, 0.3);
  color: #fecdd3;
}

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

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

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

input, textarea {
  font-family: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ========== NOISE OVERLAY ========== */
.noise-overlay::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.015;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========== GRADIENT TEXT ========== */
.gradient-text {
  background: linear-gradient(135deg, #fc3054, #fc1878, #cc18b4, #8418f0, #546cfc, #fc3054);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.text-crimson {
  color: var(--crimson);
}

.text-white {
  color: white;
}

.font-medium {
  font-weight: 500;
}

/* ========== GLASS ========== */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
}

/* ========== BORDER GRADIENT ========== */
.border-gradient {
  position: relative;
}
.border-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(252, 48, 84, 0.35), transparent, rgba(132, 24, 240, 0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ========== SECTION ========== */
.section {
  position: relative;
  padding: 96px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 128px 0;
  }
}

.section-divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252, 48, 84, 0.5), transparent);
}

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

.section-label {
  display: inline-block;
  color: var(--crimson);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 3rem;
  }
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 672px;
  margin: 24px auto 0;
  line-height: 1.7;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  padding: 16px 0;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

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

.logo-img-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.logo-link:hover .logo-img-wrap {
  transform: scale(1.1);
  border-color: rgba(252, 48, 84, 0.3);
}

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

.logo-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #d4d4d8;
  transition: color 0.3s;
}

.logo-link:hover .logo-text {
  color: white;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #a1a1aa;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-link:hover {
  color: #e4e4e7;
}

.nav-link.active {
  color: var(--crimson);
  background: rgba(252, 48, 84, 0.1);
}

.nav-cta {
  display: none;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--crimson), var(--violet));
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 12px;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
  }
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(252, 48, 84, 0.25);
  transform: scale(1.05);
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: #a1a1aa;
  transition: color 0.3s;
}

.mobile-toggle:hover {
  color: white;
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-menu .close-icon {
  display: none;
}

.mobile-menu.open .close-icon {
  display: block;
}

.mobile-menu.open .open-icon {
  display: none;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding-top: 96px;
  padding: 96px 24px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #d4d4d8;
  transition: color 0.3s;
}

.mobile-link:hover {
  color: var(--crimson);
}

.mobile-cta-btn {
  margin-top: 24px;
  padding: 16px;
  background: linear-gradient(135deg, var(--crimson), var(--violet));
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  text-align: center;
  border-radius: 12px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

/* Hero Animations */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  margin-bottom: 32px;
  font-size: 0.875rem;
  color: #a1a1aa;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-name {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 300;
  color: #a1a1aa;
  margin-bottom: 8px;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #71717a;
  max-width: 672px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  font-size: 0.875rem;
  color: #71717a;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-info-link:hover {
  color: var(--crimson);
}

.hero-info-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3f3f46;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-bottom: 80px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--crimson), var(--violet));
  color: white;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 16px;
  transition: all 0.3s;
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(252, 48, 84, 0.2);
  transform: scale(1.05);
}

.btn-primary svg {
  transition: transform 0.3s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  color: #d4d4d8;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 16px;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-download:hover {
  color: var(--crimson);
}

/* Scroll Arrow */
.scroll-arrow {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.scroll-arrow a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #52525b;
  transition: color 0.3s;
}

.scroll-arrow a:hover {
  color: var(--crimson);
}

.scroll-arrow svg {
  animation: bounce-arrow 2s ease-in-out infinite;
}

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

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 3fr 2fr;
    gap: 64px;
  }
}

.about-text {
  space-y: 24px;
}

.about-text p {
  font-size: 1.125rem;
  color: #d4d4d8;
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-text p:nth-child(n+2) {
  color: #a1a1aa;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 24px;
}

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

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: #a1a1aa;
}

.highlight-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  padding: 24px;
  text-align: center;
  border-radius: 16px;
  transition: background 0.3s;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.stat-icon {
  margin: 0 auto 12px;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fun-card {
  margin-top: 16px;
  padding: 24px;
  border-radius: 16px;
}

.fun-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #d4d4d8;
}

.fun-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(252, 48, 84, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fun-card p {
  font-size: 0.875rem;
  color: #71717a;
  line-height: 1.7;
}

/* ========== SKILLS ========== */
.quick-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 64px;
}

@media (min-width: 640px) {
  .quick-skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.quick-skill {
  padding: 12px;
  text-align: center;
  border-radius: 12px;
  transition: all 0.3s;
  cursor: default;
}

.quick-skill:hover {
  background: rgba(255, 255, 255, 0.05);
}

.quick-skill:hover .qs-icon {
  color: var(--crimson);
}

.quick-skill:hover span:last-child {
  color: #d4d4d8;
}

.qs-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
  color: #71717a;
  transition: color 0.3s;
}

.quick-skill span:last-child {
  font-size: 0.75rem;
  color: #71717a;
  transition: color 0.3s;
}

@media (min-width: 640px) {
  .quick-skill span:last-child {
    font-size: 0.8rem;
  }
}

/* Skill Bars */
.skill-bars-section {
  padding: 24px 32px;
  border-radius: 16px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .skill-bars-section {
    padding: 32px;
  }
}

.skill-bars-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .skill-bars-layout {
    flex-direction: row;
    gap: 40px;
  }
}

.skill-tabs-left {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .skill-tabs-left {
    width: 224px;
  }
}

.skill-tabs-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.skill-tabs-list {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}

@media (min-width: 768px) {
  .skill-tabs-list {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
  }
}

.skill-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  color: #71717a;
  border-radius: 12px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.3s;
}

.skill-tab:hover {
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.05);
}

.skill-tab.active {
  border-color: var(--tab-border-color, rgba(252, 48, 84, 0.3));
  background: var(--tab-bg-color, rgba(252, 48, 84, 0.1));
  color: var(--tab-text-color, #fc3054);
}

.tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.skill-bars-right {
  flex: 1;
  min-width: 0;
}

.skill-bars-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #fc3054;
}

.skill-bar-item {
  margin-bottom: 16px;
}

.skill-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.skill-bar-name {
  font-size: 0.875rem;
  color: #d4d4d8;
}

.skill-bar-level {
  font-size: 0.75rem;
  color: #71717a;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

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

.skill-bar-fill {
  height: 100%;
  border-radius: 9999px;
  width: 0;
  transition: width 1s ease-out;
}

/* Tools */
.tools-heading {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: white;
  margin-bottom: 32px;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.tool-category {
  padding: 24px;
  border-radius: 16px;
  transition: background 0.3s;
}

.tool-category:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tool-cat-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-chip {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s;
  cursor: default;
}

.tool-chip:hover {
  background: rgba(252, 48, 84, 0.1);
}

.tool-chip:hover .tool-name {
  color: var(--crimson);
}

.tool-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #d4d4d8;
  transition: color 0.3s;
}

.tool-desc {
  font-size: 0.625rem;
  color: #52525b;
  transition: color 0.3s;
}

.tool-chip:hover .tool-desc {
  color: #a1a1aa;
}

/* ========== EXPERIENCE ========== */
.timeline {
  position: relative;
  max-width: 896px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(252, 48, 84, 0.5), rgba(132, 24, 240, 0.1));
}

@media (min-width: 768px) {
  .timeline-line {
    left: 32px;
  }
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

@media (min-width: 768px) {
  .timeline-item {
    padding-left: 72px;
  }
}

.timeline-dot {
  position: absolute;
  left: 16px;
  top: 32px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 0 0 4px var(--bg-dark);
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 24px;
  }
}

.exp-card {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  border-radius: 16px;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .exp-card {
    padding: 24px;
  }
}

.exp-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.exp-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.exp-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.exp-badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 9999px;
}

.exp-location {
  font-size: 0.75rem;
  color: #52525b;
}

.exp-company {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  transition: color 0.3s;
}

.exp-card:hover .exp-company {
  color: var(--crimson);
}

.exp-role {
  font-size: 0.875rem;
  color: #a1a1aa;
  margin-top: 2px;
}

.exp-chevron {
  flex-shrink: 0;
  color: #71717a;
  transition: transform 0.3s;
  margin-top: 4px;
}

.exp-card.open .exp-chevron {
  transform: rotate(180deg);
}

.exp-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.exp-card.open .exp-details {
  max-height: 500px;
  opacity: 1;
}

.exp-details ul {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exp-details li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: #a1a1aa;
  line-height: 1.6;
}

.exp-details li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
  background: var(--dot-color, #fc3054);
}

/* ========== PROJECTS ========== */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #71717a;
  border-radius: 12px;
  transition: all 0.3s;
}

.filter-btn:hover {
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
  background: rgba(252, 48, 84, 0.1);
  color: var(--crimson);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
}

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

.project-featured {
  border-radius: 24px;
  overflow: hidden;
  transition: background 0.5s;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .project-featured {
    height: 100%;
  }
}

.project-featured:hover {
  background: rgba(255, 255, 255, 0.05);
}

.project-featured-header {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .project-featured-header {
    padding: 32px;
  }
}

.pf-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.pf-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pf-top h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .pf-top h3 {
    font-size: 1.875rem;
  }
}

.pf-subtitle {
  font-size: 0.875rem;
  color: #a1a1aa;
  margin-top: 4px;
}

.pf-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.pf-link:hover {
  transform: scale(1.05);
}

.pf-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pf-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
}

.pf-metric-value {
  font-size: 0.875rem;
  font-weight: 700;
}

.pf-metric-label {
  font-size: 0.75rem;
  color: #71717a;
  margin-left: 4px;
}

.project-featured-body {
  padding: 24px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-featured-body p {
  font-size: 0.875rem;
  color: #a1a1aa;
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.project-featured-body .project-tags {
  margin-top: auto;
}

@media (min-width: 768px) {
  .project-featured-body {
    padding: 32px;
  }
}

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

.project-tags span {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 8px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

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

.project-card {
  padding: 20px;
  border-radius: 16px;
  transition: all 0.3s;
  cursor: default;
  position: relative;
}

.project-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.pc-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-top: 8px;
  transition: color 0.3s;
}

.project-card:hover h3 {
  color: var(--crimson);
}

.pc-subtitle {
  font-size: 0.75rem;
  color: #71717a;
  margin-top: 2px;
  margin-bottom: 12px;
}

.pc-desc {
  font-size: 0.875rem;
  color: #71717a;
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pc-tags span {
  font-size: 0.625rem;
  padding: 2px 8px;
  border-radius: 6px;
}

.pc-open-link {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s;
  z-index: 2;
}
.pc-open-link:hover {
  transform: scale(1.08);
}

/* ========== CONTACT ========== */
.contact-grid {
  max-width: 100%;
  margin: 0 auto;
}

.contact-left {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .contact-left {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
}

.contact-info-block h3,
.edu-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(252, 48, 84, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-label {
  display: block;
  font-size: 0.75rem;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ci-value {
  font-size: 0.875rem;
  color: #d4d4d8;
  transition: color 0.3s;
}

a.ci-value:hover {
  color: var(--crimson);
}

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

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  color: #a1a1aa;
  transition: all 0.3s;
}

.social-btn:hover {
  color: var(--crimson);
  background: rgba(255, 255, 255, 0.05);
}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.edu-card {
  padding: 16px;
  border-radius: 12px;
  transition: background 0.3s;
}

.edu-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.edu-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #d4d4d8;
}

.edu-degree {
  font-size: 0.75rem;
  color: #71717a;
  margin-top: 2px;
}

.edu-period {
  font-size: 0.75rem;
  color: rgba(252, 48, 84, 0.6);
  margin-top: 4px;
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

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

.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-logo span {
  font-size: 0.875rem;
  color: #71717a;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #71717a;
  transition: all 0.3s;
}

.footer-social-btn:hover {
  color: var(--crimson);
  background: rgba(255, 255, 255, 0.05);
}

.footer-copyright {
  font-size: 0.75rem;
  color: #52525b;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========== SCROLL ANIMATIONS ========== */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE FIXES ========== */
@media (max-width: 767px) {
  .hero-name {
    font-size: 2.75rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}
