/* ===== PROFESSIONAL HERO SECTION REDESIGN ===== */

/* Hero Section Container - Perfect Centering */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 40px;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 50%, var(--primary-700) 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Hero Content - Perfect Centering */
.hero-content {
  text-align: center;
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-500);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge i {
  font-size: 0.5rem;
  color: #00ff88;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-500) 0%, #667eea 50%, var(--accent-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-300);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-300);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.highlight-tech {
  background: linear-gradient(135deg, var(--accent-500), #667eea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

/* Hero Visual - Perfect Centering */
.hero-visual {
  order: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.hero-image-container-modern {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid var(--accent-500);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-frame:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 212, 255, 0.4);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.1);
}

.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  animation: rotate 20s linear infinite;
}

.orbit-dot {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-500);
  backdrop-filter: var(--glass-blur);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.orbit-dot:hover {
  transform: scale(1.2);
  background: var(--accent-500);
  color: var(--primary-900);
  box-shadow: 0 0 30px var(--accent-500);
}

.orbit-dot.o1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.orbit-dot.o2 { top: 20%; right: 10%; animation-delay: 0.6s; }
.orbit-dot.o3 { bottom: 20%; right: 10%; animation-delay: 1.2s; }
.orbit-dot.o4 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 1.8s; }
.orbit-dot.o5 { bottom: 20%; left: 10%; animation-delay: 2.4s; }

.hero-status-indicator {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-500);
}

.status-light {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Tech Showcase */
.hero-tech-showcase {
  margin-top: 10rem;
}

.tech-showcase-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-400);
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tech-showcase-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-left: 29rem; /* Geser ke kanan */
}

.tech-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-icon-item:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
  border-color: var(--accent-500);
}

.tech-icon-item i {
  font-size: 2.5rem;
  color: var(--accent-500);
  transition: transform 0.3s ease;
}

.tech-icon-item:hover i {
  transform: scale(1.2);
}

.tech-icon-item span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-300);
}

/* Animations */
@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

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

/* Responsive Design */
@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  
  .hero-content {
    text-align: left;
    order: 1;
  }
  
  .hero-visual {
    order: 2;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-description {
    margin-left: 0;
    margin-right: 0;
  }
  
  .hero-actions {
    flex-direction: row;
  }
  
  .hero-image-container-modern {
    width: 320px;
    height: 320px;
  }
  
  .tech-showcase-icons {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-image-container-modern {
    width: 360px;
    height: 360px;
  }
  
  .hero-container {
    gap: 6rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-image-container-modern {
    width: 400px;
    height: 400px;
  }
}

/* Mobile Optimization - Comprehensive Breakpoints */

/* Small Mobile (320px - 374px) */
@media (max-width: 374px) {
  .hero-section {
    padding: 60px 0 30px;
    min-height: 90vh;
  }
  
  .hero-container {
    padding: 0 0.75rem;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-image-container-modern {
    width: 200px;
    height: 200px;
  }
  
  .orbit-dot {
    width: 35px;
    height: 35px;
    font-size: 0.875rem;
  }
  
  .hero-status-indicator {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    bottom: -15px;
  }
  
  .tech-showcase-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .tech-icon-item {
    padding: 0.75rem 0.25rem;
  }
  
  .tech-icon-item i {
    font-size: 1.25rem;
  }
  
  .tech-icon-item span {
    font-size: 0.7rem;
  }
  
  .hero-actions {
    gap: 0.75rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* Standard Mobile (375px - 480px) */
@media (max-width: 480px) {
  .hero-section {
    padding: 70px 0 35px;
    min-height: 95vh;
  }
  
  .hero-container {
    padding: 0 1rem;
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }
  
  .hero-image-container-modern {
    width: 240px;
    height: 240px;
  }
  
  .orbit-dot {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .hero-status-indicator {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
    bottom: -18px;
  }
  
  .tech-showcase-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  
  .tech-icon-item {
    padding: 0.85rem 0.35rem;
  }
  
  .tech-icon-item i {
    font-size: 1.35rem;
  }
  
  .tech-icon-item span {
    font-size: 0.75rem;
  }
}

/* Large Mobile (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-image-container-modern {
    width: 280px;
    height: 280px;
  }
  
  .tech-showcase-icons {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Landscape Orientation */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 40px 0 20px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-content {
    order: 2;
    text-align: center;
  }
  
  .hero-visual {
    order: 1;
  }
  
  .hero-image-container-modern {
    width: 180px;
    height: 180px;
  }
  
  .orbit-dot {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-description {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .tech-showcase-icons {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .tech-icon-item {
    padding: 0.5rem 0.25rem;
  }
  
  .tech-icon-item i {
    font-size: 1rem;
  }
  
  .tech-icon-item span {
    font-size: 0.6rem;
  }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
  .hero-image-frame:hover,
  .orbit-dot:hover,
  .tech-icon-item:hover {
    transform: none;
  }
  
  .hero-image-frame:active,
  .orbit-dot:active,
  .tech-icon-item:active {
    transform: scale(0.95);
  }
  
  .hero-image-frame img:hover {
    transform: none;
  }
}

/* Performance Optimization */
.hero-image-frame img {
  will-change: transform;
}

.orbit-dot {
  will-change: transform;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero-orbit,
  .orbit-dot,
  .hero-image-frame,
  .hero-badge i,
  .status-light {
    animation: none;
  }
  
  .hero-image-frame:hover {
    transform: none;
  }
}