* { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  html,body{ margin:0; padding:0; background:#07060f; overflow-x:hidden; cursor: none; }
  a{ text-decoration:none; color:inherit; cursor: none; }
  
  /* Custom Orbital Cursor Styles */
  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    will-change: transform;
  }
  .cursor-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7.5px;
    height: 7.5px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255,255,255,1);
  }
  .cursor-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 1.25px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: orbitSpin 4s linear infinite;
  }
  .cursor-orbit::after {
    content: '';
    position: absolute;
    top: -2.5px;
    left: 50%;
    width: 5px;
    height: 5px;
    background: #ffffff;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 8px #ffffff;
  }
  @keyframes orbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }

  #scaleOuter{
    position:relative;
    width:100%;
    overflow:hidden;
  }
  #canvas{
    width:1920px;
    position:relative;
    transform-origin: top left;
    background:#07060f;
  }
  .shape{ position:absolute; }
  .txt{ position:absolute; white-space:pre-wrap; }
  .txt.grad{
    background: linear-gradient(90deg, rgba(139,123,255,1), rgba(242,169,60,1));
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    color:transparent;
  }
  .txt .g{
    background: linear-gradient(90deg, rgba(139,123,255,1), rgba(242,169,60,1));
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    color:transparent;
  }
  a.txt{ cursor:none; }
  #canvas a{ display:block; width:100%; height:100%; }

  /* Moving Gradient Stroke Animation */
  @property --border-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
  }

  @keyframes rotateGradient {
    0% { --border-angle: 0deg; }
    100% { --border-angle: 360deg; }
  }

  .animated-gradient-border {
    background: conic-gradient(from var(--border-angle), #8b7bff 0%, #f2a93c 25%, #ff4d94 50%, #8b7bff 75%, #f2a93c 100%) !important;
    animation: rotateGradient 4s linear infinite !important;
  }

  
/* ==========================================================================
   RESTORED: NAVIGATION BAR
   ========================================================================== */
.sticky-nav-wrapper {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: top center; 
  width: 999px;
  height: 105px;
  z-index: 9999;
  border-radius: 100px;
  padding: 3px;
  overflow: hidden;
}
 
.sticky-nav-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #050508 0%, #161520 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 97px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 20px;
  box-sizing: border-box;
}
 
.nav-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
 
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
 
.nav-item {
  color: rgba(244, 244, 251, 1);
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.25s ease;
}
 
.nav-item:hover {
  color: #f2a93c;
}
 
