/* ==========================================================================
   ZAHIQ AI - Hero & Top Section Improvements
   Enhanced design and better separation
   ========================================================================== */

/* Enhanced Hero Section */
.hero {
  background: var(--background) !important;
  padding-top: 100px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

/* Add a subtle gradient overlay to hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at 30% 50%,
    rgba(94, 114, 228, 0.08) 0%,
    transparent 50%),
    radial-gradient(circle at 70% 50%,
    rgba(0, 217, 255, 0.06) 0%,
    transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
}

/* Enhanced Navigation */
.nav-minimal {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Adjust content for fixed nav */
body {
  padding-top: 70px;
}

/* Better hero text styling */
.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Enhanced Phone Mockup */
.phone-mockup {
  position: relative;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 10px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 380px;
  margin: 0 auto;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 42px;
  opacity: 0.5;
  z-index: -1;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Better Section Separation */
section {
  position: relative;
  padding: 100px 20px;
  background: var(--background) !important;
}

/* Add decorative separators between sections */
.problem-section,
.features-section,
.how-it-works,
.roi-section,
.demo-section,
.insights-section,
.pricing-section {
  position: relative;
}

.problem-section::before,
.features-section::before,
.how-it-works::before,
.roi-section::before,
.demo-section::before,
.insights-section::before,
.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.5;
}

/* Add subtle animations to section headers */
.problem-title,
.features-title,
.how-title,
.roi-title,
.demo-title,
.insights-title,
.pricing-title {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.problem-title::after,
.features-title::after,
.how-title::after,
.roi-title::after,
.demo-title::after,
.insights-title::after,
.pricing-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Improved floating elements */
.floating-bubble {
  background: var(--surface);
  border: 1px solid rgba(94, 114, 228, 0.3);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

/* Enhanced CTA buttons */
.btn-hero-primary,
.btn-hero-secondary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-hero-primary::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-hero-primary:hover::before {
  left: 100%;
}

/* Background pattern removed to use theme's background */

/* Better spacing for sections */
.problem-container,
.features-container,
.how-container,
.roi-container,
.demo-container,
.insights-container,
.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Add visual interest with gradients on section edges */
section:nth-child(even) {
  background: linear-gradient(180deg,
    var(--background) 0%,
    rgba(94, 114, 228, 0.02) 50%,
    var(--background) 100%) !important;
}

/* Enhanced cards with better shadows */
.bento-card,
.pricing-card,
.insight-card,
.timeline-step {
  background: var(--surface) !important;
  border: 1px solid rgba(94, 114, 228, 0.15);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.bento-card:hover,
.pricing-card:hover,
.insight-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 10px 40px rgba(94, 114, 228, 0.2),
    0 5px 10px rgba(0, 0, 0, 0.1);
  border-color: rgba(94, 114, 228, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  section {
    padding: 60px 20px;
  }

  body {
    padding-top: 60px;
  }
}