/* Landing Page Styles */

/* Hero Section */
.landing-page {
  overflow-x: hidden;
}

.landing-header {
  background: linear-gradient(135deg, #2c3e50, #1a5276);
  color: #ffffff;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.landing-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.03)" width="50" height="50" x="0" y="0" /><rect fill="rgba(255,255,255,0.03)" width="50" height="50" x="50" y="50" /></svg>');
  background-size: 30px 30px;
  opacity: 0.5;
  z-index: 1;
}

.navbar {
  position: relative;
  z-index: 10;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.hero-section {
  padding: 6rem 0 8rem;
  position: relative;
  z-index: 5;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="800" viewBox="0 0 1200 800"><rect x="50" y="50" width="300" height="200" rx="10" fill="rgba(255,255,255,0.1)" stroke="rgba(255,255,255,0.2)" stroke-width="2"/><rect x="100" y="100" width="200" height="20" rx="5" fill="rgba(255,255,255,0.3)"/><rect x="100" y="140" width="150" height="10" rx="5" fill="rgba(255,255,255,0.2)"/><rect x="100" y="160" width="180" height="10" rx="5" fill="rgba(255,255,255,0.2)"/><rect x="100" y="180" width="120" height="10" rx="5" fill="rgba(255,255,255,0.2)"/><rect x="400" y="50" width="300" height="200" rx="10" fill="rgba(255,255,255,0.1)" stroke="rgba(255,255,255,0.2)" stroke-width="2"/><circle cx="550" cy="100" r="50" fill="none" stroke="rgba(255,255,255,0.3)" stroke-width="10"/><path d="M550,100 L550,60" stroke="rgba(255,255,255,0.5)" stroke-width="5"/><path d="M550,100 L580,130" stroke="rgba(255,255,255,0.5)" stroke-width="5"/><rect x="500" y="170" width="100" height="10" rx="5" fill="rgba(255,255,255,0.2)"/><rect x="520" y="190" width="60" height="10" rx="5" fill="rgba(255,255,255,0.2)"/><rect x="750" y="50" width="300" height="200" rx="10" fill="rgba(255,255,255,0.1)" stroke="rgba(255,255,255,0.2)" stroke-width="2"/><rect x="780" y="80" width="240" height="120" rx="5" fill="rgba(255,255,255,0.05)"/><path d="M800,160 L820,140 L840,150 L860,120 L880,130 L900,100 L920,110 L940,90 L960,120 L980,80" stroke="rgba(255,255,255,0.4)" stroke-width="3" fill="none"/><circle cx="800" cy="160" r="4" fill="rgba(255,255,255,0.5)"/><circle cx="820" cy="140" r="4" fill="rgba(255,255,255,0.5)"/><circle cx="840" cy="150" r="4" fill="rgba(255,255,255,0.5)"/><circle cx="860" cy="120" r="4" fill="rgba(255,255,255,0.5)"/><circle cx="880" cy="130" r="4" fill="rgba(255,255,255,0.5)"/><circle cx="900" cy="100" r="4" fill="rgba(255,255,255,0.5)"/><circle cx="920" cy="110" r="4" fill="rgba(255,255,255,0.5)"/><circle cx="940" cy="90" r="4" fill="rgba(255,255,255,0.5)"/><circle cx="960" cy="120" r="4" fill="rgba(255,255,255,0.5)"/><circle cx="980" cy="80" r="4" fill="rgba(255,255,255,0.5)"/><rect x="50" y="300" width="300" height="200" rx="10" fill="rgba(255,255,255,0.1)" stroke="rgba(255,255,255,0.2)" stroke-width="2"/><rect x="80" y="330" width="60" height="60" rx="5" fill="rgba(255,255,255,0.2)"/><rect x="80" y="400" width="60" height="60" rx="5" fill="rgba(255,255,255,0.15)"/><rect x="150" y="330" width="60" height="60" rx="5" fill="rgba(255,255,255,0.1)"/><rect x="150" y="400" width="60" height="60" rx="5" fill="rgba(255,255,255,0.25)"/><rect x="220" y="330" width="60" height="60" rx="5" fill="rgba(255,255,255,0.15)"/><rect x="220" y="400" width="60" height="60" rx="5" fill="rgba(255,255,255,0.1)"/><rect x="400" y="300" width="300" height="200" rx="10" fill="rgba(255,255,255,0.1)" stroke="rgba(255,255,255,0.2)" stroke-width="2"/><rect x="430" y="330" width="240" height="20" rx="5" fill="rgba(255,255,255,0.2)"/><rect x="430" y="360" width="180" height="10" rx="5" fill="rgba(255,255,255,0.15)"/><rect x="430" y="380" width="200" height="10" rx="5" fill="rgba(255,255,255,0.15)"/><rect x="430" y="400" width="150" height="10" rx="5" fill="rgba(255,255,255,0.15)"/><rect x="430" y="420" width="220" height="10" rx="5" fill="rgba(255,255,255,0.15)"/><rect x="430" y="440" width="170" height="10" rx="5" fill="rgba(255,255,255,0.15)"/><rect x="430" y="460" width="190" height="10" rx="5" fill="rgba(255,255,255,0.15)"/></svg>');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

.analytics-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(26, 82, 118, 0.9), rgba(44, 62, 80, 0.7));
  opacity: 0.85;
  z-index: 1;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="20" /></svg>');
  background-size: 400px 400px;
  background-position: -100px -100px;
  opacity: 0.5;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 15;
  background: rgba(0, 0, 0, 0.2);
  padding: 2.5rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.dashboard-preview-container {
  position: relative;
  z-index: 15;
  padding: 20px;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.dashboard-frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 12px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 30px rgba(0, 0, 0, 0.2);
  z-index: 16;
  pointer-events: none;
  overflow: hidden;
}

.dashboard-frame::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  transform: rotate(45deg);
  animation: frame-shine 6s linear infinite;
  z-index: 17;
}

.dashboard-dots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 18;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  animation: dots-fade 8s ease-in-out infinite;
  border-radius: 8px;
  overflow: hidden;
}

