@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #e2e8f0;
  line-height: 1.6;
  position: relative;
  background: linear-gradient(135deg, #070a13, #0f172a, #111827);
  background-size: 300% 300%;
  animation: gradientMove 12s ease infinite;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Hero Section dengan Efek 3D */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-bottom: 3px solid #dc2626;
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Styling Foto 3D dengan Efek Lingkaran Bersinar */
.profile-img-container {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #dc2626, #38bdf8);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4), 
              inset 0 5px 15px rgba(255, 255, 255, 0.2);
  transition: transform 0.4s ease;
}

.profile-img-container:hover {
  transform: scale(1.05) translateY(-5px);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #0f172a;
}

.hero-text h1 {
  font-size: 2.4rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 0.3rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.subtitle {
  color: #38bdf8;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.bio {
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto 1.5rem auto;
  font-size: 0.95rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.5);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(220, 38, 38, 0.7);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-3px);
}

/* Main Layout (Grid) */
.main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .main-layout {
    grid-template-columns: 360px 1fr;
  }
}

/* Efek Kartu 3D (Neumorphism & Glassmorphism Depth) */
.card-3d {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.75rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-3d:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7),
              0 0 20px rgba(56, 189, 248, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(56, 189, 248, 0.3);
}

.card-3d h3 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.7rem;
}

.card-3d h3 i {
  color: #dc2626;
  filter: drop-shadow(0 2px 4px rgba(220, 38, 38, 0.4));
}

/* Lists */
.info-list {
  list-style: none;
  font-size: 0.9rem;
}

.info-list li {
  margin-bottom: 0.7rem;
  color: #94a3b8;
}

.info-list strong {
  color: #f1f5f9;
  display: inline-block;
  width: 135px;
}

.dot-list {
  list-style-type: disc;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.dot-list li {
  margin-bottom: 0.6rem;
}

/* Timeline (Pengalaman) */
.timeline-item {
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid #dc2626;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item h4 {
  font-size: 1rem;
  color: #f8fafc;
  font-weight: 700;
}

.year {
  font-size: 0.82rem;
  color: #38bdf8;
  display: inline-block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.timeline-item p {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* Footer Quote */
footer {
  background: #04060b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0;
  text-align: center;
}

.quote-box {
  color: #94a3b8;
  font-style: italic;
}

.quote-box i {
  color: #dc2626;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.quote-box p {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: #f8fafc;
  font-weight: 500;
}

.quote-box small {
  font-style: normal;
  color: #64748b;
  font-size: 0.85rem;
}

/* --- Animasi Latar Belakang Bergerak --- */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Efek Cahaya Bergerak di Belakang */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(220, 38, 38, 0.05) 30%, transparent 70%);
  animation: rotateLight 20s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes rotateLight {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
