@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700;800&family=Fira+Code:wght@300;400;500&display=swap');

:root {
  --void:        #06030f;
  --deep:        #0d0720;
  --surface:     #130a2e;
  --glass:       rgba(19, 10, 46, 0.55);
  --glass-light: rgba(30, 15, 65, 0.4);

  --violet:      #7c3aed;
  --violet-bright: #9d5cf6;
  --magenta:     #e040fb;
  --magenta-dim: #b024cc;
  --pink-hot:    #f72585;
  --rose:        #ff4d8d;

  --text-pri:    #f0eaff;
  --text-sec:    #a991d4;
  --text-muted:  #5a4080;

  --border-v:    rgba(124, 58, 237, 0.3);
  --border-dim:  rgba(124, 58, 237, 0.1);
  --border-mg:   rgba(224, 64, 251, 0.25);

  --shadow-v:    0 0 40px rgba(124, 58, 237, 0.25);
  --shadow-mg:   0 0 40px rgba(224, 64, 251, 0.25);
  --glow-v:      0 0 20px rgba(157, 92, 246, 0.7), 0 0 60px rgba(124, 58, 237, 0.4);
  --glow-mg:     0 0 20px rgba(224, 64, 251, 0.7), 0 0 60px rgba(224, 64, 251, 0.3);

  --grid-line:   rgba(124, 58, 237, 0.05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--void);
  color: var(--text-pri);
  overflow-x: hidden;
}

/* ── CANVAS ── */
#bg-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; opacity: 0.55;
}

/* ── GRID OVERLAY ── */
.grid-overlay {
  position: fixed; inset: 0; z-index: 1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

/* ── GLOW ORBS ── */
.glow-orb {
  position: fixed; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
  z-index: 2; animation: orbFloat 10s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.35), transparent 70%);
  top: -5%; left: -12%; opacity: 0.5;
}
.orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(224,64,251,0.28), transparent 70%);
  bottom: 15%; right: -10%; opacity: 0.45;
  animation-delay: -5s;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem 8%;
  background: rgba(6, 3, 15, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dim);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  padding: 0.8rem 8%;
  background: rgba(6, 3, 15, 0.9);
  border-bottom: 1px solid var(--border-v);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1rem; font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--violet-bright), var(--magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(157,92,246,0.5));
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; white-space: nowrap; }

.nav-links a {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem; color: var(--text-sec);
  text-decoration: none; letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 1px;
  background: linear-gradient(90deg, var(--violet-bright), var(--magenta));
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--magenta);
}
.nav-links a:hover { color: var(--violet-bright); text-shadow: 0 0 15px rgba(157,92,246,0.6); }
.nav-links a:hover::after { width: 100%; }

/* ── SECTIONS ── */
section {
  position: relative; z-index: 10;
  padding: 5rem 6rem; min-height: 60vh;
  display: flex; align-items: center;
}

/* ── HERO ── */
#hero {
  flex-direction: row; justify-content: space-between;
  align-items: center; padding-top: 5rem;
  min-height: 100vh; gap: 4rem;
}

.hero-content {
  flex: 1; display: flex;
  flex-direction: column; align-items: flex-start;
}

.hero-eyebrow {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem; color: var(--magenta);
  letter-spacing: 0.3em; text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
  display: flex; align-items: center; gap: 1rem;
}
.hero-eyebrow::before {
  content: ''; width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--magenta));
  box-shadow: 0 0 8px var(--magenta);
}

.hero-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--violet-bright) 40%, var(--magenta) 75%, var(--pink-hot) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(157,92,246,0.5));
  opacity: 0; animation: fadeUp 0.8s 0.5s forwards;
  margin-bottom: 0.6rem;
}

.hero-role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 400; color: var(--text-sec);
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0; animation: fadeUp 0.8s 0.7s forwards;
  margin-bottom: 1.8rem;
}

.hero-tagline {
  font-family: 'Fira Code', monospace;
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  color: var(--text-muted); max-width: 480px;
  line-height: 1.85; opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
  margin-bottom: 3rem;
  border-left: 2px solid var(--violet);
  padding-left: 1.2rem;
}
.hero-tagline span { color: var(--violet-bright); font-weight: 500; }

