/* ══════════════════════════════════════════════════════
   NIRBHIK NEUPANE — PORTFOLIO
   style.css
   ══════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --bg: #080810;
  --bg2: #0d0d1a;
  --bg3: #111122;
  --card: #12122a;
  --card2: #161630;
  --border: rgba(167, 139, 250, 0.12);
  --border2: rgba(167, 139, 250, 0.25);

  --purple: #a78bfa;
  --purple2: #7c3aed;
  --blue: #60a5fa;
  --blue2: #2563eb;
  --pink: #f472b6;

  --grad: linear-gradient(135deg, #7c3aed, #2563eb);
  --grad2: linear-gradient(135deg, #a78bfa, #60a5fa);
  --glow: 0 0 60px rgba(124, 58, 237, 0.25);

  --text: #f1f0ff;
  --text2: #a0a0c0;
  --text3: #6b6b88;

  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --r: 16px;
  --r2: 24px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; border-radius: 8px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* ══════════════════════════════════════════════════════
   CUSTOM CURSOR
   ══════════════════════════════════════════════════════ */
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--purple);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(167, 139, 250, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}
body.cursor-hover .cursor-dot { width: 12px; height: 12px; background: var(--blue); }
body.cursor-hover .cursor-ring { width: 52px; height: 52px; border-color: var(--blue); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ══════════════════════════════════════════════════════
   INTRO ANIMATION
   ══════════════════════════════════════════════════════ */
.intro {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  z-index: 9000;
  overflow: hidden;
}
#introCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.intro-content {
  position: relative; z-index: 2;
  text-align: center;
}
.intro-line {
  overflow: hidden;
  line-height: 1;
}
.intro-reveal {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(60px, 12vw, 140px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateY(110%);
  opacity: 0;
}
.intro-tagline {
  overflow: hidden;
  margin-top: 16px;
}
.intro-reveal-sub {
  display: inline-block;
  font-family: var(--font-body);
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text2);
  transform: translateY(100%);
  opacity: 0;
}
.intro-progress {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.05);
}
.intro-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--grad2);
  transition: width 0.05s linear;
}

/* ══════════════════════════════════════════════════════
   SITE WRAPPER & TRANSITIONS
   ══════════════════════════════════════════════════════ */
.site {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.site.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  padding: 14px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dot { color: var(--purple); -webkit-text-fill-color: var(--purple); }
.nav-links {
  display: flex; gap: 36px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text2);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--grad2);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 13px; font-weight: 600;
  padding: 10px 24px;
  border-radius: 100px;
  background: var(--grad);
  color: #fff;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text2); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: rgba(8, 8, 16, 0.97);
  z-index: 90;
  align-items: center; justify-content: center;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 32px; text-align: center; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 32px; font-weight: 700;
  color: var(--text2);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--purple); }

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 60px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.15;
}
.orb1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--purple2), transparent);
  top: -200px; left: -200px;
}
.orb2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--blue2), transparent);
  bottom: -200px; right: -100px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(167,139,250,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,139,250,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--purple);
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--purple);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.hero-name {
  font-family: var(--font-head);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 16px;
}
.grad {
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-role {
  font-family: var(--font-head);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--text2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 17px;
  color: var(--text2);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions {
  display: flex; gap: 16px; align-items: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  background: var(--grad);
  color: #fff;
  font-weight: 600; font-size: 15px;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4);
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(124, 58, 237, 0.6); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid var(--border2);
  color: var(--text);
  font-weight: 500; font-size: 15px;
  transition: background 0.3s, border-color 0.3s;
}
.btn-ghost:hover { background: rgba(167, 139, 250, 0.08); border-color: var(--purple); }
.hero-socials {
  display: flex; gap: 12px;
}
.social-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  border: 1px solid var(--border2);
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}
.social-icon:hover { transform: translateY(-3px); }
.whatsapp:hover { background: rgba(37, 211, 102, 0.1); border-color: #25d366; color: #25d366; }
.instagram:hover { background: rgba(225, 48, 108, 0.1); border-color: #e1306c; color: #e1306c; }
.discord:hover { background: rgba(88, 101, 242, 0.1); border-color: #5865f2; color: #5865f2; }

/* Profile */
.hero-image {
  display: flex; justify-content: center; align-items: center;
}
.profile-ring {
  position: relative; display: inline-block;
}
.profile-ring::before {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 30px;
  background: var(--grad2);
  z-index: -1;
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.02); }
}
.profile-ring-inner {
  border-radius: 28px;
  overflow: hidden;
  line-height: 0;
}
.profile-img {
  width: 380px; max-width: 100%;
  height: auto;
  border-radius: 28px;
  object-fit: cover;
}
.profile-badge-1, .profile-badge-2 {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: rgba(13, 13, 26, 0.92);
  border: 1px solid var(--border2);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  color: var(--purple);
  white-space: nowrap;
}
.profile-badge-1 { top: 32px; left: -40px; }
.profile-badge-2 { bottom: 48px; right: -40px; }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text3);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ══════════════════════════════════════════════════════
   SECTION SHARED
   ══════════════════════════════════════════════════════ */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text2);
}

