@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=JetBrains+Mono:wght@400;500;700&family=Syne:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-darker: #09090b;
  --bg-lighter: #111116;
  --surface: rgba(255, 255, 255, 0.03);
  /* updated for glassmorphism */
  --surface-hover: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(34, 211, 238, 0.3);

  --accent-primary: #22d3ee;
  --accent-primary-rgb: 34, 211, 238;
  --accent-secondary: #f59e0b;
  --accent-glow: rgba(34, 211, 238, 0.1);
  --accent-glow-strong: rgba(34, 211, 238, 0.2);

  --text-main: #e8e8ed;
  --text-muted: #a1a1aa;
  --text-dark: #71717a;

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Fluid Typography */
  --fs-h1: clamp(2.5rem, 5vw, 5rem);
  --fs-h2: clamp(2rem, 4vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.8rem);
  --fs-body: clamp(1rem, 1vw + 0.5rem, 1.15rem);
  --fs-small: clamp(0.8rem, 0.8vw + 0.2rem, 0.95rem);

  /* Spacing & Layout */
  --site-width: 1400px;
  --site-width-large: 1600px;
  --section-padding: 120px;
  --container-padding: 4rem;
  --container-padding-mobile: 1.5rem;
  --border-radius: 16px;
  --border-radius-lg: 24px;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-darker);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Page-wide noise overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0.02;
  mix-blend-mode: overlay;
}

a {
  text-decoration: none;
  color: var(--accent-primary);
  transition: var(--transition-fast);
}

a:hover {
  opacity: 0.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
}

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

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(34, 211, 238, 0.3);
  color: #fff;
}

/* Containers */
.container {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (min-width: 1920px) {
  .container {
    max-width: var(--site-width-large);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--container-padding-mobile);
  }
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
}

.bg-dark {
  background-color: var(--bg-darker);
}

.bg-light {
  background-color: var(--bg-lighter);
}

.bg-gradient-diagonal {
  background: linear-gradient(135deg, rgba(10, 15, 30, 1) 0%, var(--bg-darker) 100%);
}

/* Visual Depth Elements */
.radial-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.03) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.divider-glow {
  width: 100%;
  height: 2px;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
  filter: blur(2px);
  margin: 0;
  position: relative;
  z-index: 5;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0.1;
  animation: drift 20s infinite alternate ease-in-out;
  z-index: 0;
}

@keyframes drift {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-50px) rotate(15deg);
  }
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: var(--fs-h2);
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-gradient {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: var(--fs-body);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg-darker);
}

.btn-primary:hover {
  background: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34, 211, 238, 0.25);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  background: rgba(34, 211, 238, 0.05);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

/* Glass Card */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  z-index: 0;
}

.glass-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--accent-glow);
  background: var(--surface-hover);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 500;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(34, 211, 238, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
  }
}

/* Tag */
.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  transition: var(--transition-fast);
}

.glass-card:hover .tag {
  background: rgba(34, 211, 238, 0.05);
  border-color: rgba(34, 211, 238, 0.2);
  color: var(--accent-primary);
}

/* =========================================================================
   NAVIGATION 
   ========================================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  max-width: 1400px;
  height: 72px;
  margin: 0 auto;
  padding: 0 3rem;
}

.nav-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-main);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-brand span {
  color: #22d3ee;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a1a1aa;
  white-space: nowrap;
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: #22d3ee;
  opacity: 1;
}

.nav-link::after {
  display: none;
}

.nav-tools {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.lang-toggle {
  background: none;
  border: none;
  color: #a1a1aa;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  gap: 0.5rem;
}

.lang-toggle span {
  opacity: 0.5;
}

.lang-toggle span.active {
  color: var(--text-main);
  opacity: 1;
  font-weight: 700;
}

.lang-toggle:hover {
  color: var(--text-main);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #22d3ee;
  color: #22d3ee;
  background: transparent;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
  opacity: 1;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .nav-inner {
    padding: 0 1.5rem;
  }

  .nav-links {
    gap: 1.5rem;
  }
}

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

/* Hero Background Video */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(9, 9, 11, 0.7) 0%, rgba(9, 9, 11, 0.85) 60%, rgba(9, 9, 11, 1) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
  /* above video */
  margin-top: 80px;
}

.hero-content h1 {
  font-size: var(--fs-h1);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.05;
}

.hero-roles {
  font-family: var(--font-heading);
  color: var(--text-muted);
  margin-bottom: 2rem;
  min-height: 1.4em;
  display: flex;
  align-items: center;
}

.hero-role-text {
  color: var(--accent-primary);
  border-right: 3px solid var(--accent-primary);
  padding-right: 5px;
  animation: cursor 0.8s step-end infinite;
  font-size: clamp(2rem, 3vw, 3.5rem);
}

@media (max-width: 768px) {
  .hero-role-text {
    white-space: normal;
    font-size: 2rem;
    line-height: 1.15;
  }
}

@keyframes cursor {

  0%,
  100% {
    border-color: transparent
  }

  50% {
    border-color: var(--accent-primary)
  }
}

.hero-desc {
  font-size: var(--fs-body);
  color: var(--text-muted);
  max-width: 90%;
  margin-bottom: 3.5rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  /* For parallax effect later */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

/* =========================================================================
   ABOUT SECTION 
   ========================================================================= */
.abstract-network-divider {
  width: 100vw;
  height: 120px;
  background-image: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.2) 1px, transparent 1px);
  background-size: 30px 30px;
  position: relative;
  margin-top: -60px;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.about-img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, transparent, rgba(34, 211, 238, 0.1));
  pointer-events: none;
}

