/* ============================================================
   PARDHU GANGURI — PORTFOLIO
   Dark · Purple · Professional
   ============================================================ */

/* ── Variables ── */
:root {
  --bg:           #09090e;
  --bg-alt:       #0f0f18;
  --surface:      #131320;
  --surface-2:    #1a1a2a;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(124,58,237,0.4);
  --accent:       #7c3aed;
  --accent-2:     #a855f7;
  --accent-soft:  rgba(124,58,237,0.12);
  --accent-glow:  rgba(124,58,237,0.3);
  --text:         #e2e2ef;
  --muted:        #8080a4;
  --dim:          #4a4a6a;
  --white:        #ffffff;
  --radius-s:     8px;
  --radius-m:     14px;
  --radius-l:     22px;
  --font-display: 'Unbounded', sans-serif;
  --font-body:    'Inter', sans-serif;
  --ease:         0.3s ease;
  --max:          1160px;
}

/* ── 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);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
em  { font-style: italic; color: var(--accent-2); }

/* ── Layout ── */
.container       { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 680px; }

/* ── Accent dot ── */
.accent-dot { color: var(--accent); }

/* ── Live dot ── */
.live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  flex-shrink: 0;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ── Chip ── */
.chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid var(--border-hover);
  background: var(--accent-soft);
  padding: 5px 14px;
  border-radius: 100px;
}
.chip--light {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-2);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  transform: translateY(-2px);
}
.btn--connect {
  background: var(--accent);
  color: var(--white);
  padding: 17px 40px;
  font-size: 1rem;
  box-shadow: 0 0 40px var(--accent-glow);
}
.btn--connect:hover {
  background: var(--accent-2);
  box-shadow: 0 0 60px var(--accent-glow);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 999;
  padding: 18px 0;
  transition: background var(--ease), border-color var(--ease), backdrop-filter var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9,9,14,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 0.82rem !important;
}
.nav__cta:hover { background: var(--accent-2) !important; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--ease);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 55% at 72% 38%, rgba(124,58,237,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 35% 45% at 18% 72%, rgba(124,58,237,0.07) 0%, transparent 65%),
    var(--bg);
}
.hero__bg-word {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(90px, 18vw, 220px);
  font-weight: 900;
  color: rgba(124,58,237,0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
  padding: 120px 24px 56px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero__heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(46px, 6.5vw, 82px);
  line-height: 0.93;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.hero__heading-line         { display: block; color: var(--white); }
.hero__heading-line--purple { color: var(--accent-2); }
.hero__roles {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dim);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.role-sep { color: var(--accent); margin: 0 2px; }
.hero__bio {
  font-size: 1.03rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 40px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__glow {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  width: 75%; height: 75%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  animation: glow-breathe 5s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.12); }
}
.hero__frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid rgba(124,58,237,0.28);
  box-shadow: 0 48px 100px rgba(0,0,0,0.6), 0 0 60px var(--accent-glow);
}
.hero__photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero__badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(9,9,14,0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__badge-emoji { font-size: 1.3rem; line-height: 1; }
.hero__badge-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.hero__badge-text span {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Stats strip */
.hero__stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 28px 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 44px;
  flex: 1;
  min-width: 190px;
}
.stat strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-2);
  line-height: 1;
}
.stat span {
  font-size: 0.74rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.02em;
}
.stat-sep {
  width: 1px; height: 42px;
  background: var(--border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════════════ */
.section        { padding: 96px 24px; }
.section--alt   { background: var(--bg-alt); }

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 60px;
}
.section-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  padding-top: 10px;
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
}

/* ══════════════════════════════════════════════
   PROFILE
══════════════════════════════════════════════ */
.profile-block {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  align-items: start;
}
.profile-block__label { padding-top: 4px; }
.profile-block__body p {
  font-size: 1.03rem;
  color: var(--muted);
  line-height: 1.82;
  margin-bottom: 20px;
}
.profile-block__body p:last-child { margin-bottom: 0; }
.profile-block__body strong { color: var(--white); font-weight: 600; }

