/* ═══════════════════════════════════════════
   ABHISHEK NAHAR — PERSONAL THEME
   assets/css/main.css
═══════════════════════════════════════════ */

/* TOKENS */
:root {
  --ink:      #0b0f1a;
  --ink2:     #141929;
  --ink3:     #1e2640;
  --gold:     #c9a84c;
  --gold2:    #e8c96a;
  --silver:   #8b9abf;
  --white:    #f0f2f8;
  --muted:    #4a5578;
  --accent:   #3d6cff;
  --green:    #22d3a0;
  --ff-head:  'Playfair Display', Georgia, serif;
  --ff-body:  'DM Sans', system-ui, sans-serif;
  --ff-mono:  'DM Mono', monospace;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* CURSOR */
.cursor {
  position: fixed; width: 12px; height: 12px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s cubic-bezier(.17,.67,.72,1.3);
}
body:hover .cursor { opacity: 1; }

/* NOISE OVERLAY */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9000; opacity: 0.4;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  background: linear-gradient(to bottom, rgba(11,15,26,0.95), transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.08);
  transition: padding 0.3s;
}
.nav-logo { font-family: var(--ff-head); font-size: 20px; font-weight: 900; letter-spacing: -0.02em; color: var(--white); }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver); transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.2s; transform-origin: left; }
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--gold); color: var(--ink) !important; padding: 9px 22px; border-radius: 4px; font-weight: 600 !important; letter-spacing: 0.04em !important; transition: background 0.2s, transform 0.2s !important; }
.nav-cta:hover { background: var(--gold2) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* HERO */
#hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 60px 80px; position: relative; overflow: hidden; }
#hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px); background-size: 60px 60px; animation: gridDrift 20s linear infinite; }
@keyframes gridDrift { to { transform: translate(60px, 60px); } }

.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(61,108,255,0.15), transparent 70%); top: -100px; right: 0; animation: orbFloat 8s ease-in-out infinite; }
.hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(201,168,76,0.12), transparent 70%); bottom: -50px; left: 200px; animation: orbFloat 11s ease-in-out infinite reverse; }
@keyframes orbFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

.hero-content { max-width: 1200px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-mono); font-size: 12px; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 24px; }
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero-name { font-family: var(--ff-head); font-size: clamp(52px, 6vw, 84px); font-weight: 900; line-height: 0.95; letter-spacing: -0.03em; color: var(--white); margin-bottom: 16px; }
.hero-name em { display: block; font-style: italic; color: var(--gold); font-size: 0.65em; }
.hero-tagline { font-size: 18px; color: var(--silver); line-height: 1.7; max-width: 520px; margin-bottom: 40px; font-weight: 300; }
.hero-tagline strong { color: var(--white); font-weight: 600; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; border: 1px solid rgba(201,168,76,0.25); color: var(--silver); background: rgba(201,168,76,0.05); transition: all 0.2s; }
.pill:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.1); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(1.4);} }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { padding: 14px 32px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 14px; border-radius: 4px; letter-spacing: 0.06em; text-transform: uppercase; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.3); }
.btn-secondary { padding: 14px 32px; border: 1px solid rgba(201,168,76,0.35); color: var(--gold); font-weight: 600; font-size: 14px; border-radius: 4px; letter-spacing: 0.06em; text-transform: uppercase; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-secondary:hover { background: rgba(201,168,76,0.08); transform: translateY(-2px); }

/* STATS */
.hero-stats { background: var(--ink2); border: 1px solid rgba(201,168,76,0.15); border-radius: 12px; padding: 32px; position: relative; overflow: hidden; }
.hero-stats::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--accent), var(--green)); }
.stat-row { display: flex; flex-direction: column; gap: 24px; }
.stat-item { border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 20px; }
.stat-item:last-child { border: none; padding: 0; }
.stat-num { font-family: var(--ff-head); font-size: 44px; font-weight: 900; color: var(--gold); line-height: 1; letter-spacing: -0.03em; }
.stat-num span { font-size: 24px; }
.stat-label { font-size: 13px; color: var(--silver); margin-top: 4px; font-weight: 400; }
.stat-sub { font-size: 11px; color: var(--muted); font-family: var(--ff-mono); margin-top: 2px; }