.nav-btn {
  height: 65px;
  padding: 0 28px;
  border-radius: 100px;
  background: #8b7bff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 244, 251, 1);
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 19px;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
 
.nav-btn:hover {
  background: #7a68fa;
  transform: scale(1.02);
  box-shadow: 0 0 24px rgba(139, 123, 255, 0.4);
}
 

  /* Stacked Cards Interactive Hover Component */
  .card-stack-wrapper {
    position: absolute;
    top: 197px; 
    left: 200px; 
    width: 420px;
    height: 110px;
    display: flex;
    align-items: center;
    pointer-events: auto;
  }

  .stacked-card {
    position: absolute;
    height: 110px;
    border-radius: 20px;
    cursor: none;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.35s ease;
  }

  .stacked-card:nth-child(1) { left: 0px;   width: 169px; z-index: 5; background: rgba(255,255,255,1); }
  .stacked-card:nth-child(2) { left: 62px;  width: 168px; z-index: 4; background: rgba(246,246,246,1); }
  .stacked-card:nth-child(3) { left: 125px; width: 167px; z-index: 3; background: rgba(237,237,237,1); }
  .stacked-card:nth-child(4) { left: 188px; width: 168px; z-index: 2; background: rgba(221,221,221,1); }
  .stacked-card:nth-child(5) { left: 250px; width: 169px; z-index: 1; background: rgba(207,207,207,1); }

  .stacked-card:hover {
    width: 184px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 30px rgba(139, 123, 255, 0.25);
  }

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background: #27c93f;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #27c93f;
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

  /* Process Ring & Badges Animations */
  @keyframes spinRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  .rotating-ring {
    position: absolute;
    top: 4245px;
    left: 80px;
    width: 500px;
    height: 500px;
    animation: spinRing 25s linear infinite;
    transform-origin: center center;
    pointer-events: none;
  }

  @keyframes floatUp {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-24px); }
  }

  @keyframes floatDown {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(24px); }
  }

  .float-badge-top {
    animation: floatUp 4.5s ease-in-out infinite;
  }

  .float-badge-bottom {
    animation: floatDown 5s ease-in-out infinite;
  }

  /* Skills Kicker (CSS-Only Infinite Smooth Loop) */
  .skills-kicker-bar {
    position: absolute;
    top: 989px;
    left: 0;
    width: 1920px;
    height: 91px;
    background: rgba(36, 35, 42, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.95) 8%, rgba(0,0,0,1) 50%, rgba(0,0,0,0.95) 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.95) 8%, rgba(0,0,0,1) 50%, rgba(0,0,0,0.95) 92%, transparent 100%);
  }

  @keyframes kickerLoop {
    0% { transform: translate3d(-1780px, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
  }

  .skills-kicker-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
    animation: kickerLoop 22s linear infinite;
  }

  .skill-pill {
    height: 48px;
    padding: 0 28px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(244, 244, 251, 1);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.8px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  }

  .skill-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(139, 123, 255, 0.4);
    color: #f2a93c;
  }

  /* Tool Stack */
  .stack-ticker-container {
    position: absolute;
    top: 2540px;
    left: 0;
    width: 1920px;
    height: 520px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.9) 10%, rgba(0,0,0,1) 50%, rgba(0,0,0,0.9) 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.9) 10%, rgba(0,0,0,1) 50%, rgba(0,0,0,0.9) 90%, transparent 100%);
  }

  .ticker-row {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .ticker-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
  }

  .tool-card {
    width: 320px;
    height: 138px;
    border-radius: 35px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 30px;
    gap: 22px;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
  }

  .tool-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 123, 255, 0.5);
  }

  .brand-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .brand-icon img,
  .brand-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .brand-icon i {
    font-size: 38px;
    color: #8b7bff;
  }

  .tool-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .tool-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #f4f4fb;
    letter-spacing: 0.5px;
  }

  .tool-category {
    font-family: 'Genos', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgba(152, 152, 152, 1);
    letter-spacing: 1px;
    text-transform: uppercase;
  }

 /* Flexible Work Experience Section Flow */
  .experience-flow-section {
    position: absolute;
    top: 5676px;
    left: 50px;
    width: 1820px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 50;
  }

  .exp-row-top {
    display: grid;
    grid-template-columns: repeat(3, 575px);
    gap: 47px;
    align-items: start;
  }

  .exp-row-bottom {
    display: grid;
    grid-template-columns: 1198px 575px;
    gap: 47px;
    align-items: start;
  }

  .exp-card {
    width: 100%;
    border-radius: 35px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 34px 40px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    /* FIX: Replaced 'transition: all' with specific paint properties to prevent GPU stalls */
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: none;
  }

  .exp-card.is-expanded:not(.highlight-card) {
    border: 2px solid #38bdf8 !important;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.15);
  }

  .exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
  }

  .exp-date {
    font-family: 'Genos', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: rgba(244, 244, 251, 1);
    line-height: 1.0;
    margin-bottom: 8px;
  }

  .exp-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: rgba(244, 244, 251, 1);
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .exp-company {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: rgba(244, 244, 251, 1);
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .exp-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 27px;
    padding: 0 16px;
    border-radius: 48px;
    background: rgba(43, 42, 48, 1);
    color: rgba(244, 244, 251, 1);
    font-family: 'Genos', sans-serif;
    font-weight: 500;
    font-size: 15px;
    width: fit-content;
  }

  .exp-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(36, 35, 42, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
    cursor: none;
  }

  .exp-toggle-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
  }

  .exp-toggle-btn path {
    fill: #ffffff;
  }

  .exp-card.is-expanded .exp-toggle-btn {
    background: #8b7bff !important;
    box-shadow: 0 0 16px rgba(139, 123, 255, 0.6);
  }

  .exp-card.is-expanded .exp-toggle-btn svg {
    transform: rotate(180deg);
  }

  .exp-body {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(244, 244, 251, 0.95);
    display: none;
  }

  .exp-card.is-expanded .exp-body {
    display: block;
    animation: fadeIn 0.2s ease-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .highlight-wrapper {
    width: 100%;
    border-radius: 35px;
    padding: 2px;
    overflow: hidden;
  }

  .highlight-wrapper .exp-card {
    background: rgb(7, 6, 15);
    border-radius: 33px;
    border: none !important;
  }

  /* Dynamic Flow Sections below Work Experience */
  #belowExperience {
    position: relative;
    width: 100%;
    /* FIX: Hardware accelerated smooth layout push */
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    pointer-events: none;
    z-index: 10;
  }

  #belowExperience > * {
    pointer-events: auto;
  }

  /* Dynamic Flow Sections below Work Experience */
  #belowExperience {
    position: relative;
    width: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; /* FIX: Makes the invisible wrapper transparent to clicks */
    z-index: 10; /* FIX: Ensures it sits behind the cards */
  }

  #belowExperience > * {
    pointer-events: auto; /* FIX: Re-enables clicks for the actual content inside it */
  }

  /* Testimonials Vertical Reel */
  .testimonials-reel-container {
    position: absolute;
    top: 200px;
    left: 50px;
    width: 1820px;
    height: 840px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.95) 12%, rgba(0,0,0,1) 50%, rgba(0,0,0,0.95) 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.95) 12%, rgba(0,0,0,1) 50%, rgba(0,0,0,0.95) 88%, transparent 100%);
  }

  .testimonial-col {
    position: relative;
    width: 575px;
    height: 100%;
    overflow: hidden;
  }

  .testimonial-track {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    will-change: transform;
  }

  .testimonial-card {
    width: 575px;
    height: 250px;
    border-radius: 35px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px 38px;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  }

  .testimonial-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(139, 123, 255, 0.35);
  }

  .stars {
    color: #f2a93c;
    font-size: 19px;
    letter-spacing: 5px;
    display: flex;
    align-items: center;
  }

  .review-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(244, 244, 251, 0.95);
  }

  .client-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .client-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    letter-spacing: 0.5px;
  }

  .client-title {
    font-family: 'Genos', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #8b7bff;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
