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

/* ─── CSS Variables ─── */
:root {
  --bg:          #050508;
  --bg2:         #0d0d14;
  --text:        #f0f0f8;
  --muted:       #6b6b80;
  --border:      rgba(255,255,255,0.07);
  --accent:      #6366f1;
  --accent2:     #8b5cf6;
  --accent3:     #06b6d4;
  --glow:        rgba(99,102,241,0.35);
  --glow2:       rgba(139,92,246,0.25);
  --glass:       rgba(255,255,255,0.03);
  --glass-border:rgba(255,255,255,0.08);
}

/* ─── Reset ─── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none; border: none;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html::-webkit-scrollbar { width: 4px; }
html::-webkit-scrollbar-track { background: var(--bg); }
html::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  cursor: none;
}

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

/* ─── Custom Cursor ─── */
.cursor-dot, .cursor-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  top: 0; left: 0;
}
.cursor-glow {
  width: 40px; height: 40px;
  background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%);
  top: 0; left: 0;
  transition: width 0.3s, height 0.3s, top 0.12s ease, left 0.12s ease;
}
body:has(a:hover) .cursor-glow,
body:has(button:hover) .cursor-glow {
  width: 70px; height: 70px;
  background: radial-gradient(circle, rgba(99,102,241,0.4) 0%, transparent 70%);
}

/* ─── Ambient Orbs ─── */
.ambient-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent), transparent);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent2), transparent);
  bottom: 10%; right: -80px;
  animation-delay: -7s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent3), transparent);
  top: 50%; left: 40%;
  animation-delay: -14s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(40px,-40px) scale(1.05); }
  66%       { transform: translate(-30px,30px) scale(0.95); }
}

/* ─── Intro Animation ─── */
.intro-container {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: introFadeOut 0.6s ease-in-out 3.2s forwards;
}
.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.intro-logo {
  width: 12rem;
  opacity: 0;
  animation: logoReveal 1s cubic-bezier(0.34,1.56,0.64,1) 0.3s forwards;
  filter: drop-shadow(0 0 40px var(--accent));
}
.intro-bar {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
  animation: barExpand 0.8s ease 1.4s forwards;
}
.intro-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  letter-spacing: 0.5em;
  color: var(--muted);
  opacity: 0;
  animation: fadeInUp 0.5s ease 2.2s forwards;
}
@keyframes logoReveal {
  from { opacity: 0; transform: scale(0.4) rotate(-20deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes barExpand {
  from { width: 0; }
  to   { width: 200px; }
}
@keyframes introFadeOut {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* ─── Navbar ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  height: 7rem;
  background: rgba(5,5,8,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
header.scrolled {
  height: 6rem;
  background: rgba(5,5,8,0.92);
}

header .logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: 1rem;
}
header .logo::before {
  content: '';
  display: inline-block;
  width: 2.5rem; height: 2px;
  background: var(--accent);
}
header .logo:hover { color: var(--accent); }

header .navbar ul {
  list-style: none;
  display: flex;
  gap: 3.5rem;
}
header .navbar ul li a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  transition: color 0.3s;
}
header .navbar ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
header .navbar ul li a:hover,
header .navbar ul li a.active {
  color: var(--text);
}
header .navbar ul li a:hover::after,
header .navbar ul li a.active::after { width: 100%; }

#menu {
  display: none;
  font-size: 2.4rem;
  color: var(--text);
  cursor: pointer;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 3rem;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: none;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.btn span, .btn i { position: relative; z-index: 1; }
.btn:hover {
  border-color: transparent;
  box-shadow: 0 0 30px var(--glow);
  transform: translateY(-2px);
}
.btn:hover::before { opacity: 1; }
.btn i { font-size: 1.2rem; transition: transform 0.3s; }
.btn:hover i { transform: translateX(4px); }

/* ─── Section Base ─── */
section {
  min-height: 100vh;
  padding: 10rem 10% 6rem;
  position: relative;
  z-index: 1;
}

.heading {
  font-size: 4rem;
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin-bottom: 5rem;
  position: relative;
}
.heading i { color: var(--accent); margin-right: 1rem; }
.heading span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.4);
}

/* ─── HERO SECTION ─── */
.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 10rem 10% 4rem;
  gap: 5rem;
  text-align: center;
  overflow: hidden;
}

