/* ═══════════════════════════════════════════
   PORTFOLIO — style.css  (Manish — Graphic Designer)
   Dark · Neon Lime · Playfair + Inter
═══════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────── */
:root {
  --bg:          #000000;
  --bg-2:        #0a0a0a;
  --bg-3:        #111111;
  --bg-card:     #141414;
  --border:      rgba(255,255,255,0.08);
  --accent:      #d1ff00;
  --accent-dim:  rgba(209,255,0,0.12);
  --accent-glow: rgba(209,255,0,0.25);
  --text-hi:     #ffffff;
  --text-md:     rgba(255,255,255,0.72);
  --text-lo:     rgba(255,255,255,0.4);
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --radius:      12px;
  --radius-lg:   24px;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text-hi);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: none; border: none; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── CUSTOM CURSOR ───────────────────────── */
.cursor {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease), background 0.2s;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(209,255,0,0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease), width 0.25s var(--ease-spring), height 0.25s var(--ease-spring), opacity 0.2s;
}
body:has(a:hover, button:hover) .cursor { transform: translate(-50%,-50%) scale(1.5); }
body:has(a:hover, button:hover) .cursor-follower { width:56px; height:56px; opacity:0.4; }

/* ── LOADER ──────────────────────────────── */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-name {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
.loader-logo-img {
  width: clamp(80px, 15vw, 150px);
  height: auto;
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)); }
  50% { filter: drop-shadow(0 0 25px rgba(255,255,255,0.5)); }
}
.loader-bar {
  width: 200px; height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-progress {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 1.2s var(--ease);
  border-radius: 2px;
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: inherit;
}
.btn:hover::after { opacity: 0.06; }
.btn-accent {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text-hi);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ── NAV ─────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-img {
  height: 48px;
  width: auto;
  transition: transform 0.3s var(--ease);
}
.nav-logo:hover .logo-img,
.footer-logo:hover .logo-img {
  transform: scale(1.05);
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  margin-left: auto;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-md);
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: var(--text-hi); }
.nav-link:hover::after { width: 100%; }
.nav-cta { margin-left: 0.5rem; padding: 0.6rem 1.4rem; font-size: 0.85rem; }
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-hi);
  transition: all 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(24px);
  z-index: 200;
  display: flex; flex-direction: column;
  padding: 5rem 2rem 3rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-close {
  position: absolute; top: 1.5rem; right: 2rem;
  font-size: 1.5rem; color: var(--text-md);
  transition: color 0.2s;
}
.mobile-close:hover { color: var(--accent); }
.mobile-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-link {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-md);
  padding: 0.5rem 0;
  transition: color 0.25s, transform 0.25s;
  display: block;
}
.mobile-link:hover { color: var(--accent); transform: translateX(8px); }
.mobile-cta { margin-top: 2rem; align-self: flex-start; }
.mobile-socials { display: flex; gap: 1rem; margin-top: auto; }
.social-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  color: var(--text-md);
  transition: all 0.2s;
}
.social-icon:hover { border-color: var(--accent); color: var(--accent); }

/* ── REVEAL ANIMATIONS ───────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-up    { transform: translateY(48px); }
.reveal-left  { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ── HERO ────────────────────────────────── */
.hero {
  min-height: 100dvh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(209,255,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  display: block; width: 28px; height: 1.5px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text-hi);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  display: block;
}
.hero-tagline {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-md);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-tagline .accent { color: var(--accent); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 1.8rem; font-weight: 700;
  color: var(--text-hi);
}
.stat-label { font-size: 0.75rem; color: var(--text-lo); letter-spacing: 0.06em; text-transform: uppercase; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero image — profile photo */
.hero-image-wrap { position: relative; }

.hero-profile {
  position: relative; z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  max-width: 420px;
  margin: 0 auto;
}
.profile-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.5s;
}
.hero-profile:hover .profile-img { transform: scale(1.04); }
.hero-image-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 500; color: var(--text-hi);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 0 3px rgba(0,230,118,0.2);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0,230,118,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(0,230,118,0.05); }
}
.hero-image-accent {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 80%; height: 80%;
  border: 1.5px solid rgba(209,255,0,0.2);
  border-radius: var(--radius-lg);
  z-index: 0;
}

