/* ============================================
   CSS Custom Properties — Indigo Canvas Theme
   ============================================ */
:root {
  --bg-primary:   #eef2ff;   /* Indigo 50 — not white, has personality */
  --bg-secondary: #ffffff;   /* Pure white for alternate sections */
  --bg-card:      #ffffff;
  --border:       #e0e7ff;   /* Indigo 100 — tinted border */
  --border-hover: rgba(99, 102, 241, 0.35);

  --accent-purple:  #7c3aed;  /* Violet 600 */
  --accent-indigo:  #4f46e5;  /* Indigo 600 */
  --accent-cyan:    #0891b2;
  --accent-emerald: #059669;

  --text-primary:   #1e1b4b;  /* Indigo 950 — rich near-black */
  --text-secondary: #475569;
  --text-muted:     #94a3b8;

  --gradient:        linear-gradient(135deg, #7c3aed, #4f46e5);
  --gradient-subtle: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(79,70,229,0.08));

  --nav-height:      70px;
  --section-padding: 110px;
  --transition:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;

  --shadow-card: 0 1px 3px rgba(30,27,75,0.06), 0 6px 18px rgba(30,27,75,0.05);
  --shadow-glow: 0 8px 32px rgba(124, 58, 237, 0.16);
  --shadow-lg:   0 20px 54px rgba(30,27,75,0.1);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* ============================================
   i18n lang-en / lang-tr helpers
   JS handles display directly — CSS only sets the initial state.
   ============================================ */
.lang-tr { display: none; }

/* ============================================
   Background texture — subtle dot grid on indigo sections
   ============================================ */
.section:not(.section-alt) {
  background-image: radial-gradient(rgba(99,102,241,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ============================================
   Particles Canvas
   ============================================ */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background-color var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(15,23,42,0.08);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-logo .accent { color: var(--accent-purple); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

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

.nav-link:hover, .nav-link.active-link { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active-link::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn {
  padding: 7px 14px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
}

.lang-btn:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  background: rgba(124, 58, 237, 0.05);
}

.lang-btn-mobile {
  margin-top: 8px;
  width: fit-content;
}

.btn-resume {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: transparent;
  border: 1.5px solid var(--accent-purple);
  color: var(--accent-purple);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-resume:hover {
  background: var(--accent-purple);
  color: white;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(15,23,42,0.08);
}

.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  padding: 14px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
  z-index: 2;
}

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

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

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}

.section-title {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text-primary);
}

/* ============================================
   Utilities
   ============================================ */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}

.btn-ghost:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  background: rgba(124, 58, 237, 0.04);
}

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

/* ============================================
   Hero
   ============================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  position: relative;
  z-index: 2;
}

.hero-content { flex: 1; max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-emerald);
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent-emerald);
  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-title {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-subtitle .divider { color: var(--accent-purple); }

#typed-role {
  color: var(--accent-purple);
  font-family: 'JetBrains Mono', monospace;
  border-right: 2px solid var(--accent-purple);
  padding-right: 3px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { border-color: var(--accent-purple); }
  50%       { border-color: transparent; }
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-socials { display: flex; align-items: center; gap: 10px; }

.hero-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 17px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}

.hero-socials a:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.hero-image { flex: 0 0 auto; }

.hero-image-wrapper {
  position: relative;
  width: 340px; height: 340px;
}

.hero-photo {
  width: 275px; height: 275px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  border: 3px solid rgba(124, 58, 237, 0.25);
  box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.06), var(--shadow-lg);
}

.hero-image-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spin linear infinite;
}

.ring-1 { width: 298px; height: 298px; border-color: rgba(124,58,237,0.2); animation-duration: 8s; border-style: dashed; }
.ring-2 { width: 342px; height: 342px; border-color: rgba(8,145,178,0.13); animation-duration: 14s; animation-direction: reverse; }
.ring-3 { width: 388px; height: 388px; border-color: rgba(124,58,237,0.06); animation-duration: 22s; }

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--accent-purple), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; }
  50%       { opacity: 0.8; }
}

/* ============================================
   About
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.9;
  margin-bottom: 18px;
}

.about-text strong { color: var(--text-primary); font-weight: 600; }

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

.about-stats .stat-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 7px);
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
  opacity: 0;
  transition: opacity var(--transition);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

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

.stat-number {
  display: block;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -2px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* ============================================
   Experience Timeline
   ============================================ */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px; top: 0; bottom: 0;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--accent-purple), rgba(124,58,237,0.04));
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
}

.timeline-marker {
  flex-shrink: 0;
  width: 56px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.marker-dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
  position: relative;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}