.dashboard-dots::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, 
    rgba(0, 0, 0, 0.3) 0%, 
    transparent 20%, 
    transparent 80%, 
    rgba(0, 0, 0, 0.3) 100%);
  z-index: 19;
}

@keyframes frame-shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.dashboard-preview {
  transform: perspective(1000px) rotateY(-12deg) rotateX(5deg);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.5s ease;
  animation: float 6s ease-in-out infinite;
  border-radius: 8px;
  filter: drop-shadow(0 0 10px rgba(0, 120, 255, 0.3));
}

@keyframes float {
  0% { transform: perspective(1000px) rotateY(-12deg) rotateX(5deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) translateY(-15px); }
  100% { transform: perspective(1000px) rotateY(-12deg) rotateX(5deg) translateY(0); }
}

@keyframes dots-fade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.stats-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

.hover-text-white:hover {
  color: white !important;
  text-decoration: none;
}

/* Feature Icons */
.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Pricing Cards */
.pricing-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.popular-plan {
  position: relative;
  border-top: 4px solid var(--primary-color);
  transform: scale(1.05);
}

.popular-plan:hover {
  transform: translateY(-10px) scale(1.05);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 1.5rem;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 0 0 0.5rem 0.5rem;
}

.pricing-toggle {
  background-color: var(--gray-200);
  border-radius: 2rem;
}

.pricing-toggle .btn {
  border-radius: 2rem;
  border: none;
  background: transparent;
  color: var(--gray-700);
}

.pricing-toggle .btn.active {
  background-color: var(--primary-color);
  color: white;
}

/* Testimonial Cards */
.testimonial-card {
  border-radius: var(--border-radius);
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border-radius: 50%;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ Accordion */
.accordion-button {
  background-color: white;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  border-radius: var(--border-radius) !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: white;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--gray-300);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234361ee'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.25rem 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-section {
    padding: 4rem 0;
  }
  
  .popular-plan {
    transform: scale(1);
  }
  
  .popular-plan:hover {
    transform: translateY(-10px) scale(1);
  }
}

@media (max-width: 768px) {
  .landing-header {
    padding-bottom: 3rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
}