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

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 90px 2rem 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}
.hero-glow-1 { width: 500px; height: 500px; background: rgba(99,102,241,0.2); top: -100px; right: -50px; }
.hero-glow-2 { width: 350px; height: 350px; background: rgba(34,211,238,0.15); bottom: 0; left: -80px; }
.hero-glow-3 { width: 250px; height: 250px; background: rgba(168,85,247,0.12); top: 40%; left: 40%; }

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cyan);
  border: 1px solid rgba(34,211,238,0.3);
  background: rgba(34,211,238,0.08);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-heading {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  min-height: 2.5em;
}

.cursor {
  display: inline-block;
  animation: blink 1s infinite;
  color: var(--indigo-light);
  font-weight: 300;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.hero-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}
.hero-socials a::after {
  content: attr(data-title);
  position: absolute;
  top: -30px;
  background: rgba(6,6,15,0.9);
  color: var(--text-primary);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-glass);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  box-shadow: var(--shadow-card);
}
.hero-socials a:hover {
  border-color: var(--indigo);
  color: var(--indigo-light);
  background: rgba(99,102,241,0.1);
  transform: translateY(-3px);
}
.hero-socials a:hover::after {
  opacity: 1;
  visibility: visible;
  top: -38px;
}

/* Photo */
.hero-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-ring {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  padding: 4px;
  background: var(--grad-primary);
  animation: spin-ring 8s linear infinite;
  box-shadow: var(--shadow-glow), 0 0 80px rgba(34,211,238,0.15);
}
@keyframes spin-ring {
  0% { box-shadow: var(--shadow-glow), 0 0 80px rgba(34,211,238,0.15); }
  50% { box-shadow: 0 0 60px rgba(168,85,247,0.3), 0 0 100px rgba(34,211,238,0.2); }
  100% { box-shadow: var(--shadow-glow), 0 0 80px rgba(34,211,238,0.15); }
}

.hero-photo-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-secondary);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* === STATS === */
.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}
.stat-card:hover {
  border-color: rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.06);
}

.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* === SKILLS GRID === */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.skill-card { padding: 2rem; }
.skill-icon { font-size: 2rem; margin-bottom: 1rem; }
.skill-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* === TESTIMONIALS === */
.testimonials-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.testimonial-slide {
  display: none;
  animation: slide-in 0.5s ease;
}
.testimonial-slide.active { display: block; }

@keyframes slide-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonial-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem;
}

.testimonial-quote {
  font-size: 4rem;
  line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.testimonial-text strong { color: var(--text-primary); }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--indigo);
}
.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.carousel-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover {
  border-color: var(--indigo);
  color: var(--indigo-light);
  background: rgba(99,102,241,0.1);
}

.testimonial-dots { display: flex; gap: 0.5rem; }
.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.testimonial-dot.active {
  background: var(--indigo);
  width: 24px;
  border-radius: 4px;
}

/* === HIGHLIGHTS === */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.highlight-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.highlight-card:hover { transform: translateY(-6px); }

.highlight-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.highlight-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.highlight-card:hover .highlight-img-wrap img { transform: scale(1.05); }

.highlight-type {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  background: rgba(6,6,15,0.85);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.highlight-card h3 {
  font-size: 1rem;
  margin: 0 1.5rem 0.5rem;
  padding-top: 1.25rem;
  color: var(--text-primary);
  line-height: 1.4;
}
.highlight-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 1.5rem 1rem;
}
.highlight-link {
  display: block;
  margin: 0 1.5rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--indigo-light);
  transition: var(--transition);
}
.highlight-card:hover .highlight-link { color: var(--cyan); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-photo-wrap { order: -1; }
  .hero-photo-ring { width: 280px; height: 280px; }
  .hero-desc, .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-socials { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 100px 1.25rem 50px; min-height: auto; }
  .skills-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .hero-photo-ring { width: 220px; height: 220px; }
}
