:root{
  /* GraphQL Brand Colors */
  --graphql-pink: #E10098;
  --graphql-purple: #663399;
  --graphql-purple-light: #8B31FF;
  --dark-bg-primary: #0B0D11;
  --dark-bg-secondary: #1A1A1A;
  --dark-bg-tertiary: #0E0E10;
  --text-primary: #FFFFFF;
  --text-secondary: #F5F5F5;
  --text-muted: #B4B4B4;
  
  /* Legacy variable mappings for compatibility */
  --bg: #0B0D11;
  --card: #1A1A1A;
  --muted: #B4B4B4;
  --accent: #E10098;
  --text: #F5F5F5;
  --glass: rgba(255,255,255,0.05);
  --max-width: 1100px;
  --radius: 12px;
  --gap: 1.1rem;
  
  /* GraphQL Typography */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: var(--dark-bg-primary);
  color: var(--text-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
  font-weight: 400;
}
.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem;
}

.site-header{
  background: var(--dark-bg-secondary);
  border-bottom: 1px solid rgba(225, 0, 152, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(26, 26, 26, 0.9);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand h1{
  margin: .1rem 0;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.tagline{
  color: var(--text-muted);
  margin: 0;
  font-size: .9rem;
  font-weight: 300;
}

.nav{
  display: flex;
  align-items: center;
}
.nav a{
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
}
.nav a:hover{
  color: var(--graphql-pink);
}
.nav a::after{
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--graphql-pink);
  transition: width 0.3s ease;
}
.nav a:hover::after{
  width: 100%;
}
#theme-toggle{
  background: transparent;
  border: 1px solid rgba(225, 0, 152, 0.3);
  color: var(--text-muted);
  padding: .4rem .6rem;
  border-radius: 8px;
  margin-left: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
#theme-toggle:hover{
  border-color: var(--graphql-pink);
  color: var(--graphql-pink);
  transform: scale(1.05);
}

.hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(135deg, rgba(225, 0, 152, 0.05) 0%, rgba(102, 51, 153, 0.05) 100%);
}

.hero-background{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-shape{
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.hero-shape-1{
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--graphql-pink) 0%, transparent 70%);
  top: -20%;
  right: -10%;
  animation-delay: 0s;
}

.hero-shape-2{
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--graphql-purple) 0%, transparent 70%);
  bottom: -15%;
  left: -5%;
  animation-delay: 5s;
}

.hero-shape-3{
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--graphql-purple-light) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.9); }
  75% { transform: translate(20px, 30px) scale(1.05); }
}