/* Hero scroll hint */
.hero-scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-lo); animation: bounce 2.5s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text-lo), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── SKILLS STRIP ────────────────────────── */
.skills-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  background: var(--bg-2);
  overflow: hidden;
}
.skills-track { overflow: hidden; position: relative; }
.skills-inner {
  display: flex; gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.skills-inner span {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-lo);
  white-space: nowrap;
  transition: color 0.2s;
}
.skills-inner span:hover { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── WORK / PROJECTS ─────────────────────── */
.work {
  padding: 7rem 2rem;
  max-width: 1280px; margin: 0 auto;
}
.section-header { margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-eyebrow::before {
  content: '';
  display: block; width: 24px; height: 1.5px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--accent); }

/* Filters */
.filters {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-lo);
  border: 1px solid var(--border);
  background: transparent;
  transition: all 0.25s var(--ease);
  cursor: none;
}
.filter-btn:hover { color: var(--text-hi); border-color: rgba(255,255,255,0.25); }
.filter-btn.active { background: var(--accent); color: #000; border-color: var(--accent); }

/* Project Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.4s;
  opacity: 0;
  animation: fadeInCard 0.6s var(--ease) forwards;
}
@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.project-card:nth-child(1) { animation-delay: 0.05s; }
.project-card:nth-child(2) { animation-delay: 0.15s; }
.project-card:nth-child(3) { animation-delay: 0.25s; }
.project-card:nth-child(4) { animation-delay: 0.35s; }
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.project-card.hidden {
  display: none;
}
.project-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 16/10;
}
.project-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.5s;
}
.project-card:hover .project-img { transform: scale(1.05); filter: brightness(0.7); }
.project-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-link-btn {
  background: var(--accent);
  color: #000;
  font-size: 0.85rem; font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  transform: translateY(12px);
  transition: transform 0.35s var(--ease-spring);
}
.project-card:hover .project-link-btn { transform: translateY(0); }
.project-info { padding: 1.5rem; }
.project-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.tag {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(209,255,0,0.2);
  padding: 0.2rem 0.65rem; border-radius: 999px;
}
.project-title {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.project-card:hover .project-title { color: var(--accent); }
.project-desc {
  font-size: 0.875rem;
  color: var(--text-lo);
  line-height: 1.65;
}

/* Work section CTA */
.work-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* ── ABOUT ───────────────────────────────── */
.about {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 7rem 2rem;
}
.about-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.about-text .section-title { margin-bottom: 1.5rem; }
.about-body {
  font-size: 1rem; color: var(--text-md);
  line-height: 1.8; margin-bottom: 1rem;
}
.about-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }

/* Skill bars */
.about-skills-col .section-eyebrow { margin-bottom: 1.5rem; }
.skill-bars { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.skill-meta {
  display: flex; justify-content: space-between;
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-md);
  margin-bottom: 0.5rem;
}
.skill-bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(209,255,0,0.5));
  border-radius: 4px;
  width: 0%;
  transition: width 1.2s var(--ease);
}
.tool-grid {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; margin-bottom: 2rem;
}

/* Services list */
.services-list {
  display: flex; flex-direction: column; gap: 1rem;
  margin-top: 0.5rem;
}
.service-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.25s, background 0.25s;
}
.service-item:hover {
  border-color: rgba(209,255,0,0.25);
  background: var(--accent-dim);
}
.service-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.service-item h4 {
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-hi); margin-bottom: 2px;
}
.service-item p { font-size: 0.8rem; color: var(--text-lo); line-height: 1.5; }
.tool-chip {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 500;
  color: var(--text-md);
  transition: all 0.2s;
}
.tool-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* ── CONTACT ─────────────────────────────── */
.contact {
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute; bottom: -300px; left: -300px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(209,255,0,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.contact-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 5rem; align-items: start;
}
.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1.25rem;
}
.contact-title em { font-style: italic; color: var(--accent); }
.contact-body { font-size: 1rem; color: var(--text-md); line-height: 1.7; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: all 0.3s var(--ease);
}
.contact-item:hover { border-color: var(--accent); transform: translateX(6px); }
.contact-icon {
  width: 42px; height: 42px;
  background: var(--accent-dim);
  border: 1px solid rgba(209,255,0,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-item > div { display: flex; flex-direction: column; gap: 2px; }
.contact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-lo); font-weight: 600; }
.contact-value { font-size: 0.95rem; color: var(--text-hi); font-weight: 500; }
.contact-socials { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social-pill {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-md);
  transition: all 0.2s;
}
.social-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.form-note { font-size: 0.8rem; color: var(--text-lo); }
.req { color: #ff5252; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; position: relative; }
.form-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-lo);
}
.form-input {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text-hi);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none;
  width: 100%;
}
.form-input::placeholder { color: var(--text-lo); }
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  background: rgba(209,255,0,0.03);
}
.form-input.error { border-color: #ff5252; box-shadow: 0 0 0 3px rgba(255,82,82,0.12); }
.form-select { appearance: none; cursor: none; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-counter { font-size: 0.72rem; color: var(--text-lo); text-align: right; margin-top: -0.25rem; }
.form-error { font-size: 0.75rem; color: #ff5252; min-height: 1em; }
.btn-submit { align-self: flex-start; gap: 0.75rem; }
.btn-loader { display: none; animation: spin 0.8s linear infinite; }
.btn-submit.loading .btn-text { opacity: 0.6; }
.btn-submit.loading .btn-loader { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success {
  display: none;
  align-items: center; gap: 0.6rem;
  background: rgba(0,230,118,0.08);
  border: 1px solid rgba(0,230,118,0.3);
  color: #00e676;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500;
}
.form-success.show { display: flex; }

/* ── FOOTER ──────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
}
.footer-socials {
  display: flex; gap: 0.75rem;
  margin-left: auto;
}
.footer-social {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-lo);
  transition: all 0.25s var(--ease);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.78rem; color: var(--text-lo);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ── BACK TO TOP ─────────────────────────── */
.back-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
  z-index: 50;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 24px var(--accent-glow);
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-image-wrap { max-width: 420px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .logo-img { height: 38px; }
  .projects-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .work, .about, .contact { padding: 5rem 1.5rem; }
  .contact-form { padding: 1.75rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-image-wrap { max-width: 320px; }
  .footer-inner { justify-content: center; }
  .footer-socials { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
