/* =============================================
   DESIGN SYSTEM — ROBINHOOD-INSPIRED
   Dark black + Neon green · Ultra clean
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  /* ── Backgrounds ── */
  --bg:          #0c0c0c;
  --bg-alt:      #101010;
  --surface:     #161616;
  --surface-2:   #1e1e1e;
  --surface-3:   #262626;
  --surface-4:   #2d2d2d;

  /* ── Borders ── */
  --border:      rgba(255, 255, 255, 0.07);
  --border-md:   rgba(255, 255, 255, 0.10);
  --border-g:    rgba(34, 197, 94, 0.30);

  /* ── Green palette ── */
  --green:       #22c55e;
  --green-light: #4ade80;
  --green-dark:  #16a34a;
  --green-glow:  rgba(34, 197, 94, 0.35);
  --green-dim:   rgba(34, 197, 94, 0.10);
  --green-text:  #4ade80;

  /* ── Text ── */
  --t1: #ffffff;
  --t2: #a3a3a3;
  --t3: #525252;
  --t4: #3a3a3a;

  /* ── Typography ── */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Space Grotesk', 'Inter', sans-serif;

  /* ── Layout ── */
  --max-w: 1180px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --section-py: clamp(5rem, 8vw, 8rem);
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --pill: 999px;

  /* ── Motion ── */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.2s var(--ease);
  --t-med:  0.35s var(--ease);
  --t-slow: 0.65s var(--ease);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--t1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
img  { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
::selection { background: rgba(34, 197, 94, 0.2); color: var(--t1); }

/* ─────────────────────────────────
   SCROLLBAR
───────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green-dark); border-radius: var(--pill); }

/* ─────────────────────────────────
   UTILITIES
───────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.gradient-text {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent { color: var(--green); }

.section { padding-block: var(--section-py); }

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid var(--border-g);
  padding: 0.3rem 0.9rem;
  border-radius: var(--pill);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--t1);
}

.section-subtitle {
  margin-top: 0.65rem;
  color: var(--t2);
  font-size: 1rem;
  font-weight: 400;
}

/* Animate on scroll */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-animate].in-view { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────
   BUTTONS
───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--pill);
  transition: var(--t-fast);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Primary — solid green */
.btn-primary {
  background: var(--green);
  color: #000;
  box-shadow: 0 0 0 0 var(--green-glow);
}
.btn-primary:hover {
  background: var(--green-light);
  box-shadow: 0 0 28px var(--green-glow);
  transform: translateY(-2px) scale(1.02);
}
.btn-primary:active { transform: scale(0.98); }

/* Ghost — dark pill */
.btn-ghost {
  background: var(--surface-3);
  color: var(--t1);
  border: 1px solid var(--border-md);
}
.btn-ghost:hover {
  background: var(--surface-4);
  border-color: var(--border-g);
  color: var(--green);
  transform: translateY(-1px);
}

.btn-full { width: 100%; }

