/* ============================================
   360 DEGREE M - HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(123, 44, 255, 0.35), transparent 55%),
    radial-gradient(circle at bottom right, rgba(0, 240, 255, 0.25), transparent 55%),
    var(--bg-darker);
  z-index: -2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(123, 44, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 44, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  z-index: -1;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: perspective(500px) rotateX(60deg) translateY(0);
  }
  100% {
    transform: perspective(500px) rotateX(60deg) translateY(60px);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Text */
.hero-text {
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(123, 44, 255, 0.1);
  border: 1px solid rgba(123, 44, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--primary-purple-light);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--text-6xl);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--text-7xl);
  }
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordReveal 0.6s ease forwards;
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--space-8);
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.6s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.8s forwards;
}

.hero-cta .btn-primary {
  padding: var(--space-5) var(--space-8);
  font-size: var(--text-lg);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
  perspective: 1000px;
}

.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-5);
  animation: floatCard 10s ease-in-out infinite;
  transition: box-shadow 0.4s ease, border-color 0.3s ease;
}

.floating-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.18);
}

.floating-card-1 {
  top: 10%;
  left: 0;
  width: 220px;
  animation-delay: 0s;
}

.floating-card-2 {
  top: 40%;
  right: 0;
  width: 180px;
  animation-delay: -2s;
}

.floating-card-3 {
  bottom: 10%;
  left: 20%;
  width: 200px;
  animation-delay: -4s;
}

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

.card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: rgba(123, 44, 255, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-light);
}

/* Growth Graph Animation */
.growth-graph {
  height: 80px;
  position: relative;
  overflow: hidden;
}

.graph-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(123, 44, 255, 0.3);
}

.graph-bar {
  position: absolute;
  bottom: 0;
  width: 20px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  animation: graphGrow 2s ease-in-out infinite alternate;
}

.graph-bar:nth-child(2) { left: 10px; height: 30%; animation-delay: 0s; }
.graph-bar:nth-child(3) { left: 40px; height: 50%; animation-delay: 0.2s; }
.graph-bar:nth-child(4) { left: 70px; height: 40%; animation-delay: 0.4s; }
.graph-bar:nth-child(5) { left: 100px; height: 70%; animation-delay: 0.6s; }
.graph-bar:nth-child(6) { left: 130px; height: 60%; animation-delay: 0.8s; }
.graph-bar:nth-child(7) { left: 160px; height: 90%; animation-delay: 1s; }

@keyframes graphGrow {
  from { transform: scaleY(0.8); }
  to { transform: scaleY(1.1); }
}

/* Reel Thumbnails */
.reel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.reel-thumb {
  aspect-ratio: 9/16;
  background: linear-gradient(135deg, rgba(123, 44, 255, 0.3), rgba(0, 240, 255, 0.2));
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  animation: reelPulse 3s ease-in-out infinite;
}

.reel-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5));
}

.reel-thumb::after {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--text-xs);
  color: var(--text-white);
  opacity: 0.8;
}

.reel-thumb:nth-child(2) { animation-delay: 0.5s; }
.reel-thumb:nth-child(3) { animation-delay: 1s; }

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

/* Social Icons */
.social-grid {
  display: flex;
  gap: var(--space-3);
}

.social-item {
  width: 50px;
  height: 50px;
  background: rgba(123, 44, 255, 0.1);
  border: 1px solid rgba(123, 44, 255, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  transition: all var(--transition-base);
  animation: socialFloat 4s ease-in-out infinite;
}

.social-item:nth-child(2) { animation-delay: 0.5s; }
.social-item:nth-child(3) { animation-delay: 1s; }

.social-item:hover {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-glow-purple);
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0;
  animation: fadeInUp 0.6s ease 1.2s forwards;
}

.scroll-text {
  font-size: var(--text-xs);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-arrow {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(123, 44, 255, 0.4);
  border-radius: var(--radius-full);
  position: relative;
}

.scroll-arrow::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary-purple);
  border-radius: var(--radius-full);
  animation: scrollBounce 2s ease-in-out infinite;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
}