.about-content p {
  font-size: var(--fs-body);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-content strong {
  color: var(--text-main);
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  width: 100%;
}

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

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.stat-label {
  font-size: var(--fs-small);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

/* =========================================================================
   SKILLS / SERVICES 
   ========================================================================= */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  width: 100%;
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.skill-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text-main);
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover .skill-icon {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--bg-darker);
  transform: rotate(-10deg);
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.skill-title {
  font-size: var(--fs-h3);
}

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

/* =========================================================================
   TIMELINE 
   ========================================================================= */
.timeline {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.3) 20%, rgba(34, 211, 238, 0.3) 80%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 50%;
  padding-right: 4rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-right: 0;
  padding-left: 4rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Dot */
.timeline-item::after {
  content: '';
  position: absolute;
  top: 2rem;
  right: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-darker);
  border: 3px solid var(--accent-primary);
  z-index: 2;
  box-shadow: 0 0 15px var(--accent-glow-strong);
}

.timeline-item:nth-child(even):after {
  right: auto;
  left: -8px;
}

.timeline-content {
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.timeline-content:hover {
  border-color: rgba(34, 211, 238, 0.3);
  background: var(--surface-hover);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.1);
  transform: translateY(-5px);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-body);
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.timeline-title {
  font-size: var(--fs-h3);
  margin-bottom: 0.5rem;
}

.timeline-company {
  font-size: var(--fs-body);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.timeline-points {
  padding-left: 1.5rem;
}

.timeline-points li {
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  position: relative;
  font-size: var(--fs-body);
}

.timeline-points li::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
}

/* =========================================================================
   CERTS 
   ========================================================================= */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  width: 100%;
}

.cert-type {
  font-family: var(--font-mono);
  color: var(--accent-secondary);
  font-size: var(--fs-small);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.cert-title {
  font-size: var(--fs-h3);
  margin-bottom: 1rem;
}

.cert-desc {
  color: var(--text-muted);
  font-size: var(--fs-body);
  margin-bottom: 2rem;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-body);
  color: var(--text-main);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.cert-link:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  gap: 0.8rem;
}

/* =========================================================================
   PROJECTS 
   ========================================================================= */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 100%;
}

.project-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.project-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 10px 40px rgba(34, 211, 238, 0.1);
  transform: translateY(-5px);
}

.project-content {
  flex: 1;
}

.tool-logo-container {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(34, 211, 238, 0.03) 100%);
  border: 1px solid rgba(34, 211, 238, 0.15);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.project-card:hover .tool-logo-container {
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
  transform: scale(1.05);
}

.tool-logo-container img,
.tool-logo-container svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool-fallback {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-primary);
}

/* Tool Logos Support */
.tool-grid-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tool-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(34, 211, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 24px;
  color: var(--accent-primary);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.tool-logo-large {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.badge-live {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-dev {
  background: rgba(139, 92, 246, 0.1);
  color: #a855f7;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.project-title {
  font-size: var(--fs-h2);
  margin-bottom: 0;
}

.project-desc {
  font-size: var(--fs-body);
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* =========================================================================
   CONTACT 
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  width: 100%;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.contact-item:hover .contact-icon {
  background: var(--accent-primary);
  color: var(--bg-darker);
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.contact-details span {
  display: block;
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-details a,
.contact-details p {
  font-size: var(--fs-body);
  color: var(--text-main);
  font-weight: 500;
}

form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.form-group label {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.form-control {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 12px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}

textarea.form-control {
  min-height: 180px;
  resize: vertical;
}

/* =========================================================================
   FOOTER 
   ========================================================================= */
.footer {
  background: var(--bg-lighter);
  border-top: 1px solid rgba(34, 211, 238, 0.1);
  padding: 3rem 2rem 1.5rem 2rem;
  width: 100vw;
}

.footer-top {
  max-width: var(--site-width);
  margin: 0 auto 3rem auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin-top: 1rem;
}

.footer-col-title {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links-col a,
.social-links a {
  color: var(--text-muted);
  font-size: var(--fs-body);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links-col a:hover,
.social-links a:hover {
  color: var(--accent-primary);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  font-size: 1.5rem;
}

.footer-bottom {
  max-width: var(--site-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-text {
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.footer-links-bottom {
  display: flex;
  gap: 1.5rem;
}

.footer-links-bottom a {
  color: var(--text-muted);
  font-size: var(--fs-small);
  transition: var(--transition-fast);
}

.footer-links-bottom a:hover {
  color: var(--text-main);
}

/* Modal / Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  max-width: 800px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-primary);
}

/* =========================================================================
   UTILITIES & ANIMATIONS
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  will-change: opacity, transform;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

/* Responsive */
@media (max-width: 1200px) {

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    padding-left: 3.5rem;
    padding-right: 0;
  }

  .timeline-item::after,
  .timeline-item:nth-child(even)::after {
    left: -8px;
  }

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

@media (max-width: 768px) {

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

  .nav-inner {
    padding: 0 1.5rem;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-grid {
    margin-top: 40px;
  }

  .glass-card {
    padding: 2rem;
  }

  .timeline-content {
    padding: 2rem;
  }

  .project-card {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-darker);
  z-index: 90;
  padding: 8rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 2rem;
  font-family: var(--font-heading);
}

.lang-toggle-mobile {
  font-size: 1.5rem;
  font-family: var(--font-mono);
}