/* ══════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════ */
.services { background: var(--bg2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
}
.service-card:hover {
  border-color: var(--border2);
  transform: translateY(-6px);
}
.service-card:hover .service-glow { opacity: 1; }
.service-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.service-card.featured {
  border-color: rgba(167, 139, 250, 0.3);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.05), var(--card));
}
.featured-tag {
  position: absolute; top: 20px; right: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grad);
  color: #fff;
  padding: 4px 12px; border-radius: 100px;
}
.service-icon-wrap { margin-bottom: 24px; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--purple);
  transition: background 0.3s;
}
.service-card:hover .service-icon { background: rgba(124, 58, 237, 0.2); }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 15px; color: var(--text2);
  margin-bottom: 24px; line-height: 1.7;
}
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  font-size: 14px; color: var(--text2);
  display: flex; align-items: center; gap: 10px;
}
.service-list .fa-check { color: var(--purple); font-size: 12px; }

/* ══════════════════════════════════════════════════════
   PORTFOLIO
   ══════════════════════════════════════════════════════ */
.portfolio-module {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
}
.tab-bar {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.tab-btn, .sub-tab-btn {
  padding: 16px 28px;
  background: none; border: none;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  color: var(--text3);
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
  letter-spacing: 0.02em;
}
.tab-btn::after, .sub-tab-btn::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad2);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.tab-btn.active, .sub-tab-btn.active { color: var(--text); }
.tab-btn.active::after, .sub-tab-btn.active::after { transform: scaleX(1); }
.tab-btn:hover, .sub-tab-btn:hover { color: var(--text2); }

.sub-tabs { background: rgba(255,255,255,0.02); border-top: none; border-bottom: 1px solid var(--border); }
.tab-panel { display: none; padding: 0; }
.tab-panel.active { display: block; }
.sub-panel { display: none; padding: 28px; }
.sub-panel.active { display: block; }

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.portfolio-item { border-radius: var(--r); overflow: hidden; }
.portfolio-thumb {
  position: relative; overflow: hidden;
  border-radius: var(--r);
  aspect-ratio: 4/5;
  cursor: pointer;
}
.portfolio-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r);
  transition: transform 0.5s;
}
.portfolio-thumb:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,8,16,0.85) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-thumb:hover .portfolio-overlay { opacity: 1; }
.overlay-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  backdrop-filter: blur(8px);
  margin-bottom: 10px;
}
.portfolio-overlay span { font-size: 13px; color: rgba(255,255,255,0.7); }
.portfolio-note { font-size: 12px; color: var(--text3); text-align: center; margin-top: 8px; }

/* Clients */
.clients-hint {
  text-align: center; font-size: 13px;
  color: var(--text3); padding: 20px 28px 0;
  letter-spacing: 0.05em;
}
.clients-logos-grid {
  display: flex; flex-wrap: wrap; gap: 16px;
  padding: 20px 28px 28px;
}
.client-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  min-width: 200px;
}
.client-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  background: var(--card2);
}
.client-logo img { border-radius: 8px; width: 90px; height: auto; }
.client-card span { font-size: 14px; font-weight: 600; flex: 1; }
.client-card .fa-arrow-right { font-size: 12px; color: var(--text3); transition: transform 0.3s; }
.client-card:hover .fa-arrow-right { transform: translateX(3px); color: var(--purple); }

/* Client detail */
.client-detail { padding: 24px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--border);
  color: var(--text2); cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  padding: 8px 16px; border-radius: 100px;
  margin-bottom: 24px;
  transition: border-color 0.3s, color 0.3s;
}
.back-btn:hover { border-color: var(--purple); color: var(--purple); }
.client-detail-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 24px;
}
.detail-logo { width: 80px; height: auto; border-radius: 10px; }
.client-detail-header h3 {
  font-family: var(--font-head);
  font-size: 24px; font-weight: 700;
}
.client-sub-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.client-sub-btn {
  padding: 12px 20px;
  background: none; border: none;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  color: var(--text3); cursor: pointer;
  position: relative;
  transition: color 0.3s;
}
.client-sub-btn::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad2);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.client-sub-btn.active { color: var(--text); }
.client-sub-btn.active::after { transform: scaleX(1); }
.client-sub-panel { display: none; }
.client-sub-panel.active { display: block; }

