/* =====================
   VARIABLES & RESET
   ===================== */
:root {
  --bg:       #06060a;
  --card:     #0e0e16;
  --border:   #1a1a2a;
  --text:     #f0f0f5;
  --muted:    #6b6b8a;
  --accent:   #7c6cf0;
  --accent2:  #a78bfa;
  --green:    #4ade80;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  /* Dot grid background */
  background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
}

/* =====================
   CURSOR GLOW
   ===================== */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,108,240,0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.08s ease-out, top 0.08s ease-out;
}

/* =====================
   NAV
   ===================== */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 5%;
  background: rgba(6,6,10,0.82);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.btn-nav {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.45rem 1.1rem;
  transition: all 0.2s;
}

.btn-nav:hover {
  border-color: var(--accent);
  color: var(--accent2);
  background: rgba(124,108,240,0.08);
}

/* =====================
   MAIN
   ===================== */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 1;
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  gap: 4rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}

.hero-left { max-width: 580px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}


.hero-name {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--text);
  margin-bottom: 2rem;
}

.hero-name span {
  background: linear-gradient(135deg, #a78bfa 0%, #7c6cf0 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.hero-copy {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 460px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* PHOTO */
.hero-right { flex-shrink: 0; }

.photo-wrap {
  position: relative;
  width: 280px;
}

.photo {
  width: 280px;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  display: block;
  filter: saturate(0.9);
}

.photo-fade {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(6,6,10,0.7) 80%,
    rgba(6,6,10,0.98) 100%
  );
}

/* STATS */
.hero-stats {
  display: flex;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.hstat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1.8rem 1rem;
  text-align: center;
  transition: background 0.2s;
}

.hstat:hover { background: rgba(124,108,240,0.05); }

.hstat strong {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 30%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hstat span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

.hstat-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* =====================
   MARQUEE
   ===================== */
.marquee-wrap {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  padding: 1rem 0;
  position: relative;
  z-index: 1;
}

.marquee-track { overflow: hidden; }

.marquee-inner {
  display: inline-flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-inner span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marquee-inner .bull {
  color: var(--accent);
  padding: 0;
  font-weight: 700;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================
   STATEMENT
   ===================== */
.statement {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

.statement-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.statement-heading {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text);
}

.statement-heading em {
  font-style: normal;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.statement-right {
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.statement-right p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
}

/* =====================
   EXPERIENCE
   ===================== */
.work {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.section-label { margin-bottom: 3rem; }

.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0.6rem;
}

.section-heading {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text);
}

.jobs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.job {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  position: relative;
}

.job::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(124,108,240,0.03);
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: 8px;
  margin: 0 -1.5rem;
}

.job:hover::before { opacity: 1; }

.job-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--border);
  letter-spacing: 0.05em;
  padding-top: 0.4rem;
  font-variant-numeric: tabular-nums;
}

.job:hover .job-num { color: var(--accent); }

.job-body { flex: 1; }

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  gap: 1rem;
}

.job-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.job-company {
  font-size: 0.85rem;
  color: var(--accent2);
  font-weight: 500;
}

.job-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}

.job-date {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.job-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 99px;
  padding: 0.18rem 0.6rem;
  white-space: nowrap;
}

.job-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 680px;
}

/* =====================
   SKILLS
   ===================== */
.skills-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
}

.skill-card:hover {
  border-color: rgba(124,108,240,0.5);
  transform: translateY(-3px);
}

.skill-icon {
  color: var(--accent2);
  margin-bottom: 1.2rem;
  width: 44px;
  height: 44px;
  background: rgba(124,108,240,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.skill-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.skill-tags {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.skill-tags li {
  font-size: 0.78rem;
  color: var(--muted);
  padding-left: 0.9rem;
  position: relative;
}

.skill-tags li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
}

/* =====================
   CONTACT
   ===================== */
.contact {
  padding: 8rem 0 6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.contact-heading {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  color: var(--text);
}

.contact-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.8;
}

.contact-email {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent2);
  text-decoration: none;
  border-bottom: 1px solid rgba(167,139,250,0.3);
  padding-bottom: 0.2rem;
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.contact-email:hover {
  color: #fff;
  border-color: #fff;
}

.contact-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.contact-links a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-links a:hover { color: var(--text); }

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(124,108,240,0.35);
}

.btn-primary:hover {
  background: #6d5ce0;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,108,240,0.45);
}

.btn-ghost {
  display: inline-block;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--text); }

/* =====================
   FOOTER
   ===================== */
.footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}

/* =====================
   REVEAL ANIMATION
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 960px) {
  /* NAV */
  .nav-links, .btn-nav { display: none; }

  /* HERO */
  .hero {
    padding-top: 5rem;
    padding-bottom: 2rem;
    gap: 2.5rem;
    min-height: unset;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-left { max-width: 100%; }

  .hero-eyebrow { justify-content: center; }

  .hero-name {
    font-size: clamp(2.8rem, 11vw, 5rem);
    letter-spacing: -0.04em;
  }

  .hero-sub { font-size: 1rem; }

  .hero-copy {
    font-size: 0.92rem;
    margin: 0 auto 2rem;
  }

  .hero-ctas { justify-content: center; flex-wrap: wrap; }

  .hero-right {
    display: flex;
    justify-content: center;
    order: -1;
  }

  .photo { width: 160px; height: 195px; }
  .photo-wrap { width: 160px; }

  /* STATS */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 12px;
  }

  .hstat { padding: 1.2rem 0.8rem; }
  .hstat strong { font-size: 1.5rem; }
  .hstat-sep { display: none; }

  /* MARQUEE */
  .marquee-wrap { margin-left: -5%; width: 110%; }

  /* STATEMENT */
  .statement { padding: 3.5rem 0; }
  .statement-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .statement-heading { font-size: 1.8rem; letter-spacing: -0.5px; }
  .statement-right p { font-size: 0.92rem; }

  /* EXPERIENCE */
  .work { padding: 3.5rem 0; }
  .section-heading { font-size: 1.8rem; }
  .job { grid-template-columns: 36px 1fr; gap: 0.8rem; padding: 1.8rem 0; }
  .job-header { flex-direction: column; gap: 0.4rem; }
  .job-right { align-items: flex-start; flex-direction: row; gap: 0.6rem; align-items: center; }
  .job-desc { font-size: 0.88rem; }

  /* SKILLS */
  .skills-section { padding: 3.5rem 0; }
  .skills-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* CONTACT */
  .contact { padding: 4rem 0 3rem; }
  .contact-heading {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
    letter-spacing: -2px;
  }
  .contact-email {
    font-size: 0.85rem;
    word-break: break-all;
    text-align: center;
  }
}