/* SECTION BASE */
section { padding: 100px 60px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { font-family: var(--ff-mono); font-size: 12px; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-label::after { content: ''; flex: 1; max-width: 60px; height: 1px; background: var(--gold); }
.section-title { font-family: var(--ff-head); font-size: clamp(32px, 4vw, 52px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
.section-sub { font-size: 17px; color: var(--silver); max-width: 560px; font-weight: 300; line-height: 1.7; margin-bottom: 60px; }

/* ABOUT */
#about { background: var(--ink2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-text p { color: var(--silver); font-weight: 300; font-size: 17px; line-height: 1.8; margin-bottom: 20px; }
.about-text p strong { color: var(--white); font-weight: 600; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tag { padding: 5px 12px; border-radius: 3px; background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.2); font-size: 12px; color: var(--gold); font-family: var(--ff-mono); }
.about-cards { display: flex; flex-direction: column; gap: 16px; }
.about-card { background: var(--ink3); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 24px; transition: border-color 0.2s, transform 0.2s; display: flex; gap: 20px; align-items: flex-start; }
.about-card:hover { border-color: rgba(201,168,76,0.3); transform: translateX(6px); }
.about-card-icon { width: 44px; height: 44px; border-radius: 8px; background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.about-card-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.about-card-desc { font-size: 13px; color: var(--silver); line-height: 1.6; }

/* AI SECTION */
#ai { background: var(--ink); position: relative; overflow: hidden; }
#ai::before { content: 'AI'; position: absolute; right: -60px; top: 50%; transform: translateY(-50%); font-family: var(--ff-head); font-size: 400px; font-weight: 900; color: rgba(201,168,76,0.03); line-height: 1; pointer-events: none; letter-spacing: -0.05em; }
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ai-card { background: var(--ink2); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 32px; transition: all 0.3s; position: relative; overflow: hidden; }
.ai-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform 0.3s; }
.ai-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,0.25); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.ai-card:hover::before { transform: scaleX(1); }
.ai-card-num { font-family: var(--ff-mono); font-size: 12px; color: var(--gold); opacity: 0.5; margin-bottom: 20px; }
.ai-card-icon { font-size: 32px; margin-bottom: 16px; }
.ai-card-title { font-family: var(--ff-head); font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.ai-card-desc { font-size: 14px; color: var(--silver); line-height: 1.7; font-weight: 300; }

/* EXPERIENCE TIMELINE */
#experience { background: var(--ink2); }
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.1)); }
.tl-item { position: relative; margin-bottom: 56px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot { position: absolute; left: -36px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ink2); box-shadow: 0 0 0 4px rgba(201,168,76,0.2); }
.tl-meta { font-family: var(--ff-mono); font-size: 11px; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tl-company { font-family: var(--ff-head); font-size: 24px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tl-role { font-size: 14px; color: var(--silver); font-weight: 400; margin-bottom: 16px; }
.tl-bullets { list-style: none; }
.tl-bullets li { font-size: 14px; color: var(--silver); font-weight: 300; padding: 6px 0; padding-left: 20px; position: relative; line-height: 1.6; border-bottom: 1px solid rgba(255,255,255,0.04); }
.tl-bullets li::before { content: '▸'; position: absolute; left: 0; color: var(--gold); font-size: 10px; top: 8px; }
.tl-achievements { margin-top: 16px; background: var(--ink3); border-radius: 8px; padding: 16px 20px; border-left: 2px solid var(--gold); }
.tl-ach-label { font-family: var(--ff-mono); font-size: 10px; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 10px; }
.tl-ach-item { font-size: 13px; color: var(--white); padding: 4px 0; font-weight: 500; }
.tl-ach-item::before { content: '✓ '; color: var(--green); }

/* SKILLS */
#skills { background: var(--ink); }
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.skill-category-title { font-family: var(--ff-mono); font-size: 11px; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.skill-category-title::after { content: ''; flex: 1; height: 1px; background: rgba(201,168,76,0.2); }
.skill-bar-item { margin-bottom: 16px; }
.skill-bar-top { display: flex; justify-content: space-between; margin-bottom: 6px; }
.skill-name { font-size: 13px; font-weight: 500; }
.skill-pct { font-family: var(--ff-mono); font-size: 11px; color: var(--gold); }
.skill-bar-track { height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.skill-bar-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--gold2)); width: 0; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag { padding: 6px 14px; border-radius: 4px; background: var(--ink2); border: 1px solid rgba(255,255,255,0.08); font-size: 12px; color: var(--silver); font-weight: 400; transition: all 0.2s; }
.skill-tag:hover { border-color: var(--gold); color: var(--gold); }

/* PROJECTS */
#projects { background: var(--ink2); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { background: var(--ink3); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 28px; transition: all 0.3s; display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.25); }
.project-client { font-family: var(--ff-mono); font-size: 11px; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.project-title { font-family: var(--ff-head); font-size: 19px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.project-desc { font-size: 13px; color: var(--silver); line-height: 1.7; font-weight: 300; flex: 1; margin-bottom: 20px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ptag { padding: 3px 8px; border-radius: 3px; font-size: 11px; background: rgba(61,108,255,0.1); color: #7fa3ff; border: 1px solid rgba(61,108,255,0.2); }

/* COACHING */
#coaching { background: var(--ink); position: relative; overflow: hidden; }
.coaching-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.coaching-features { display: flex; flex-direction: column; gap: 20px; }
.cf-item { display: flex; gap: 20px; align-items: flex-start; padding: 20px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05); background: var(--ink2); transition: all 0.2s; }
.cf-item:hover { border-color: rgba(201,168,76,0.25); transform: translateX(6px); }
.cf-icon { font-size: 24px; flex-shrink: 0; }
.cf-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.cf-desc { font-size: 13px; color: var(--silver); line-height: 1.6; }
.coaching-visual { background: var(--ink2); border: 1px solid rgba(201,168,76,0.15); border-radius: 16px; padding: 36px; text-align: center; position: relative; }
.coaching-visual::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--accent), var(--gold)); border-radius: 16px 16px 0 0; }
.cv-icon { font-size: 56px; margin-bottom: 20px; }
.cv-title { font-family: var(--ff-head); font-size: 26px; font-weight: 900; margin-bottom: 12px; }
.cv-desc { font-size: 14px; color: var(--silver); line-height: 1.7; margin-bottom: 28px; }
.cv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cv-stat { background: var(--ink3); border-radius: 8px; padding: 16px; }
.cv-stat-num { font-family: var(--ff-head); font-size: 28px; font-weight: 900; color: var(--gold); }
.cv-stat-label { font-size: 12px; color: var(--silver); margin-top: 2px; }

/* CONTACT */
#contact { background: var(--ink2); text-align: center; padding: 120px 60px; }
.contact-inner { max-width: 700px; margin: 0 auto; }
.contact-inner .section-sub { margin: 0 auto 48px; }
.contact-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.contact-link { display: flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 8px; border: 1px solid rgba(201,168,76,0.2); background: rgba(201,168,76,0.05); font-size: 14px; font-weight: 500; color: var(--white); transition: all 0.2s; }
.contact-link:hover { border-color: var(--gold); background: rgba(201,168,76,0.1); transform: translateY(-2px); color: var(--gold); }
.contact-link-icon { font-size: 18px; }

/* FOOTER */
footer { background: var(--ink); padding: 32px 60px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-copy span { color: var(--gold); }
.footer-tech { font-family: var(--ff-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav, section, footer { padding-left: 32px; padding-right: 32px; }
  #hero { padding: 120px 32px 80px; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { max-width: 100%; }
  .stat-row { flex-direction: row; flex-wrap: wrap; }
  .stat-item { flex: 1; min-width: 140px; }
  .about-grid, .coaching-grid { grid-template-columns: 1fr; gap: 48px; }
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  #hero { padding: 100px 20px 60px; }
  section { padding: 70px 20px; }
  .ai-grid, .projects-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
}
