/* Ultra Hero Section - Stunning Modern Design */

.ultra-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

/* Animated Background Elements */
.hero-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: blob-float 20s ease-in-out infinite;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  top: -200px;
  right: -100px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  bottom: -100px;
  left: -100px;
  animation-delay: -7s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  top: 40%;
  left: 30%;
  animation-delay: -14s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -30px) scale(1.1); }
  50% { transform: translate(-30px, 50px) scale(0.95); }
  75% { transform: translate(-50px, -20px) scale(1.05); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Container */
.ultra-container {
  position: relative;
  z-index: 10;
}

/* Reveal Animation */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-item.revealed {
  animation: reveal-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ultra Pill */
.ultra-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #3b82f6;
  position: relative;
  overflow: hidden;
}

.pill-pulse {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

/* Ultra Title */
.ultra-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin: 20px 0;
}

.title-word {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: word-reveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.title-word:nth-child(1) { animation-delay: 0.1s; }
.title-word:nth-child(2) { animation-delay: 0.2s; }
.title-word:nth-child(3) { animation-delay: 0.3s; }

@keyframes word-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title-word.gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Ultra Subtext */
.ultra-subtext {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 480px;
  line-height: 1.7;
}

/* Ultra Button */
.btn-ultra {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.btn-ultra:hover .btn-shine {
  left: 100%;
}

.btn-ultra:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-ultra:hover .btn-arrow {
  transform: translateX(5px);
}

/* Ultra Actions */
.ultra-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  gap: 1.5rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #64748b;
}

.badge-item i {
  color: #3b82f6;
  font-size: 1.125rem;
}

/* Live Stats Row */
.live-stats-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

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

.ls-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.ls-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.ls-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #cbd5e1, transparent);
}

/* Floating Cards Container */
.floating-cards-container {
  position: relative;
  height: 450px;
  width: 100%;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  width: 180px;
  animation: card-float 4s ease-in-out infinite;
  animation-delay: var(--delay);
  z-index: 10;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-card:hover .card-link {
  transform: translateY(-10px) scale(1.05);
}

.card-glow-effect {
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 24px;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.floating-card:hover .card-glow-effect {
  opacity: 0.3;
}

.fc-inner {
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.05);
}

.fc-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.fc-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.fc-image::before {
  content: '\f03e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 3rem;
  color: #3b82f6;
  opacity: 0.3;
  position: absolute;
}

.fc-view {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.95);
  color: #3b82f6;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.floating-card:hover .fc-view {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.floating-card:hover .fc-image img {
  transform: scale(1.1);
}

.fc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.floating-card:hover .fc-overlay {
  opacity: 1;
}

.fc-info {
  padding: 12px 8px 8px;
  text-align: center;
}

.fc-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* Card Positions */
.card-pos-1 {
  top: var(--top);
  right: var(--right);
  transform: rotate(var(--rotate));
}

.card-pos-2 {
  top: var(--top);
  left: var(--left);
  transform: rotate(var(--rotate));
  z-index: 5;
}

.card-pos-3 {
  bottom: var(--bottom);
  right: var(--right);
  transform: rotate(var(--rotate));
}

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

/* Decorative Elements */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.1);
}

.dc-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 10%;
  animation: circle-pulse 4s ease-in-out infinite;
}

.dc-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 20%;
  animation: circle-pulse 3s ease-in-out infinite 1s;
}

@keyframes circle-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(59, 130, 246, 0.2);
}

.dr-1 {
  width: 350px;
  height: 350px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-spin 30s linear infinite;
}

@keyframes ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Scroll Mouse Indicator */
.scroll-mouse {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 40px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background: #3b82f6;
  border-radius: 2px;
  animation: mouse-scroll 1.5s ease-in-out infinite;
}

@keyframes mouse-scroll {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(15px); }
}

/* Mobile Hero Products */
.mobile-hero-products {
  width: 100%;
}

.mobile-cards-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.mobile-hero-card {
  flex: 0 0 auto;
  width: 100px;
  text-decoration: none;
}

.mhc-inner {
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.mobile-hero-card:hover .mhc-inner {
  transform: translateY(-5px);
}

.mhc-inner img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.mhc-name {
  display: block;
  font-size: 0.7rem;
  color: #1e293b;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile CTA */
.mobile-hero-cta {
  text-align: center;
}

.mobile-hero-cta .btn-ultra {
  display: inline-flex;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .ultra-hero {
    padding: 80px 0 40px;
  }
  
  .ultra-content {
    text-align: center;
  }
  
  .ultra-title {
    font-size: 2.5rem;
  }
  
  .ultra-subtext {
    margin: 0 auto;
  }
  
  .ultra-actions {
    justify-content: center;
  }
  
  .trust-badges {
    justify-content: center;
  }
  
  .live-stats-row {
    justify-content: center;
  }
  
  .floating-cards-container {
    height: auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
  }
  
  .floating-card {
    position: relative;
    width: 140px;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    animation: none;
  }
  
  .deco-circle,
  .deco-ring {
    display: none;
  }
}

@media (max-width: 576px) {
  .ultra-title {
    font-size: 2rem;
  }
  
  .ultra-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .live-stats-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .ls-divider {
    width: 60px;
    height: 1px;
  }
  
  .floating-card:nth-child(3) {
    display: none;
  }
}
