/* ============================================
   DEEPANSHU BAGHEL — PORTFOLIO CSS
   Theme: Indigo + Pink / Deep Black (hibrkraft-inspired)
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Core brand colours — Indigo → Pink */
  --indigo: #4f46e5;
  --indigo-light: #818cf8;
  --indigo-dark: #3730a3;
  --pink: #ec4899;
  --pink-light: #f9a8d4;
  --pink-dark: #be185d;
  --rose: #f43f5e;

  /* Mapped to generic names used throughout */
  --green: #4f46e5;
  --green-light: #818cf8;
  --green-dark: #3730a3;
  --amber: #ec4899;
  --amber-light: #f9a8d4;
  --amber-dark: #be185d;

  /* Backgrounds — true deep black like the reference */
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #1a1a2e;
  --surface: rgba(79, 70, 229, 0.06);
  --surface-hover: rgba(79, 70, 229, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(79, 70, 229, 0.5);

  /* Text */
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --text-dim: #52525b;

  /* Gradients */
  --gradient: linear-gradient(135deg, var(--indigo), var(--pink));
  --gradient-text: linear-gradient(135deg, var(--indigo-light) 0%, var(--pink-light) 100%);
  --gradient-border: linear-gradient(135deg, var(--indigo-dark), var(--pink-dark));

  /* Geometry */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xl: 28px;

  /* Shadows / glows */
  --shadow: 0 0 40px rgba(79, 70, 229, 0.15);
  --shadow-hover: 0 0 60px rgba(79, 70, 229, 0.32), 0 0 30px rgba(236, 72, 153, 0.18);
  --glow-green: 0 0 24px rgba(79, 70, 229, 0.55);
  --glow-amber: 0 0 24px rgba(236, 72, 153, 0.55);

  --nav-height: 72px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--green-dark);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

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

.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--green);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.35rem 0.9rem; border-radius: 99px;
  margin-bottom: 1.2rem;
}
.section-tag::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 1.4s infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.2; } }

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 580px; margin: 0 auto 3.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 99px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0; transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--glow-green);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16,185,129,0.5), 0 0 15px rgba(245,158,11,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--green-light);
  border: 1.5px solid var(--green-dark);
}
.btn-outline:hover {
  background: rgba(16,185,129,0.1);
  border-color: var(--green);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; border-radius: 8px; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(3, 11, 6, 0.75);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  z-index: 1000; transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(3, 11, 6, 0.95);
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-bracket { color: var(--amber); -webkit-text-fill-color: var(--amber); }

.nav-menu { display: flex; gap: 0.25rem; }
.nav-link {
  padding: 0.45rem 0.85rem; border-radius: 8px;
  font-weight: 500; font-size: 0.9rem; color: #a7f3d0;
  transition: all var(--transition); position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--green-light);
  background: rgba(16, 185, 129, 0.1);
}
.nav-link.active::after {
  content: ''; position: absolute;
  bottom: -1px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px;
  background: var(--green); border-radius: 99px;
}

.nav-cta { margin-left: 1rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: none; cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 99px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-height);
}

/* Hero background mesh */
.hero-mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 65% 55% at 15% 50%, rgba(16,185,129,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(245,158,11,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 80%, rgba(16,185,129,0.06) 0%, transparent 50%);
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 4rem 2rem;
  width: 100%;
}
.hero-left { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 1rem; border-radius: 99px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  font-size: 0.8rem; font-weight: 600; color: var(--green-light);
  width: fit-content; letter-spacing: 0.05em;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.hero-name {
  font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.03em;
}

.hero-role {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-muted); font-weight: 500; min-height: 2em;
}
#typedRole { color: var(--amber-light); }