/* ── PRIMARY BUTTON ── */
.btn-primary {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  padding: 1rem 2.8rem;
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
  clip-path: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
  opacity: 0; animation: fadeUp 0.8s 1.1s forwards;
  text-decoration: none; display: inline-block;
  transition: transform 0.3s;
  box-shadow: 0 0 30px rgba(124,58,237,0.45), 0 0 70px rgba(224,64,251,0.2);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--magenta), var(--pink-hot));
  opacity: 0; transition: opacity 0.35s;
}
.btn-primary:hover { transform: translateY(-3px); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { box-shadow: 0 0 50px rgba(224,64,251,0.7), 0 0 100px rgba(124,58,237,0.35); }
.btn-primary span { position: relative; z-index: 1; }

/* ── HERO IMAGE ── */
.hero-image {
  flex: 0 0 420px; max-width: 420px;
  position: relative; opacity: 0;
  animation: fadeUp 0.8s 1.3s forwards;
  z-index: 5; aspect-ratio: 4/5;
  background: var(--surface); border-radius: 4px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-v);
  box-shadow: 0 0 60px rgba(124,58,237,0.2), inset 0 0 40px rgba(124,58,237,0.05);
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
  filter: contrast(1.05) brightness(0.88) saturate(0.9);
}
.hero-image::before {
  content: ''; position: absolute; inset: -2px;
  border-radius: 6px; z-index: -1;
  background: linear-gradient(135deg, var(--violet), var(--magenta), transparent 60%);
  opacity: 0.5;
}
/* corner decoration */
.hero-image::after {
  content: ''; position: absolute;
  top: 12px; right: 12px; z-index: 10;
  width: 40px; height: 40px;
  border-top: 2px solid var(--magenta);
  border-right: 2px solid var(--magenta);
  pointer-events: none;
  box-shadow: 4px -4px 14px rgba(224,64,251,0.5);
}
.hero-image:hover img {
  transform: scale(1.04);
  filter: contrast(1.1) brightness(0.95) saturate(1.1);
}
.hero-image:hover { box-shadow: 0 0 80px rgba(124,58,237,0.35), 0 0 120px rgba(224,64,251,0.15); }

/* ── HERO SCROLL HINT ── */
.hero-scroll-hint {
  position: absolute; bottom: 3rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeUp 0.8s 1.5s forwards;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--violet-bright), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-text {
  font-family: 'Fira Code', monospace;
  font-size: 0.58rem; color: var(--text-muted);
  letter-spacing: 0.35em; text-transform: uppercase;
}

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 4rem; }

.section-tag {
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem; color: var(--magenta);
  letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.section-tag::before {
  content: ''; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--magenta));
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; color: var(--text-pri);
  letter-spacing: -0.03em;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--violet-bright), var(--magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(157,92,246,0.4));
}

/* ── DASHBOARD GRID ── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  width: 100%;
  align-items: center;
}

.profile-card {
  perspective: 1000px;
}

.card-inner {
  padding: 2.5rem;
  border-radius: 30px;
  border: 1px solid var(--border-v);
  background: linear-gradient(135deg, rgba(13, 7, 32, 0.8), rgba(19, 10, 46, 0.4));
  box-shadow: var(--shadow-v);
  position: relative;
  overflow: hidden;
}

.card-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--magenta));
}

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

.img-container {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--violet-bright);
  box-shadow: 0 0 15px rgba(157, 92, 246, 0.4);
}

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

.profile-title h3 {
  font-size: 1.4rem;
  font-family: 'Syne', sans-serif;
}

.subtitle {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── CODE BLOCK ── */
.code-block {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.code-line { margin-bottom: 0.4rem; }
.indent-1 { padding-left: 1.5rem; }
.code-keyword { color: var(--magenta); }
.code-func { color: var(--violet-bright); }
.code-string { color: var(--rose); }

/* ── CARD STATS ── */
.card-stats {
  display: flex;
  gap: 1rem;
}

.stat-item {
  flex: 1;
  padding: 1.2rem;
  text-align: center;
  border-radius: 16px;
  border: 1px solid var(--border-dim);
}

.stat-val {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--violet-bright);
}