/* Particle Canvas */
#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Hero Grid Lines */
.hero-grid {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.grid-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(99,102,241,0.08) 30%, rgba(99,102,241,0.08) 70%, transparent);
  animation: gridPulse 4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.6s);
}
@keyframes gridPulse {
  0%,100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* Profile Stage */
.profile-stage {
  position: relative;
  width: 28rem; height: 28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: fadeInDown 0.8s ease 3.4s both;
}
.profile-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(ellipse, rgba(99,102,241,0.2) 0%, transparent 65%);
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
}
.profile-container {
  width: 19rem; height: 19rem;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(99,102,241,0.4);
  box-shadow:
    0 0 0 6px rgba(99,102,241,0.08),
    0 0 60px rgba(99,102,241,0.2);
}
.profile-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.profile-container:hover .profile-img { transform: scale(1.06); }

/* Orbit Rings */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  pointer-events: none;
}
.orbit-ring-1 {
  width: 110%; height: 110%;
  border-top-color: rgba(99,102,241,0.7);
  border-right-color: rgba(99,102,241,0.15);
  animation: spin 6s linear infinite;
}
.orbit-ring-2 {
  width: 130%; height: 130%;
  border-bottom-color: rgba(139,92,246,0.6);
  border-left-color: rgba(139,92,246,0.1);
  animation: spin 9s linear infinite reverse;
}
.orbit-ring-3 {
  width: 155%; height: 155%;
  border-top-color: rgba(6,182,212,0.3);
  border-right-color: rgba(6,182,212,0.05);
  animation: spin 15s linear infinite;
}
.orbit-dot {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent);
  top: -3.5px;
  left: calc(50% - 3.5px);
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Status Badge */
.status-badge {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.6rem;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #10b981;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  animation: badgePulse 2s ease-in-out infinite;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: statusBlink 1.5s ease-in-out infinite;
}
@keyframes statusBlink {
  0%,100% { opacity: 1; box-shadow: 0 0 6px #10b981; }
  50%      { opacity: 0.4; box-shadow: none; }
}
@keyframes badgePulse {
  0%,100% { transform: translateX(-50%) scale(1); }
  50%      { transform: translateX(-50%) scale(1.02); }
}

/* Hero Content */
.home .content {
  z-index: 2;
  animation: fadeInUp 0.8s ease 3.6s both;
}
.vertex-tag {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 2rem;
  opacity: 0.8;
}
.vertex-tag span { opacity: 0.5; }

.hero-title {
  font-size: 6.5rem;
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.name-gradient {
  background: linear-gradient(135deg, #a5b4fc, #6366f1, #8b5cf6, #06b6d4);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 2rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 3rem;
  min-height: 3rem;
}
.cursor-blink {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Social Icons */
.socials { margin: 2.5rem 0; }
.social-icons {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.social-icons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem; height: 4.5rem;
  border: 1px solid var(--glass-border);
  color: var(--muted);
  font-size: 1.8rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: var(--glass);
  backdrop-filter: blur(8px);
}
.social-icons li a:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(99,102,241,0.15);
  box-shadow: 0 0 20px var(--glow);
  transform: translateY(-4px);
}

/* ─── ABOUT SECTION ─── */
.about { background: var(--bg2); }
.about .row {
  display: flex;
  align-items: center;
  gap: 8rem;
  max-width: 1200px;
  margin: 0 auto;
}
.about .image {
  flex: 1;
  max-width: 38rem;
}
.about .image img {
  width: 100%;
  border: 1px solid var(--glass-border);
  display: block;
  filter: grayscale(0.2);
  transition: all 0.5s ease;
}
.about .image img:hover {
  filter: grayscale(0);
  box-shadow: 0 0 60px var(--glow);
}
.about .content { flex: 1; }
.about .content h3 {
  font-size: 4rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.04em;
  margin-bottom: 0.8rem;
}
.about .content .tag {
  display: inline-block;
  font-size: 1.1rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.08);
}
.about .content p {
  font-size: 1.5rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}
.about .box-container .box p {
  font-size: 1.4rem;
  color: var(--muted);
  margin: 0.8rem 0;
}
.about .box-container .box p span {
  color: var(--accent);
  font-weight: 600;
  margin-right: 0.5rem;
}
.resumebtn { margin-top: 3rem; }

/* ─── SKILLS SECTION ─── */
.skills { background: var(--bg); }
.skills .container { max-width: 1200px; margin: 0 auto; }
.skills .row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 2rem;
}
.bar {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
}
.bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.06), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.bar:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(99,102,241,0.2);
}
.bar:hover::before { opacity: 1; }
.bar .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}
.bar .info img {
  width: 5rem; height: 5rem;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.3s, transform 0.3s;
}
.bar:hover .info img {
  filter: grayscale(0);
  transform: scale(1.15) rotate(-5deg);
}
.bar .info span {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.3s;
}
.bar:hover .info span { color: var(--text); }

