/* ================================================================
   MIDNIGHT GOLD — Premium Color Palette
   ================================================================ */
:root {
  --bg:       #060b1d;
  --bg2:      #0a1028;
  --card:     #0c1433;
  --card-h:   #111d45;

  --text:     #eef2ff;
  --text2:    #8b9cc7;
  --muted:    #5a6b94;

  --gold:     #f0b429;
  --gold-l:   #fbbf24;
  --orange:   #fb923c;
  --blue:     #4dabf7;
  --blue-d:   #2563eb;
  --purple:   #a78bfa;
  --teal:     #2dd4bf;
  --rose:     #fb7185;

  --glow-gold:   rgba(240, 180, 41, 0.22);
  --glow-blue:   rgba(77, 171, 247, 0.2);
  --glow-purple: rgba(167, 139, 250, 0.15);
  --border:      rgba(255, 255, 255, 0.06);
  --border-g:    rgba(240, 180, 41, 0.15);
  --r:  16px;
  --rs: 10px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }
.text-gold { color: var(--gold); }

/* ================================================================
   AMBIENT BACKGROUND
   ================================================================ */
.ambient-bg {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.ambient-orb {
  position: absolute; border-radius: 50%;
  filter: blur(130px); animation: orb 22s ease-in-out infinite;
}
.ambient-orb--gold   { width: 550px; height: 550px; background: var(--gold); top: -180px; right: -80px; opacity: 0.07; }
.ambient-orb--blue   { width: 500px; height: 500px; background: var(--blue); bottom: -150px; left: -100px; opacity: 0.06; animation-delay: -8s; }
.ambient-orb--purple { width: 400px; height: 400px; background: var(--purple); top: 45%; left: 45%; opacity: 0.04; animation-delay: -15s; }
@keyframes orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(35px, -45px) scale(1.06); }
  66% { transform: translate(-25px, 35px) scale(0.94); }
}

/* ================================================================
   3D CANVASES
   ================================================================ */
#bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.page-content { position: relative; z-index: 2; }

/* ================================================================
   HEADER
   ================================================================ */
.header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; max-width: 1200px; margin: 0 auto;
}
.header__logo {
  font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.header__nav { display: flex; align-items: center; gap: 2rem; }
.header__link { font-size: 0.875rem; font-weight: 500; color: var(--text2); transition: color 0.2s; }
.header__link:hover { color: var(--text); }
@media (max-width: 640px) { .header__nav { gap: .8rem; } .header__link { display: none; } }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem; border-radius: var(--rs);
  font-size: 0.9375rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s ease; min-height: 48px; border: none; position: relative;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #0a0e1a; box-shadow: 0 4px 24px var(--glow-gold);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 8px 36px var(--glow-gold); }
.btn--linkedin { background: #0a66c2; color: #fff; box-shadow: 0 4px 20px rgba(10,102,194,0.3); }
.btn--linkedin:hover { background: #004182; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(10,102,194,0.35); }
.btn--sm { padding: 0.45rem 1.1rem; font-size: 0.8125rem; min-height: 38px; }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.ico-li { width: 18px; height: 18px; fill: currentColor; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  display: flex; align-items: center; justify-content: space-between; gap: 4rem;
  padding: 5rem 1.5rem 4rem; max-width: 1200px; margin: 0 auto; min-height: 88vh;
}
.hero__text { flex: 1; max-width: 620px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(240,180,41,0.08); border: 1px solid rgba(240,180,41,0.18);
  color: var(--gold); font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 600; padding: 0.4rem 1rem;
  border-radius: 999px; margin-bottom: 2rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.badge-dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem); font-weight: 900;
  line-height: 1.06; letter-spacing: -0.04em; margin-bottom: 1.5rem;
}
.hero__title-glow {
  background: linear-gradient(135deg, var(--gold-l), var(--blue), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.18rem); color: var(--text2); max-width: 520px; margin-bottom: 2.5rem; line-height: 1.75; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.hero__stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat { text-align: left; }
.stat__num {
  font-family: 'JetBrains Mono', monospace; font-size: 1.8rem; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat__label { display: block; font-size: 0.8125rem; color: var(--muted); margin-top: 0.1rem; }

/* HERO 3D */
.hero__visual { flex: 1; max-width: 480px; display: flex; align-items: center; justify-content: center; }
.hero-3d { position: relative; width: 460px; height: 460px; }
#hero-canvas { width: 100%; height: 100%; display: block; }
.hero-3d::after {
  content: ''; position: absolute; inset: -40px;
  background: radial-gradient(circle, transparent 30%, var(--bg) 65%);
  pointer-events: none; z-index: 1;
}
.float-tag {
  position: absolute; z-index: 3;
  background: rgba(12,20,51,0.88); border: 1px solid var(--border);
  backdrop-filter: blur(14px); padding: 0.45rem 0.9rem;
  border-radius: var(--rs); font-size: 0.72rem; font-weight: 600;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35); white-space: nowrap;
  animation: tagF 4s ease-in-out infinite;
}
.float-tag--1 { top: 8%; right: -10px; color: var(--gold); border-color: rgba(240,180,41,0.2); }
.float-tag--2 { bottom: 22%; left: -20px; color: var(--purple); border-color: rgba(167,139,250,0.2); animation-delay: -1.5s; }
.float-tag--3 { bottom: 5%; right: 0; color: var(--teal); border-color: rgba(45,212,191,0.2); animation-delay: -3s; }
@keyframes tagF { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; min-height: auto; padding: 3rem 1.5rem; gap: 2rem; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .stat { text-align: center; }
  .hero__visual { order: -1; }
  .hero-3d { width: 310px; height: 310px; }
}

/* ================================================================
   BANNER
   ================================================================ */
.banner { padding: 3rem 1.5rem; text-align: center; }
.banner__inner {
  max-width: 900px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(240,180,41,0.06), rgba(167,139,250,0.06));
  border: 1px solid var(--border-g); border-radius: var(--r);
  padding: 3rem 2rem; position: relative; overflow: hidden;
}
.banner__inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--orange), transparent);
}
.banner__title { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; margin: 0.5rem 0 0.75rem; letter-spacing: -0.02em; }
.banner__company { font-size: 1.1rem; color: var(--text2); }
.banner__company a { color: var(--gold); font-weight: 600; transition: color 0.2s; }
.banner__company a:hover { color: var(--orange); }
.banner__desc { margin-top: 1.25rem; color: var(--text2); max-width: 580px; margin-left: auto; margin-right: auto; font-size: 0.9375rem; line-height: 1.7; }