.stat-lab {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ── ABOUT CONTENT ── */
.dashboard-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  font-family: 'Syne', sans-serif;
}

.dashboard-desc {
  font-size: 1.05rem;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 600px;
}

.edu-card {
  padding: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  border-left: 3px solid var(--violet);
}

.edu-card h4 {
  font-family: 'Syne', sans-serif;
  margin-bottom: 0.5rem;
}

.edu-meta {
  color: var(--violet-bright);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

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

.skill-pill {
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.8rem;
  border: 1px solid var(--border-dim);
  transition: all 0.3s;
  cursor: default;
}

.skill-pill:hover {
  border-color: var(--violet);
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
}

.glass-light {
  background: var(--glass-light);
  backdrop-filter: blur(10px);
}

/* ── EXPERIENCE ── */
#experience { flex-direction: column; align-items: flex-start; }

/* ── SKILLS ── */
#skills { flex-direction: column; align-items: flex-start; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; width: 100%;
}

.skill-card {
  background: var(--glass);
  border: 1px solid var(--border-dim);
  backdrop-filter: blur(16px);
  padding: 2rem; position: relative; overflow: hidden;
  transition: border-color 0.4s, transform 0.3s, box-shadow 0.4s;
  cursor: default;
}
.skill-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.skill-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--magenta), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.skill-card:hover { border-color: var(--border-v); transform: translateY(-6px); box-shadow: var(--shadow-v); }
.skill-card:hover::before, .skill-card:hover::after { opacity: 1; }

.skill-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }

.skill-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-pri); letter-spacing: 0.03em;
  margin-bottom: 0.8rem;
}

.skill-level-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.62rem; color: var(--violet-bright);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: flex; justify-content: space-between;
}

.skill-bar-track {
  height: 3px; background: rgba(124,58,237,0.12);
  position: relative; overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--magenta));
  box-shadow: 0 0 10px var(--violet-bright);
  width: 0; transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.skill-bar-fill::after {
  content: ''; position: absolute;
  right: 0; top: -3px; width: 8px; height: 8px;
  background: var(--magenta); border-radius: 50%;
  box-shadow: 0 0 10px var(--magenta);
}

/* ── PROJECTS ── */
#projects { flex-direction: column; align-items: flex-start; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem; width: 100%;
}

.project-card {
  background: var(--glass);
  border: 1px solid var(--border-dim);
  backdrop-filter: blur(20px);
  padding: 2.5rem; position: relative; overflow: hidden;
  transition: all 0.4s ease;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.project-card::after {
  content: ''; position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid; border-width: 0 22px 22px 0;
  border-color: transparent var(--violet) transparent transparent;
  transition: border-color 0.4s;
}
.project-card:hover {
  border-color: var(--border-v);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 0 40px rgba(124,58,237,0.25), 0 20px 60px rgba(0,0,0,0.5);
}
.project-card:hover::after { border-color: transparent var(--magenta) transparent transparent; }

/* Left-edge glow accent on card hover */
.project-card::before {
  content: ''; position: absolute;
  left: 0; top: 0; width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--violet-bright), var(--magenta), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.project-card:hover::before { opacity: 1; }

.project-number {
  font-family: 'Fira Code', monospace;
  font-size: 0.62rem; color: var(--violet);
  letter-spacing: 0.2em; margin-bottom: 1.2rem;
}

.project-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--text-pri); margin-bottom: 1rem; line-height: 1.3;
}

.project-desc {
  font-size: 0.95rem; color: var(--text-sec);
  line-height: 1.75; margin-bottom: 1.5rem; font-weight: 400;
}

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

.tech-tag {
  font-family: 'Fira Code', monospace;
  font-size: 0.62rem; color: var(--violet-bright);
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  padding: 0.3rem 0.75rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: background 0.3s, box-shadow 0.3s;
}
.project-card:hover .tech-tag {
  background: rgba(124,58,237,0.18);
  box-shadow: 0 0 8px rgba(124,58,237,0.25);
}