/* ─────────────────────────────────
   NAVBAR
───────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  padding: 1.1rem 0;
  transition: var(--t-med);
}

.navbar.scrolled {
  background: rgba(12, 12, 12, 0.94);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  box-shadow: 0 4px 48px rgba(0,0,0,0.7);
}

.nav-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.03em;
}

.nav-menu { display: flex; align-items: center; gap: 0.15rem; }

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--t2);
  padding: 0.45rem 0.85rem;
  border-radius: var(--pill);
  transition: var(--t-fast);
}
.nav-link:hover { color: var(--t1); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--green); background: var(--green-dim); font-weight: 600; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--t1); border-radius: 2px;
  transition: var(--t-med);
}

/* ─────────────────────────────────
   HERO
───────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(21, 128, 61, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(21, 128, 61, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 90% 85%, rgba(21, 128, 61, 0.08) 0%, transparent 60%),
    var(--bg);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: orb-drift 10s ease-in-out infinite;
}
.orb-1 {
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(34,197,94,0.4) 0%, transparent 65%);
  top: -180px; left: 50%; transform: translateX(-50%);
  animation-delay: 0s;
}
.orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(22,163,74,0.25) 0%, transparent 70%);
  bottom: -60px; right: -40px;
  animation-delay: -5s;
}
.orb-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(74,222,128,0.15) 0%, transparent 70%);
  top: 50%; left: 2%;
  animation-delay: -8s;
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,197,94,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
}

@keyframes orb-drift {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50%       { transform: translateX(-50%) translateY(-25px) scale(1.05); }
}
.orb-2 { animation: orb-float 10s ease-in-out infinite; }
.orb-3 { animation: orb-float 12s ease-in-out infinite; }
@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 1.5rem;
  padding-top: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--t2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.38rem 0.95rem;
  border-radius: var(--pill);
  margin-bottom: 1.85rem;
  backdrop-filter: blur(12px);
  letter-spacing: 0.02em;
}
.hero-badge i { color: var(--green); font-size: 0.8rem; }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 7.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.15rem;
  color: var(--t1);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--green);
  font-weight: 600;
  min-height: 2.2rem;
  margin-bottom: 1.35rem;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  color: var(--t2);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2.35rem;
  line-height: 1.85;
  font-weight: 400;
}
.hero-description strong { color: var(--t1); font-weight: 600; }

.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-socials { display: flex; justify-content: center; gap: 0.6rem; }

.social-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--t2);
  transition: var(--t-fast);
}
.social-icon:hover {
  background: var(--green);
  border-color: var(--green);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px var(--green-glow);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--t3);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
  animation: scroll-bob 2.4s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
}
@keyframes scroll-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ─────────────────────────────────
   ABOUT
───────────────────────────────── */
.about { background: var(--bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 5rem;
  align-items: center;
}

.about-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about-avatar {
  position: relative;
  width: 200px; height: 200px;
  display: grid;
  place-items: center;
}

.avatar-initials {
  position: relative;
  z-index: 2;
  width: 148px; height: 148px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: #000;
  letter-spacing: -0.04em;
  box-shadow: 0 0 60px var(--green-glow), 0 0 120px rgba(34,197,94,0.12);
}

.avatar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.15);
  animation: spin-slow linear infinite;
}
.ring-1 { width: 182px; height: 182px; animation-duration: 16s; }
.ring-2 { width: 210px; height: 210px; animation-duration: 26s; animation-direction: reverse; border-color: rgba(34,197,94,0.07); }

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.about-stats { display: flex; gap: 0.65rem; flex-wrap: wrap; justify-content: center; }

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.85rem 1.15rem;
  text-align: center;
  min-width: 78px;
  transition: var(--t-fast);
}
.stat-card:hover {
  border-color: var(--border-g);
  background: var(--surface-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 16px rgba(34,197,94,0.08);
}
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 0.65rem;
  color: var(--t3);
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.about-text {
  color: var(--t2);
  margin-bottom: 1rem;
  line-height: 1.85;
  font-size: 1rem;
  font-weight: 400;
}
.about-text strong { color: var(--t1); font-weight: 600; }

.about-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid var(--border-g);
  padding: 0.32rem 0.85rem;
  border-radius: var(--pill);
  transition: var(--t-fast);
}
.tag:hover {
  background: rgba(34,197,94,0.18);
  box-shadow: 0 0 14px rgba(34,197,94,0.15);
}

/* ─────────────────────────────────
   SKILLS
───────────────────────────────── */
.skills { background: var(--bg); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(305px, 1fr));
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.skill-card {
  background: var(--surface);
  padding: 1.85rem;
  transition: var(--t-fast);
  position: relative;
}
.skill-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(34,197,94,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.skill-card:hover { background: var(--surface-2); }
.skill-card:hover::after { opacity: 1; }

.skill-icon {
  width: 48px; height: 48px;
  background: var(--green-dim);
  border: 1px solid var(--border-g);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.skill-title {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--t1);
  letter-spacing: -0.01em;
}

.skill-desc {
  color: var(--t2);
  font-size: 0.86rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.skill-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--pill);
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  border-radius: var(--pill);
  width: 0;
  transition: width 1.4s var(--ease);
  box-shadow: 0 0 10px var(--green-glow);
}

/* ─────────────────────────────────
   PROJECTS
───────────────────────────────── */
.projects { background: var(--bg-alt); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.project-card {
  background: var(--surface);
  padding: 2rem 1.85rem;
  position: relative;
  transition: var(--t-fast);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.project-card:hover { background: var(--surface-2); }

.project-card.featured { background: linear-gradient(160deg, rgba(34,197,94,0.05) 0%, var(--surface) 60%); }
.project-card.featured:hover { background: linear-gradient(160deg, rgba(34,197,94,0.09) 0%, var(--surface-2) 60%); }

.project-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  background: var(--green);
  padding: 0.22rem 0.7rem;
  border-radius: var(--pill);
}

.project-icon {
  width: 50px; height: 50px;
  background: var(--green-dim);
  border: 1px solid var(--border-g);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--green);
}