/* ================================================================
   SECTION SHARED
   ================================================================ */
.label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.15em;
  text-align: center; margin-bottom: 0.75rem;
}
.section { padding: 5rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.section__heading { text-align: center; font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
.section__sub { text-align: center; color: var(--text2); max-width: 560px; margin: 0 auto 3.5rem; line-height: 1.7; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); max-width: 1200px; margin: 0 auto; }

/* ================================================================
   CARDS
   ================================================================ */
.grid { display: grid; gap: 1.5rem; }
.grid--2   { grid-template-columns: 1fr 1fr; }
.grid--venture { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--exp { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.grid--edu { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 750px; margin: 0 auto; }
.grid--rec { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
@media (max-width: 768px) { .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative; overflow: hidden; transform-style: preserve-3d;
}
.card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.35); border-color: var(--border-g); }
.card--full { grid-column: 1 / -1; }
@media (max-width: 768px) { .card--full { grid-column: 1; } }

.card__ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.card__ico--gold   { background: rgba(240,180,41,0.1); color: var(--gold); }
.card__ico--blue   { background: rgba(77,171,247,0.1);  color: var(--blue); }
.card__ico--purple { background: rgba(167,139,250,0.1); color: var(--purple); }
.card__ico--teal   { background: rgba(45,212,191,0.1);  color: var(--teal); }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.7rem; }
.card p  { color: var(--text2); font-size: 0.9375rem; line-height: 1.7; }

/* VENTURE CARDS */
.vcard {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.75rem; position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; transform-style: preserve-3d;
}
.vcard::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; border-radius: 0 3px 3px 0; }
.vcard--gold::before   { background: var(--gold); }
.vcard--purple::before { background: var(--purple); }
.vcard--teal::before   { background: var(--teal); }
.vcard--blue::before   { background: var(--blue); }
.vcard--orange::before { background: var(--orange); }
.vcard--rose::before   { background: var(--rose); }
.vcard:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.35); border-color: var(--border-g); }
.vtag { font-family: 'JetBrains Mono', monospace; font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.7rem; display: block; }
.vtag--on  { color: var(--teal); }
.vtag--off { color: var(--muted); }
.vcard h3  { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.2rem; }
.vrole     { font-size: 0.8rem; color: var(--gold); font-weight: 500; display: block; margin-bottom: 0.7rem; }
.vcard p   { color: var(--text2); font-size: 0.875rem; line-height: 1.7; }

/* EXPERTISE */
.exp {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--rs);
  padding: 1.4rem; text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden; transform-style: preserve-3d;
}
.exp:hover { border-color: var(--border-g); box-shadow: 0 8px 24px rgba(0,0,0,0.28); }
.exp__ico { display: block; margin-bottom: 0.6rem; }
.exp h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; }
.exp p  { font-size: 0.78rem; color: var(--muted); }

/* EDUCATION */
.edu {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 2rem; text-align: center;
  transition: transform 0.3s, border-color 0.3s;
  position: relative; overflow: hidden; transform-style: preserve-3d;
}
.edu:hover { border-color: var(--border-g); }
.edu h3 { font-size: 1.05rem; font-weight: 700; margin: 0.8rem 0 0.2rem; }
.edu__deg { color: var(--gold); font-size: 0.85rem; font-weight: 500; display: block; margin-bottom: 0.4rem; }
.edu p { color: var(--muted); font-size: 0.8rem; }

/* RECOGNITION */
.rec {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.75rem;
  transition: transform 0.3s, border-color 0.3s;
  position: relative; overflow: hidden; transform-style: preserve-3d;
}
.rec:hover { border-color: var(--border-g); }
.rec h3 { font-size: 0.95rem; font-weight: 700; margin: 0.8rem 0 0.4rem; }
.rec p  { color: var(--text2); font-size: 0.85rem; line-height: 1.6; }

/* ================================================================
   CTA
   ================================================================ */
.cta { text-align: center; padding: 6rem 1.5rem; position: relative; max-width: 750px; margin: 0 auto; }
.cta__glow {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--glow-gold) 0%, transparent 65%);
  pointer-events: none;
}
.cta__heading { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; position: relative; }
.cta__sub { color: var(--text2); margin-bottom: 2.5rem; font-size: 1.05rem; line-height: 1.7; position: relative; }
.cta__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.cta__social { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; position: relative; }
.social-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); transition: all 0.2s;
}
.social-ico:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { text-align: center; padding: 2rem 1.5rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--muted); }
.footer a { color: var(--text2); transition: color 0.2s; }
.footer a:hover { color: var(--gold); }

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fd1 { transition-delay: 0.1s; }
.fd2 { transition-delay: 0.2s; }
.fd3 { transition-delay: 0.3s; }
.fd4 { transition-delay: 0.4s; }

/* ================================================================
   CARD TILT GLARE
   ================================================================ */
.tilt-glare {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity 0.3s; z-index: 1;
}