.hero-desc { font-size: 1.05rem; color: #a7f3d0; max-width: 480px; line-height: 1.75; }

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

.hero-stats {
  display: flex; gap: 2rem; padding-top: 1rem;
  border-top: 1px solid var(--border); flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 1.5rem; font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.75rem; color: var(--text-dim); letter-spacing: 0.05em; }

/* Hero Right Visual */
.hero-right { display: flex; justify-content: center; align-items: center; }
.hero-card-wrapper {
  position: relative; width: 340px; height: 380px;
}
.hero-card {
  width: 100%; height: 100%; border-radius: var(--radius-xl);
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.18);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.2rem; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(0.5deg); }
}
.hero-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(16,185,129,0.06) 0%, rgba(245,158,11,0.04) 100%);
  border-radius: inherit;
}
.hero-profile-img {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 3px var(--green-dark), 0 0 20px rgba(16,185,129,0.4);
  position: relative; z-index: 1;
}
.hero-card-name { font-weight: 700; font-size: 1.1rem; position: relative; z-index: 1; }
.hero-card-title { font-size: 0.85rem; color: var(--green-light); position: relative; z-index: 1; }

.floating-chip {
  position: absolute; background: rgba(10, 25, 14, 0.9);
  border: 1px solid var(--border-hover); border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem; font-size: 0.78rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem;
  box-shadow: var(--shadow); white-space: nowrap;
  animation: floatChip 5s ease-in-out infinite;
}
.floating-chip i { font-size: 1.1rem; }
.chip-1 { top: -18px; left: -20px; animation-delay: 0s; border-color: rgba(16,185,129,0.4); color: var(--green-light); }
.chip-2 { bottom: 30px; left: -35px; animation-delay: 1.5s; border-color: rgba(245,158,11,0.4); color: var(--amber-light); }
.chip-3 { top: 60px; right: -30px; animation-delay: 3s; border-color: rgba(244,63,94,0.4); color: #fda4af; }
.chip-4 { bottom: -18px; right: 20px; animation-delay: 2s; border-color: rgba(16,185,129,0.3); color: var(--green-light); }
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- ABOUT ---------- */
.about { padding: 7rem 0; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.about-text .desc { font-size: 1.05rem; color: #a7f3d0; line-height: 1.8; margin-bottom: 1.5rem; }
.about-highlights {
  display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0;
}
.highlight-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.3rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  transition: all var(--transition);
}
.highlight-item:hover {
  background: var(--surface-hover); border-color: var(--border-hover);
  transform: translateX(6px);
}
.highlight-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
}
.highlight-info h4 { font-weight: 600; margin-bottom: 0.25rem; font-size: 0.95rem; }
.highlight-info p { font-size: 0.85rem; color: var(--text-muted); }

.about-image-side { position: relative; }
.code-editor {
  border-radius: var(--radius); overflow: hidden;
  background: #0a1f14; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.editor-header {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.2rem; background: #071a0e;
  border-bottom: 1px solid var(--border);
}
.editor-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }
.editor-title { margin-left: auto; margin-right: auto; font-size: 0.8rem; color: var(--text-dim); font-family: 'Fira Code', monospace; }
.editor-body { padding: 1.5rem; font-family: 'Fira Code', monospace; font-size: 0.82rem; line-height: 2; }
.code-line { display: flex; gap: 0.5rem; }
.ln { color: #2d5a3a; width: 1.5rem; text-align: right; user-select: none; }
.kw { color: #7ee8a2; }
.fn { color: var(--amber-light); }
.str { color: #86efac; }
.punc { color: var(--text-dim); }
.cm { color: #2d5a3a; }
.prop { color: #67e8f9; }
.num { color: #fca5a5; }

/* ---------- SKILLS ---------- */
.skills { padding: 7rem 0; background: var(--bg-2); }
.skills-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

.skill-category {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: all var(--transition);
}
.skill-category:hover {
  background: var(--surface-hover); border-color: var(--border-hover);
  box-shadow: var(--shadow-hover); transform: translateY(-4px);
}
.skill-cat-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.skill-cat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.skill-cat-icon.green { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25); }
.skill-cat-icon.amber { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.25); }
.skill-cat-icon.rose { background: rgba(244,63,94,0.12); border: 1px solid rgba(244,63,94,0.25); }
.skill-cat-icon.cyan { background: rgba(6,182,212,0.12); border: 1px solid rgba(6,182,212,0.25); }

.skill-cat-header h3 { font-size: 1rem; font-weight: 700; }

.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.8rem; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem; font-weight: 500; color: #d1fae5;
  transition: all var(--transition); cursor: default;
}
.skill-tag:hover {
  background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.35);
  transform: translateY(-2px); color: var(--green-light);
}
.skill-tag i { font-size: 1rem; }

/* ---------- PROJECTS ---------- */
.projects { padding: 7rem 0; }
.projects-header { text-align: center; }
.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 1.75rem;
}

.project-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition); display: flex; flex-direction: column;
  position: relative;
}
.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 {
  transform: translateY(-6px); border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}
