/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Base Colors */
  --bg-primary: #06060b;
  --bg-secondary: #0d0d15;
  --bg-card: rgba(15, 15, 25, 0.7);
  --bg-card-hover: rgba(25, 25, 40, 0.8);

  /* Text */
  --text-primary: #e8e8ef;
  --text-secondary: #9898ab;
  --text-muted: #5a5a72;

  /* Accents */
  --accent-cyan: #00d4ff;
  --accent-purple: #7b2fff;
  --accent-pink: #ff2d95;
  --accent-green: #00ff88;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #00d4ff, #7b2fff, #ff2d95);
  --gradient-card: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(123, 47, 255, 0.08));
  --gradient-border: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(123, 47, 255, 0.3), rgba(255, 45, 149, 0.3));

  /* Glass */
  --glass-bg: rgba(15, 15, 30, 0.6);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-blur: 20px;

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

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-glow-cyan: 0 0 30px rgba(0, 212, 255, 0.15);
  --shadow-glow-purple: 0 0 30px rgba(123, 47, 255, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ===== LIGHT MODE ===== */
[data-theme="light"] {
  --bg-primary: #f5f5fa;
  --bg-secondary: #eaeaf0;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(245, 245, 255, 0.95);

  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8888a0;

  --gradient-card: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(123, 47, 255, 0.05));
  --gradient-border: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 47, 255, 0.2), rgba(255, 45, 149, 0.2));

  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.08);

  --shadow-glow-cyan: 0 0 30px rgba(0, 212, 255, 0.1);
  --shadow-glow-purple: 0 0 30px rgba(123, 47, 255, 0.1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .bg-grain {
  opacity: 0;
}

[data-theme="light"] .bg-orb {
  opacity: 0.06;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(245, 245, 250, 0.9);
}

[data-theme="light"] .skill-tag {
  background: rgba(123, 47, 255, 0.06);
  border-color: rgba(123, 47, 255, 0.12);
}

[data-theme="light"] .tech-tag {
  background: rgba(0, 212, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.15);
}

[data-theme="light"] .nav-toggle span {
  background: var(--text-primary);
}

[data-theme="light"] ::selection {
  background: var(--accent-purple);
  color: #fff;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--accent-purple);
  color: #fff;
}

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

a:hover {
  color: var(--accent-pink);
}

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

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

.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

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

.bg-orb--1 {
  width: 600px;
  height: 600px;
  background: var(--accent-cyan);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.bg-orb--2 {
  width: 500px;
  height: 500px;
  background: var(--accent-purple);
  top: 40%;
  right: -150px;
  animation-delay: -7s;
}

.bg-orb--3 {
  width: 400px;
  height: 400px;
  background: var(--accent-pink);
  bottom: -100px;
  left: 30%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 30px) scale(1.02); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(6, 6, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

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

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
  border-radius: 1px;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: var(--transition-smooth);
  margin-left: 0.5rem;
}

.theme-toggle:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  transform: rotate(30deg) scale(1.1);
}

.theme-toggle-icon {
  transition: var(--transition-smooth);
  display: inline-block;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.05);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

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

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent-green);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.15); }
  50% { box-shadow: 0 0 20px 5px rgba(0, 255, 136, 0.1); }
}

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

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

.hero-name {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.hero-name .gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 4s ease-in-out infinite;
}

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

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-typing {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  min-height: 1.5rem;
}

.hero-typing .cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent-cyan);
  animation: blink 0.8s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-hero);
  color: #fff;
  box-shadow: 0 4px 20px rgba(123, 47, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(123, 47, 255, 0.4);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-avatar-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
}

.hero-avatar-ring {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: var(--gradient-hero);
  opacity: 0.3;
  animation: ringRotate 8s linear infinite;
  filter: blur(2px);
}

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

.hero-avatar {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--glass-border);
  z-index: 2;
}

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

.hero-floating-badge {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 3;
  animation: badgeFloat 4s ease-in-out infinite;
}

.hero-floating-badge:nth-child(3) {
  top: 15%;
  right: -20px;
  animation-delay: 0s;
}

.hero-floating-badge:nth-child(4) {
  bottom: 15%;
  left: -30px;
  animation-delay: -2s;
}

.hero-floating-badge:nth-child(5) {
  bottom: 5%;
  right: -10px;
  animation-delay: -1s;
}

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

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-story p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-story strong {
  color: var(--text-primary);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.highlight-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-cyan);
}

.highlight-icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.skill-category:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.skill-category-icon {
  font-size: 1.5rem;
}

.skill-category-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.skill-tag {
  padding: 0.4rem 0.85rem;
  background: rgba(123, 47, 255, 0.08);
  border: 1px solid rgba(123, 47, 255, 0.15);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.skill-tag:hover {
  background: rgba(123, 47, 255, 0.15);
  border-color: rgba(123, 47, 255, 0.3);
  transform: scale(1.05);
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(123, 47, 255, 0.2);
}

.project-card:hover::before {
  opacity: 1;
}

.project-header {
  padding: 2rem 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.project-icon {
  font-size: 2.5rem;
}

.project-links {
  display: flex;
  gap: 0.75rem;
}

.project-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: var(--transition-fast);
  font-size: 0.85rem;
}

.project-link:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.project-body {
  padding: 1.5rem 2rem 2rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-tag {
  padding: 0.25rem 0.65rem;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-cyan);
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: var(--gradient-card);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

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

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
  border-radius: 1px;
}

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

.timeline-marker {
  width: 62px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  justify-content: center;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-cyan);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
  position: relative;
  z-index: 1;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  flex: 1;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.timeline-content:hover {
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateX(5px);
}

.timeline-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-size: 0.9rem;
  color: var(--accent-purple);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  color: var(--text-primary);
}

.contact-link-item:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
  transform: translateX(8px);
  color: var(--text-primary);
}

.contact-link-icon {
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(0, 212, 255, 0.08);
  flex-shrink: 0;
}

.contact-link-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-link-value {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Form Result Messages */
.form-result {
  margin-top: 1rem;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.form-result--success {
  padding: 0.85rem 1rem;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  color: var(--accent-green);
}

.form-result--error {
  padding: 0.85rem 1rem;
  background: rgba(255, 45, 149, 0.08);
  border: 1px solid rgba(255, 45, 149, 0.2);
  color: var(--accent-pink);
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

.footer-social {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-social:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
  transform: translateY(-2px);
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

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

  .hero-visual {
    order: -1;
  }

  .hero-avatar-wrapper {
    width: 280px;
    height: 280px;
  }

  .hero-avatar {
    width: 280px;
    height: 280px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10, 10, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

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

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

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

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

  .hero-floating-badge {
    display: none;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-marker {
    width: 32px;
  }

  .timeline-content {
    padding: 1.25rem;
  }

  .stat-item {
    padding: 1.5rem 0.5rem;
  }
}

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

  .hero-name {
    font-size: 2.2rem;
  }

  .hero-avatar-wrapper {
    width: 220px;
    height: 220px;
  }

  .hero-avatar {
    width: 220px;
    height: 220px;
  }

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

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

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