/* Hero Section Styles - Smart Labelling Tool */

/* Main Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--percepta-primary) 0%,
    var(--percepta-teal) 100%
  );
}

.hero-bg {
  background: radial-gradient(
      circle at 30% 70%,
      rgba(13, 202, 240, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(124, 58, 237, 0.3) 0%,
      transparent 50%
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  background-size: cover, cover, 50px 50px;
}

/* Animated Background Particles */
.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.particle-1 {
  width: 60px;
  height: 60px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.particle-2 {
  width: 20px;
  height: 20px;
  top: 60%;
  left: 20%;
  animation-delay: 2s;
}
.particle-3 {
  width: 40px;
  height: 40px;
  top: 40%;
  right: 30%;
  animation-delay: 4s;
}
.particle-4 {
  width: 80px;
  height: 80px;
  top: 70%;
  right: 10%;
  animation-delay: 1s;
}
.particle-5 {
  width: 30px;
  height: 30px;
  top: 10%;
  right: 20%;
  animation-delay: 3s;
}

/* Hero Content Typography */
.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-main-headline {
  color: rgba(255, 255, 255, 0.95);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-brand-name {
  font-size: 2.5rem;
  font-weight: 600;
  opacity: 0.9;
}

.hero-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 600px;
}

/* Primary CTA Button - Request Demo */
.btn-percepta-secondary {
  background: linear-gradient(
    135deg,
    var(--percepta-teal),
    var(--percepta-cyan)
  );
  border: none;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 14px;
  padding: 1.2rem 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 180, 166, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-percepta-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-percepta-secondary:hover::before {
  left: 100%;
}

.btn-percepta-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 180, 166, 0.5);
  color: white;
}

/* Secondary CTA Button - Watch Demo */
.hero-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 1rem;
}

.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
  color: white;
}

/* Product Demo Container */
.product-demo-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

/* Demo Screen Mockup */
.demo-screen {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Demo Image Container */
.demo-image-container {
  position: relative;
  height: 350px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  overflow: hidden;
}

.demo-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 70%;
  background: linear-gradient(45deg, #4a5568, #2d3748);
  border-radius: 8px;
  opacity: 0.8;
}

.screen-header {
  background: linear-gradient(90deg, #f6f8fa, #e1e8ed);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #d0d7de;
}

.screen-controls {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.dot-red {
  background: #ff5f57;
}
.dot-yellow {
  background: #ffbd2e;
}
.dot-green {
  background: #28ca42;
}

.screen-title {
  color: var(--percepta-gray-700);
  font-weight: 600;
  font-size: 0.9rem;
}

.screen-content {
  height: 300px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  position: relative;
}

/* Bounding Box Demo Animation */
.bbox {
  position: absolute;
  border: 2px solid var(--percepta-teal);
  border-radius: 6px;
  background: rgba(0, 180, 166, 0.15);
  backdrop-filter: blur(2px);
}

.bbox-label {
  position: absolute;
  top: -30px;
  left: 0;
  background: var(--percepta-teal);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bbox-1 {
  width: 140px;
  height: 90px;
  top: 60px;
  left: 60px;
}
.bbox-2 {
  width: 80px;
  height: 120px;
  top: 180px;
  left: 300px;
}
.bbox-3 {
  width: 60px;
  height: 60px;
  top: 100px;
  right: 80px;
}

/* Feature Float Cards */
.feature-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--percepta-gray-700);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.feature-1 {
  top: -20px;
  right: 100px;
}
.feature-2 {
  bottom: 100px;
  left: -50px;
}
.feature-3 {
  bottom: -20px;
  right: 50px;
}

/* Keyframe Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes animate-float {
  0%,
  100% {
    transform: translateY(0px) rotateY(0deg);
  }
  50% {
    transform: translateY(-10px) rotateY(2deg);
  }
}

@keyframes animate-fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes animate-slide-in {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes animate-draw {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes animate-pulse-glow {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(0, 180, 166, 0.3);
  }
  50% {
    box-shadow: 0 8px 35px rgba(0, 180, 166, 0.5);
  }
}

/* Apply Animations */
.animate-float {
  animation: animate-float 6s ease-in-out infinite;
}
.animate-fade-in-up {
  animation: animate-fade-in-up 0.8s ease-out;
}
.animate-slide-in {
  animation: animate-slide-in 0.8s ease-out;
}
.animate-draw {
  animation: animate-draw 0.8s ease-out;
}
.animate-pulse-glow {
  animation: animate-pulse-glow 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-subtitle-accent {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle-accent {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-section {
    padding: 2rem 0;
  }

  /* Stack mobile layout vertically */
  .hero-visual {
    margin-top: 3rem;
  }
  .feature-float {
    position: relative;
    margin: 1rem 0;
  }
  .feature-1,
  .feature-2,
  .feature-3 {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }
}