.timeline-content:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.timeline-company {
  font-size: 14px;
  color: var(--accent-purple);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-date {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  background: var(--bg-primary);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-weight: 500;
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.timeline-list li {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  line-height: 1.7;
}

.timeline-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-indigo);
  font-size: 11px;
  top: 3px;
}

.badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  background: rgba(8, 145, 178, 0.08);
  color: var(--accent-cyan);
  border-radius: 100px;
  border: 1px solid rgba(8, 145, 178, 0.2);
  font-family: 'JetBrains Mono', monospace;
}

.badge-outline {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

/* ============================================
   Projects
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

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

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-icon {
  width: 46px; height: 46px;
  background: var(--gradient-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: var(--accent-purple);
  border: 1.5px solid rgba(124, 58, 237, 0.15);
}

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

.project-links a {
  color: var(--text-muted);
  font-size: 19px;
  text-decoration: none;
  transition: color var(--transition);
}

.project-links a:hover { color: var(--accent-purple); }

.project-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.project-subtitle {
  font-size: 12px;
  color: var(--accent-cyan);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  margin-top: -4px;
}

.project-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  flex: 1;
}

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

.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 11px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  transition: all var(--transition);
}

.project-card:hover .tag {
  border-color: rgba(124, 58, 237, 0.25);
  color: var(--text-secondary);
}

/* ============================================
   Skills
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-category {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}

.skill-category:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.skill-cat-header i {
  width: 34px; height: 34px;
  background: var(--gradient-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  font-size: 14px;
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.skill-cat-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.skill-tag {
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 13px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  transition: all var(--transition);
  cursor: default;
}

.skill-tag:hover {
  background: rgba(124, 58, 237, 0.07);
  border-color: rgba(124, 58, 237, 0.25);
  color: var(--accent-purple);
  transform: translateY(-2px);
}

/* ============================================
   Education
   ============================================ */
.education-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}

.education-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.edu-icon {
  width: 76px; height: 76px;
  background: var(--gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.25);
}

.edu-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.edu-school {
  font-size: 14px;
  color: var(--accent-purple);
  font-weight: 600;
  margin-bottom: 4px;
}

.edu-duration {
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 16px;
}

.edu-gpa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
}

.gpa-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.gpa-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-emerald);
  font-family: 'JetBrains Mono', monospace;
}

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}

.contact-desc {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 36px;
}

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

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.contact-link:last-child { border-bottom: none; }

.contact-link i {
  width: 34px; height: 34px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  font-size: 13px;
  flex-shrink: 0;
}

.contact-link:hover { color: var(--accent-purple); padding-left: 6px; }

.contact-form {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
}

.form-group { width: 100%; }

.form-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition);
  outline: none;
  resize: none;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-color: var(--accent-purple);
  background: rgba(124, 58, 237, 0.03);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

.form-textarea { min-height: 130px; }

.form-status {
  font-size: 13px;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-sm);
  min-height: 20px;
}

.form-status.success {
  background: rgba(5, 150, 105, 0.08);
  color: var(--accent-emerald);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.form-status.error {
  background: rgba(220, 38, 38, 0.06);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.15);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-text { font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.footer-sub  { font-size: 12px; color: var(--text-muted); }

.footer-socials { display: flex; gap: 18px; margin-top: 8px; }

.footer-socials a {
  color: var(--text-muted);
  font-size: 17px;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-socials a:hover { color: var(--accent-purple); }

/* ============================================
   Reveal Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  #hero {
    flex-direction: column;
    text-align: center;
    padding-top: calc(var(--nav-height) + 60px);
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle { justify-content: center; }
  .hero-actions  { justify-content: center; }
  .hero-socials  { justify-content: center; }
  .hero-desc     { text-align: center; }

  .about-grid    { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid  { grid-template-columns: 1fr; gap: 44px; }

  .education-card { flex-direction: column; text-align: center; padding: 36px 28px; }
}

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

  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .hero-image-wrapper { width: 250px; height: 250px; }
  .hero-photo { width: 205px; height: 205px; }
  .ring-1 { width: 224px; height: 224px; }
  .ring-2 { width: 268px; height: 268px; }
  .ring-3 { width: 312px; height: 312px; }

  .timeline::before { left: 20px; }
  .timeline-marker  { width: 40px; }
  .timeline-header  { flex-direction: column; }
  .timeline-content { padding: 18px 22px; }

  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid   { grid-template-columns: 1fr; }
  .contact-form  { padding: 22px; }
  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  :root { --section-padding: 64px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