/* ══════════════════════════════════════════════
   INTEREST GRID
══════════════════════════════════════════════ */
.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.interest-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  transition: all var(--ease);
}
.interest-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 24px rgba(124,58,237,0.1);
  transform: translateY(-4px);
}
.interest-card--featured {
  background: linear-gradient(135deg, rgba(124,58,237,0.14) 0%, var(--surface) 60%);
  border-color: rgba(124,58,237,0.25);
}
.interest-card--featured:hover { border-color: var(--border-hover); }
.interest-card__icon {
  font-size: 2rem;
  margin-bottom: 18px;
  display: block;
}
.interest-card h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.interest-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.interest-card li {
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.interest-card li::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ══════════════════════════════════════════════
   EXP BLOCK
══════════════════════════════════════════════ */
.exp-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.exp-block__header {
  padding: 36px 40px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.exp-block__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34d399;
  margin-bottom: 12px;
}
.exp-block__status--past { color: var(--accent-2); }
.exp-block__status--past .live-dot { background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }
.exp-block__role {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.exp-block__org {
  font-size: 0.88rem;
  color: var(--muted);
}
.exp-block__body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.exp-block__body > p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}
.exp-block__body > p strong { color: var(--white); font-weight: 600; }

/* Highlight box */
.highlight-block {
  background: rgba(124,58,237,0.07);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-m);
  padding: 28px 32px;
}
.highlight-block__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.highlight-block h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.highlight-block p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Tag row */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-row span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-soft);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--accent-2);
  padding: 4px 12px;
  border-radius: 100px;
}

/* Quote */
.quote-block {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 24px;
}
.quote-block blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
}

/* Skill pills */
.skills-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.skill-pill {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all var(--ease);
}
.skill-pill:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.skill-pill__icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.skill-pill div { display: flex; flex-direction: column; gap: 3px; }
.skill-pill strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
}
.skill-pill span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Four-card grid */
.four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.four-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 22px 20px;
  transition: all var(--ease);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.four-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.four-card > span { font-size: 1.5rem; }
.four-card h5 {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.four-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════ */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 16px;
  align-items: start;
}
.gallery__item {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--ease);
  position: relative;
}
.gallery__item:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(-4px);
}
.gallery__item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery__item--tall img { height: 380px; object-position: center top; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(9,9,14,0.9));
  color: var(--muted);
  font-size: 0.8rem;
  padding: 36px 16px 14px;
  transition: color var(--ease);
}
.gallery__item:hover figcaption { color: var(--text); }

/* ══════════════════════════════════════════════
   CONNECT
══════════════════════════════════════════════ */
.section--connect {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px;
}
.connect__glow {
  position: absolute;
  inset-block-start: 50%; inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.18) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.connect__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 20px 0 20px;
  position: relative;
}
.connect__spark {
  display: inline-block;
  color: var(--accent-2);
  margin-left: 8px;
  animation: rotate 8s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.connect__sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 44px;
  position: relative;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 26px 24px;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
}
.footer__copy    { font-size: 0.8rem; color: var(--dim); }
.footer__tagline { font-size: 0.74rem; color: var(--dim); font-style: italic; letter-spacing: 0.04em; }

/* ══════════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════════ */

/* ── Back to Top ── */
.back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 990;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--accent-glow);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--ease);
  pointer-events: none;
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-top:hover {
  background: var(--accent-2);
  box-shadow: 0 6px 28px var(--accent-glow);
  transform: translateY(-3px);
}

/* ── Scroll progress bar ── */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px var(--accent-glow);
}


.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.19s; }
.reveal-d4 { transition-delay: 0.26s; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { order: -1; }
  .hero__frame { max-width: 100%; }
  .hero__photo { height: 380px; }
  .interest-grid { grid-template-columns: 1fr; }
  .four-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-block { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(9,9,14,0.97);
    backdrop-filter: blur(20px);
    padding: 28px 24px;
    gap: 22px;
    border-bottom: 1px solid var(--border);
    z-index: 998;
  }
  .nav__links.open a { font-size: 1rem; }
  .nav__burger { display: flex; }
  .hero__inner { padding: 100px 24px 44px; }
  .hero__heading { font-size: clamp(40px, 12vw, 60px); }
  .hero__stats { flex-direction: column; gap: 18px; }
  .stat-sep { display: none; }
  .stat { padding: 0; }
  .section { padding: 72px 24px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item img, .gallery__item--tall img { height: 240px; }
  .exp-block__header, .exp-block__body { padding: 24px; }
  .skills-list { grid-template-columns: 1fr; }
  .four-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; gap: 8px; }
  .section-num { padding-top: 0; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .four-grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}