/* ─── EDUCATION SECTION ─── */
.education {
  background: var(--bg2);
  text-align: center;
}
.qoute {
  font-size: 1.6rem;
  color: var(--muted);
  font-style: italic;
  max-width: 60rem;
  margin: -3rem auto 5rem;
  line-height: 1.7;
}
.education .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.edu-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 4rem 3.5rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.edu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
  transition: height 0.4s ease;
}
.edu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(99,102,241,0.2);
  border-color: rgba(99,102,241,0.3);
}
.edu-card:hover::before { height: 100%; }
.edu-icon {
  width: 5rem; height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  font-size: 2rem;
  color: var(--accent);
  border-radius: 50%;
}
.edu-card .content h3 {
  font-size: 1.7rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 0.8rem;
}
.edu-card .content p {
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.edu-card .content h4 {
  font-size: 1.1rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-weight: 500;
}

/* ─── WORK / PROJECTS SECTION ─── */
.work { background: var(--bg); }
.work .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.work .box {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
}
.work .box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.05));
  opacity: 0;
  transition: opacity 0.35s;
}
.work .box:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(99,102,241,0.25);
  border-color: rgba(99,102,241,0.4);
}
.work .box:hover::after { opacity: 1; }
.work .box img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  display: block;
  filter: grayscale(0.3);
  transition: all 0.4s ease;
}
.work .box:hover img {
  filter: grayscale(0);
  transform: scale(1.03);
}
.work .box .content {
  padding: 2.5rem;
  position: relative;
  z-index: 1;
}
.work .box .content .tag h3 {
  font-size: 1.7rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 1rem;
}
.work .box .content .desc p {
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.work .box .content .btns {
  display: flex;
  gap: 1rem;
}
.work .box .content .btn {
  padding: 0.8rem 1.8rem;
  font-size: 1.1rem;
}
.viewall {
  text-align: center;
  margin-top: 5rem;
}

/* ─── EXPERIENCE SECTION ─── */
.experience { background: var(--bg2); }
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 5rem;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent), var(--accent2), transparent);
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.timeline .container {
  padding: 1rem 5rem 1rem 0;
  position: relative;
  width: 50%;
  animation: none;
}
.timeline .container .content {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 2.5rem 3rem;
  position: relative;
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
}
.timeline .container .content:hover {
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 20px rgba(99,102,241,0.1);
  transform: scale(1.02);
}
.timeline .container .content::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.4s ease;
}
.timeline .container .content:hover::before { width: 100%; }
.timeline .container .tag h2 {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.timeline .container .desc h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.timeline .container .desc p {
  font-size: 1.2rem;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}
.timeline .container::after {
  content: '◆';
  position: absolute;
  right: -1.3rem;
  top: 50%; transform: translateY(-50%);
  width: 2.6rem; height: 2.6rem;
  background: var(--bg);
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  z-index: 1;
}
.timeline .right { left: 50%; padding: 1rem 0 1rem 5rem; }
.timeline .right::after { left: -1.3rem; }
.morebtn { text-align: center; }

/* ─── CONTACT SECTION ─── */
.contact { background: var(--bg); }
.contact .container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
}
.contact .container .content {
  display: flex;
  gap: 6rem;
  padding: 6rem;
}
.contact-info-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}
.contact-info-panel h3 {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.contact-info-panel > p {
  font-size: 1.4rem;
  color: var(--muted);
  line-height: 1.7;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.contact-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.3rem;
  color: var(--muted);
  transition: color 0.3s;
}
.contact-links a i { color: var(--accent); }
.contact-links a:hover { color: var(--text); }

.contact .content form { flex: 1; }
form .form-group { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group .field {
  position: relative;
  display: flex;
}
.form-group .field input,
.form-group .message textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 1.4rem 1.5rem 1.4rem 4.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}
.form-group .field input::placeholder,
.form-group .message textarea::placeholder { color: var(--muted); }
.form-group .field input:focus,
.form-group .message textarea:focus {
  border-color: rgba(99,102,241,0.5);
  background: rgba(99,102,241,0.05);
  box-shadow: 0 0 20px rgba(99,102,241,0.1);
}
form i {
  position: absolute;
  top: 50%; left: 1.5rem;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--muted);
  pointer-events: none;
}
.form-group .message { position: relative; }
.form-group .message textarea { height: 14rem; resize: none; padding-top: 1.4rem; }
.form-group .message i { top: 2rem; transform: none; }
.button-area { margin-top: 1.5rem; }
.button-area button {
  width: 100%;
  padding: 1.6rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.button-area button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent2), var(--accent3));
  opacity: 0;
  transition: opacity 0.3s;
}
.button-area button span, .button-area button i { position: relative; z-index: 1; }
.button-area button:hover {
  box-shadow: 0 10px 30px rgba(99,102,241,0.4);
  transform: translateY(-2px);
}
.button-area button:hover::before { opacity: 1; }
.button-area button i { margin-left: 0.8rem; }