/* Account stats */
.account-stats {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.stat-box {
  flex: 1; min-width: 140px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 36px; font-weight: 800;
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 13px; color: var(--text3); margin-top: 4px; }
.account-note { font-size: 13px; color: var(--text3); font-style: italic; }

/* ══════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════ */
.about { background: var(--bg2); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-img-frame {
  position: relative; display: inline-block;
}
.about-img-frame img {
  border-radius: var(--r2);
  width: 100%;
}
.about-img-accent {
  position: absolute;
  width: 200px; height: 200px;
  background: var(--grad);
  border-radius: 50%;
  bottom: -40px; right: -40px;
  filter: blur(60px);
  opacity: 0.25;
  z-index: 0;
}
.about-text .section-tag,
.about-text .section-title { text-align: left; display: block; }
.about-text .section-title { margin-bottom: 24px; }
.about-text p { color: var(--text2); margin-bottom: 20px; line-height: 1.8; }
.about-skills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 28px 0 36px;
}
.skill-tag {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--text2);
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 100px;
  transition: border-color 0.3s, color 0.3s;
}
.skill-tag:hover { border-color: var(--purple); color: var(--purple); }
.skill-tag .fa-check-circle { color: var(--purple); font-size: 13px; }

/* ══════════════════════════════════════════════════════
   PERSONAL
   ══════════════════════════════════════════════════════ */
.personal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.personal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.personal-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.personal-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 0; }
.personal-card-info {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
}
.personal-card-info .fa-solid { color: var(--purple); font-size: 20px; }
.personal-card-info div { display: flex; flex-direction: column; }
.personal-card-info strong { font-size: 15px; font-weight: 600; }
.personal-card-info span { font-size: 13px; color: var(--text2); margin-top: 2px; }

/* ══════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════ */
.contact {
  position: relative; overflow: hidden;
  background: var(--bg2);
}
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-inner { position: relative; z-index: 1; }
.contact-cards {
  display: flex; flex-direction: column;
  gap: 16px; max-width: 600px; margin: 0 auto;
}
.contact-card {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.contact-card:hover { transform: translateX(6px); }
.contact-card-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.contact-card-info { flex: 1; }
.contact-card-info strong { display: block; font-size: 16px; font-weight: 600; }
.contact-card-info span { font-size: 14px; color: var(--text2); }
.contact-card-arrow { font-size: 14px; color: var(--text3); transition: transform 0.3s; }
.contact-card:hover .contact-card-arrow { transform: translateX(4px); }

.whatsapp-card { border-color: rgba(37, 211, 102, 0.15); }
.whatsapp-card:hover { border-color: rgba(37, 211, 102, 0.4); box-shadow: 0 8px 32px rgba(37, 211, 102, 0.1); }
.whatsapp-card .contact-card-icon { background: rgba(37, 211, 102, 0.1); color: #25d366; }

.instagram-card { border-color: rgba(225, 48, 108, 0.15); }
.instagram-card:hover { border-color: rgba(225, 48, 108, 0.4); box-shadow: 0 8px 32px rgba(225, 48, 108, 0.1); }
.instagram-card .contact-card-icon { background: rgba(225, 48, 108, 0.1); color: #e1306c; }

.discord-card { border-color: rgba(88, 101, 242, 0.15); }
.discord-card:hover { border-color: rgba(88, 101, 242, 0.4); box-shadow: 0 8px 32px rgba(88, 101, 242, 0.12); }
.discord-card .contact-card-icon { background: rgba(88, 101, 242, 0.1); color: #5865f2; }

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 800;
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-copy { font-size: 13px; color: var(--text3); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  font-size: 18px; color: var(--text3);
  transition: color 0.3s, transform 0.3s;
}
.footer-socials a:hover { color: var(--purple); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 2; }
  .hero-image { order: 1; }
  .hero-desc, .hero-badge { max-width: 100%; }
  .hero-actions, .hero-socials { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin: 0 auto; }
  .about-text .section-tag,
  .about-text .section-title { text-align: center; }
  .about-skills { justify-content: center; }
  .about-text .btn-primary { display: block; width: fit-content; margin: 0 auto; }
  .personal-grid { grid-template-columns: 1fr 1fr; }
  .profile-badge-1 { left: -10px; }
  .profile-badge-2 { right: -10px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 16px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  section { padding: 72px 0; }
  .hero { padding: 100px 0 60px; }
  .personal-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .services-grid { gap: 16px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-logos-grid { flex-direction: column; }
  .client-card { min-width: 100%; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 38px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