.project-card:hover::before { opacity: 1; }

.project-banner {
  height: 180px; position: relative; overflow: hidden;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
}
.project-banner-icon { font-size: 4rem; opacity: 0.25; }
.project-banner-glow {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity var(--transition);
}
.project-card:hover .project-banner-glow { opacity: 1; }
.project-num {
  position: absolute; bottom: 1rem; right: 1rem;
  font-size: 5rem; font-weight: 900; color: rgba(255,255,255,0.04);
  line-height: 1; font-family: 'Outfit', sans-serif;
}

.project-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }

.project-meta { display: flex; align-items: center; justify-content: space-between; }
.project-type { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.project-status {
  font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 99px; font-weight: 600;
}
.status-live { background: rgba(16,185,129,0.15); color: var(--green-light); border: 1px solid rgba(16,185,129,0.3); }
.status-wip { background: rgba(245,158,11,0.15); color: var(--amber-light); border: 1px solid rgba(245,158,11,0.3); }

.project-title { font-size: 1.2rem; font-weight: 700; transition: color var(--transition); }
.project-card:hover .project-title { color: var(--green-light); }
.project-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; flex: 1; }

.project-stack { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.stack-tag {
  font-size: 0.72rem; padding: 0.2rem 0.6rem; border-radius: 6px;
  background: rgba(16,185,129,0.1); color: var(--green-light);
  border: 1px solid rgba(16,185,129,0.2);
}

.project-links { display: flex; gap: 0.75rem; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.project-link {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
  padding: 0.4rem 0.6rem; border-radius: 8px;
  transition: all var(--transition);
}
.project-link:hover { color: var(--green-light); background: rgba(16,185,129,0.1); }
.project-link i { font-size: 0.9rem; }

/* ---------- EXPERIENCE ---------- */
.experience { padding: 7rem 0; background: var(--bg-2); }
.exp-header { text-align: center; }

.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 2.5rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--green-dark), var(--amber-dark), transparent);
  border-radius: 99px;
}

.timeline-item {
  position: relative; margin-bottom: 3rem; opacity: 0;
  transform: translateX(-20px); transition: all 0.6s ease;
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }

.timeline-dot {
  position: absolute; left: -2.5rem; top: 1.25rem;
  transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green); border: 2px solid var(--bg-2);
  box-shadow: var(--glow-green);
  transition: all var(--transition);
}
.timeline-item:hover .timeline-dot { background: var(--amber); box-shadow: var(--glow-amber); transform: translateX(-50%) scale(1.3); }

.timeline-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all var(--transition);
}
.timeline-card:hover {
  border-color: var(--border-hover); background: var(--surface-hover);
  transform: translateX(6px); box-shadow: var(--shadow);
}
.timeline-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 0.75rem; flex-wrap: wrap; gap: 0.5rem;
}
.timeline-title { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.timeline-period {
  font-size: 0.78rem; padding: 0.2rem 0.7rem; border-radius: 99px;
  background: rgba(245,158,11,0.1); color: var(--amber-light);
  border: 1px solid rgba(245,158,11,0.25); font-weight: 600;
}
.timeline-company { font-size: 0.9rem; color: var(--green-light); font-weight: 600; margin-bottom: 0.75rem; }
.timeline-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }

