/* ==================== HOME PAGE STYLES ==================== */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 50px;
  background: radial-gradient(ellipse at center, rgba(123, 47, 247, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(0, 217, 255, 0.15) 0%, transparent 70%),
    var(--space-bg);
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-text {
  animation: slideInLeft 1s ease;
}

.greeting {
  display: block;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.name-highlight {
  display: block;
  background: linear-gradient(45deg, #00d9ff, #00ff88, #7b2ff7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s infinite linear;
  background-size: 200% auto;
  filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5));
}

.typing-container {
  min-height: 60px;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 2rem;
  color: white;
  font-weight: 600;
}

.typing-text {
  display: inline-block;
}

.cursor {
  display: inline-block;
  animation: blink 1s infinite;
  color: white;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-buttons .btn {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--glow-sm);
}

.hero-buttons .btn-secondary {
  background: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.hero-buttons .btn-secondary:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
  box-shadow: var(--glow-md);
}

.social-links {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.7s both;
}

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: all var(--transition-speed) ease;
  border: 2px solid rgba(0, 217, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.2);
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-5px);
  box-shadow: var(--glow-md);
  border-color: var(--primary-color);
}

/* Hero Image */
.hero-image {
  animation: slideInRight 1s ease;
}

.image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.profile-placeholder {
  width: 350px;
  height: 350px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(123, 47, 247, 0.3));
  backdrop-filter: blur(10px);
  border: 3px solid rgba(0, 217, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: rgba(0, 217, 255, 0.8);
  position: relative;
  overflow: hidden;
  animation: float 3s ease-in-out infinite;
  box-shadow:
    0 0 30px rgba(0, 217, 255, 0.4),
    0 0 60px rgba(123, 47, 247, 0.3),
    inset 0 0 30px rgba(0, 217, 255, 0.1);
}

.profile-placeholder .profile-pic {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 50%;
}

.glow-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  animation: rotate 10s linear infinite;
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.icon-wrapper {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(26, 31, 58, 0.9);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 217, 255, 0.3);
  animation: float 3s ease-in-out infinite;
  border: 1px solid rgba(0, 217, 255, 0.3);
}

.icon-1 {
  top: 10%;
  left: 0;
  animation-delay: 0s;
}

.icon-2 {
  top: 20%;
  right: 5%;
  animation-delay: 0.5s;
}

.icon-3 {
  bottom: 30%;
  left: -5%;
  animation-delay: 1s;
}

.icon-4 {
  bottom: 20%;
  right: 0;
  animation-delay: 1.5s;
}

.icon-5 {
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeIn 2s ease;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 6px;
  height: 10px;
  background: white;
  border-radius: 3px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {

  0%,
  20% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
}

.arrow {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.arrow span {
  width: 15px;
  height: 2px;
  background: white;
  display: block;
  animation: arrowMove 1.5s infinite;
}

.arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes arrowMove {

  0%,
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }

  50% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats Section */
.stats-section {
  padding: 4rem 0;
  background: rgba(10, 14, 39, 0.5);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 217, 255, 0.1);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) ease;
  border: 2px solid rgba(0, 217, 255, 0.1);
  backdrop-filter: blur(10px);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-md);
  border-color: var(--primary-color);
  background: rgba(26, 31, 58, 0.9);
}

.stat-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all var(--transition-speed) ease;
}

.stat-card:hover .stat-icon {
  transform: rotateY(360deg);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    gap: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .profile-placeholder {
    width: 350px;
    height: 350px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-links {
    justify-content: center;
  }

  .profile-placeholder {
    width: 300px;
    height: 300px;
    font-size: 6rem;
  }

  .icon-wrapper {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 0 30px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .greeting {
    font-size: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .profile-placeholder {
    width: 250px;
    height: 250px;
    font-size: 5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