/* ─── FOOTER ─── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 8rem 10% 4rem;
}
.footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 6rem;
  margin-bottom: 6rem;
}
.footer .box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  color: var(--text);
}
.footer .box p {
  font-size: 1.3rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.footer .box p i { color: var(--accent); margin-right: 1rem; }
.footer .box a {
  display: block;
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}
.footer .box a i { color: var(--accent); margin-right: 0.8rem; }
.footer .box a:hover { color: var(--text); transform: translateX(8px); }
.footer .box .share {
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
}
.footer .box .share a {
  width: 4rem; height: 4rem;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--muted);
  border-radius: 50%;
  transition: all 0.3s ease;
  background: var(--glass);
  margin: 0;
  transform: none;
}
.footer .box .share a:hover {
  background: rgba(99,102,241,0.15);
  border-color: var(--accent);
  color: var(--text);
  box-shadow: 0 0 16px var(--glow);
  transform: translateY(-4px);
}
.footer .credit {
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-family: 'JetBrains Mono', monospace;
}
.footer .credit a { color: var(--accent); }
.footer .fa.pulse {
  color: #f43f5e;
  margin: 0 0.4rem;
  animation: pulse 0.5s ease-in-out infinite alternate;
}
@keyframes pulse { to { transform: scale(1.2); } }

/* ─── Scroll Top ─── */
#scroll-top {
  position: fixed;
  bottom: -10rem;
  right: 2.5rem;
  width: 4.5rem; height: 4.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 20px var(--glow);
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 1000;
}
#scroll-top.active {
  bottom: 3rem;
}
#scroll-top:hover {
  background: var(--accent2);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--glow);
}

/* ─── Keyframe Helpers ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes glowPulse {
  0%,100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .about .row { gap: 4rem; }
  .timeline::after { left: 3rem; }
  .timeline .container { width: 100%; padding: 1rem 1rem 1rem 8rem; }
  .timeline .container::after { left: 1.3rem; right: auto; }
  .timeline .right { left: 0; padding: 1rem 1rem 1rem 8rem; }
  .timeline .right::after { left: 1.3rem; }
}
@media (max-width: 768px) {
  header { padding: 0 5%; }
  #menu { display: block; }
  header .navbar {
    position: fixed;
    top: 7rem; left: 0; right: 0;
    background: rgba(5,5,8,0.97);
    backdrop-filter: blur(20px);
    transform: translateY(-110%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid var(--border);
  }
  header .navbar.nav-toggle { transform: translateY(0); }
  header .navbar ul { flex-direction: column; padding: 2rem; gap: 0; }
  header .navbar ul li a { display: block; padding: 1.5rem 0; font-size: 1.4rem; }
  .home { gap: 3rem; }
  .profile-stage { width: 22rem; height: 22rem; }
  .profile-container { width: 15rem; height: 15rem; }
  .hero-title { font-size: 4.5rem; }
  .about .row { flex-direction: column; gap: 4rem; }
  .about .image { max-width: 100%; }
  .contact .container .content { flex-direction: column; padding: 3rem; gap: 3rem; }
  .timeline .container { padding: 1rem 1rem 1rem 6rem; }
}
@media (max-width: 480px) {
  html { font-size: 55%; }
  section { padding: 8rem 5% 4rem; }
  .hero-title { font-size: 3.5rem; }
  .profile-stage { width: 18rem; height: 18rem; }
  .profile-container { width: 12rem; height: 12rem; }
  .heading { font-size: 3rem; }
}