.hero-content{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 350px;
  align-items: center;
  gap: 4rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero-label{
  display: inline-block;
  background: linear-gradient(135deg, rgba(225, 0, 152, 0.2) 0%, rgba(102, 51, 153, 0.2) 100%);
  color: var(--graphql-pink);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(225, 0, 152, 0.3);
}

.hero-left h2{
  margin: 0 0 1.5rem 0;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-left h2 .highlight{
  background: linear-gradient(135deg, var(--graphql-pink) 0%, var(--graphql-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead{
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 300;
}

.hero-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(225, 0, 152, 0.1);
  border-bottom: 1px solid rgba(225, 0, 152, 0.1);
}

.stat-item{
  text-align: center;
}

.stat-number{
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--graphql-pink) 0%, var(--graphql-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label{
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.hero-buttons{
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn{
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary{
  background: var(--graphql-pink);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(225, 0, 152, 0.3);
}

.btn-primary:hover{
  background: #C6007D;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(225, 0, 152, 0.4);
}

.btn-ghost{
  background: transparent;
  border: 2px solid var(--graphql-pink);
  color: var(--graphql-pink);
  box-shadow: none;
}

.btn-ghost:hover{
  background: rgba(225, 0, 152, 0.1);
  border-color: var(--graphql-purple-light);
  color: var(--graphql-purple-light);
  transform: translateY(-2px);
}

.hero-right{
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-wrapper{
  position: relative;
  width: 280px;
  height: 280px;
}

.avatar-glow{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--graphql-pink) 0%, var(--graphql-purple) 100%);
  border-radius: 30px;
  opacity: 0.3;
  filter: blur(40px);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

.avatar{
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--graphql-pink) 0%, var(--graphql-purple) 100%);
  font-weight: 700;
  color: #FFFFFF;
  font-size: 3rem;
  box-shadow: 0 20px 60px rgba(225, 0, 152, 0.4);
  border: 4px solid rgba(225, 0, 152, 0.3);
  transition: all 0.3s ease;
}

.avatar:hover{
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 25px 70px rgba(225, 0, 152, 0.5);
}

.scroll-indicator{
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.mouse{
  width: 26px;
  height: 40px;
  border: 2px solid var(--graphql-pink);
  border-radius: 15px;
  position: relative;
}

.wheel{
  width: 4px;
  height: 8px;
  background: var(--graphql-pink);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

.card{
  background: var(--dark-bg-secondary);
  padding: 2rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  border: 1px solid rgba(225, 0, 152, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.card:hover{
  border-color: rgba(225, 0, 152, 0.3);
  box-shadow: 0 8px 30px rgba(225, 0, 152, 0.2);
  transform: translateY(-2px);
}
.card h3{
  color: var(--text-primary);
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
}
.card h4{
  color: var(--text-primary);
  font-weight: 600;
}
.card a{
  color: var(--graphql-pink);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}
.card a:hover{
  color: var(--graphql-purple-light);
  text-decoration: underline;
}
.muted{
  color: var(--text-muted);
  font-size: .95rem;
  margin-top: 0;
  font-weight: 300;
}

.exp-list{
  display: grid;
  gap: 1.5rem;
}
.exp-item{
  position: relative;
  overflow: hidden;
}
.exp-item::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--graphql-pink) 0%, var(--graphql-purple) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.exp-item:hover::before{
  opacity: 1;
}
.exp-item h4{
  margin: .25rem 0;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.projects-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.project{
  background: rgba(225, 0, 152, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(225, 0, 152, 0.1);
  transition: all 0.3s ease;
}
.project:hover{
  background: rgba(225, 0, 152, 0.1);
  border-color: rgba(225, 0, 152, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(225, 0, 152, 0.2);
}
.project h4{
  color: var(--text-primary);
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.project p{
  color: var(--text-muted);
  line-height: 1.7;
}
.project a{
  color: var(--graphql-pink);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.project a:hover{
  color: var(--graphql-purple-light);
  text-decoration: underline;
}

.skills{
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.skills li{
  background: linear-gradient(135deg, rgba(225, 0, 152, 0.1) 0%, rgba(102, 51, 153, 0.1) 100%);
  padding: .75rem 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid rgba(225, 0, 152, 0.2);
  transition: all 0.3s ease;
}
.skills li:hover{
  background: linear-gradient(135deg, rgba(225, 0, 152, 0.2) 0%, rgba(102, 51, 153, 0.2) 100%);
  border-color: var(--graphql-pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(225, 0, 152, 0.3);
}
.contact-list{
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
  color: var(--text-muted);
}
.contact-list li{
  padding: .5rem 0;
  border-bottom: 1px solid rgba(225, 0, 152, 0.1);
}
.contact-list li:last-child{
  border-bottom: none;
}
.contact-list a{
  color: var(--graphql-pink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.contact-list a:hover{
  color: var(--graphql-purple-light);
  text-decoration: underline;
}

.site-footer{
  padding: 2rem 0;
  color: var(--text-muted);
  border-top: 1px solid rgba(225, 0, 152, 0.2);
  margin-top: 4rem;
  text-align: center;
  background: var(--dark-bg-secondary);
}
.site-footer p{
  margin: 0;
  font-weight: 300;
}

/* Section Spacing and Headers */
.section-spacing{
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.section-header{
  margin-bottom: 2rem;
  text-align: center;
}

.section-header h3{
  color: var(--text-primary);
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  position: relative;
  display: inline-block;
}

.section-line{
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--graphql-pink) 0%, var(--graphql-purple) 100%);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.section-line::after{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--graphql-pink);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(225, 0, 152, 0.5);
}

main > section > h3{
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Light mode support */
body.lightmode{
  background: #FFFFFF;
  color: #1A1A1A;
}
body.lightmode .site-header{
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(225, 0, 152, 0.2);
}
body.lightmode .card{
  background: #F5F5F5;
  border-color: rgba(225, 0, 152, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
body.lightmode .card p{
  color: #333333;
}
body.lightmode .hero{
  background: linear-gradient(135deg, rgba(225, 0, 152, 0.05) 0%, rgba(102, 51, 153, 0.05) 100%);
}
body.lightmode .brand h1,
body.lightmode .card h3,
body.lightmode .card h4,
body.lightmode main > section > h3,
body.lightmode .section-header h3{
  color: #1A1A1A;
}
body.lightmode .nav a,
body.lightmode .tagline,
body.lightmode .muted,
body.lightmode .lead{
  color: #555555;
}
body.lightmode .hero-label{
  color: var(--graphql-pink);
  background: linear-gradient(135deg, rgba(225, 0, 152, 0.15) 0%, rgba(102, 51, 153, 0.15) 100%);
  border-color: rgba(225, 0, 152, 0.4);
}
body.lightmode .stat-label{
  color: #555555;
}
body.lightmode .project{
  background: rgba(225, 0, 152, 0.08);
}
body.lightmode .project p{
  color: #333333;
}

/* Responsive */
@media (max-width:760px){
  .hero{
    min-height: auto;
    padding: 4rem 0;
  }
  
  .hero-content{
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem;
  }
  
  .hero-left h2{
    font-size: 2rem;
  }
  
  .hero-stats{
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .stat-number{
    font-size: 1.8rem;
  }
  
  .stat-label{
    font-size: 0.8rem;
  }
  
  .hero-buttons{
    flex-direction: column;
  }
  
  .btn{
    width: 100%;
    text-align: center;
  }
  
  .hero-right{
    order: -1;
  }
  
  .avatar-wrapper{
    width: 200px;
    height: 200px;
  }
  
  .avatar{
    width: 200px;
    height: 200px;
    font-size: 2rem;
    border-radius: 20px;
  }
  
  .hero-shape{
    filter: blur(60px);
  }
  
  .hero-shape-1{
    width: 300px;
    height: 300px;
  }
  
  .hero-shape-2{
    width: 250px;
    height: 250px;
  }
  
  .hero-shape-3{
    display: none;
  }
  
  .site-header{
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .header-inner{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
  }
  
  .brand h1{
    font-size: 0.9rem;
  }
  
  .tagline{
    display: none;
  }
  
  .nav{
    display: flex;
    flex-wrap: nowrap;
    gap: .3rem;
    justify-content: flex-end;
    align-items: center;
  }
  .nav a{
    margin-left: .5rem;
    font-size: 0.85rem;
  }
  .nav a::after{
    display: none;
  }
  #theme-toggle{
    padding: .3rem .4rem;
    margin-left: .5rem;
    font-size: 0.9rem;
  }
  .card{
    padding: 1.5rem;
  }
  .skills{
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  
  .section-header h3{
    font-size: 2rem;
  }
  
  .section-spacing{
    margin-top: 3rem;
    margin-bottom: 2rem;
  }
}