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

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

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

/* Content */
.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-badge { display: flex; }

.hero-greeting {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  position: relative;
}

/* Glitch */
.glitch {
  color: var(--text-primary);
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}
.glitch::before {
  animation: glitch1 4s infinite;
  color: var(--neon-blue);
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  transform: translateX(2px);
  opacity: 0;
}
.glitch::after {
  animation: glitch2 4s infinite;
  color: var(--neon-purple);
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  transform: translateX(-2px);
  opacity: 0;
}

@keyframes glitch1 {
  0%, 90%, 100% { opacity: 0; transform: translateX(0); }
  92% { opacity: 0.8; transform: translateX(-3px) skewX(2deg); }
  94% { opacity: 0.8; transform: translateX(3px); }
  96% { opacity: 0; }
}
@keyframes glitch2 {
  0%, 88%, 100% { opacity: 0; transform: translateX(0); }
  90% { opacity: 0.8; transform: translateX(3px) skewX(-2deg); }
  92% { opacity: 0.8; transform: translateX(-3px); }
  94% { opacity: 0; }
}

.hero-roles {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 500;
}

.role-prefix { color: var(--text-muted); }

.typewriter {
  min-width: 200px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.cursor-blink {
  color: var(--neon-blue);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

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

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  width: fit-content;
}

.hero-stat { text-align: center; }

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat span { 
  font-family: var(--font-heading);
  font-size: 1.2rem; 
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Hero Social */
.hero-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* ── HERO VISUAL ── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 500px;
}

.hero-avatar-ring {
  position: relative;
  width: 280px; height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar-outer {
  width: 280px; height: 280px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--neon-blue), var(--neon-purple), var(--neon-cyan), var(--neon-blue));
  padding: 3px;
  animation: rotate 8s linear infinite;
}

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

.hero-avatar-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar-icon {
  font-size: 5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Orbiting icons */
.orbit {
  position: absolute;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
}

.orbit-1 { animation: orbit1 10s linear infinite; }
.orbit-2 { animation: orbit2 12s linear infinite; }
.orbit-3 { animation: orbit3 9s linear infinite; }
.orbit-4 { animation: orbit4 14s linear infinite; }

@keyframes orbit1 {
  from { transform: rotate(0deg) translateX(160px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(160px) rotate(-360deg); }
}
@keyframes orbit2 {
  from { transform: rotate(90deg) translateX(180px) rotate(-90deg); }
  to { transform: rotate(450deg) translateX(180px) rotate(-450deg); }
}
@keyframes orbit3 {
  from { transform: rotate(180deg) translateX(155px) rotate(-180deg); }
  to { transform: rotate(540deg) translateX(155px) rotate(-540deg); }
}
@keyframes orbit4 {
  from { transform: rotate(270deg) translateX(170px) rotate(-270deg); }
  to { transform: rotate(630deg) translateX(170px) rotate(-630deg); }
}

.orbit-icon {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  cursor: default;
}

/* Floating cards */
.hero-float-card {
  position: absolute;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 150px;
  backdrop-filter: blur(20px);
  animation: cardFloat 4s ease-in-out infinite;
}

.float-card-1 { bottom: 80px; left: -30px; animation-delay: 0s; }
.float-card-2 { top: 80px; right: -20px; animation-delay: 2s; }

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

.float-card-icon { font-size: 1.5rem; }

.float-card-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.float-card-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--neon-blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.8); }
}

/* ── IDENTITY CARDS ── */
.identity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.identity-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: default;
}

.identity-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.identity-icon {
  width: 55px; height: 55px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.identity-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.identity-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  flex: 1;
}

.identity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.identity-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-blue);
  margin-top: 0.5rem;
  transition: var(--transition);
}

.identity-link:hover { gap: 0.8rem; }

/* ── FEATURED WORK ── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.featured-card { overflow: hidden; }

.featured-card-img {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.featured-card:hover .featured-overlay { opacity: 1; }
.featured-card:hover .featured-card-img { transform: scale(1.02); }

.featured-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }

.featured-card-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.featured-card-title { font-size: 1.1rem; font-weight: 700; }

.featured-card p { font-size: 0.87rem; }

/* ── SERVICES LIST ── */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.service-item {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-item-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.service-item h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.service-item p { font-size: 0.85rem; }

/* ── STATS SECTION ── */
.stats-bg-card {
  padding: 3rem;
}

.stats-header { margin-bottom: 3rem; }

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

.stat-item {
  text-align: center;
}

.stat-icon {
  font-size: 1.8rem;
  color: var(--neon-blue);
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── CTA ── */
.cta-card {
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-blob {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  top: -100px; left: -100px;
  pointer-events: none;
}

.cta-blob-2 { top: auto; left: auto; bottom: -100px; right: -100px; }

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-content p { max-width: 600px; font-size: 1.05rem; }

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

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .identity-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-content { align-items: center; }
  .hero-description { text-align: left; }
  .hero-visual { height: 350px; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .identity-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .hero-roles { justify-content: center; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { padding: 2.5rem 1.5rem; }
  .hero-visual { display: none; }
  .service-item { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
