/* ===== HOME PAGE STYLES - ENHANCED ===== */

/* Animated Particles Background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particles::before,
.particles::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  animation: particleFloat 20s infinite ease-in-out;
}

.particles::before {
  background: rgba(0, 229, 204, 0.1);
  top: 10%;
  left: 10%;
}

.particles::after {
  background: rgba(255, 107, 122, 0.05);
  bottom: 10%;
  right: 10%;
  animation-delay: -10s;
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(0, 229, 204, 0.12) 0%, transparent 60%);
  filter: blur(80px);
  animation: heroGlow 10s ease-in-out infinite alternate;
}

.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(255, 107, 122, 0.08) 0%, transparent 60%);
  filter: blur(60px);
  animation: heroGlow 8s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  100% { transform: translate(-3%, 5%) scale(1.1); opacity: 0.8; }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(0, 229, 204, 0.1);
  border: 1px solid rgba(0, 229, 204, 0.3);
  border-radius: 50px;
  margin-bottom: 30px;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 204, 0.2); }
  50% { box-shadow: 0 0 20px 5px rgba(0, 229, 204, 0.1); }
}

.badge-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px var(--accent-success);
}

.hero-badge span:last-child {
  font-size: 0.9rem;
  color: var(--accent-success);
  font-weight: 500;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-greeting {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent-primary);
  margin-bottom: 10px;
  font-weight: 400;
  letter-spacing: 1px;
}

.hero-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #00e5cc 50%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
  background-size: 200% 100%;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.role-item {
  font-weight: 500;
}

.role-item.highlight {
  color: var(--accent-primary);
  font-weight: 600;
  padding: 4px 12px;
  background: rgba(0, 229, 204, 0.1);
  border-radius: 20px;
}

.role-divider {
  color: var(--accent-primary);
  opacity: 0.5;
  display: flex;
  align-items: center;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-socials {
  display: flex;
  gap: 12px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 360px;
  height: 360px;
}

.hero-image-glow {
  position: absolute;
  inset: -25px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(50px);
  animation: heroImageGlow 5s ease-in-out infinite alternate;
}

@keyframes heroImageGlow {
  0% { opacity: 0.2; transform: scale(0.95); }
  100% { opacity: 0.35; transform: scale(1.08); }
}

.hero-image-border {
  position: absolute;
  inset: -4px;
  background: var(--gradient-primary);
  border-radius: 50%;
  animation: rotateBorder 12s linear infinite;
}

.hero-image-border::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--bg-primary);
  border-radius: 50%;
}

@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  border: 6px solid var(--bg-primary);
  z-index: 2;
}

.hero-image-placeholder {
  position: absolute;
  inset: 6px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-image-placeholder span {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Floating Tech Badges */
.floating-badge {
  position: absolute;
  width: 56px;
  height: 56px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 229, 204, 0.1);
  z-index: 10;
  transition: var(--transition-fast);
}

.floating-badge:hover {
  border-color: var(--accent-primary);
  transform: scale(1.1) !important;
  box-shadow: 0 10px 40px rgba(0, 229, 204, 0.3);
}

.floating-badge i {
  font-size: 28px;
}

.badge-1 { top: 10%; left: -8%; }
.badge-2 { top: -5%; right: 12%; }
.badge-3 { bottom: 18%; left: -12%; }
.badge-4 { bottom: 5%; right: 5%; }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 1; }
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent-primary);
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-item:hover {
  border-color: var(--accent-primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 229, 204, 0.15);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent-primary);
}

.stat-icon svg {
  width: 32px;
  height: 32px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Focus Section (Bachelor's Degree) */
.focus-section {
  padding: 40px 0 80px;
}

.focus-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(0, 229, 204, 0.08) 0%, rgba(0, 180, 216, 0.05) 100%);
  border: 1px solid rgba(0, 229, 204, 0.2);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.focus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 204, 0.05), transparent);
  animation: focusSweep 3s ease-in-out infinite;
}

@keyframes focusSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.focus-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.focus-icon svg {
  width: 32px;
  height: 32px;
  color: var(--bg-primary);
}

.focus-content {
  flex: 1;
}

.focus-label {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 229, 204, 0.15);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.focus-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.focus-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.focus-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.focus-badge svg {
  width: 20px;
  height: 20px;
}

/* Tech Preview Section */
.tech-preview-section {
  background: var(--bg-primary);
}

.tech-showcase {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 50px;
}

.tech-category {
  text-align: center;
}

.tech-category-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.tech-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.tech-cta {
  text-align: center;
}

/* Projects Preview */
.projects-preview-section {
  background: var(--bg-secondary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-medium);
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 229, 204, 0.15);
}

.project-image {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-placeholder {
  color: var(--accent-primary);
  opacity: 0.25;
  transition: var(--transition-medium);
}

.project-card:hover .project-placeholder {
  opacity: 0.4;
  transform: scale(1.1);
}

.project-placeholder svg {
  width: 56px;
  height: 56px;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 20, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: var(--transition-medium);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  width: 48px;
  height: 48px;
  background: var(--accent-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  transition: var(--transition-fast);
  transform: translateY(20px);
}

.project-card:hover .project-link {
  transform: translateY(0);
}

.project-link:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 0 25px rgba(0, 229, 204, 0.5);
}

.project-link svg {
  width: 22px;
  height: 22px;
}

.project-content {
  padding: 24px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.project-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.projects-cta {
  text-align: center;
}

/* CTA Section */
.cta-section {
  background: var(--bg-primary);
  padding: 100px 0;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 229, 204, 0.08) 0%, rgba(0, 180, 216, 0.05) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 32px;
  padding: 80px;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 229, 204, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-card h2 {
  margin-bottom: 20px;
}

.cta-card .text-lg {
  max-width: 550px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Footer Enhancements */
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-image-wrapper { width: 280px; height: 280px; }
  .projects-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 50px 30px; }
  .focus-card { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .hero { padding-top: calc(var(--nav-height) + 20px); }
  .hero-image-wrapper { width: 240px; height: 240px; }
  .floating-badge { width: 48px; height: 48px; }
  .floating-badge i { font-size: 22px; }
  .scroll-indicator { display: none; }
  .hero-roles { flex-direction: column; gap: 8px; }
  .role-divider { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item { padding: 24px 16px; }
  .stat-number { font-size: 2.2rem; }
}