.project-link {
  position: absolute; bottom: 2rem; right: 2rem;
  width: 40px; height: 40px;
  border: 1px solid var(--border-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none;
  font-size: 1rem; transition: all 0.3s;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.project-card:hover .project-link {
  border-color: var(--magenta); color: var(--magenta);
  box-shadow: 0 0 15px rgba(224,64,251,0.4);
}

.company-link {
  color: var(--violet-bright); text-decoration: none;
  font-weight: 600; transition: all 0.3s; position: relative;
}
.company-link::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; width: 0; height: 1px;
  background: linear-gradient(90deg, var(--violet-bright), var(--magenta));
  transition: width 0.3s ease;
}
.company-link:hover { text-shadow: 0 0 10px rgba(157,92,246,0.5); }
.company-link:hover::after { width: 100%; }

/* ── CONTACT ── */
#contact { flex-direction: column; align-items: flex-start; }

.contact-layout {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 5rem; width: 100%;
}

.contact-info-block { display: flex; flex-direction: column; gap: 1.2rem; }

.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--glass); border: 1px solid var(--border-dim);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-info-item:hover { border-color: var(--border-v); box-shadow: var(--shadow-v); }

.contact-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }

.contact-info-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.62rem; color: var(--text-muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.contact-info-value { font-size: 0.95rem; color: var(--violet-bright); font-weight: 500; }

.social-row { display: flex; gap: 1rem; margin-top: 0.5rem; }

.social-btn {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem; color: var(--text-sec);
  background: var(--glass); border: 1px solid var(--border-dim);
  padding: 0.7rem 1.2rem; text-decoration: none;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: all 0.3s; backdrop-filter: blur(16px);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.social-btn:hover {
  border-color: var(--border-mg); color: var(--magenta);
  box-shadow: 0 0 20px rgba(224,64,251,0.2);
}

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

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

.form-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.62rem; color: var(--text-muted);
  letter-spacing: 0.15em; text-transform: uppercase;
}

.form-input, .form-textarea {
  background: rgba(19, 10, 46, 0.7);
  border: 1px solid var(--border-dim);
  color: var(--text-pri);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 400;
  padding: 0.9rem 1.2rem;
  outline: none; transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%; backdrop-filter: blur(10px);
}
.form-textarea { height: 130px; resize: vertical; }
.form-input:focus, .form-textarea:focus {
  border-color: var(--violet-bright);
  box-shadow: 0 0 20px rgba(157,92,246,0.15), inset 0 0 10px rgba(124,58,237,0.04);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }

.btn-submit {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  padding: 1rem 2.5rem; border: none; cursor: pointer;
  position: relative; overflow: hidden;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all 0.3s;
  box-shadow: 0 0 25px rgba(124,58,237,0.35);
  align-self: flex-start;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(224,64,251,0.6); }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 10;
  text-align: center; padding: 2.5rem;
  border-top: 1px solid var(--border-dim);
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem; color: var(--text-muted);
  letter-spacing: 0.1em;
}
footer span {
  background: linear-gradient(135deg, var(--violet-bright), var(--magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.35; transform: scaleY(0.55); }
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0); }
  33%       { transform: translate(28px,-18px); }
  66%       { transform: translate(-18px,14px); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  nav { padding: 1rem 5%; gap: 1.5rem; }
  .nav-links { gap: 1.5rem; }
}

@media (max-width: 900px) {
  section { padding: 4rem 2rem; }
  nav { padding: 1rem 2rem; justify-content: center; }
  .nav-links { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .about-main { align-items: center; display: flex; flex-direction: column; }
  .dashboard-desc { margin: 0 auto 3rem; }
  .skills-tags { justify-content: center; }
  .profile-header { justify-content: center; }
  .about-grid, .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .projects-grid, .skills-grid { grid-template-columns: 1fr; }

  #hero { flex-direction: column; text-align: center; align-items: center; padding-top: 8rem; gap: 3rem; }
  .hero-content { align-items: center; }
  .hero-image { flex: 0 0 340px; width: 340px; }
  .hero-tagline { border-left: none; border-bottom: 2px solid var(--violet); padding-left: 0; padding-bottom: 1.2rem; }
  .hero-name { font-size: clamp(2.5rem, 10vw, 4rem); }
}
