*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Poppins;
background:#0f172a;
color:white;
overflow-x:hidden;
}

#particles{
position:fixed;
width:100%;
height:100%;
background:
radial-gradient(white 1px, transparent 1px);
background-size:40px 40px;
opacity:0.15;
z-index:-1;
}

.hero{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:40px 20px;
}

.hero h1{
font-size:clamp(32px,6vw,64px);
color:#38bdf8;
margin:20px 0;
line-height:1.1;
}

.hero h1{
text-shadow:0 0 20px rgba(56,189,248,0.6);
}

.typing{
font-size:22px;
color:#a78bfa;
height:30px;
}

button{
margin-top:30px;
padding:14px 30px;
border:none;
border-radius:30px;
background:#38bdf8;
color:white;
font-size:16px;
cursor:pointer;
transition:0.3s;
}

button:hover{
  box-shadow: 0 0 15px #38bdf8, 0 0 30px #38bdf8;
  transform: scale(1.1);
}

.terminal{
font-family:JetBrains Mono;
color:#94a3b8;
margin-bottom:20px;
}

.story p{
text-align:left;
line-height:1.9;
margin-bottom:22px;
font-size:16px;
color:#cbd5f5;
}

.section{
padding:120px 10%;
text-align:center;
}

section{
padding:100px 20px;
}

.section h2{
margin-bottom:40px;
color:#38bdf8;
}

.cards{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:30px;
}

.card{
background:rgba(255,255,255,0.05);
padding:30px;
width:280px;
border-radius:20px;
backdrop-filter:blur(12px);
transition:0.4s;
}

.card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,0.6);
}

footer{
padding:50px;
text-align:center;
background:#020617;
color:#94a3b8;
}

.reveal{
opacity:0;
transform:translateY(40px);
transition:all 1s ease;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}

.story{
  max-width:850px;
  margin:auto;
  padding:70px 20px; /* jarak lebih kecil */
}

.subtitle{
color:#94a3b8;
margin-top:-10px;
margin-bottom:20px;
}

.profile{
width:clamp(150px,25vw,220px);
height:auto;
aspect-ratio:3/4;
object-fit:cover;
border-radius:12px;
border:3px solid #38bdf8;
box-shadow:0 0 20px rgba(56,189,248,0.4);
animation: glow 2s infinite alternate;
margin-top:20px;
}

.profile:hover{
  transform: scale(1.05);
  transition: 0.3s;
}

.profile{
margin-top:20px;
}

.hero .hero-content{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap; /* supaya responsive di mobile */
  gap:50px;
}

.hero-text{
  max-width:500px;
  text-align:left;
}

.hero .profile{
  opacity:0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.hero .profile.active{
  opacity:1;
  transform: translateY(0);
}

@media screen and (max-width:768px){
  .hero .hero-content{
    flex-direction:column;
    gap:30px;
  }
  
  .hero-text{
    text-align:center;
  }
}

.highlight{
  color:#38bdf8;
  font-weight:600;
}

.story h2{
  color:#38bdf8;
  margin-bottom:40px;
  position:relative;
}

.story h2::after{
  content:"";
  position:absolute;
  width:50px;
  height:4px;
  background:#a78bfa;
  left:0;
  bottom:-10px;
  border-radius:2px;
  box-shadow:0 0 10px #a78bfa;
}

/* Highlight keyword */
.highlight{
  color: #38bdf8;
  font-weight:600;
  text-shadow: 0 0 8px #38bdf8;
}

/* Neon glow for profile image */
.profile{
  width:200px;
  height:280px; /* portrait */
  object-fit:cover;
  border-radius:10px;
  border:3px solid #38bdf8;
  box-shadow:0 0 20px rgba(56,189,248,0.4);
  animation: glow 2s infinite alternate;
  margin-top:20px;
}

@keyframes glow {
  0% { box-shadow: 0 0 15px rgba(56,189,248,0.4); }
  100% { box-shadow: 0 0 30px rgba(56,189,248,0.8); }
}

/* Neon glow for button */
button{
  margin-top:30px;
  padding:14px 30px;
  border:none;
  border-radius:30px;
  background:#38bdf8;
  color:white;
  font-size:16px;
  cursor:pointer;
  transition:0.3s;
  box-shadow: 0 0 10px #38bdf8;
}

button:hover{
  transform:scale(1.1);
  box-shadow: 0 0 15px #38bdf8, 0 0 30px #38bdf8;
}

.contact{
  max-width:850px;
  margin:auto;
  padding:60px 20px;
  text-align:center;
}

.contact h2{
  color:#38bdf8;
  margin-bottom:20px;
  position:relative;
}

.contact h2::after{
  content:"";
  position:absolute;
  width:50px;
  height:4px;
  background:#a78bfa;
  left:50%;
  transform:translateX(-50%);
  bottom:-10px;
  border-radius:2px;
  box-shadow:0 0 10px #a78bfa;
}

.container{
max-width:1100px;
margin:auto;
padding:0 20px;
}

@media (max-width:768px){

.hero .hero-content{
flex-direction:column;
gap:30px;
}

.hero-text{
text-align:center;
}

.typing{
font-size:18px;
}

button{
padding:12px 24px;
font-size:14px;
}

.story{
padding:60px 20px;
}

}

html{
scroll-behavior:smooth;
}