/* Beautiful Hero Section Override */
#root > div:first-child {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at bottom, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
              #000;
  overflow: hidden;
}

/* Hero Header with Logo */
.hero-header {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 40px;
  z-index: 10;
}

.hero-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.hero-logo-link:hover {
  opacity: 0.8;
}

.hero-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.hero-logo-text {
  font-size: 24px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

/* Custom Hero Container */
.custom-hero {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 200px);
}

/* Left Content */
.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  color: white;
  margin: 0 0 24px 0;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 24px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 48px 0;
  font-weight: 400;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-button-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: white;
  color: black;
  font-size: 17px;
  font-weight: 600;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.1);
}

.hero-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

.hero-button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 32px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.hero-button-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

/* Right Side - Screenshot */
.hero-screenshot {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

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

.screenshot-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  opacity: 0.6;
  animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.screenshot-img {
  width: 100%;
  height: auto;
  border-radius: 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  display: block;
}

/* Background Elements */
.hero-bg-gradient {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: drift 20s ease-in-out infinite;
}

.hero-bg-gradient-1 {
  top: -200px;
  right: -100px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.hero-bg-gradient-2 {
  bottom: -200px;
  left: -100px;
  background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  animation-delay: -10s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-50px, 50px) scale(0.9); }
}

/* Responsive */
@media (max-width: 1024px) {
  .custom-hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 60px 32px 60px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 56px;
  }
  
  .hero-subtitle {
    font-size: 20px;
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .screenshot-container {
    max-width: 320px;
  }
  
  .hero-header {
    padding: 24px 32px;
  }
}

@media (max-width: 640px) {
  .custom-hero {
    padding: 40px 24px 40px;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-button-primary,
  .hero-button-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hero-header {
    padding: 20px 24px;
  }
  
  .hero-logo {
    width: 36px;
    height: 36px;
  }
  
  .hero-logo-text {
    font-size: 20px;
  }
}