.project-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.02em;
}

.project-desc {
  color: var(--t2);
  font-size: 0.86rem;
  line-height: 1.68;
  flex: 1;
  font-weight: 400;
}

.project-stack { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.project-stack span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--t3);
  background: var(--surface-3);
  border: 1px solid var(--border);
  padding: 0.18rem 0.6rem;
  border-radius: var(--pill);
}

.btn-project {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  transition: var(--t-fast);
  padding-top: 0.2rem;
}
.btn-project:hover { color: var(--green-light); gap: 0.65rem; }

/* ─────────────────────────────────
   TIMELINE
───────────────────────────────── */
.timeline-section { background: var(--bg); }

.timeline {
  position: relative;
  max-width: 680px;
  margin-inline: auto;
  padding-left: 1.75rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--green) 0%, rgba(34,197,94,0.15) 80%, transparent 100%);
}

.timeline-item {
  position: relative;
  padding-left: 2.25rem;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: calc(-1.75rem + 0.5px - 16px);
  top: 2px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: var(--t-fast);
}
.timeline-item.work      .timeline-dot { color: var(--green); border-color: var(--border-g); }
.timeline-item.education .timeline-dot { color: var(--green-light); border-color: rgba(74,222,128,0.25); }
.timeline-item:hover .timeline-dot {
  background: var(--green-dim);
  border-color: var(--green);
  box-shadow: 0 0 18px var(--green-glow);
}

.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.35rem 1.5rem;
  transition: var(--t-fast);
}
.timeline-item:hover .timeline-content {
  border-color: var(--border-g);
  background: var(--surface-2);
  transform: translateX(4px);
}

.timeline-date {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.timeline-title {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--t1);
  margin: 0.3rem 0 0.18rem;
  letter-spacing: -0.01em;
}
.timeline-company {
  font-size: 0.82rem;
  color: var(--t2);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.timeline-desc {
  font-size: 0.85rem;
  color: var(--t3);
  line-height: 1.65;
}

/* ─────────────────────────────────
   CONTACT
───────────────────────────────── */
.contact { background: var(--bg-alt); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

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

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--t-fast);
}
.contact-card:hover {
  border-color: var(--border-g);
  background: var(--surface-2);
  transform: translateX(4px);
}

.contact-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--green-dim);
  border: 1px solid var(--border-g);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: var(--green);
  flex-shrink: 0;
}
.contact-card h4 {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--t3);
  margin-bottom: 0.18rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.contact-card a, .contact-card span {
  font-size: 0.86rem;
  color: var(--t1);
  font-weight: 500;
  transition: color 0.2s;
}
.contact-card a:hover { color: var(--green); }

/* Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--t3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.78rem 1rem;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--t1);
  transition: var(--t-fast);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--t4); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: rgba(34,197,94,0.04);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.10);
}

.form-feedback {
  font-size: 0.86rem;
  text-align: center;
  min-height: 1.5rem;
  padding: 0.4rem 0;
  font-weight: 500;
}
.form-feedback.success { color: var(--green); }
.form-feedback.error   { color: #f87171; }

/* ─────────────────────────────────
   FOOTER
───────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.25rem 0;
}

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

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.03em;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--t3);
  font-weight: 400;
}
.footer-copy i { color: var(--green); }

.footer-socials { display: flex; gap: 0.5rem; }
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--t2);
  font-size: 0.85rem;
  transition: var(--t-fast);
}
.footer-socials a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #000;
  box-shadow: 0 0 16px var(--green-glow);
}

/* ─────────────────────────────────
   RESPONSIVE
───────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-avatar-wrap { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 0 0 0 28%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(28px);
    flex-direction: column;
    padding: 7rem 1.5rem 2rem;
    gap: 0.3rem;
    transform: translateX(100%);
    transition: transform var(--t-slow);
    border-left: 1px solid var(--border);
    z-index: 190;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: var(--r);
  }

  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; }

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

  .contact-form { padding: 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2rem, 11vw, 2.8rem); }
  .section-title { font-size: clamp(1.6rem, 7vw, 2rem); }
}