/* ---------- CONTACT ---------- */
.contact { padding: 7rem 0; position: relative; overflow: hidden; }
.contact-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(16,185,129,0.06) 0%, transparent 70%);
}
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.contact-left h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; }
.contact-left .desc { color: #a7f3d0; line-height: 1.75; margin-bottom: 2rem; }

.contact-methods { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-method {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  transition: all var(--transition);
}
.contact-method:hover { border-color: var(--border-hover); background: var(--surface-hover); transform: translateX(5px); }
.method-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); color: var(--green-light);
}
.method-info h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.15rem; }
.method-info p { font-size: 0.82rem; color: var(--text-muted); }

.contact-form-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; }
.form-group input, .form-group textarea {
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.03); border: 1.5px solid var(--border);
  border-radius: 10px; color: var(--text);
  font-family: 'Outfit', sans-serif; font-size: 0.9rem;
  transition: all var(--transition); outline: none; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--green); background: rgba(16,185,129,0.05);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo-text {
  font-size: 1.3rem; font-weight: 800;
  background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.75rem;
}
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); font-size: 1.1rem;
  transition: all var(--transition); color: var(--text-muted);
}
.social-btn:hover { background: rgba(16,185,129,0.12); border-color: var(--green-dark); color: var(--green-light); transform: translateY(-3px); }

.footer-col h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul a { font-size: 0.88rem; color: var(--text-muted); transition: all var(--transition); }
.footer-col ul a:hover { color: var(--green-light); transform: translateX(4px); display: inline-block; }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-dim); }
.footer-bottom span { color: var(--green); }

/* ---------- Scroll Animations ---------- */
.cursor-blink { animation: cursorBlink 1s step-end infinite; }
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { 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; }

/* ---------- Glitch effect on name ---------- */
.glitch-text { position: relative; }
.glitch-text::before, .glitch-text::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0; width: 100%;
  background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.glitch-text::before { animation: glitch1 4s infinite; clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%); }
.glitch-text::after { animation: glitch2 4s infinite; clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%); }
@keyframes glitch1 {
  0%,90%,100% { transform: none; opacity: 0; }
  92% { transform: translate(-3px, 1px); opacity: 1; }
  94% { transform: translate(3px, -1px); opacity: 1; }
  96% { transform: translate(-2px, 2px); opacity: 1; }
  98% { transform: none; opacity: 0; }
}
@keyframes glitch2 {
  0%,90%,100% { transform: none; opacity: 0; }
  91% { transform: translate(3px, 1px); opacity: 1; }
  93% { transform: translate(-3px, -1px); opacity: 1; }
  95% { transform: translate(2px, 2px); opacity: 1; }
  97% { transform: none; opacity: 0; }
}

/* ---------- Toast ---------- */
#toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  padding: 1rem 1.5rem; border-radius: var(--radius-sm);
  background: rgba(10, 25, 14, 0.95); border: 1px solid var(--green-dark);
  color: var(--green-light); font-size: 0.9rem; font-weight: 600;
  box-shadow: var(--shadow); backdrop-filter: blur(10px);
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; align-items: center; gap: 0.6rem;
}
#toast.show { transform: translateY(0); opacity: 1; }

/* ---------- Back to Top ---------- */
#backToTop {
  position: fixed; bottom: 2rem; left: 2rem; z-index: 500;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3);
  color: var(--green-light); cursor: pointer; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: all var(--transition); backdrop-filter: blur(10px);
}
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { background: rgba(16,185,129,0.2); transform: translateY(-3px); }

/* ---------- Mobile Nav ---------- */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed; inset: 0; top: var(--nav-height);
    background: rgba(3,11,6,0.98); backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; display: none;
  }
  .nav-menu.open { display: flex; animation: slideDown 0.3s ease; }
  @keyframes slideDown { from { opacity: 0; } to { opacity: 1; } }
  .nav-link { font-size: 1.3rem; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 3rem 1.5rem; text-align: center; }
  .hero-right { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .about-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-desc { margin: 0 auto; }
}

@media (max-width: 480px) {
  .projects-grid { grid-template-columns: 1fr; }
  .skills-layout { grid-template-columns: 1fr; }
}
